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

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
TypeDescription
SecurityCenterSettingsServiceSettings

Methods

Build()

public override SecurityCenterSettingsServiceClient Build()

Builds the resulting client.

Returns
TypeDescription
SecurityCenterSettingsServiceClient
Overrides

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
NameDescription
cancellationTokenCancellationToken
Returns
TypeDescription
TaskSecurityCenterSettingsServiceClient
Overrides

GetChannelPool()

protected override ChannelPool GetChannelPool()

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

Returns
TypeDescription
ChannelPool
Overrides