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