public sealed class SnapshotSettingsServiceClientImpl : SnapshotSettingsServiceClientReference documentation and code samples for the Compute Engine v1 API class SnapshotSettingsServiceClientImpl.
SnapshotSettingsService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The SnapshotSettings API.
Constructors
SnapshotSettingsServiceClientImpl(SnapshotSettingsServiceClient, SnapshotSettingsServiceSettings, ILogger)
public SnapshotSettingsServiceClientImpl(SnapshotSettingsService.SnapshotSettingsServiceClient grpcClient, SnapshotSettingsServiceSettings settings, ILogger logger)Constructs a client wrapper for the SnapshotSettingsService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
SnapshotSettingsServiceSnapshotSettingsServiceClientThe underlying gRPC client. |
settings |
SnapshotSettingsServiceSettingsThe base SnapshotSettingsServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override SnapshotSettingsService.SnapshotSettingsServiceClient GrpcClient { get; }The underlying gRPC SnapshotSettingsService client
| Property Value | |
|---|---|
| Type | Description |
SnapshotSettingsServiceSnapshotSettingsServiceClient |
|
PatchOperationsClient
public override OperationsClient PatchOperationsClient { get; }The long-running operations client for Patch.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
Get(GetSnapshotSettingRequest, CallSettings)
public override SnapshotSettings Get(GetSnapshotSettingRequest request, CallSettings callSettings = null)Get snapshot settings.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSnapshotSettingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
SnapshotSettings |
The RPC response. |
GetAsync(GetSnapshotSettingRequest, CallSettings)
public override Task<SnapshotSettings> GetAsync(GetSnapshotSettingRequest request, CallSettings callSettings = null)Get snapshot settings.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSnapshotSettingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSnapshotSettings |
A Task containing the RPC response. |
Patch(PatchSnapshotSettingRequest, CallSettings)
public override Operation<Operation, Operation> Patch(PatchSnapshotSettingRequest request, CallSettings callSettings = null)Patch snapshot settings.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchSnapshotSettingRequestThe 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. |
PatchAsync(PatchSnapshotSettingRequest, CallSettings)
public override Task<Operation<Operation, Operation>> PatchAsync(PatchSnapshotSettingRequest request, CallSettings callSettings = null)Patch snapshot settings.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchSnapshotSettingRequestThe 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. |