Compute Engine v1 API - Class RegionSnapshotSettingsClientImpl (3.27.0)

public sealed class RegionSnapshotSettingsClientImpl : RegionSnapshotSettingsClient

Reference documentation and code samples for the Compute Engine v1 API class RegionSnapshotSettingsClientImpl.

RegionSnapshotSettings client wrapper implementation, for convenient use.

Inheritance

object > RegionSnapshotSettingsClient > RegionSnapshotSettingsClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The RegionSnapshotSettings API.

Constructors

RegionSnapshotSettingsClientImpl(RegionSnapshotSettingsClient, RegionSnapshotSettingsSettings, ILogger)

public RegionSnapshotSettingsClientImpl(RegionSnapshotSettings.RegionSnapshotSettingsClient grpcClient, RegionSnapshotSettingsSettings settings, ILogger logger)

Constructs a client wrapper for the RegionSnapshotSettings service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient RegionSnapshotSettingsRegionSnapshotSettingsClient

The underlying gRPC client.

settings RegionSnapshotSettingsSettings

The base RegionSnapshotSettingsSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override RegionSnapshotSettings.RegionSnapshotSettingsClient GrpcClient { get; }

The underlying gRPC RegionSnapshotSettings client

Property Value
Type Description
RegionSnapshotSettingsRegionSnapshotSettingsClient
Overrides

PatchOperationsClient

public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
Type Description
OperationsClient
Overrides

Methods

Get(GetRegionSnapshotSettingRequest, CallSettings)

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

Get region snapshot settings.

Parameters
Name Description
request GetRegionSnapshotSettingRequest

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(GetRegionSnapshotSettingRequest, CallSettings)

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

Get region snapshot settings.

Parameters
Name Description
request GetRegionSnapshotSettingRequest

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(PatchRegionSnapshotSettingRequest, CallSettings)

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

Patch region snapshot settings.

Parameters
Name Description
request PatchRegionSnapshotSettingRequest

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(PatchRegionSnapshotSettingRequest, CallSettings)

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

Patch region snapshot settings.

Parameters
Name Description
request PatchRegionSnapshotSettingRequest

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