Show / Hide Table of Contents

Class InstantSnapshotGroupsResource

The "instantSnapshotGroups" collection of methods.

Inheritance
object
InstantSnapshotGroupsResource
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 InstantSnapshotGroupsResource

Constructors

InstantSnapshotGroupsResource(IClientService)

Constructs a new resource.

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

Methods

Delete(string, string, string)

deletes a Zonal InstantSnapshotGroup resource

Declaration
public virtual InstantSnapshotGroupsResource.DeleteRequest Delete(string project, string zone, string instantSnapshotGroup)
Parameters
Type Name Description
string project

Project ID for this request.

string zone

The name of the zone for this request.

string instantSnapshotGroup

Name of the InstantSnapshot resource to delete.

Returns
Type Description
InstantSnapshotGroupsResource.DeleteRequest

Get(string, string, string)

returns the specified InstantSnapshotGroup resource in the specified zone.

Declaration
public virtual InstantSnapshotGroupsResource.GetRequest Get(string project, string zone, string instantSnapshotGroup)
Parameters
Type Name Description
string project

Project ID for this request.

string zone

The name of the zone for this request.

string instantSnapshotGroup

Name of the InstantSnapshotGroup resource to return.

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

Project ID for this request.

string zone

The name of the zone for this request.

string resource

Name or id of the resource for this request.

Returns
Type Description
InstantSnapshotGroupsResource.GetIamPolicyRequest

Insert(InstantSnapshotGroup, string, string)

inserts a Zonal InstantSnapshotGroup resource

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

The body of the request.

string project

Project ID for this request.

string zone

Name of the zone for this request.

Returns
Type Description
InstantSnapshotGroupsResource.InsertRequest

List(string, string)

retrieves the list of InstantSnapshotGroup resources contained within the specified zone.

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

Project ID for this request.

string zone

The name of the zone for this request.

Returns
Type Description
InstantSnapshotGroupsResource.ListRequest

SetIamPolicy(ZoneSetPolicyRequest, string, string, string)

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

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

The body of the request.

string project

Project ID for this request.

string zone

The name of the zone for this request.

string resource

Name or id of the resource for this request.

Returns
Type Description
InstantSnapshotGroupsResource.SetIamPolicyRequest

TestIamPermissions(TestPermissionsRequest, string, string, string)

Returns permissions that a caller has on the specified resource.

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

The body of the request.

string project

Project ID for this request.

string zone

The name of the zone for this request.

string resource

Name or id of the resource for this request.

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