Class RegionInstantSnapshotGroupsResource
The "regionInstantSnapshotGroups" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class RegionInstantSnapshotGroupsResource
Constructors
RegionInstantSnapshotGroupsResource(IClientService)
Constructs a new resource.
Declaration
public RegionInstantSnapshotGroupsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(string, string, string)
deletes a Regional InstantSnapshotGroup resource
Declaration
public virtual RegionInstantSnapshotGroupsResource.DeleteRequest Delete(string project, string region, string instantSnapshotGroup)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | The name of the region for this request. |
string | instantSnapshotGroup | Name of the InstantSnapshotGroup resource to delete. |
Returns
Type | Description |
---|---|
RegionInstantSnapshotGroupsResource.DeleteRequest |
Get(string, string, string)
returns the specified InstantSnapshotGroup resource in the specified region.
Declaration
public virtual RegionInstantSnapshotGroupsResource.GetRequest Get(string project, string region, string instantSnapshotGroup)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | The name of the region for this request. |
string | instantSnapshotGroup | Name of the InstantSnapshotGroup resource to return. |
Returns
Type | Description |
---|---|
RegionInstantSnapshotGroupsResource.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 RegionInstantSnapshotGroupsResource.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 |
---|---|
RegionInstantSnapshotGroupsResource.GetIamPolicyRequest |
Insert(InstantSnapshotGroup, string, string)
creates a Regional InstantSnapshotGroup resource
Declaration
public virtual RegionInstantSnapshotGroupsResource.InsertRequest Insert(InstantSnapshotGroup body, string project, string region)
Parameters
Type | Name | Description |
---|---|---|
InstantSnapshotGroup | body | The body of the request. |
string | project | Project ID for this request. |
string | region | Name of the region for this request. |
Returns
Type | Description |
---|---|
RegionInstantSnapshotGroupsResource.InsertRequest |
List(string, string)
retrieves the list of InstantSnapshotGroup resources contained within the specified region.
Declaration
public virtual RegionInstantSnapshotGroupsResource.ListRequest List(string project, string region)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | The name of the region for this request. |
Returns
Type | Description |
---|---|
RegionInstantSnapshotGroupsResource.ListRequest |
SetIamPolicy(RegionSetPolicyRequest, string, string, string)
Sets the access control policy on the specified resource. Replaces any existing policy.
Declaration
public virtual RegionInstantSnapshotGroupsResource.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 |
---|---|
RegionInstantSnapshotGroupsResource.SetIamPolicyRequest |
TestIamPermissions(TestPermissionsRequest, string, string, string)
Returns permissions that a caller has on the specified resource.
Declaration
public virtual RegionInstantSnapshotGroupsResource.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 |
---|---|
RegionInstantSnapshotGroupsResource.TestIamPermissionsRequest |