public sealed class ResourceSettingsServiceSettings : ServiceSettingsBase
Settings for ResourceSettingsServiceClient instances.
Namespace
Google.Cloud.ResourceSettings.V1Assembly
Google.Cloud.ResourceSettings.V1.dll
Constructors
ResourceSettingsServiceSettings()
public ResourceSettingsServiceSettings()
Constructs a new ResourceSettingsServiceSettings object with default settings.
Properties
GetSettingSettings
public CallSettings GetSettingSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ResourceSettingsServiceClient.GetSetting
and ResourceSettingsServiceClient.GetSettingAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable, DeadlineExceeded.
- Timeout: 60 seconds.
ListSettingsSettings
public CallSettings ListSettingsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ResourceSettingsServiceClient.ListSettings
and ResourceSettingsServiceClient.ListSettingsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable, DeadlineExceeded.
- Timeout: 60 seconds.
UpdateSettingSettings
public CallSettings UpdateSettingSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ResourceSettingsServiceClient.UpdateSetting
and ResourceSettingsServiceClient.UpdateSettingAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable, DeadlineExceeded.
- Timeout: 60 seconds.
Methods
Clone()
public ResourceSettingsServiceSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
ResourceSettingsServiceSettings | A deep clone of this ResourceSettingsServiceSettings object. |
GetDefault()
public static ResourceSettingsServiceSettings GetDefault()
Get a new instance of the default ResourceSettingsServiceSettings.
Returns | |
---|---|
Type | Description |
ResourceSettingsServiceSettings | A new instance of the default ResourceSettingsServiceSettings. |