public sealed class SnapshotSettingsServiceClientImpl : SnapshotSettingsServiceClient
Reference documentation and code samples for the Compute Engine v1 API class SnapshotSettingsServiceClientImpl.
SnapshotSettingsService client wrapper implementation, for convenient use.
Inherited Members
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 |
SnapshotSettingsServiceSnapshotSettingsServiceClient The underlying gRPC client. |
settings |
SnapshotSettingsServiceSettings The base SnapshotSettingsServiceSettings used within this client. |
logger |
ILogger Optional 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 |
GetSnapshotSettingRequest 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 |
SnapshotSettings |
The RPC response. |
GetAsync(GetSnapshotSettingRequest, CallSettings)
public override Task<SnapshotSettings> GetAsync(GetSnapshotSettingRequest request, CallSettings callSettings = null)
Get snapshot settings.
Parameters | |
---|---|
Name | Description |
request |
GetSnapshotSettingRequest 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 |
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 |
PatchSnapshotSettingRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
PatchAsync(PatchSnapshotSettingRequest, CallSettings)
public override Task<Operation<Operation, Operation>> PatchAsync(PatchSnapshotSettingRequest request, CallSettings callSettings = null)
Patch snapshot settings.
Parameters | |
---|---|
Name | Description |
request |
PatchSnapshotSettingRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |