Google Cloud Talent Solution v4 API - Class TenantServiceSettings (2.2.0)

public sealed class TenantServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud Talent Solution v4 API class TenantServiceSettings.

Settings for TenantServiceClient instances.

Inheritance

Object > ServiceSettingsBase > TenantServiceSettings

Namespace

Google.Cloud.Talent.V4

Assembly

Google.Cloud.Talent.V4.dll

Constructors

TenantServiceSettings()

public TenantServiceSettings()

Constructs a new TenantServiceSettings object with default settings.

Properties

CreateTenantSettings

public CallSettings CreateTenantSettings { get; set; }

CallSettings for synchronous and asynchronous calls to TenantServiceClient.CreateTenant and TenantServiceClient.CreateTenantAsync.

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

DeleteTenantSettings

public CallSettings DeleteTenantSettings { get; set; }

CallSettings for synchronous and asynchronous calls to TenantServiceClient.DeleteTenant and TenantServiceClient.DeleteTenantAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

GetTenantSettings

public CallSettings GetTenantSettings { get; set; }

CallSettings for synchronous and asynchronous calls to TenantServiceClient.GetTenant and TenantServiceClient.GetTenantAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

ListTenantsSettings

public CallSettings ListTenantsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to TenantServiceClient.ListTenants and TenantServiceClient.ListTenantsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

UpdateTenantSettings

public CallSettings UpdateTenantSettings { get; set; }

CallSettings for synchronous and asynchronous calls to TenantServiceClient.UpdateTenant and TenantServiceClient.UpdateTenantAsync.

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

Methods

Clone()

public TenantServiceSettings Clone()

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

Returns
TypeDescription
TenantServiceSettings

A deep clone of this TenantServiceSettings object.

GetDefault()

public static TenantServiceSettings GetDefault()

Get a new instance of the default TenantServiceSettings.

Returns
TypeDescription
TenantServiceSettings

A new instance of the default TenantServiceSettings.