Compute Engine v1 API - Class InstantSnapshotGroupsClientImpl (3.27.0)

public sealed class InstantSnapshotGroupsClientImpl : InstantSnapshotGroupsClient

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

InstantSnapshotGroups client wrapper implementation, for convenient use.

Inheritance

object > InstantSnapshotGroupsClient > InstantSnapshotGroupsClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The InstantSnapshotGroups API.

Constructors

InstantSnapshotGroupsClientImpl(InstantSnapshotGroupsClient, InstantSnapshotGroupsSettings, ILogger)

public InstantSnapshotGroupsClientImpl(InstantSnapshotGroups.InstantSnapshotGroupsClient grpcClient, InstantSnapshotGroupsSettings settings, ILogger logger)

Constructs a client wrapper for the InstantSnapshotGroups service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient InstantSnapshotGroupsInstantSnapshotGroupsClient

The underlying gRPC client.

settings InstantSnapshotGroupsSettings

The base InstantSnapshotGroupsSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override InstantSnapshotGroups.InstantSnapshotGroupsClient GrpcClient { get; }

The underlying gRPC InstantSnapshotGroups client

Property Value
Type Description
InstantSnapshotGroupsInstantSnapshotGroupsClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
Type Description
OperationsClient
Overrides

Methods

Delete(DeleteInstantSnapshotGroupRequest, CallSettings)

public override Operation<Operation, Operation> Delete(DeleteInstantSnapshotGroupRequest request, CallSettings callSettings = null)

deletes a Zonal InstantSnapshotGroup resource

Parameters
Name Description
request DeleteInstantSnapshotGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

DeleteAsync(DeleteInstantSnapshotGroupRequest, CallSettings)

public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteInstantSnapshotGroupRequest request, CallSettings callSettings = null)

deletes a Zonal InstantSnapshotGroup resource

Parameters
Name Description
request DeleteInstantSnapshotGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

Get(GetInstantSnapshotGroupRequest, CallSettings)

public override InstantSnapshotGroup Get(GetInstantSnapshotGroupRequest request, CallSettings callSettings = null)

returns the specified InstantSnapshotGroup resource in the specified zone.

Parameters
Name Description
request GetInstantSnapshotGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
InstantSnapshotGroup

The RPC response.

Overrides

GetAsync(GetInstantSnapshotGroupRequest, CallSettings)

public override Task<InstantSnapshotGroup> GetAsync(GetInstantSnapshotGroupRequest request, CallSettings callSettings = null)

returns the specified InstantSnapshotGroup resource in the specified zone.

Parameters
Name Description
request GetInstantSnapshotGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskInstantSnapshotGroup

A Task containing the RPC response.

Overrides

GetIamPolicy(GetIamPolicyInstantSnapshotGroupRequest, CallSettings)

public override Policy GetIamPolicy(GetIamPolicyInstantSnapshotGroupRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Policy

The RPC response.

Overrides

GetIamPolicyAsync(GetIamPolicyInstantSnapshotGroupRequest, CallSettings)

public override Task<Policy> GetIamPolicyAsync(GetIamPolicyInstantSnapshotGroupRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskPolicy

A Task containing the RPC response.

Overrides

Insert(InsertInstantSnapshotGroupRequest, CallSettings)

public override Operation<Operation, Operation> Insert(InsertInstantSnapshotGroupRequest request, CallSettings callSettings = null)

inserts a Zonal InstantSnapshotGroup resource

Parameters
Name Description
request InsertInstantSnapshotGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

InsertAsync(InsertInstantSnapshotGroupRequest, CallSettings)

public override Task<Operation<Operation, Operation>> InsertAsync(InsertInstantSnapshotGroupRequest request, CallSettings callSettings = null)

inserts a Zonal InstantSnapshotGroup resource

Parameters
Name Description
request InsertInstantSnapshotGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

List(ListInstantSnapshotGroupsRequest, CallSettings)

public override PagedEnumerable<ListInstantSnapshotGroups, InstantSnapshotGroup> List(ListInstantSnapshotGroupsRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ListInstantSnapshotGroupsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListInstantSnapshotGroupsInstantSnapshotGroup

A pageable sequence of InstantSnapshotGroup resources.

Overrides

ListAsync(ListInstantSnapshotGroupsRequest, CallSettings)

public override PagedAsyncEnumerable<ListInstantSnapshotGroups, InstantSnapshotGroup> ListAsync(ListInstantSnapshotGroupsRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ListInstantSnapshotGroupsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListInstantSnapshotGroupsInstantSnapshotGroup

A pageable asynchronous sequence of InstantSnapshotGroup resources.

Overrides

SetIamPolicy(SetIamPolicyInstantSnapshotGroupRequest, CallSettings)

public override Policy SetIamPolicy(SetIamPolicyInstantSnapshotGroupRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request SetIamPolicyInstantSnapshotGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Policy

The RPC response.

Overrides

SetIamPolicyAsync(SetIamPolicyInstantSnapshotGroupRequest, CallSettings)

public override Task<Policy> SetIamPolicyAsync(SetIamPolicyInstantSnapshotGroupRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request SetIamPolicyInstantSnapshotGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskPolicy

A Task containing the RPC response.

Overrides

TestIamPermissions(TestIamPermissionsInstantSnapshotGroupRequest, CallSettings)

public override TestPermissionsResponse TestIamPermissions(TestIamPermissionsInstantSnapshotGroupRequest request, CallSettings callSettings = null)

Returns permissions that a caller has on the specified resource.

Parameters
Name Description
request TestIamPermissionsInstantSnapshotGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TestPermissionsResponse

The RPC response.

Overrides

TestIamPermissionsAsync(TestIamPermissionsInstantSnapshotGroupRequest, CallSettings)

public override Task<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsInstantSnapshotGroupRequest request, CallSettings callSettings = null)

Returns permissions that a caller has on the specified resource.

Parameters
Name Description
request TestIamPermissionsInstantSnapshotGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskTestPermissionsResponse

A Task containing the RPC response.

Overrides