public class RegionSnapshotSettings.RegionSnapshotSettingsClient : ClientBase<RegionSnapshotSettings.RegionSnapshotSettingsClient>Reference documentation and code samples for the Compute Engine v1 API class RegionSnapshotSettings.RegionSnapshotSettingsClient.
Client for RegionSnapshotSettings
Inheritance
object > ClientBase > ClientBaseRegionSnapshotSettingsRegionSnapshotSettingsClient > RegionSnapshotSettings.RegionSnapshotSettingsClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
RegionSnapshotSettingsClient()
protected RegionSnapshotSettingsClient()Protected parameterless constructor to allow creation of test doubles.
RegionSnapshotSettingsClient(CallInvoker)
public RegionSnapshotSettingsClient(CallInvoker callInvoker)Creates a new client for RegionSnapshotSettings that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
RegionSnapshotSettingsClient(ChannelBase)
public RegionSnapshotSettingsClient(ChannelBase channel)Creates a new client for RegionSnapshotSettings
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
RegionSnapshotSettingsClient(ClientBaseConfiguration)
protected RegionSnapshotSettingsClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfigurationThe client configuration. |
Methods
CreateOperationsClientForRegionOperations()
public virtual Operations.OperationsClient CreateOperationsClientForRegionOperations()Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to RegionOperations.
| Returns | |
|---|---|
| Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
Get(GetRegionSnapshotSettingRequest, CallOptions)
public virtual SnapshotSettings Get(GetRegionSnapshotSettingRequest request, CallOptions options)Get region snapshot settings.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionSnapshotSettingRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
SnapshotSettings |
The response received from the server. |
Get(GetRegionSnapshotSettingRequest, Metadata, DateTime?, CancellationToken)
public virtual SnapshotSettings Get(GetRegionSnapshotSettingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Get region snapshot settings.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionSnapshotSettingRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
SnapshotSettings |
The response received from the server. |
GetAsync(GetRegionSnapshotSettingRequest, CallOptions)
public virtual AsyncUnaryCall<SnapshotSettings> GetAsync(GetRegionSnapshotSettingRequest request, CallOptions options)Get region snapshot settings.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionSnapshotSettingRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallSnapshotSettings |
The call object. |
GetAsync(GetRegionSnapshotSettingRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<SnapshotSettings> GetAsync(GetRegionSnapshotSettingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Get region snapshot settings.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionSnapshotSettingRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallSnapshotSettings |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override RegionSnapshotSettings.RegionSnapshotSettingsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
RegionSnapshotSettingsRegionSnapshotSettingsClient |
|
Patch(PatchRegionSnapshotSettingRequest, CallOptions)
public virtual Operation Patch(PatchRegionSnapshotSettingRequest request, CallOptions options)Patch region snapshot settings.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchRegionSnapshotSettingRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
Patch(PatchRegionSnapshotSettingRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Patch(PatchRegionSnapshotSettingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Patch region snapshot settings.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchRegionSnapshotSettingRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
PatchAsync(PatchRegionSnapshotSettingRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchRegionSnapshotSettingRequest request, CallOptions options)Patch region snapshot settings.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchRegionSnapshotSettingRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
PatchAsync(PatchRegionSnapshotSettingRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchRegionSnapshotSettingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Patch region snapshot settings.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchRegionSnapshotSettingRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |