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 > RuntimeProjectAttachmentServiceClientBuilderNamespace
Google.Cloud.ApiHub.V1Assembly
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 |
BuildAsync(CancellationToken)
public override Task<RuntimeProjectAttachmentServiceClient> BuildAsync(CancellationToken cancellationToken = default)
Builds the resulting client asynchronously.
Parameter | |
---|---|
Name | Description |
cancellationToken |
CancellationToken |
Returns | |
---|---|
Type | Description |
TaskRuntimeProjectAttachmentServiceClient |
GetChannelPool()
protected override ChannelPool GetChannelPool()
Returns the channel pool to use when no other options are specified.
Returns | |
---|---|
Type | Description |
ChannelPool |