Compute Engine v1 API - Class InstantSnapshotGroups.InstantSnapshotGroupsBase (3.27.0)

[BindServiceMethod(typeof(InstantSnapshotGroups), "BindService")]
public abstract class InstantSnapshotGroups.InstantSnapshotGroupsBase

Reference documentation and code samples for the Compute Engine v1 API class InstantSnapshotGroups.InstantSnapshotGroupsBase.

Base class for server-side implementations of InstantSnapshotGroups

Inheritance

object > InstantSnapshotGroups.InstantSnapshotGroupsBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

Delete(DeleteInstantSnapshotGroupRequest, ServerCallContext)

public virtual Task<Operation> Delete(DeleteInstantSnapshotGroupRequest request, ServerCallContext context)

deletes a Zonal InstantSnapshotGroup resource

Parameters
Name Description
request DeleteInstantSnapshotGroupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

Get(GetInstantSnapshotGroupRequest, ServerCallContext)

public virtual Task<InstantSnapshotGroup> Get(GetInstantSnapshotGroupRequest request, ServerCallContext context)

returns the specified InstantSnapshotGroup resource in the specified zone.

Parameters
Name Description
request GetInstantSnapshotGroupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskInstantSnapshotGroup

The response to send back to the client (wrapped by a task).

GetIamPolicy(GetIamPolicyInstantSnapshotGroupRequest, ServerCallContext)

public virtual Task<Policy> GetIamPolicy(GetIamPolicyInstantSnapshotGroupRequest request, ServerCallContext context)

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

Parameters
Name Description
request GetIamPolicyInstantSnapshotGroupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskPolicy

The response to send back to the client (wrapped by a task).

Insert(InsertInstantSnapshotGroupRequest, ServerCallContext)

public virtual Task<Operation> Insert(InsertInstantSnapshotGroupRequest request, ServerCallContext context)

inserts a Zonal InstantSnapshotGroup resource

Parameters
Name Description
request InsertInstantSnapshotGroupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

List(ListInstantSnapshotGroupsRequest, ServerCallContext)

public virtual Task<ListInstantSnapshotGroups> List(ListInstantSnapshotGroupsRequest request, ServerCallContext context)

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

Parameters
Name Description
request ListInstantSnapshotGroupsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListInstantSnapshotGroups

The response to send back to the client (wrapped by a task).

SetIamPolicy(SetIamPolicyInstantSnapshotGroupRequest, ServerCallContext)

public virtual Task<Policy> SetIamPolicy(SetIamPolicyInstantSnapshotGroupRequest request, ServerCallContext context)

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

Parameters
Name Description
request SetIamPolicyInstantSnapshotGroupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskPolicy

The response to send back to the client (wrapped by a task).

TestIamPermissions(TestIamPermissionsInstantSnapshotGroupRequest, ServerCallContext)

public virtual Task<TestPermissionsResponse> TestIamPermissions(TestIamPermissionsInstantSnapshotGroupRequest request, ServerCallContext context)

Returns permissions that a caller has on the specified resource.

Parameters
Name Description
request TestIamPermissionsInstantSnapshotGroupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskTestPermissionsResponse

The response to send back to the client (wrapped by a task).