public sealed class RegionInstantSnapshotGroupsClientImpl : RegionInstantSnapshotGroupsClientReference documentation and code samples for the Compute Engine v1 API class RegionInstantSnapshotGroupsClientImpl.
RegionInstantSnapshotGroups client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
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 |
RegionInstantSnapshotGroupsRegionInstantSnapshotGroupsClientThe underlying gRPC client. |
settings |
RegionInstantSnapshotGroupsSettingsThe base RegionInstantSnapshotGroupsSettings used within this client. |
logger |
ILoggerOptional 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 |
|
GrpcClient
public override RegionInstantSnapshotGroups.RegionInstantSnapshotGroupsClient GrpcClient { get; }The underlying gRPC RegionInstantSnapshotGroups client
| Property Value | |
|---|---|
| Type | Description |
RegionInstantSnapshotGroupsRegionInstantSnapshotGroupsClient |
|
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }The long-running operations client for Insert.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
Delete(DeleteRegionInstantSnapshotGroupRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteRegionInstantSnapshotGroupRequest request, CallSettings callSettings = null)deletes a Regional InstantSnapshotGroup resource
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRegionInstantSnapshotGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
DeleteAsync(DeleteRegionInstantSnapshotGroupRequest, CallSettings)
public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteRegionInstantSnapshotGroupRequest request, CallSettings callSettings = null)deletes a Regional InstantSnapshotGroup resource
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRegionInstantSnapshotGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
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 |
GetRegionInstantSnapshotGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
InstantSnapshotGroup |
The RPC response. |
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 |
GetRegionInstantSnapshotGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskInstantSnapshotGroup |
A Task containing the RPC response. |
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 |
GetIamPolicyRegionInstantSnapshotGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
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 |
GetIamPolicyRegionInstantSnapshotGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
Insert(InsertRegionInstantSnapshotGroupRequest, CallSettings)
public override Operation<Operation, Operation> Insert(InsertRegionInstantSnapshotGroupRequest request, CallSettings callSettings = null)creates a Regional InstantSnapshotGroup resource
| Parameters | |
|---|---|
| Name | Description |
request |
InsertRegionInstantSnapshotGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
InsertAsync(InsertRegionInstantSnapshotGroupRequest, CallSettings)
public override Task<Operation<Operation, Operation>> InsertAsync(InsertRegionInstantSnapshotGroupRequest request, CallSettings callSettings = null)creates a Regional InstantSnapshotGroup resource
| Parameters | |
|---|---|
| Name | Description |
request |
InsertRegionInstantSnapshotGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
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 |
ListRegionInstantSnapshotGroupsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListInstantSnapshotGroupsInstantSnapshotGroup |
A pageable sequence of InstantSnapshotGroup resources. |
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 |
ListRegionInstantSnapshotGroupsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListInstantSnapshotGroupsInstantSnapshotGroup |
A pageable asynchronous sequence of InstantSnapshotGroup resources. |
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 |
SetIamPolicyRegionInstantSnapshotGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
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 |
SetIamPolicyRegionInstantSnapshotGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
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 |
TestIamPermissionsRegionInstantSnapshotGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TestPermissionsResponse |
The RPC response. |
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 |
TestIamPermissionsRegionInstantSnapshotGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTestPermissionsResponse |
A Task containing the RPC response. |