Rapid Migration Assessment v1 API - Class RapidMigrationAssessmentClientBuilder (1.1.0)

public sealed class RapidMigrationAssessmentClientBuilder : ClientBuilderBase<RapidMigrationAssessmentClient>

Reference documentation and code samples for the Rapid Migration Assessment v1 API class RapidMigrationAssessmentClientBuilder.

Builder class for RapidMigrationAssessmentClient to provide simple configuration of credentials, endpoint etc.

Inheritance

object > ClientBuilderBaseRapidMigrationAssessmentClient > RapidMigrationAssessmentClientBuilder

Namespace

Google.Cloud.RapidMigrationAssessment.V1

Assembly

Google.Cloud.RapidMigrationAssessment.V1.dll

Constructors

RapidMigrationAssessmentClientBuilder()

public RapidMigrationAssessmentClientBuilder()

Creates a new builder with default settings.

Properties

Settings

public RapidMigrationAssessmentSettings Settings { get; set; }

The settings to use for RPCs, or null for the default settings.

Property Value
Type Description
RapidMigrationAssessmentSettings

Methods

Build()

public override RapidMigrationAssessmentClient Build()

Builds the resulting client.

Returns
Type Description
RapidMigrationAssessmentClient
Overrides

BuildAsync(CancellationToken)

public override Task<RapidMigrationAssessmentClient> BuildAsync(CancellationToken cancellationToken = default)

Builds the resulting client asynchronously.

Parameter
Name Description
cancellationToken CancellationToken
Returns
Type Description
TaskRapidMigrationAssessmentClient
Overrides

GetChannelPool()

protected override ChannelPool GetChannelPool()

Returns the channel pool to use when no other options are specified.

Returns
Type Description
ChannelPool
Overrides