Compute Engine v1 API - Class RegionInstancesClientImpl (2.17.0)

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.

Inheritance

object > RegionInstancesClient > RegionInstancesClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

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
Overrides

GrpcClient

public override RegionInstances.RegionInstancesClient GrpcClient { get; }

The underlying gRPC RegionInstances client

Property Value
Type Description
RegionInstancesRegionInstancesClient
Overrides

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.

Overrides

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.

Overrides