Class SecurityPoliciesSettings (1.1.0)

public sealed class SecurityPoliciesSettings : ServiceSettingsBase

Settings for SecurityPoliciesClient instances.

Inheritance

Object > ServiceSettingsBase > SecurityPoliciesSettings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

SecurityPoliciesSettings()

public SecurityPoliciesSettings()

Constructs a new SecurityPoliciesSettings object with default settings.

Properties

AddRuleOperationsSettings

public OperationsSettings AddRuleOperationsSettings { get; set; }

Long Running Operation settings for calls to SecurityPoliciesClient.AddRule and SecurityPoliciesClient.AddRuleAsync.

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.

AddRuleSettings

public CallSettings AddRuleSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityPoliciesClient.AddRule and SecurityPoliciesClient.AddRuleAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

DeleteOperationsSettings

public OperationsSettings DeleteOperationsSettings { get; set; }

Long Running Operation settings for calls to SecurityPoliciesClient.Delete and SecurityPoliciesClient.DeleteAsync.

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.

DeleteSettings

public CallSettings DeleteSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityPoliciesClient.Delete and SecurityPoliciesClient.DeleteAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

GetRuleSettings

public CallSettings GetRuleSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityPoliciesClient.GetRule and SecurityPoliciesClient.GetRuleAsync.

Property Value
TypeDescription
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: 600 seconds.

GetSettings

public CallSettings GetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityPoliciesClient.Get and SecurityPoliciesClient.GetAsync.

Property Value
TypeDescription
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: 600 seconds.

InsertOperationsSettings

public OperationsSettings InsertOperationsSettings { get; set; }

Long Running Operation settings for calls to SecurityPoliciesClient.Insert and SecurityPoliciesClient.InsertAsync.

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.

InsertSettings

public CallSettings InsertSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityPoliciesClient.Insert and SecurityPoliciesClient.InsertAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

ListPreconfiguredExpressionSetsSettings

public CallSettings ListPreconfiguredExpressionSetsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityPoliciesClient.ListPreconfiguredExpressionSets and SecurityPoliciesClient.ListPreconfiguredExpressionSetsAsync.

Property Value
TypeDescription
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: 600 seconds.

ListSettings

public CallSettings ListSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityPoliciesClient.List and SecurityPoliciesClient.ListAsync.

Property Value
TypeDescription
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: 600 seconds.

PatchOperationsSettings

public OperationsSettings PatchOperationsSettings { get; set; }

Long Running Operation settings for calls to SecurityPoliciesClient.Patch and SecurityPoliciesClient.PatchAsync.

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.

PatchRuleOperationsSettings

public OperationsSettings PatchRuleOperationsSettings { get; set; }

Long Running Operation settings for calls to SecurityPoliciesClient.PatchRule and SecurityPoliciesClient.PatchRuleAsync.

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.

PatchRuleSettings

public CallSettings PatchRuleSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityPoliciesClient.PatchRule and SecurityPoliciesClient.PatchRuleAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

PatchSettings

public CallSettings PatchSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityPoliciesClient.Patch and SecurityPoliciesClient.PatchAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

RemoveRuleOperationsSettings

public OperationsSettings RemoveRuleOperationsSettings { get; set; }

Long Running Operation settings for calls to SecurityPoliciesClient.RemoveRule and SecurityPoliciesClient.RemoveRuleAsync.

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.

RemoveRuleSettings

public CallSettings RemoveRuleSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecurityPoliciesClient.RemoveRule and SecurityPoliciesClient.RemoveRuleAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

Methods

Clone()

public SecurityPoliciesSettings Clone()

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

Returns
TypeDescription
SecurityPoliciesSettings

A deep clone of this SecurityPoliciesSettings object.

GetDefault()

public static SecurityPoliciesSettings GetDefault()

Get a new instance of the default SecurityPoliciesSettings.

Returns
TypeDescription
SecurityPoliciesSettings

A new instance of the default SecurityPoliciesSettings.