Compute Engine v1 API - Class RegionInstantSnapshotGroupsClientImpl (3.27.0)

public sealed class RegionInstantSnapshotGroupsClientImpl : RegionInstantSnapshotGroupsClient

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

RegionInstantSnapshotGroups client wrapper implementation, for convenient use.

Inheritance

object > RegionInstantSnapshotGroupsClient > RegionInstantSnapshotGroupsClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The RegionInstantSnapshotGroups API.

Constructors

RegionInstantSnapshotGroupsClientImpl(RegionInstantSnapshotGroupsClient, RegionInstantSnapshotGroupsSettings, ILogger)

public RegionInstantSnapshotGroupsClientImpl(RegionInstantSnapshotGroups.RegionInstantSnapshotGroupsClient grpcClient, RegionInstantSnapshotGroupsSettings settings, ILogger logger)

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

Parameters
Name Description
grpcClient RegionInstantSnapshotGroupsRegionInstantSnapshotGroupsClient

The underlying gRPC client.

settings RegionInstantSnapshotGroupsSettings

The base RegionInstantSnapshotGroupsSettings 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 RegionInstantSnapshotGroups.RegionInstantSnapshotGroupsClient GrpcClient { get; }

The underlying gRPC RegionInstantSnapshotGroups client

Property Value
Type Description
RegionInstantSnapshotGroupsRegionInstantSnapshotGroupsClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
Type Description
OperationsClient
Overrides

Methods

Delete(DeleteRegionInstantSnapshotGroupRequest, CallSettings)

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

deletes a Regional InstantSnapshotGroup resource

Parameters
Name Description
request DeleteRegionInstantSnapshotGroupRequest

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(DeleteRegionInstantSnapshotGroupRequest, CallSettings)

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

deletes a Regional InstantSnapshotGroup resource

Parameters
Name Description
request DeleteRegionInstantSnapshotGroupRequest

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(GetRegionInstantSnapshotGroupRequest, CallSettings)

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

returns the specified InstantSnapshotGroup resource in the specified region.

Parameters
Name Description
request GetRegionInstantSnapshotGroupRequest

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(GetRegionInstantSnapshotGroupRequest, CallSettings)

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

returns the specified InstantSnapshotGroup resource in the specified region.

Parameters
Name Description
request GetRegionInstantSnapshotGroupRequest

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(GetIamPolicyRegionInstantSnapshotGroupRequest, CallSettings)

public override Policy GetIamPolicy(GetIamPolicyRegionInstantSnapshotGroupRequest 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 GetIamPolicyRegionInstantSnapshotGroupRequest

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(GetIamPolicyRegionInstantSnapshotGroupRequest, CallSettings)

public override Task<Policy> GetIamPolicyAsync(GetIamPolicyRegionInstantSnapshotGroupRequest 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 GetIamPolicyRegionInstantSnapshotGroupRequest

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(InsertRegionInstantSnapshotGroupRequest, CallSettings)

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

creates a Regional InstantSnapshotGroup resource

Parameters
Name Description
request InsertRegionInstantSnapshotGroupRequest

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(InsertRegionInstantSnapshotGroupRequest, CallSettings)

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

creates a Regional InstantSnapshotGroup resource

Parameters
Name Description
request InsertRegionInstantSnapshotGroupRequest

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(ListRegionInstantSnapshotGroupsRequest, CallSettings)

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

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

Parameters
Name Description
request ListRegionInstantSnapshotGroupsRequest

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(ListRegionInstantSnapshotGroupsRequest, CallSettings)

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

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

Parameters
Name Description
request ListRegionInstantSnapshotGroupsRequest

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(SetIamPolicyRegionInstantSnapshotGroupRequest, CallSettings)

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

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

Parameters
Name Description
request SetIamPolicyRegionInstantSnapshotGroupRequest

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(SetIamPolicyRegionInstantSnapshotGroupRequest, CallSettings)

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

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

Parameters
Name Description
request SetIamPolicyRegionInstantSnapshotGroupRequest

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(TestIamPermissionsRegionInstantSnapshotGroupRequest, CallSettings)

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

Returns permissions that a caller has on the specified resource.

Parameters
Name Description
request TestIamPermissionsRegionInstantSnapshotGroupRequest

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(TestIamPermissionsRegionInstantSnapshotGroupRequest, CallSettings)

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

Returns permissions that a caller has on the specified resource.

Parameters
Name Description
request TestIamPermissionsRegionInstantSnapshotGroupRequest

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