public sealed class RegionInstancesClientImpl : RegionInstancesClient
Reference documentation and code samples for the Compute Engine v1 API class RegionInstancesClientImpl.
RegionInstances client wrapper implementation, for convenient use.
Namespace
GoogleCloudGoogle.Cloud.ComputeV1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The RegionInstances API.
Constructors
RegionInstancesClientImpl(RegionInstancesClient, RegionInstancesSettings, ILogger)
public RegionInstancesClientImpl(RegionInstances.RegionInstancesClient grpcClient, RegionInstancesSettings settings, ILogger logger)
Constructs a client wrapper for the RegionInstances service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | RegionInstancesRegionInstancesClient The underlying gRPC client. |
settings | RegionInstancesSettings The base RegionInstancesSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
BulkInsertOperationsClient
public override OperationsClient BulkInsertOperationsClient { get; }
The long-running operations client for BulkInsert
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override RegionInstances.RegionInstancesClient GrpcClient { get; }
The underlying gRPC RegionInstances client
Property Value | |
---|---|
Type | Description |
RegionInstancesRegionInstancesClient |
Methods
BulkInsert(BulkInsertRegionInstanceRequest, CallSettings)
public override Operation<Operation, Operation> BulkInsert(BulkInsertRegionInstanceRequest request, CallSettings callSettings = null)
Creates multiple instances in a given region. Count specifies the number of instances to create.
Parameters | |
---|---|
Name | Description |
request | BulkInsertRegionInstanceRequest 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. |
BulkInsertAsync(BulkInsertRegionInstanceRequest, CallSettings)
public override Task<Operation<Operation, Operation>> BulkInsertAsync(BulkInsertRegionInstanceRequest request, CallSettings callSettings = null)
Creates multiple instances in a given region. Count specifies the number of instances to create.
Parameters | |
---|---|
Name | Description |
request | BulkInsertRegionInstanceRequest 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. |