Class SecurityCenterSettingsService.SecurityCenterSettingsServiceClient (1.0.0-beta04)

public class SecurityCenterSettingsServiceClient : ClientBase<SecurityCenterSettingsService.SecurityCenterSettingsServiceClient>

Client for SecurityCenterSettingsService

Inheritance

Object > ClientBase > ClientBase<SecurityCenterSettingsService.SecurityCenterSettingsServiceClient> > SecurityCenterSettingsService.SecurityCenterSettingsServiceClient

Namespace

Google.Cloud.SecurityCenter.Settings.V1Beta1

Assembly

Google.Cloud.SecurityCenter.Settings.V1Beta1.dll

Constructors

SecurityCenterSettingsServiceClient()

protected SecurityCenterSettingsServiceClient()

Protected parameterless constructor to allow creation of test doubles.

SecurityCenterSettingsServiceClient(CallInvoker)

public SecurityCenterSettingsServiceClient(CallInvoker callInvoker)

Creates a new client for SecurityCenterSettingsService that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

SecurityCenterSettingsServiceClient(ChannelBase)

public SecurityCenterSettingsServiceClient(ChannelBase channel)

Creates a new client for SecurityCenterSettingsService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

SecurityCenterSettingsServiceClient(ClientBase.ClientBaseConfiguration)

protected SecurityCenterSettingsServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

BatchCalculateEffectiveSettings(BatchCalculateEffectiveSettingsRequest, CallOptions)

public virtual BatchCalculateEffectiveSettingsResponse BatchCalculateEffectiveSettings(BatchCalculateEffectiveSettingsRequest request, CallOptions options)

Gets a list of effective settings.

Parameters
NameDescription
requestBatchCalculateEffectiveSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
BatchCalculateEffectiveSettingsResponse

The response received from the server.

