Show / Hide Table of Contents

Class RegionRecoverableSnapshotsResource

The "regionRecoverableSnapshots" collection of methods.

Inheritance
object
RegionRecoverableSnapshotsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class RegionRecoverableSnapshotsResource

Constructors

RegionRecoverableSnapshotsResource(IClientService)

Constructs a new resource.

Declaration
public RegionRecoverableSnapshotsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Delete(string, string, string)

Deletes the specified RecoverableSnapshot. Deleting a recoverable snapshot will delete the underlying PD snapshot and is irreversible.

Declaration
public virtual RegionRecoverableSnapshotsResource.DeleteRequest Delete(string project, string region, string recoverableSnapshot)
Parameters
Type Name Description
string project

Project ID for this request.

string region

Name of the region for this request.

string recoverableSnapshot

Name of the recoverable Snapshot resource to delete.

Returns
Type Description
RegionRecoverableSnapshotsResource.DeleteRequest

Get(string, string, string)

Returns the specified RecoverableSnapshot resource.

Declaration
public virtual RegionRecoverableSnapshotsResource.GetRequest Get(string project, string region, string recoverableSnapshot)
Parameters
Type Name Description
string project

Project ID for this request.

string region

Name of the region for this request.

string recoverableSnapshot

Name of the Snapshot resource to return.

Returns
Type Description
RegionRecoverableSnapshotsResource.GetRequest

GetIamPolicy(string, string, string)

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

Declaration
public virtual RegionRecoverableSnapshotsResource.GetIamPolicyRequest GetIamPolicy(string project, string region, string resource)
Parameters
Type Name Description
string project

Project ID for this request.

string region

The name of the region for this request.

string resource

Name or id of the resource for this request.

Returns
Type Description
RegionRecoverableSnapshotsResource.GetIamPolicyRequest

List(string, string)

Retrieves the list of RecoverableSnapshot resources contained within the specified region.

Declaration
public virtual RegionRecoverableSnapshotsResource.ListRequest List(string project, string region)
Parameters
Type Name Description
string project

Project ID for this request.

string region

Name of the region for this request.

Returns
Type Description
RegionRecoverableSnapshotsResource.ListRequest

Recover(string, string, string)

Recovers the specified RecoverableSnapshot.

Declaration
public virtual RegionRecoverableSnapshotsResource.RecoverRequest Recover(string project, string region, string recoverableSnapshot)
Parameters
Type Name Description
string project

Project Id of the request

string region

Name of the region for this request.

string recoverableSnapshot

Name of the recoverable resource to recover

Returns
Type Description
RegionRecoverableSnapshotsResource.RecoverRequest

SetIamPolicy(RegionSetPolicyRequest, string, string, string)

Sets the access control policy on the specified resource. Replaces any existing policy.

Declaration
public virtual RegionRecoverableSnapshotsResource.SetIamPolicyRequest SetIamPolicy(RegionSetPolicyRequest body, string project, string region, string resource)
Parameters
Type Name Description
RegionSetPolicyRequest body

The body of the request.

string project

Project ID for this request.

string region

The name of the region for this request.

string resource

Name or id of the resource for this request.

Returns
Type Description
RegionRecoverableSnapshotsResource.SetIamPolicyRequest

TestIamPermissions(TestPermissionsRequest, string, string, string)

Returns permissions that a caller has on the specified resource.

Declaration
public virtual RegionRecoverableSnapshotsResource.TestIamPermissionsRequest TestIamPermissions(TestPermissionsRequest body, string project, string region, string resource)
Parameters
Type Name Description
TestPermissionsRequest body

The body of the request.

string project

Project ID for this request.

string region

The name of the region for this request.

string resource

Name or id of the resource for this request.

Returns
Type Description
RegionRecoverableSnapshotsResource.TestIamPermissionsRequest
In this article
Back to top Generated by DocFX