RegionDisksResourceApi class

Constructors

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

addResourcePolicies(RegionDisksAddResourcePoliciesRequest request, String project, String region, String disk, {String requestId, String $fields}) Future<Operation>
Adds existing resource policies to a regional disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation. [...]
createSnapshot(Snapshot request, String project, String region, String disk, {String requestId, String $fields}) Future<Operation>
Creates a snapshot of this regional disk. [...]
delete(String project, String region, String disk, {String requestId, String $fields}) Future<Operation>
Deletes the specified regional persistent disk. Deleting a regional disk removes all the replicas of its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots. [...]
get(String project, String region, String disk, {String $fields}) Future<Disk>
Returns a specified regional persistent disk. [...]
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, String $fields}) Future<DiskList>
Retrieves the list of persistent disks contained within the specified region. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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. [...]
setLabels(RegionSetLabelsRequest request, String project, String region, String resource, {String requestId, String $fields}) Future<Operation>
Sets the labels on the target regional disk. [...]
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
Returns a string representation of this object.
inherited

Operators

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