Compute Engine v1 API - Class SnapshotSettingsServiceClientImpl (2.14.0)

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.

Inheritance

object > SnapshotSettingsServiceClient > SnapshotSettingsServiceClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

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
NameDescription
grpcClientSnapshotSettingsServiceSnapshotSettingsServiceClient

The underlying gRPC client.

settingsSnapshotSettingsServiceSettings

The base SnapshotSettingsServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override SnapshotSettingsService.SnapshotSettingsServiceClient GrpcClient { get; }

The underlying gRPC SnapshotSettingsService client

Property Value
TypeDescription
SnapshotSettingsServiceSnapshotSettingsServiceClient
Overrides

PatchOperationsClient

public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

Get(GetSnapshotSettingRequest, CallSettings)

public override SnapshotSettings Get(GetSnapshotSettingRequest request, CallSettings callSettings = null)

Get snapshot settings.

Parameters
NameDescription
requestGetSnapshotSettingRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SnapshotSettings

The RPC response.

Overrides

GetAsync(GetSnapshotSettingRequest, CallSettings)

public override Task<SnapshotSettings> GetAsync(GetSnapshotSettingRequest request, CallSettings callSettings = null)

Get snapshot settings.

Parameters
NameDescription
requestGetSnapshotSettingRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskSnapshotSettings

A Task containing the RPC response.

Overrides

Patch(PatchSnapshotSettingRequest, CallSettings)

public override Operation<Operation, Operation> Patch(PatchSnapshotSettingRequest request, CallSettings callSettings = null)

Patch snapshot settings.

Parameters
NameDescription
requestPatchSnapshotSettingRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Overrides

PatchAsync(PatchSnapshotSettingRequest, CallSettings)

public override Task<Operation<Operation, Operation>> PatchAsync(PatchSnapshotSettingRequest request, CallSettings callSettings = null)

Patch snapshot settings.

Parameters
NameDescription
requestPatchSnapshotSettingRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides