RegionDisksResource class

Constructors

RegionDisksResource(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

addResourcePolicies(RegionDisksAddResourcePoliciesRequest request, String project, String region, String disk, {String? requestId, String? $fields}) Future<Operation>
Adds existing resource policies to a regional disk.
bulkInsert(BulkInsertDiskResource request, String project, String region, {String? requestId, String? $fields}) Future<Operation>
Bulk create a set of disks.
createSnapshot(Snapshot request, String project, String region, String disk, {String? requestId, String? $fields}) Future<Operation>
Creates a snapshot of a specified persistent disk.
delete(String project, String region, String disk, {String? requestId, String? $fields}) Future<Operation>
Deletes the specified regional persistent disk.
get(String project, String region, String disk, {String? $fields}) Future<Disk>
Returns a specified regional persistent disk.
getIamPolicy(String project, String region, String resource, {int? optionsRequestedPolicyVersion, String? $fields}) Future<Policy>
Gets the access control policy for a resource.
insert(Disk request, String project, String region, {String? requestId, String? sourceImage, String? $fields}) Future<Operation>
Creates a persistent regional disk in the specified project using the data included in the request.
list(String project, String region, {String? filter, int? maxResults, String? orderBy, String? pageToken, bool? returnPartialSuccess, String? $fields}) Future<DiskList>
Retrieves the list of persistent disks contained within the specified region.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeResourcePolicies(RegionDisksRemoveResourcePoliciesRequest request, String project, String region, String disk, {String? requestId, String? $fields}) Future<Operation>
Removes resource policies from a regional disk.
resize(RegionDisksResizeRequest request, String project, String region, String disk, {String? requestId, String? $fields}) Future<Operation>
Resizes the specified regional persistent disk.
setIamPolicy(RegionSetPolicyRequest request, String project, String region, String resource, {String? $fields}) Future<Policy>
Sets the access control policy on the specified resource.
setLabels(RegionSetLabelsRequest request, String project, String region, String resource, {String? requestId, String? $fields}) Future<Operation>
Sets the labels on the target regional disk.
startAsyncReplication(RegionDisksStartAsyncReplicationRequest request, String project, String region, String disk, {String? requestId, String? $fields}) Future<Operation>
Starts asynchronous replication.
stopAsyncReplication(String project, String region, String disk, {String? requestId, String? $fields}) Future<Operation>
Stops asynchronous replication.
stopGroupAsyncReplication(DisksStopGroupAsyncReplicationResource request, String project, String region, {String? requestId, String? $fields}) Future<Operation>
Stops asynchronous replication for a consistency group of disks.
testIamPermissions(TestPermissionsRequest request, String project, String region, 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 region, String disk, {List<String>? paths, String? requestId, String? updateMask, String? $fields}) Future<Operation>
Update the specified disk with the data included in the request.

Operators

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