Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
Adds existing resource policies to a disk. You can only add one policy which will be applied to
this disk for scheduling snapshot creation.
Create a request for the method "disks.addResourcePolicies".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Retrieves an aggregated list of persistent disks. To prevent failure, Google recommends that you
set the `returnPartialSuccess` parameter to `true`.
Create a request for the method "disks.aggregatedList".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Bulk create a set of disks.
Create a request for the method "disks.bulkInsert".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using
snapshots.insert instead, as that method supports more features, such as creating snapshots in a
project different from the source disk project.
Create a request for the method "disks.createSnapshot".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Deletes the specified persistent disk. Deleting a disk removes 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.
Create a request for the method "disks.delete".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Returns the specified persistent disk.
Create a request for the method "disks.get".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Create a request for the method "disks.getIamPolicy".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Parameters:
project - Project ID for this request.
zone - The name of the zone for this request.
resource - Name or id of the resource for this request.
Creates a persistent disk in the specified project using the data in the request. You can create
a disk from a source (sourceImage, sourceSnapshot, or sourceDisk) or create an empty 500 GB data
disk by omitting all properties. You can also create a disk that is larger than the default size
by specifying the sizeGb property.
Create a request for the method "disks.insert".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Retrieves a list of persistent disks contained within the specified zone.
Create a request for the method "disks.list".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Removes resource policies from a disk.
Create a request for the method "disks.removeResourcePolicies".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote
operation.
Resizes the specified persistent disk. You can only increase the size of the disk.
Create a request for the method "disks.resize".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Sets the access control policy on the specified resource. Replaces any existing policy.
Create a request for the method "disks.setIamPolicy".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Parameters:
project - Project ID for this request.
zone - The name of the zone for this request.
resource - Name or id of the resource for this request.
Sets the labels on a disk. To learn more about labels, read the Labeling Resources documentation.
Create a request for the method "disks.setLabels".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Parameters:
project - Project ID for this request.
zone - The name of the zone for this request.
resource - Name or id of the resource for this request.
Starts asynchronous replication. Must be invoked on the primary disk.
Create a request for the method "disks.startAsyncReplication".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote
operation.
Stops asynchronous replication. Can be invoked either on the primary or on the secondary disk.
Create a request for the method "disks.stopAsyncReplication".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote
operation.
Stops asynchronous replication for a consistency group of disks. Can be invoked either in the
primary or secondary scope.
Create a request for the method "disks.stopGroupAsyncReplication".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote
operation.
Parameters:
project - Project ID for this request.
zone - The name of the zone for this request. This must be the zone of the primary or secondary disks in
the consistency group.
Returns permissions that a caller has on the specified resource.
Create a request for the method "disks.testIamPermissions".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Parameters:
project - Project ID for this request.
zone - The name of the zone for this request.
resource - Name or id of the resource for this request.
Updates the specified disk with the data included in the request. The update is performed only on
selected fields included as part of update-mask. Only the following fields can be modified:
user_license.
Create a request for the method "disks.update".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.