Resource Settings v1 API - Class ResourceSettingsServiceSettings (2.1.0)

public sealed class ResourceSettingsServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Resource Settings v1 API class ResourceSettingsServiceSettings.

Settings for ResourceSettingsServiceClient instances.

Inheritance

Object > ServiceSettingsBase > ResourceSettingsServiceSettings

Namespace

Google.Cloud.ResourceSettings.V1

Assembly

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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
ResourceSettingsServiceSettings

A deep clone of this ResourceSettingsServiceSettings object.

GetDefault()

public static ResourceSettingsServiceSettings GetDefault()

Get a new instance of the default ResourceSettingsServiceSettings.

Returns
TypeDescription
ResourceSettingsServiceSettings

A new instance of the default ResourceSettingsServiceSettings.