public sealed class ManagedRulesetsSettings : ServiceSettingsBaseReference documentation and code samples for the Compute Engine v1 API class ManagedRulesetsSettings.
Settings for ManagedRulesetsClient instances.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
ManagedRulesetsSettings()
public ManagedRulesetsSettings()Constructs a new ManagedRulesetsSettings object with default settings.
Properties
GetSettings
public CallSettings GetSettings { get; set; }CallSettings for synchronous and asynchronous calls to ManagedRulesetsClient.Get
and ManagedRulesetsClient.GetAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- 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 ManagedRulesetsClient.List
and ManagedRulesetsClient.ListAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- 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.
Methods
Clone()
public ManagedRulesetsSettings Clone()Creates a deep clone of this object, with all the same property values.
| Returns | |
|---|---|
| Type | Description |
ManagedRulesetsSettings |
A deep clone of this ManagedRulesetsSettings object. |
GetDefault()
public static ManagedRulesetsSettings GetDefault()Get a new instance of the default ManagedRulesetsSettings.
| Returns | |
|---|---|
| Type | Description |
ManagedRulesetsSettings |
A new instance of the default ManagedRulesetsSettings. |