public sealed class InstantSnapshotGroupsClientImpl : InstantSnapshotGroupsClientReference documentation and code samples for the Compute Engine v1 API class InstantSnapshotGroupsClientImpl.
InstantSnapshotGroups client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
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 |
InstantSnapshotGroupsInstantSnapshotGroupsClientThe underlying gRPC client. |
settings |
InstantSnapshotGroupsSettingsThe base InstantSnapshotGroupsSettings 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 InstantSnapshotGroups.InstantSnapshotGroupsClient GrpcClient { get; }The underlying gRPC InstantSnapshotGroups client
| Property Value | |
|---|---|
| Type | Description |
InstantSnapshotGroupsInstantSnapshotGroupsClient |
|
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }The long-running operations client for Insert.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
Delete(DeleteInstantSnapshotGroupRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteInstantSnapshotGroupRequest request, CallSettings callSettings = null)deletes a Zonal InstantSnapshotGroup resource
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteInstantSnapshotGroupRequestThe 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(DeleteInstantSnapshotGroupRequest, CallSettings)
public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteInstantSnapshotGroupRequest request, CallSettings callSettings = null)deletes a Zonal InstantSnapshotGroup resource
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteInstantSnapshotGroupRequestThe 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(GetInstantSnapshotGroupRequest, CallSettings)
public override InstantSnapshotGroup Get(GetInstantSnapshotGroupRequest request, CallSettings callSettings = null)returns the specified InstantSnapshotGroup resource in the specified zone.
| Parameters | |
|---|---|
| Name | Description |
request |
GetInstantSnapshotGroupRequestThe 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(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 |
GetInstantSnapshotGroupRequestThe 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(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 |
GetIamPolicyInstantSnapshotGroupRequestThe 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(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 |
GetIamPolicyInstantSnapshotGroupRequestThe 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(InsertInstantSnapshotGroupRequest, CallSettings)
public override Operation<Operation, Operation> Insert(InsertInstantSnapshotGroupRequest request, CallSettings callSettings = null)inserts a Zonal InstantSnapshotGroup resource
| Parameters | |
|---|---|
| Name | Description |
request |
InsertInstantSnapshotGroupRequestThe 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(InsertInstantSnapshotGroupRequest, CallSettings)
public override Task<Operation<Operation, Operation>> InsertAsync(InsertInstantSnapshotGroupRequest request, CallSettings callSettings = null)inserts a Zonal InstantSnapshotGroup resource
| Parameters | |
|---|---|
| Name | Description |
request |
InsertInstantSnapshotGroupRequestThe 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(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 |
ListInstantSnapshotGroupsRequestThe 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(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 |
ListInstantSnapshotGroupsRequestThe 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(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 |
SetIamPolicyInstantSnapshotGroupRequestThe 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(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 |
SetIamPolicyInstantSnapshotGroupRequestThe 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(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 |
TestIamPermissionsInstantSnapshotGroupRequestThe 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(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 |
TestIamPermissionsInstantSnapshotGroupRequestThe 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. |