public sealed class EntityServiceClientBuilder : ClientBuilderBase<EntityServiceClient>
Reference documentation and code samples for the Chronicle v1 API class EntityServiceClientBuilder.
Builder class for EntityServiceClient to provide simple configuration of credentials, endpoint etc.
Namespace
Google.Cloud.Chronicle.V1Assembly
Google.Cloud.Chronicle.V1.dll
Constructors
EntityServiceClientBuilder()
public EntityServiceClientBuilder()
Creates a new builder with default settings.
Properties
Settings
public EntityServiceSettings Settings { get; set; }
The settings to use for RPCs, or null
for the default settings.
Property Value | |
---|---|
Type | Description |
EntityServiceSettings |
Methods
Build()
public override EntityServiceClient Build()
Builds the resulting client.
Returns | |
---|---|
Type | Description |
EntityServiceClient |
BuildAsync(CancellationToken)
public override Task<EntityServiceClient> BuildAsync(CancellationToken cancellationToken = default)
Builds the resulting client asynchronously.
Parameter | |
---|---|
Name | Description |
cancellationToken |
CancellationToken |
Returns | |
---|---|
Type | Description |
TaskEntityServiceClient |
GetChannelPool()
protected override ChannelPool GetChannelPool()
Returns the channel pool to use when no other options are specified.
Returns | |
---|---|
Type | Description |
ChannelPool |