DisksResource class
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
-
addResourcePolicies(DisksAddResourcePoliciesRequest request, String project, String zone, String disk, {String? requestId, String? $fields})
→ Future<Operation>
-
Adds existing resource policies to a disk.
-
aggregatedList(String project, {String? filter, bool? includeAllScopes, int? maxResults, String? orderBy, String? pageToken, bool? returnPartialSuccess, String? serviceProjectNumber, String? $fields})
→ Future<DiskAggregatedList>
-
Retrieves an aggregated list of persistent disks.
-
bulkInsert(BulkInsertDiskResource request, String project, String zone, {String? requestId, String? $fields})
→ Future<Operation>
-
Bulk create a set of disks.
-
createSnapshot(Snapshot request, String project, String zone, String disk, {bool? guestFlush, String? requestId, String? $fields})
→ Future<Operation>
-
Creates a snapshot of a specified persistent disk.
-
delete(String project, String zone, String disk, {String? requestId, String? $fields})
→ Future<Operation>
-
Deletes the specified persistent disk.
-
get(String project, String zone, String disk, {String? $fields})
→ Future<Disk>
-
Returns the specified persistent disk.
-
getIamPolicy(String project, String zone, String resource, {int? optionsRequestedPolicyVersion, String? $fields})
→ Future<Policy>
-
Gets the access control policy for a resource.
-
insert(Disk request, String project, String zone, {String? requestId, String? sourceImage, String? $fields})
→ Future<Operation>
-
Creates a persistent disk in the specified project using the data in the
request.
-
list(String project, String zone, {String? filter, int? maxResults, String? orderBy, String? pageToken, bool? returnPartialSuccess, String? $fields})
→ Future<DiskList>
-
Retrieves a list of persistent disks contained within the specified zone.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
removeResourcePolicies(DisksRemoveResourcePoliciesRequest request, String project, String zone, String disk, {String? requestId, String? $fields})
→ Future<Operation>
-
Removes resource policies from a disk.
-
resize(DisksResizeRequest request, String project, String zone, String disk, {String? requestId, String? $fields})
→ Future<Operation>
-
Resizes the specified persistent disk.
-
setIamPolicy(ZoneSetPolicyRequest request, String project, String zone, String resource, {String? $fields})
→ Future<Policy>
-
Sets the access control policy on the specified resource.
-
setLabels(ZoneSetLabelsRequest request, String project, String zone, String resource, {String? requestId, String? $fields})
→ Future<Operation>
-
Sets the labels on a disk.
-
startAsyncReplication(DisksStartAsyncReplicationRequest request, String project, String zone, String disk, {String? requestId, String? $fields})
→ Future<Operation>
-
Starts asynchronous replication.
-
stopAsyncReplication(String project, String zone, String disk, {String? requestId, String? $fields})
→ Future<Operation>
-
Stops asynchronous replication.
-
stopGroupAsyncReplication(DisksStopGroupAsyncReplicationResource request, String project, String zone, {String? requestId, String? $fields})
→ Future<Operation>
-
Stops asynchronous replication for a consistency group of disks.
-
testIamPermissions(TestPermissionsRequest request, String project, String zone, String resource, {String? $fields})
→ Future<TestPermissionsResponse>
-
Returns permissions that a caller has on the specified resource.
-
toString()
→ String
-
A string representation of this object.
inherited
-
update(Disk request, String project, String zone, String disk, {List<String>? paths, String? requestId, String? updateMask, String? $fields})
→ Future<Operation>
-
Updates the specified disk with the data included in the request.