SnapshotsResourceApi class

Constructors

SnapshotsResourceApi(ApiRequester client)

Properties

hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

delete(String project, { String snapshot, { String requestId String $fields }) → Future<Operation>
Deletes the specified Snapshot resource. Keep in mind that deleting a single snapshot might not necessarily delete all the data on that snapshot. If any data on the snapshot that is marked for deletion is needed for subsequent snapshots, the data will be moved to the next corresponding snapshot. [...]
get(String project, { String snapshot, { String $fields }) → Future<Snapshot>
Returns the specified Snapshot resource. Gets a list of available snapshots by making a list() request. [...]
getIamPolicy(String project, { String resource, { String $fields }) → Future<Policy>
Gets the access control policy for a resource. May be empty if no such policy or resource exists. [...]
list(String project, { String filter int maxResults, String orderBy String pageToken String $fields }) → Future<SnapshotList>
Retrieves the list of Snapshot resources contained within the specified project. [...]
setIamPolicy(GlobalSetPolicyRequest request, String project, { String resource, { String $fields }) → Future<Policy>
Sets the access control policy on the specified resource. Replaces any existing policy. [...]
setLabels(GlobalSetLabelsRequest request, String project, { String resource, { String $fields }) → Future<Operation>
Sets the labels on a snapshot. To learn more about labels, read the Labeling Resources documentation. [...]
testIamPermissions(TestPermissionsRequest request, String project, { String resource, { String $fields }) → Future<TestPermissionsResponse>
Returns permissions that a caller has on the specified resource. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited