public sealed class InstanceSettingsServiceClientImpl : InstanceSettingsServiceClient
Reference documentation and code samples for the Compute Engine v1 API class InstanceSettingsServiceClientImpl.
InstanceSettingsService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The InstanceSettings API.
Constructors
InstanceSettingsServiceClientImpl(InstanceSettingsServiceClient, InstanceSettingsServiceSettings, ILogger)
public InstanceSettingsServiceClientImpl(InstanceSettingsService.InstanceSettingsServiceClient grpcClient, InstanceSettingsServiceSettings settings, ILogger logger)
Constructs a client wrapper for the InstanceSettingsService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient |
InstanceSettingsServiceInstanceSettingsServiceClient The underlying gRPC client. |
settings |
InstanceSettingsServiceSettings The base InstanceSettingsServiceSettings used within this client. |
logger |
ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override InstanceSettingsService.InstanceSettingsServiceClient GrpcClient { get; }
The underlying gRPC InstanceSettingsService client
Property Value | |
---|---|
Type | Description |
InstanceSettingsServiceInstanceSettingsServiceClient |
PatchOperationsClient
public override OperationsClient PatchOperationsClient { get; }
The long-running operations client for Patch
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
Get(GetInstanceSettingRequest, CallSettings)
public override InstanceSettings Get(GetInstanceSettingRequest request, CallSettings callSettings = null)
Get Instance settings.
Parameters | |
---|---|
Name | Description |
request |
GetInstanceSettingRequest 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 |
InstanceSettings |
The RPC response. |
GetAsync(GetInstanceSettingRequest, CallSettings)
public override Task<InstanceSettings> GetAsync(GetInstanceSettingRequest request, CallSettings callSettings = null)
Get Instance settings.
Parameters | |
---|---|
Name | Description |
request |
GetInstanceSettingRequest 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 |
TaskInstanceSettings |
A Task containing the RPC response. |
Patch(PatchInstanceSettingRequest, CallSettings)
public override Operation<Operation, Operation> Patch(PatchInstanceSettingRequest request, CallSettings callSettings = null)
Patch Instance settings
Parameters | |
---|---|
Name | Description |
request |
PatchInstanceSettingRequest 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. |
PatchAsync(PatchInstanceSettingRequest, CallSettings)
public override Task<Operation<Operation, Operation>> PatchAsync(PatchInstanceSettingRequest request, CallSettings callSettings = null)
Patch Instance settings
Parameters | |
---|---|
Name | Description |
request |
PatchInstanceSettingRequest 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. |