RegionInstantSnapshots
class RegionInstantSnapshots extends Resource (View source)
The "regionInstantSnapshots" collection of methods.
Typical usage is:
$computeService = new Google\Service\Compute(...);
$regionInstantSnapshots = $computeService->regionInstantSnapshots;
Methods
Deletes the specified InstantSnapshot resource. Keep in mind that deleting a single instantSnapshot might not necessarily delete all the data on that instantSnapshot. If any data on the instantSnapshot that is marked for deletion is needed for subsequent instantSnapshots, the data will be moved to the next corresponding instantSnapshot. For more information, see Deleting instantSnapshots. (regionInstantSnapshots.delete)
Returns the specified InstantSnapshot resource in the specified region.
Gets the access control policy for a resource. May be empty if no such policy or resource exists. (regionInstantSnapshots.getIamPolicy)
Creates an instant snapshot in the specified region.
Retrieves the list of InstantSnapshot resources contained within the specified region. (regionInstantSnapshots.listRegionInstantSnapshots)
Sets the access control policy on the specified resource. Replaces any existing policy. (regionInstantSnapshots.setIamPolicy)
Sets the labels on a instantSnapshot in the given region. To learn more about labels, read the Labeling Resources documentation.
Returns permissions that a caller has on the specified resource.
Details
Operation
delete(string $project, string $region, string $instantSnapshot, array $optParams = [])
Deletes the specified InstantSnapshot resource. Keep in mind that deleting a single instantSnapshot might not necessarily delete all the data on that instantSnapshot. If any data on the instantSnapshot that is marked for deletion is needed for subsequent instantSnapshots, the data will be moved to the next corresponding instantSnapshot. For more information, see Deleting instantSnapshots. (regionInstantSnapshots.delete)
InstantSnapshot
get(string $project, string $region, string $instantSnapshot, array $optParams = [])
Returns the specified InstantSnapshot resource in the specified region.
(regionInstantSnapshots.get)
Policy
getIamPolicy(string $project, string $region, string $resource, array $optParams = [])
Gets the access control policy for a resource. May be empty if no such policy or resource exists. (regionInstantSnapshots.getIamPolicy)
Operation
insert(string $project, string $region, InstantSnapshot $postBody, array $optParams = [])
Creates an instant snapshot in the specified region.
(regionInstantSnapshots.insert)
InstantSnapshotList
listRegionInstantSnapshots(string $project, string $region, array $optParams = [])
Retrieves the list of InstantSnapshot resources contained within the specified region. (regionInstantSnapshots.listRegionInstantSnapshots)
Policy
setIamPolicy(string $project, string $region, string $resource, RegionSetPolicyRequest $postBody, array $optParams = [])
Sets the access control policy on the specified resource. Replaces any existing policy. (regionInstantSnapshots.setIamPolicy)
Operation
setLabels(string $project, string $region, string $resource, RegionSetLabelsRequest $postBody, array $optParams = [])
Sets the labels on a instantSnapshot in the given region. To learn more about labels, read the Labeling Resources documentation.
(regionInstantSnapshots.setLabels)
TestPermissionsResponse
testIamPermissions(string $project, string $region, string $resource, TestPermissionsRequest $postBody, array $optParams = [])
Returns permissions that a caller has on the specified resource.
(regionInstantSnapshots.testIamPermissions)