Compute Engine v1 API - Class RegionInstancesClientImpl (2.7.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

GoogleCloudGoogle.Cloud.ComputeV1

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
NameDescription
grpcClientRegionInstancesRegionInstancesClient

The underlying gRPC client.

settingsRegionInstancesSettings

The base RegionInstancesSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

BulkInsertOperationsClient

public override OperationsClient BulkInsertOperationsClient { get; }

The long-running operations client for BulkInsert.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override RegionInstances.RegionInstancesClient GrpcClient { get; }

The underlying gRPC RegionInstances client

Property Value
TypeDescription
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
NameDescription
requestBulkInsertRegionInstanceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestBulkInsertRegionInstanceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides