Google Cloud Security Command Center v1p1beta1 API - Class SecurityCenterSettings (3.0.0-beta04)

public sealed class SecurityCenterSettings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud Security Command Center v1p1beta1 API class SecurityCenterSettings.

Settings for SecurityCenterClient instances.

Inheritance

object > ServiceSettingsBase > SecurityCenterSettings

Namespace

Google.Cloud.SecurityCenter.V1P1Beta1

Assembly

Google.Cloud.SecurityCenter.V1P1Beta1.dll

Constructors

SecurityCenterSettings()

public SecurityCenterSettings()

Constructs a new SecurityCenterSettings object with default settings.

Properties

CreateFindingSettings

public CallSettings CreateFindingSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityCenterClient.CreateFinding and SecurityCenterClient.CreateFindingAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

CreateNotificationConfigSettings

public CallSettings CreateNotificationConfigSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityCenterClient.CreateNotificationConfig and SecurityCenterClient.CreateNotificationConfigAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

CreateSourceSettings

public CallSettings CreateSourceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityCenterClient.CreateSource and SecurityCenterClient.CreateSourceAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

DeleteNotificationConfigSettings

public CallSettings DeleteNotificationConfigSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityCenterClient.DeleteNotificationConfig and SecurityCenterClient.DeleteNotificationConfigAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

GetIamPolicySettings

public CallSettings GetIamPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityCenterClient.GetIamPolicy and SecurityCenterClient.GetIamPolicyAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 60 seconds.

GetNotificationConfigSettings

public CallSettings GetNotificationConfigSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityCenterClient.GetNotificationConfig and SecurityCenterClient.GetNotificationConfigAsync .

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 60 seconds.

GetOrganizationSettingsSettings

public CallSettings GetOrganizationSettingsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityCenterClient.GetOrganizationSettings and SecurityCenterClient.GetOrganizationSettingsAsync .

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 60 seconds.

GetSourceSettings

public CallSettings GetSourceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityCenterClient.GetSource and SecurityCenterClient.GetSourceAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 60 seconds.

GroupAssetsSettings

public CallSettings GroupAssetsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityCenterClient.GroupAssets and SecurityCenterClient.GroupAssetsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 480 seconds.

GroupFindingsSettings

public CallSettings GroupFindingsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityCenterClient.GroupFindings and SecurityCenterClient.GroupFindingsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 480 seconds.

ListAssetsSettings

public CallSettings ListAssetsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityCenterClient.ListAssets and SecurityCenterClient.ListAssetsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 480 seconds.

ListFindingsSettings

public CallSettings ListFindingsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityCenterClient.ListFindings and SecurityCenterClient.ListFindingsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 480 seconds.

ListNotificationConfigsSettings

public CallSettings ListNotificationConfigsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityCenterClient.ListNotificationConfigs and SecurityCenterClient.ListNotificationConfigsAsync .

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 60 seconds.

ListSourcesSettings

public CallSettings ListSourcesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityCenterClient.ListSources and SecurityCenterClient.ListSourcesAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 60 seconds.

RunAssetDiscoveryOperationsSettings

public OperationsSettings RunAssetDiscoveryOperationsSettings { get; set; }

Long Running Operation settings for calls to SecurityCenterClient.RunAssetDiscovery and SecurityCenterClient.RunAssetDiscoveryAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

RunAssetDiscoverySettings

public CallSettings RunAssetDiscoverySettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityCenterClient.RunAssetDiscovery and SecurityCenterClient.RunAssetDiscoveryAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

SetFindingStateSettings

public CallSettings SetFindingStateSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityCenterClient.SetFindingState and SecurityCenterClient.SetFindingStateAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

SetIamPolicySettings

public CallSettings SetIamPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityCenterClient.SetIamPolicy and SecurityCenterClient.SetIamPolicyAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

TestIamPermissionsSettings

public CallSettings TestIamPermissionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityCenterClient.TestIamPermissions and SecurityCenterClient.TestIamPermissionsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 60 seconds.

UpdateFindingSettings

public CallSettings UpdateFindingSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityCenterClient.UpdateFinding and SecurityCenterClient.UpdateFindingAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

UpdateNotificationConfigSettings

public CallSettings UpdateNotificationConfigSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityCenterClient.UpdateNotificationConfig and SecurityCenterClient.UpdateNotificationConfigAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

UpdateOrganizationSettingsSettings

public CallSettings UpdateOrganizationSettingsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityCenterClient.UpdateOrganizationSettings and SecurityCenterClient.UpdateOrganizationSettingsAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

UpdateSecurityMarksSettings

public CallSettings UpdateSecurityMarksSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityCenterClient.UpdateSecurityMarks and SecurityCenterClient.UpdateSecurityMarksAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 480 seconds.

UpdateSourceSettings

public CallSettings UpdateSourceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityCenterClient.UpdateSource and SecurityCenterClient.UpdateSourceAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

Methods

Clone()

public SecurityCenterSettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
Type Description
SecurityCenterSettings

A deep clone of this SecurityCenterSettings object.

GetDefault()

public static SecurityCenterSettings GetDefault()

Get a new instance of the default SecurityCenterSettings.

Returns
Type Description
SecurityCenterSettings

A new instance of the default SecurityCenterSettings.