BatchCalculateEffectiveSettings(BatchCalculateEffectiveSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual BatchCalculateEffectiveSettingsResponse BatchCalculateEffectiveSettings(BatchCalculateEffectiveSettingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets a list of effective settings.

Parameters
NameDescription
requestBatchCalculateEffectiveSettingsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
BatchCalculateEffectiveSettingsResponse

The response received from the server.

BatchCalculateEffectiveSettingsAsync(BatchCalculateEffectiveSettingsRequest, CallOptions)

public virtual AsyncUnaryCall<BatchCalculateEffectiveSettingsResponse> BatchCalculateEffectiveSettingsAsync(BatchCalculateEffectiveSettingsRequest request, CallOptions options)

Gets a list of effective settings.

Parameters
NameDescription
requestBatchCalculateEffectiveSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<BatchCalculateEffectiveSettingsResponse>

The call object.

BatchCalculateEffectiveSettingsAsync(BatchCalculateEffectiveSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<BatchCalculateEffectiveSettingsResponse> BatchCalculateEffectiveSettingsAsync(BatchCalculateEffectiveSettingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets a list of effective settings.

Parameters
NameDescription
requestBatchCalculateEffectiveSettingsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<BatchCalculateEffectiveSettingsResponse>

The call object.

BatchGetSettings(BatchGetSettingsRequest, CallOptions)

public virtual BatchGetSettingsResponse BatchGetSettings(BatchGetSettingsRequest request, CallOptions options)

Gets a list of settings.

Parameters
NameDescription
requestBatchGetSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
BatchGetSettingsResponse

The response received from the server.

BatchGetSettings(BatchGetSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual BatchGetSettingsResponse BatchGetSettings(BatchGetSettingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets a list of settings.

Parameters
NameDescription
requestBatchGetSettingsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
BatchGetSettingsResponse

The response received from the server.

BatchGetSettingsAsync(BatchGetSettingsRequest, CallOptions)

public virtual AsyncUnaryCall<BatchGetSettingsResponse> BatchGetSettingsAsync(BatchGetSettingsRequest request, CallOptions options)

Gets a list of settings.

Parameters
NameDescription
requestBatchGetSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<BatchGetSettingsResponse>

The call object.

BatchGetSettingsAsync(BatchGetSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<BatchGetSettingsResponse> BatchGetSettingsAsync(BatchGetSettingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets a list of settings.

Parameters
NameDescription
requestBatchGetSettingsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<BatchGetSettingsResponse>

The call object.

CalculateEffectiveComponentSettings(CalculateEffectiveComponentSettingsRequest, CallOptions)

public virtual ComponentSettings CalculateEffectiveComponentSettings(CalculateEffectiveComponentSettingsRequest request, CallOptions options)

Gets the Effective Component Settings.

Parameters
NameDescription
requestCalculateEffectiveComponentSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ComponentSettings

The response received from the server.

CalculateEffectiveComponentSettings(CalculateEffectiveComponentSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ComponentSettings CalculateEffectiveComponentSettings(CalculateEffectiveComponentSettingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets the Effective Component Settings.

Parameters
NameDescription
requestCalculateEffectiveComponentSettingsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ComponentSettings

The response received from the server.

CalculateEffectiveComponentSettingsAsync(CalculateEffectiveComponentSettingsRequest, CallOptions)

public virtual AsyncUnaryCall<ComponentSettings> CalculateEffectiveComponentSettingsAsync(CalculateEffectiveComponentSettingsRequest request, CallOptions options)

Gets the Effective Component Settings.

Parameters
NameDescription
requestCalculateEffectiveComponentSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ComponentSettings>

The call object.

CalculateEffectiveComponentSettingsAsync(CalculateEffectiveComponentSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ComponentSettings> CalculateEffectiveComponentSettingsAsync(CalculateEffectiveComponentSettingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets the Effective Component Settings.

Parameters
NameDescription
requestCalculateEffectiveComponentSettingsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ComponentSettings>

The call object.

CalculateEffectiveSettings(CalculateEffectiveSettingsRequest, CallOptions)

public virtual Settings CalculateEffectiveSettings(CalculateEffectiveSettingsRequest request, CallOptions options)

CalculateEffectiveSettings looks up all of the Security Center Settings resources in the GCP resource hierarchy, and calculates the effective settings on that resource by applying the following rules:

  • Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings).
  • Product defaults can be overridden at org, folder, project, and cluster levels.
  • Detectors will be filtered out if they belong to a billing tier the customer has not configured.
Parameters
NameDescription
requestCalculateEffectiveSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Settings

The response received from the server.

CalculateEffectiveSettings(CalculateEffectiveSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Settings CalculateEffectiveSettings(CalculateEffectiveSettingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

CalculateEffectiveSettings looks up all of the Security Center Settings resources in the GCP resource hierarchy, and calculates the effective settings on that resource by applying the following rules:

  • Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings).
  • Product defaults can be overridden at org, folder, project, and cluster levels.
  • Detectors will be filtered out if they belong to a billing tier the customer has not configured.
Parameters
NameDescription
requestCalculateEffectiveSettingsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Settings

The response received from the server.

CalculateEffectiveSettingsAsync(CalculateEffectiveSettingsRequest, CallOptions)

public virtual AsyncUnaryCall<Settings> CalculateEffectiveSettingsAsync(CalculateEffectiveSettingsRequest request, CallOptions options)

CalculateEffectiveSettings looks up all of the Security Center Settings resources in the GCP resource hierarchy, and calculates the effective settings on that resource by applying the following rules:

  • Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings).
  • Product defaults can be overridden at org, folder, project, and cluster levels.
  • Detectors will be filtered out if they belong to a billing tier the customer has not configured.
Parameters
NameDescription
requestCalculateEffectiveSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Settings>

The call object.

CalculateEffectiveSettingsAsync(CalculateEffectiveSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Settings> CalculateEffectiveSettingsAsync(CalculateEffectiveSettingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

CalculateEffectiveSettings looks up all of the Security Center Settings resources in the GCP resource hierarchy, and calculates the effective settings on that resource by applying the following rules:

  • Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings).
  • Product defaults can be overridden at org, folder, project, and cluster levels.
  • Detectors will be filtered out if they belong to a billing tier the customer has not configured.
Parameters
NameDescription
requestCalculateEffectiveSettingsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Settings>

The call object.

GetComponentSettings(GetComponentSettingsRequest, CallOptions)

public virtual ComponentSettings GetComponentSettings(GetComponentSettingsRequest request, CallOptions options)

Gets the Component Settings.

Parameters
NameDescription
requestGetComponentSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ComponentSettings

The response received from the server.

GetComponentSettings(GetComponentSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ComponentSettings GetComponentSettings(GetComponentSettingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets the Component Settings.

Parameters
NameDescription
requestGetComponentSettingsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ComponentSettings

The response received from the server.

GetComponentSettingsAsync(GetComponentSettingsRequest, CallOptions)

public virtual AsyncUnaryCall<ComponentSettings> GetComponentSettingsAsync(GetComponentSettingsRequest request, CallOptions options)

Gets the Component Settings.

Parameters
NameDescription
requestGetComponentSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ComponentSettings>

The call object.

GetComponentSettingsAsync(GetComponentSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ComponentSettings> GetComponentSettingsAsync(GetComponentSettingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets the Component Settings.

Parameters
NameDescription
requestGetComponentSettingsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ComponentSettings>

The call object.

GetServiceAccount(GetServiceAccountRequest, CallOptions)

public virtual ServiceAccount GetServiceAccount(GetServiceAccountRequest request, CallOptions options)

Retrieves the organizations service account, if it exists, otherwise it creates the organization service account. This API is idempotent and will only create a service account once. On subsequent calls it will return the previously created service account. SHA, SCC and CTD Infra Automation will use this SA. This SA will not have any permissions when created. The UI will provision this via IAM or the user will using their own internal process. This API only creates SAs on the organization. Folders are not supported and projects will use per-project SAs associated with APIs enabled on a project. This API will be called by the UX onboarding workflow.

Parameters
NameDescription
requestGetServiceAccountRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ServiceAccount

The response received from the server.

GetServiceAccount(GetServiceAccountRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ServiceAccount GetServiceAccount(GetServiceAccountRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Retrieves the organizations service account, if it exists, otherwise it creates the organization service account. This API is idempotent and will only create a service account once. On subsequent calls it will return the previously created service account. SHA, SCC and CTD Infra Automation will use this SA. This SA will not have any permissions when created. The UI will provision this via IAM or the user will using their own internal process. This API only creates SAs on the organization. Folders are not supported and projects will use per-project SAs associated with APIs enabled on a project. This API will be called by the UX onboarding workflow.

Parameters
NameDescription
requestGetServiceAccountRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ServiceAccount

The response received from the server.

GetServiceAccountAsync(GetServiceAccountRequest, CallOptions)

public virtual AsyncUnaryCall<ServiceAccount> GetServiceAccountAsync(GetServiceAccountRequest request, CallOptions options)

Retrieves the organizations service account, if it exists, otherwise it creates the organization service account. This API is idempotent and will only create a service account once. On subsequent calls it will return the previously created service account. SHA, SCC and CTD Infra Automation will use this SA. This SA will not have any permissions when created. The UI will provision this via IAM or the user will using their own internal process. This API only creates SAs on the organization. Folders are not supported and projects will use per-project SAs associated with APIs enabled on a project. This API will be called by the UX onboarding workflow.

Parameters
NameDescription
requestGetServiceAccountRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ServiceAccount>

The call object.

GetServiceAccountAsync(GetServiceAccountRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ServiceAccount> GetServiceAccountAsync(GetServiceAccountRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Retrieves the organizations service account, if it exists, otherwise it creates the organization service account. This API is idempotent and will only create a service account once. On subsequent calls it will return the previously created service account. SHA, SCC and CTD Infra Automation will use this SA. This SA will not have any permissions when created. The UI will provision this via IAM or the user will using their own internal process. This API only creates SAs on the organization. Folders are not supported and projects will use per-project SAs associated with APIs enabled on a project. This API will be called by the UX onboarding workflow.

Parameters
NameDescription
requestGetServiceAccountRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ServiceAccount>

The call object.

GetSettings(GetSettingsRequest, CallOptions)

public virtual Settings GetSettings(GetSettingsRequest request, CallOptions options)

Gets the Settings.

Parameters
NameDescription
requestGetSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Settings

The response received from the server.

GetSettings(GetSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Settings GetSettings(GetSettingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets the Settings.

Parameters
NameDescription
requestGetSettingsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Settings

The response received from the server.

GetSettingsAsync(GetSettingsRequest, CallOptions)

public virtual AsyncUnaryCall<Settings> GetSettingsAsync(GetSettingsRequest request, CallOptions options)

Gets the Settings.

Parameters
NameDescription
requestGetSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Settings>

The call object.

GetSettingsAsync(GetSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Settings> GetSettingsAsync(GetSettingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets the Settings.

Parameters
NameDescription
requestGetSettingsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Settings>

The call object.

ListComponents(ListComponentsRequest, CallOptions)

public virtual ListComponentsResponse ListComponents(ListComponentsRequest request, CallOptions options)

Retrieves an unordered list of available SCC components.

Parameters
NameDescription
requestListComponentsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListComponentsResponse

The response received from the server.

ListComponents(ListComponentsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListComponentsResponse ListComponents(ListComponentsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Retrieves an unordered list of available SCC components.

Parameters
NameDescription
requestListComponentsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListComponentsResponse

The response received from the server.

ListComponentsAsync(ListComponentsRequest, CallOptions)

public virtual AsyncUnaryCall<ListComponentsResponse> ListComponentsAsync(ListComponentsRequest request, CallOptions options)

Retrieves an unordered list of available SCC components.

Parameters
NameDescription
requestListComponentsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListComponentsResponse>

The call object.

ListComponentsAsync(ListComponentsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListComponentsResponse> ListComponentsAsync(ListComponentsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Retrieves an unordered list of available SCC components.

Parameters
NameDescription
requestListComponentsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListComponentsResponse>

The call object.

ListDetectors(ListDetectorsRequest, CallOptions)

public virtual ListDetectorsResponse ListDetectors(ListDetectorsRequest request, CallOptions options)

Retrieves an unordered list of available detectors.

Parameters
NameDescription
requestListDetectorsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListDetectorsResponse

The response received from the server.

ListDetectors(ListDetectorsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListDetectorsResponse ListDetectors(ListDetectorsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Retrieves an unordered list of available detectors.

Parameters
NameDescription
requestListDetectorsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListDetectorsResponse

The response received from the server.

ListDetectorsAsync(ListDetectorsRequest, CallOptions)

public virtual AsyncUnaryCall<ListDetectorsResponse> ListDetectorsAsync(ListDetectorsRequest request, CallOptions options)

Retrieves an unordered list of available detectors.

Parameters
NameDescription
requestListDetectorsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListDetectorsResponse>

The call object.

ListDetectorsAsync(ListDetectorsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListDetectorsResponse> ListDetectorsAsync(ListDetectorsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Retrieves an unordered list of available detectors.

Parameters
NameDescription
requestListDetectorsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListDetectorsResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override SecurityCenterSettingsService.SecurityCenterSettingsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
SecurityCenterSettingsService.SecurityCenterSettingsServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.SecurityCenter.Settings.V1Beta1.SecurityCenterSettingsService.SecurityCenterSettingsServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

ResetComponentSettings(ResetComponentSettingsRequest, CallOptions)

public virtual Empty ResetComponentSettings(ResetComponentSettingsRequest request, CallOptions options)

Reset the organization, folder or project's component settings and return the settings to the default. Settings are present at the organization, folder and project levels. Using Reset for a folder or project will remove the override that was set and result in the organization-level settings being used.

Parameters
NameDescription
requestResetComponentSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

ResetComponentSettings(ResetComponentSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty ResetComponentSettings(ResetComponentSettingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Reset the organization, folder or project's component settings and return the settings to the default. Settings are present at the organization, folder and project levels. Using Reset for a folder or project will remove the override that was set and result in the organization-level settings being used.

Parameters
NameDescription
requestResetComponentSettingsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

ResetComponentSettingsAsync(ResetComponentSettingsRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> ResetComponentSettingsAsync(ResetComponentSettingsRequest request, CallOptions options)

Reset the organization, folder or project's component settings and return the settings to the default. Settings are present at the organization, folder and project levels. Using Reset for a folder or project will remove the override that was set and result in the organization-level settings being used.

Parameters
NameDescription
requestResetComponentSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

ResetComponentSettingsAsync(ResetComponentSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> ResetComponentSettingsAsync(ResetComponentSettingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Reset the organization, folder or project's component settings and return the settings to the default. Settings are present at the organization, folder and project levels. Using Reset for a folder or project will remove the override that was set and result in the organization-level settings being used.

Parameters
NameDescription
requestResetComponentSettingsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

ResetSettings(ResetSettingsRequest, CallOptions)

public virtual Empty ResetSettings(ResetSettingsRequest request, CallOptions options)

Reset the organization, folder or project's settings and return the settings of just that resource to the default.

Settings are present at the organization, folder, project, and cluster levels. Using Reset on a sub-organization level will remove that resource's override and result in the parent's settings being used (eg: if Reset on a cluster, project settings will be used).

Using Reset on organization will remove the override that was set and result in default settings being used.

Parameters
NameDescription
requestResetSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

ResetSettings(ResetSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty ResetSettings(ResetSettingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Reset the organization, folder or project's settings and return the settings of just that resource to the default.

Settings are present at the organization, folder, project, and cluster levels. Using Reset on a sub-organization level will remove that resource's override and result in the parent's settings being used (eg: if Reset on a cluster, project settings will be used).

Using Reset on organization will remove the override that was set and result in default settings being used.

Parameters
NameDescription
requestResetSettingsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

ResetSettingsAsync(ResetSettingsRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> ResetSettingsAsync(ResetSettingsRequest request, CallOptions options)

Reset the organization, folder or project's settings and return the settings of just that resource to the default.

Settings are present at the organization, folder, project, and cluster levels. Using Reset on a sub-organization level will remove that resource's override and result in the parent's settings being used (eg: if Reset on a cluster, project settings will be used).

Using Reset on organization will remove the override that was set and result in default settings being used.

Parameters
NameDescription
requestResetSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

ResetSettingsAsync(ResetSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> ResetSettingsAsync(ResetSettingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Reset the organization, folder or project's settings and return the settings of just that resource to the default.

Settings are present at the organization, folder, project, and cluster levels. Using Reset on a sub-organization level will remove that resource's override and result in the parent's settings being used (eg: if Reset on a cluster, project settings will be used).

Using Reset on organization will remove the override that was set and result in default settings being used.

Parameters
NameDescription
requestResetSettingsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

UpdateComponentSettings(UpdateComponentSettingsRequest, CallOptions)

public virtual ComponentSettings UpdateComponentSettings(UpdateComponentSettingsRequest request, CallOptions options)

Updates the Component Settings.

Parameters
NameDescription
requestUpdateComponentSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ComponentSettings

The response received from the server.

UpdateComponentSettings(UpdateComponentSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ComponentSettings UpdateComponentSettings(UpdateComponentSettingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates the Component Settings.

Parameters
NameDescription
requestUpdateComponentSettingsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ComponentSettings

The response received from the server.

UpdateComponentSettingsAsync(UpdateComponentSettingsRequest, CallOptions)

public virtual AsyncUnaryCall<ComponentSettings> UpdateComponentSettingsAsync(UpdateComponentSettingsRequest request, CallOptions options)

Updates the Component Settings.

Parameters
NameDescription
requestUpdateComponentSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ComponentSettings>

The call object.

UpdateComponentSettingsAsync(UpdateComponentSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ComponentSettings> UpdateComponentSettingsAsync(UpdateComponentSettingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates the Component Settings.

Parameters
NameDescription
requestUpdateComponentSettingsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ComponentSettings>

The call object.

UpdateSettings(UpdateSettingsRequest, CallOptions)

public virtual Settings UpdateSettings(UpdateSettingsRequest request, CallOptions options)

Updates the Settings.

Parameters
NameDescription
requestUpdateSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Settings

The response received from the server.

UpdateSettings(UpdateSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Settings UpdateSettings(UpdateSettingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates the Settings.

Parameters
NameDescription
requestUpdateSettingsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Settings

The response received from the server.

UpdateSettingsAsync(UpdateSettingsRequest, CallOptions)

public virtual AsyncUnaryCall<Settings> UpdateSettingsAsync(UpdateSettingsRequest request, CallOptions options)

Updates the Settings.

Parameters
NameDescription
requestUpdateSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Settings>

The call object.

UpdateSettingsAsync(UpdateSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Settings> UpdateSettingsAsync(UpdateSettingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates the Settings.

Parameters
NameDescription
requestUpdateSettingsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Settings>

The call object.