public sealed class RegionInstancesClientImpl : RegionInstancesClient
RegionInstances client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The RegionInstances API.
Constructors
RegionInstancesClientImpl(RegionInstances.RegionInstancesClient, RegionInstancesSettings)
public RegionInstancesClientImpl(RegionInstances.RegionInstancesClient grpcClient, RegionInstancesSettings settings)
Constructs a client wrapper for the RegionInstances service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | RegionInstances.RegionInstancesClient The underlying gRPC client. |
settings | RegionInstancesSettings The base RegionInstancesSettings used 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 |
RegionInstances.RegionInstancesClient |
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 |
Operation<Operation, Operation> | 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 |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |