public sealed class RegionSnapshotSettingsClientImpl : RegionSnapshotSettingsClientReference documentation and code samples for the Compute Engine v1 API class RegionSnapshotSettingsClientImpl.
RegionSnapshotSettings client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
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 |
RegionSnapshotSettingsRegionSnapshotSettingsClientThe underlying gRPC client. |
settings |
RegionSnapshotSettingsSettingsThe base RegionSnapshotSettingsSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override RegionSnapshotSettings.RegionSnapshotSettingsClient GrpcClient { get; }The underlying gRPC RegionSnapshotSettings client
| Property Value | |
|---|---|
| Type | Description |
RegionSnapshotSettingsRegionSnapshotSettingsClient |
|
PatchOperationsClient
public override OperationsClient PatchOperationsClient { get; }The long-running operations client for Patch.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
Get(GetRegionSnapshotSettingRequest, CallSettings)
public override SnapshotSettings Get(GetRegionSnapshotSettingRequest request, CallSettings callSettings = null)Get region snapshot settings.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionSnapshotSettingRequestThe 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(GetRegionSnapshotSettingRequest, CallSettings)
public override Task<SnapshotSettings> GetAsync(GetRegionSnapshotSettingRequest request, CallSettings callSettings = null)Get region snapshot settings.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionSnapshotSettingRequestThe 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(PatchRegionSnapshotSettingRequest, CallSettings)
public override Operation<Operation, Operation> Patch(PatchRegionSnapshotSettingRequest request, CallSettings callSettings = null)Patch region snapshot settings.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchRegionSnapshotSettingRequestThe 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(PatchRegionSnapshotSettingRequest, CallSettings)
public override Task<Operation<Operation, Operation>> PatchAsync(PatchRegionSnapshotSettingRequest request, CallSettings callSettings = null)Patch region snapshot settings.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchRegionSnapshotSettingRequestThe 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. |