Class CompanyServiceSettings (2.0.0)

public sealed class CompanyServiceSettings : ServiceSettingsBase

Settings for CompanyServiceClient instances.

Inheritance

Object > ServiceSettingsBase > CompanyServiceSettings

Namespace

Google.Cloud.Talent.V4

Assembly

Google.Cloud.Talent.V4.dll

Constructors

CompanyServiceSettings()

public CompanyServiceSettings()

Constructs a new CompanyServiceSettings object with default settings.

Properties

CreateCompanySettings

public CallSettings CreateCompanySettings { get; set; }

CallSettings for synchronous and asynchronous calls to CompanyServiceClient.CreateCompany and CompanyServiceClient.CreateCompanyAsync.

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

DeleteCompanySettings

public CallSettings DeleteCompanySettings { get; set; }

CallSettings for synchronous and asynchronous calls to CompanyServiceClient.DeleteCompany and CompanyServiceClient.DeleteCompanyAsync.

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.

GetCompanySettings

public CallSettings GetCompanySettings { get; set; }

CallSettings for synchronous and asynchronous calls to CompanyServiceClient.GetCompany and CompanyServiceClient.GetCompanyAsync.

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.

ListCompaniesSettings

public CallSettings ListCompaniesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CompanyServiceClient.ListCompanies and CompanyServiceClient.ListCompaniesAsync.

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.

UpdateCompanySettings

public CallSettings UpdateCompanySettings { get; set; }

CallSettings for synchronous and asynchronous calls to CompanyServiceClient.UpdateCompany and CompanyServiceClient.UpdateCompanyAsync.

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

Methods

Clone()

public CompanyServiceSettings Clone()

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

Returns
TypeDescription
CompanyServiceSettings

A deep clone of this CompanyServiceSettings object.

GetDefault()

public static CompanyServiceSettings GetDefault()

Get a new instance of the default CompanyServiceSettings.

Returns
TypeDescription
CompanyServiceSettings

A new instance of the default CompanyServiceSettings.