Class SecurityCenterSettings

public sealed class SecurityCenterSettings : ServiceSettingsBase

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 60 seconds.

GetNotificationConfigSettings

public CallSettings GetNotificationConfigSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 60 seconds.

GetOrganizationSettingsSettings

public CallSettings GetOrganizationSettingsSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 60 seconds.

GetSourceSettings

public CallSettings GetSourceSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 60 seconds.

GroupAssetsSettings

public CallSettings GroupAssetsSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Timeout: 480 seconds.

GroupFindingsSettings

public CallSettings GroupFindingsSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Timeout: 480 seconds.

ListAssetsSettings

public CallSettings ListAssetsSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Timeout: 480 seconds.

ListFindingsSettings

public CallSettings ListFindingsSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Timeout: 480 seconds.

ListNotificationConfigsSettings

public CallSettings ListNotificationConfigsSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 60 seconds.

ListSourcesSettings

public CallSettings ListSourcesSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 60 seconds.

RunAssetDiscoveryOperationsSettings

public OperationsSettings RunAssetDiscoveryOperationsSettings { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 60 seconds.

UpdateFindingSettings

public CallSettings UpdateFindingSettings { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
SecurityCenterSettings

A deep clone of this SecurityCenterSettings object.

GetDefault()

public static SecurityCenterSettings GetDefault()

Get a new instance of the default SecurityCenterSettings.

Returns
TypeDescription
SecurityCenterSettings

A new instance of the default SecurityCenterSettings.