ProjectsSnapshotsResource class

Constructors

ProjectsSnapshotsResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create(CreateSnapshotRequest request, String name, {String? $fields}) Future<Snapshot>
Creates a snapshot from the requested subscription.
delete(String snapshot, {String? $fields}) Future<Empty>
Removes an existing snapshot.
get(String snapshot, {String? $fields}) Future<Snapshot>
Gets the configuration details of a snapshot.
getIamPolicy(String resource, {int? options_requestedPolicyVersion, String? $fields}) Future<Policy>
Gets the access control policy for a resource.
list(String project, {int? pageSize, String? pageToken, String? $fields}) Future<ListSnapshotsResponse>
Lists the existing snapshots.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(UpdateSnapshotRequest request, String name, {String? $fields}) Future<Snapshot>
Updates an existing snapshot by updating the fields specified in the update mask.
setIamPolicy(SetIamPolicyRequest request, String resource, {String? $fields}) Future<Policy>
Sets the access control policy on the specified resource.
testIamPermissions(TestIamPermissionsRequest request, String resource, {String? $fields}) Future<TestIamPermissionsResponse>
Returns permissions that a caller has on the specified resource.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited