Class OperationsClientBuilder
Builder class for OperationsClient to provide simple configuration of credentials, endpoint etc.
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.LongRunning
Assembly: Google.LongRunning.dll
Syntax
public sealed class OperationsClientBuilder : ClientBuilderBase<OperationsClient>
Properties
Settings
The settings to use for RPCs, or null for the default settings.
Declaration
public OperationsSettings Settings { get; set; }
Property Value
Type | Description |
---|---|
OperationsSettings |
Methods
Build()
Declaration
public override OperationsClient Build()
Returns
Type | Description |
---|---|
OperationsClient |
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.LongRunning.OperationsClient>.Build()
BuildAsync(CancellationToken)
Declaration
public override Task<OperationsClient> BuildAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<OperationsClient> |
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.LongRunning.OperationsClient>.BuildAsync(System.Threading.CancellationToken)
GetChannelPool()
Declaration
protected override ChannelPool GetChannelPool()
Returns
Type | Description |
---|---|
ChannelPool |
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.LongRunning.OperationsClient>.GetChannelPool()
GetDefaultEndpoint()
Declaration
protected override ServiceEndpoint GetDefaultEndpoint()
Returns
Type | Description |
---|---|
ServiceEndpoint |
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.LongRunning.OperationsClient>.GetDefaultEndpoint()
GetDefaultScopes()
Declaration
protected override IReadOnlyList<string> GetDefaultScopes()
Returns
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<System.String> |
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.LongRunning.OperationsClient>.GetDefaultScopes()