Show / Hide Table of Contents

Class ZoneInstantSnapshotsResource

The "zoneInstantSnapshots" collection of methods.

Inheritance
System.Object
ZoneInstantSnapshotsResource
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 ZoneInstantSnapshotsResource

Constructors

ZoneInstantSnapshotsResource(IClientService)

Constructs a new resource.

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

Methods

Delete(String, String, String)

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.

Declaration
public virtual ZoneInstantSnapshotsResource.DeleteRequest Delete(string project, string zone, string instantSnapshot)
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 instantSnapshot

Name of the InstantSnapshot resource to delete.

Returns
Type Description
ZoneInstantSnapshotsResource.DeleteRequest

Export(ZoneInstantSnapshotsExportRequest, String, String, String)

Export the changed blocks between two instant snapshots to a customer's bucket in the user specified format.

Declaration
public virtual ZoneInstantSnapshotsResource.ExportRequest Export(ZoneInstantSnapshotsExportRequest body, string project, string zone, string instantSnapshot)
Parameters
Type Name Description
ZoneInstantSnapshotsExportRequest 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 instantSnapshot

Name of the instant snapshot to export.

Returns
Type Description
ZoneInstantSnapshotsResource.ExportRequest

Get(String, String, String)

Returns the specified InstantSnapshot resource in the specified zone.

Declaration
public virtual ZoneInstantSnapshotsResource.GetRequest Get(string project, string zone, string instantSnapshot)
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 instantSnapshot

Name of the InstantSnapshot resource to return.

Returns
Type Description
ZoneInstantSnapshotsResource.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 ZoneInstantSnapshotsResource.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
ZoneInstantSnapshotsResource.GetIamPolicyRequest

Insert(InstantSnapshot, String, String)

Creates an instant snapshot in the specified zone.

Declaration
public virtual ZoneInstantSnapshotsResource.InsertRequest Insert(InstantSnapshot body, string project, string zone)
Parameters
Type Name Description
InstantSnapshot 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
ZoneInstantSnapshotsResource.InsertRequest

List(String, String)

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

Declaration
public virtual ZoneInstantSnapshotsResource.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
ZoneInstantSnapshotsResource.ListRequest

SetIamPolicy(ZoneSetPolicyRequest, String, String, String)

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

Declaration
public virtual ZoneInstantSnapshotsResource.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
ZoneInstantSnapshotsResource.SetIamPolicyRequest

SetLabels(ZoneSetLabelsRequest, String, String, String)

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

Declaration
public virtual ZoneInstantSnapshotsResource.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
ZoneInstantSnapshotsResource.SetLabelsRequest

TestIamPermissions(TestPermissionsRequest, String, String, String)

Returns permissions that a caller has on the specified resource.

Declaration
public virtual ZoneInstantSnapshotsResource.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
ZoneInstantSnapshotsResource.TestIamPermissionsRequest
In This Article
Back to top