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