public class SecurityCenterSettingsService.SecurityCenterSettingsServiceClient : ClientBase<SecurityCenterSettingsService.SecurityCenterSettingsServiceClient>
Reference documentation and code samples for the Google Cloud Security Command Center Settings v1beta1 API class SecurityCenterSettingsService.SecurityCenterSettingsServiceClient.
Client for SecurityCenterSettingsService
Inheritance
object > ClientBase > ClientBaseSecurityCenterSettingsServiceSecurityCenterSettingsServiceClient > SecurityCenterSettingsService.SecurityCenterSettingsServiceClientNamespace
Google.Cloud.SecurityCenter.Settings.V1Beta1Assembly
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 | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
SecurityCenterSettingsServiceClient(ChannelBase)
public SecurityCenterSettingsServiceClient(ChannelBase channel)
Creates a new client for SecurityCenterSettingsService
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
SecurityCenterSettingsServiceClient(ClientBaseConfiguration)
protected SecurityCenterSettingsServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration The client configuration. |
Methods
BatchCalculateEffectiveSettings(BatchCalculateEffectiveSettingsRequest, CallOptions)
public virtual BatchCalculateEffectiveSettingsResponse BatchCalculateEffectiveSettings(BatchCalculateEffectiveSettingsRequest request, CallOptions options)
Gets a list of effective settings.
Parameters | |
---|---|
Name | Description |
request | BatchCalculateEffectiveSettingsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
BatchCalculateEffectiveSettingsResponse | The response received from the server. |
BatchCalculateEffectiveSettings(BatchCalculateEffectiveSettingsRequest, Metadata, DateTime?, CancellationToken)
public virtual BatchCalculateEffectiveSettingsResponse BatchCalculateEffectiveSettings(BatchCalculateEffectiveSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets a list of effective settings.
Parameters | |
---|---|
Name | Description |
request | BatchCalculateEffectiveSettingsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | BatchCalculateEffectiveSettingsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallBatchCalculateEffectiveSettingsResponse | The call object. |
BatchCalculateEffectiveSettingsAsync(BatchCalculateEffectiveSettingsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<BatchCalculateEffectiveSettingsResponse> BatchCalculateEffectiveSettingsAsync(BatchCalculateEffectiveSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets a list of effective settings.
Parameters | |
---|---|
Name | Description |
request | BatchCalculateEffectiveSettingsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallBatchCalculateEffectiveSettingsResponse | The call object. |
BatchGetSettings(BatchGetSettingsRequest, CallOptions)
public virtual BatchGetSettingsResponse BatchGetSettings(BatchGetSettingsRequest request, CallOptions options)
Gets a list of settings.
Parameters | |
---|---|
Name | Description |
request | BatchGetSettingsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
BatchGetSettingsResponse | The response received from the server. |
BatchGetSettings(BatchGetSettingsRequest, Metadata, DateTime?, CancellationToken)
public virtual BatchGetSettingsResponse BatchGetSettings(BatchGetSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets a list of settings.
Parameters | |
---|---|
Name | Description |
request | BatchGetSettingsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | BatchGetSettingsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallBatchGetSettingsResponse | The call object. |
BatchGetSettingsAsync(BatchGetSettingsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<BatchGetSettingsResponse> BatchGetSettingsAsync(BatchGetSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets a list of settings.
Parameters | |
---|---|
Name | Description |
request | BatchGetSettingsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallBatchGetSettingsResponse | The call object. |
CalculateEffectiveComponentSettings(CalculateEffectiveComponentSettingsRequest, CallOptions)
public virtual ComponentSettings CalculateEffectiveComponentSettings(CalculateEffectiveComponentSettingsRequest request, CallOptions options)
Gets the Effective Component Settings.
Parameters | |
---|---|
Name | Description |
request | CalculateEffectiveComponentSettingsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ComponentSettings | The response received from the server. |
CalculateEffectiveComponentSettings(CalculateEffectiveComponentSettingsRequest, Metadata, DateTime?, CancellationToken)
public virtual ComponentSettings CalculateEffectiveComponentSettings(CalculateEffectiveComponentSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets the Effective Component Settings.
Parameters | |
---|---|
Name | Description |
request | CalculateEffectiveComponentSettingsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CalculateEffectiveComponentSettingsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallComponentSettings | The call object. |
CalculateEffectiveComponentSettingsAsync(CalculateEffectiveComponentSettingsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ComponentSettings> CalculateEffectiveComponentSettingsAsync(CalculateEffectiveComponentSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets the Effective Component Settings.
Parameters | |
---|---|
Name | Description |
request | CalculateEffectiveComponentSettingsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallComponentSettings | 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 | |
---|---|
Name | Description |
request | CalculateEffectiveSettingsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Settings | The response received from the server. |
CalculateEffectiveSettings(CalculateEffectiveSettingsRequest, Metadata, DateTime?, CancellationToken)
public virtual Settings CalculateEffectiveSettings(CalculateEffectiveSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | |
---|---|
Name | Description |
request | CalculateEffectiveSettingsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CalculateEffectiveSettingsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallSettings | The call object. |
CalculateEffectiveSettingsAsync(CalculateEffectiveSettingsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Settings> CalculateEffectiveSettingsAsync(CalculateEffectiveSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | |
---|---|
Name | Description |
request | CalculateEffectiveSettingsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallSettings | The call object. |
GetComponentSettings(GetComponentSettingsRequest, CallOptions)
public virtual ComponentSettings GetComponentSettings(GetComponentSettingsRequest request, CallOptions options)
Gets the Component Settings.
Parameters | |
---|---|
Name | Description |
request | GetComponentSettingsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ComponentSettings | The response received from the server. |
GetComponentSettings(GetComponentSettingsRequest, Metadata, DateTime?, CancellationToken)
public virtual ComponentSettings GetComponentSettings(GetComponentSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets the Component Settings.
Parameters | |
---|---|
Name | Description |
request | GetComponentSettingsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ComponentSettings | The response received from the server. |
GetComponentSettingsAsync(GetComponentSettingsRequest, CallOptions)
public virtual AsyncUnaryCall<ComponentSettings> GetComponentSettingsAsync(GetComponentSettingsRequest request, CallOptions options)
Gets the Component Settings.
Parameters | |
---|---|
Name | Description |
request | GetComponentSettingsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallComponentSettings | The call object. |
GetComponentSettingsAsync(GetComponentSettingsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ComponentSettings> GetComponentSettingsAsync(GetComponentSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets the Component Settings.
Parameters | |
---|---|
Name | Description |
request | GetComponentSettingsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallComponentSettings | 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 | |
---|---|
Name | Description |
request | GetServiceAccountRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ServiceAccount | The response received from the server. |
GetServiceAccount(GetServiceAccountRequest, Metadata, DateTime?, CancellationToken)
public virtual ServiceAccount GetServiceAccount(GetServiceAccountRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | |
---|---|
Name | Description |
request | GetServiceAccountRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetServiceAccountRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallServiceAccount | The call object. |
GetServiceAccountAsync(GetServiceAccountRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ServiceAccount> GetServiceAccountAsync(GetServiceAccountRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | |
---|---|
Name | Description |
request | GetServiceAccountRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallServiceAccount | The call object. |
GetSettings(GetSettingsRequest, CallOptions)
public virtual Settings GetSettings(GetSettingsRequest request, CallOptions options)
Gets the Settings.
Parameters | |
---|---|
Name | Description |
request | GetSettingsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Settings | The response received from the server. |
GetSettings(GetSettingsRequest, Metadata, DateTime?, CancellationToken)
public virtual Settings GetSettings(GetSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets the Settings.
Parameters | |
---|---|
Name | Description |
request | GetSettingsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Settings | The response received from the server. |
GetSettingsAsync(GetSettingsRequest, CallOptions)
public virtual AsyncUnaryCall<Settings> GetSettingsAsync(GetSettingsRequest request, CallOptions options)
Gets the Settings.
Parameters | |
---|---|
Name | Description |
request | GetSettingsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallSettings | The call object. |
GetSettingsAsync(GetSettingsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Settings> GetSettingsAsync(GetSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets the Settings.
Parameters | |
---|---|
Name | Description |
request | GetSettingsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallSettings | The call object. |
ListComponents(ListComponentsRequest, CallOptions)
public virtual ListComponentsResponse ListComponents(ListComponentsRequest request, CallOptions options)
Retrieves an unordered list of available SCC components.
Parameters | |
---|---|
Name | Description |
request | ListComponentsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListComponentsResponse | The response received from the server. |
ListComponents(ListComponentsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListComponentsResponse ListComponents(ListComponentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves an unordered list of available SCC components.
Parameters | |
---|---|
Name | Description |
request | ListComponentsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListComponentsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListComponentsResponse | The call object. |
ListComponentsAsync(ListComponentsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListComponentsResponse> ListComponentsAsync(ListComponentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves an unordered list of available SCC components.
Parameters | |
---|---|
Name | Description |
request | ListComponentsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListComponentsResponse | The call object. |
ListDetectors(ListDetectorsRequest, CallOptions)
public virtual ListDetectorsResponse ListDetectors(ListDetectorsRequest request, CallOptions options)
Retrieves an unordered list of available detectors.
Parameters | |
---|---|
Name | Description |
request | ListDetectorsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListDetectorsResponse | The response received from the server. |
ListDetectors(ListDetectorsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListDetectorsResponse ListDetectors(ListDetectorsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves an unordered list of available detectors.
Parameters | |
---|---|
Name | Description |
request | ListDetectorsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListDetectorsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListDetectorsResponse | The call object. |
ListDetectorsAsync(ListDetectorsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListDetectorsResponse> ListDetectorsAsync(ListDetectorsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves an unordered list of available detectors.
Parameters | |
---|---|
Name | Description |
request | ListDetectorsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListDetectorsResponse | The call object. |
NewInstance(ClientBaseConfiguration)
protected override SecurityCenterSettingsService.SecurityCenterSettingsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
SecurityCenterSettingsServiceSecurityCenterSettingsServiceClient |
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 | |
---|---|
Name | Description |
request | ResetComponentSettingsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
ResetComponentSettings(ResetComponentSettingsRequest, Metadata, DateTime?, CancellationToken)
public virtual Empty ResetComponentSettings(ResetComponentSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | |
---|---|
Name | Description |
request | ResetComponentSettingsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ResetComponentSettingsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallEmpty | The call object. |
ResetComponentSettingsAsync(ResetComponentSettingsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Empty> ResetComponentSettingsAsync(ResetComponentSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | |
---|---|
Name | Description |
request | ResetComponentSettingsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallEmpty | 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 | |
---|---|
Name | Description |
request | ResetSettingsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
ResetSettings(ResetSettingsRequest, Metadata, DateTime?, CancellationToken)
public virtual Empty ResetSettings(ResetSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | |
---|---|
Name | Description |
request | ResetSettingsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ResetSettingsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallEmpty | The call object. |
ResetSettingsAsync(ResetSettingsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Empty> ResetSettingsAsync(ResetSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 | |
---|---|
Name | Description |
request | ResetSettingsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallEmpty | The call object. |
UpdateComponentSettings(UpdateComponentSettingsRequest, CallOptions)
public virtual ComponentSettings UpdateComponentSettings(UpdateComponentSettingsRequest request, CallOptions options)
Updates the Component Settings.
Parameters | |
---|---|
Name | Description |
request | UpdateComponentSettingsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ComponentSettings | The response received from the server. |
UpdateComponentSettings(UpdateComponentSettingsRequest, Metadata, DateTime?, CancellationToken)
public virtual ComponentSettings UpdateComponentSettings(UpdateComponentSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the Component Settings.
Parameters | |
---|---|
Name | Description |
request | UpdateComponentSettingsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ComponentSettings | The response received from the server. |
UpdateComponentSettingsAsync(UpdateComponentSettingsRequest, CallOptions)
public virtual AsyncUnaryCall<ComponentSettings> UpdateComponentSettingsAsync(UpdateComponentSettingsRequest request, CallOptions options)
Updates the Component Settings.
Parameters | |
---|---|
Name | Description |
request | UpdateComponentSettingsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallComponentSettings | The call object. |
UpdateComponentSettingsAsync(UpdateComponentSettingsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ComponentSettings> UpdateComponentSettingsAsync(UpdateComponentSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the Component Settings.
Parameters | |
---|---|
Name | Description |
request | UpdateComponentSettingsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallComponentSettings | The call object. |
UpdateSettings(UpdateSettingsRequest, CallOptions)
public virtual Settings UpdateSettings(UpdateSettingsRequest request, CallOptions options)
Updates the Settings.
Parameters | |
---|---|
Name | Description |
request | UpdateSettingsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Settings | The response received from the server. |
UpdateSettings(UpdateSettingsRequest, Metadata, DateTime?, CancellationToken)
public virtual Settings UpdateSettings(UpdateSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the Settings.
Parameters | |
---|---|
Name | Description |
request | UpdateSettingsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Settings | The response received from the server. |
UpdateSettingsAsync(UpdateSettingsRequest, CallOptions)
public virtual AsyncUnaryCall<Settings> UpdateSettingsAsync(UpdateSettingsRequest request, CallOptions options)
Updates the Settings.
Parameters | |
---|---|
Name | Description |
request | UpdateSettingsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallSettings | The call object. |
UpdateSettingsAsync(UpdateSettingsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Settings> UpdateSettingsAsync(UpdateSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the Settings.
Parameters | |
---|---|
Name | Description |
request | UpdateSettingsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallSettings | The call object. |