Google Cloud Security Command Center Settings v1beta1 API - Class SecurityCenterSettingsServiceClientBuilder (2.0.0-beta04)

public sealed class SecurityCenterSettingsServiceClientBuilder : ClientBuilderBase<SecurityCenterSettingsServiceClient>

Reference documentation and code samples for the Google Cloud Security Command Center Settings v1beta1 API class SecurityCenterSettingsServiceClientBuilder.

Builder class for SecurityCenterSettingsServiceClient to provide simple configuration of credentials, endpoint etc.

Inheritance

object > ClientBuilderBaseSecurityCenterSettingsServiceClient > SecurityCenterSettingsServiceClientBuilder

Namespace

Google.Cloud.SecurityCenter.Settings.V1Beta1

Assembly

Google.Cloud.SecurityCenter.Settings.V1Beta1.dll

Constructors

SecurityCenterSettingsServiceClientBuilder()

public SecurityCenterSettingsServiceClientBuilder()

Creates a new builder with default settings.

Properties

Settings

public SecurityCenterSettingsServiceSettings Settings { get; set; }

The settings to use for RPCs, or null for the default settings.

Property Value
Type Description
SecurityCenterSettingsServiceSettings

Methods

Build()

public override SecurityCenterSettingsServiceClient Build()

Builds the resulting client.

Returns
Type Description
SecurityCenterSettingsServiceClient
Overrides

BuildAsync(CancellationToken)

public override Task<SecurityCenterSettingsServiceClient> BuildAsync(CancellationToken cancellationToken = default)

Builds the resulting client asynchronously.

Parameter
Name Description
cancellationToken CancellationToken
Returns
Type Description
TaskSecurityCenterSettingsServiceClient
Overrides

GetChannelPool()

protected override ChannelPool GetChannelPool()

Returns the channel pool to use when no other options are specified.

Returns
Type Description
ChannelPool
Overrides