Essential Contacts v1 API - Class EssentialContactsServiceSettings (2.3.0)

public sealed class EssentialContactsServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Essential Contacts v1 API class EssentialContactsServiceSettings.

Settings for EssentialContactsServiceClient instances.

Inheritance

object > ServiceSettingsBase > EssentialContactsServiceSettings

Namespace

Google.Cloud.EssentialContacts.V1

Assembly

Google.Cloud.EssentialContacts.V1.dll

Constructors

EssentialContactsServiceSettings()

public EssentialContactsServiceSettings()

Constructs a new EssentialContactsServiceSettings object with default settings.

Properties

ComputeContactsSettings

public CallSettings ComputeContactsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to EssentialContactsServiceClient.ComputeContacts and EssentialContactsServiceClient.ComputeContactsAsync.

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

CreateContactSettings

public CallSettings CreateContactSettings { get; set; }

CallSettings for synchronous and asynchronous calls to EssentialContactsServiceClient.CreateContact and EssentialContactsServiceClient.CreateContactAsync .

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

DeleteContactSettings

public CallSettings DeleteContactSettings { get; set; }

CallSettings for synchronous and asynchronous calls to EssentialContactsServiceClient.DeleteContact and EssentialContactsServiceClient.DeleteContactAsync .

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

GetContactSettings

public CallSettings GetContactSettings { get; set; }

CallSettings for synchronous and asynchronous calls to EssentialContactsServiceClient.GetContact and EssentialContactsServiceClient.GetContactAsync.

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.
  • Timeout: 60 seconds.

ListContactsSettings

public CallSettings ListContactsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to EssentialContactsServiceClient.ListContacts and EssentialContactsServiceClient.ListContactsAsync .

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.
  • Timeout: 60 seconds.

SendTestMessageSettings

public CallSettings SendTestMessageSettings { get; set; }

CallSettings for synchronous and asynchronous calls to EssentialContactsServiceClient.SendTestMessage and EssentialContactsServiceClient.SendTestMessageAsync.

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

UpdateContactSettings

public CallSettings UpdateContactSettings { get; set; }

CallSettings for synchronous and asynchronous calls to EssentialContactsServiceClient.UpdateContact and EssentialContactsServiceClient.UpdateContactAsync .

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

Methods

Clone()

public EssentialContactsServiceSettings Clone()

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

Returns
TypeDescription
EssentialContactsServiceSettings

A deep clone of this EssentialContactsServiceSettings object.

GetDefault()

public static EssentialContactsServiceSettings GetDefault()

Get a new instance of the default EssentialContactsServiceSettings.

Returns
TypeDescription
EssentialContactsServiceSettings

A new instance of the default EssentialContactsServiceSettings.