API hub v1 API - Class RuntimeProjectAttachmentServiceClientBuilder (1.0.0-beta01)

public sealed class RuntimeProjectAttachmentServiceClientBuilder : ClientBuilderBase<RuntimeProjectAttachmentServiceClient>

Reference documentation and code samples for the API hub v1 API class RuntimeProjectAttachmentServiceClientBuilder.

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

Inheritance

object > ClientBuilderBaseRuntimeProjectAttachmentServiceClient > RuntimeProjectAttachmentServiceClientBuilder

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Constructors

RuntimeProjectAttachmentServiceClientBuilder()

public RuntimeProjectAttachmentServiceClientBuilder()

Creates a new builder with default settings.

Properties

Settings

public RuntimeProjectAttachmentServiceSettings Settings { get; set; }

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

Property Value
Type Description
RuntimeProjectAttachmentServiceSettings

Methods

Build()

public override RuntimeProjectAttachmentServiceClient Build()

Builds the resulting client.

Returns
Type Description
RuntimeProjectAttachmentServiceClient
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.ApiHub.V1.RuntimeProjectAttachmentServiceClient>.Build()

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
Name Description
cancellationToken CancellationToken
Returns
Type Description
TaskRuntimeProjectAttachmentServiceClient
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.ApiHub.V1.RuntimeProjectAttachmentServiceClient>.BuildAsync(System.Threading.CancellationToken)

GetChannelPool()

protected override ChannelPool GetChannelPool()

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

Returns
Type Description
ChannelPool
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.ApiHub.V1.RuntimeProjectAttachmentServiceClient>.GetChannelPool()