Google Cloud Talent Solution v4 API - Class CompanyServiceSettings (2.6.0)

public sealed class CompanyServiceSettings : ServiceSettingsBase

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

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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
CompanyServiceSettings

A deep clone of this CompanyServiceSettings object.

GetDefault()

public static CompanyServiceSettings GetDefault()

Get a new instance of the default CompanyServiceSettings.

Returns
Type Description
CompanyServiceSettings

A new instance of the default CompanyServiceSettings.