Show / Hide Table of Contents

Class ZoneInPlaceSnapshotsResource

The "zoneInPlaceSnapshots" collection of methods.

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

Constructors

ZoneInPlaceSnapshotsResource(IClientService)

Constructs a new resource.

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

Methods

Delete(String, String, String)

Deletes the specified InPlaceSnapshot resource. Keep in mind that deleting a single inPlaceSnapshot might not necessarily delete all the data on that inPlaceSnapshot. If any data on the inPlaceSnapshot that is marked for deletion is needed for subsequent inPlaceSnapshots, the data will be moved to the next corresponding inPlaceSnapshot. For more information, see Deleting inPlaceSnapshots.

Declaration
public virtual ZoneInPlaceSnapshotsResource.DeleteRequest Delete(string project, string zone, string inPlaceSnapshot)
Parameters
Type Name Description
System.String project

Project ID for this request.

System.String zone

The name of the zone for this request.

System.String inPlaceSnapshot

Name of the InPlaceSnapshot resource to delete.

Returns
Type Description
ZoneInPlaceSnapshotsResource.DeleteRequest

Get(String, String, String)

Returns the specified InPlaceSnapshot resource in the specified zone.

Declaration
public virtual ZoneInPlaceSnapshotsResource.GetRequest Get(string project, string zone, string inPlaceSnapshot)
Parameters
Type Name Description
System.String project

Project ID for this request.

System.String zone

The name of the zone for this request.

System.String inPlaceSnapshot

Name of the InPlaceSnapshot resource to return.

Returns
Type Description
ZoneInPlaceSnapshotsResource.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 ZoneInPlaceSnapshotsResource.GetIamPolicyRequest GetIamPolicy(string project, string zone, string resource)
Parameters
Type Name Description
System.String project

Project ID for this request.

System.String zone

The name of the zone for this request.

System.String resource

Name or id of the resource for this request.

Returns
Type Description
ZoneInPlaceSnapshotsResource.GetIamPolicyRequest

Insert(InPlaceSnapshot, String, String)

Creates an in-place snapshot in the specified zone.

Declaration
public virtual ZoneInPlaceSnapshotsResource.InsertRequest Insert(InPlaceSnapshot body, string project, string zone)
Parameters
Type Name Description
InPlaceSnapshot body

The body of the request.

System.String project

Project ID for this request.

System.String zone

Name of the zone for this request.

Returns
Type Description
ZoneInPlaceSnapshotsResource.InsertRequest

List(String, String)

Retrieves the list of InPlaceSnapshot resources contained within the specified zone.

Declaration
public virtual ZoneInPlaceSnapshotsResource.ListRequest List(string project, string zone)
Parameters
Type Name Description
System.String project

Project ID for this request.

System.String zone

The name of the zone for this request.

Returns
Type Description
ZoneInPlaceSnapshotsResource.ListRequest

SetIamPolicy(ZoneSetPolicyRequest, String, String, String)

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

Declaration
public virtual ZoneInPlaceSnapshotsResource.SetIamPolicyRequest SetIamPolicy(ZoneSetPolicyRequest body, string project, string zone, string resource)
Parameters
Type Name Description
ZoneSetPolicyRequest body

The body of the request.

System.String project

Project ID for this request.

System.String zone

The name of the zone for this request.

System.String resource

Name or id of the resource for this request.

Returns
Type Description
ZoneInPlaceSnapshotsResource.SetIamPolicyRequest

SetLabels(ZoneSetLabelsRequest, String, String, String)

Sets the labels on a inPlaceSnapshot in the given zone. To learn more about labels, read the Labeling Resources documentation.

Declaration
public virtual ZoneInPlaceSnapshotsResource.SetLabelsRequest SetLabels(ZoneSetLabelsRequest body, string project, string zone, string resource)
Parameters
Type Name Description
ZoneSetLabelsRequest body

The body of the request.

System.String project

Project ID for this request.

System.String zone

The name of the zone for this request.

System.String resource

Name or id of the resource for this request.

Returns
Type Description
ZoneInPlaceSnapshotsResource.SetLabelsRequest

TestIamPermissions(TestPermissionsRequest, String, String, String)

Returns permissions that a caller has on the specified resource.

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

The body of the request.

System.String project

Project ID for this request.

System.String zone

The name of the zone for this request.

System.String resource

Name or id of the resource for this request.

Returns
Type Description
ZoneInPlaceSnapshotsResource.TestIamPermissionsRequest
In This Article
Back to top