Compute Engine v1 API - Class SnapshotSettingsServiceClientImpl (2.15.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
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
Overrides

PatchOperationsClient

public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
Type Description
OperationsClient
Overrides

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.

Overrides

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.

Overrides

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.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

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.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides