Rapid Migration Assessment v1 API - Class RapidMigrationAssessmentClientBuilder (1.0.0-beta02)

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
TypeDescription
RapidMigrationAssessmentSettings

Methods

Build()

public override RapidMigrationAssessmentClient Build()

Builds the resulting client.

Returns
TypeDescription
RapidMigrationAssessmentClient
Overrides

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
NameDescription
cancellationTokenCancellationToken
Returns
TypeDescription
TaskRapidMigrationAssessmentClient
Overrides

GetChannelPool()

protected override ChannelPool GetChannelPool()

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

Returns
TypeDescription
ChannelPool
Overrides