Class CompanyServiceSettings
Settings for CompanyServiceClient instances.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class CompanyServiceSettings : ServiceSettingsBase
Constructors
CompanyServiceSettings()
Constructs a new CompanyServiceSettings object with default settings.
Declaration
public CompanyServiceSettings()
Properties
GetCompanySettings
CallSettings for synchronous and asynchronous calls to
CompanyServiceClient.GetCompany and CompanyServiceClient.GetCompanyAsync.
Declaration
public CallSettings GetCompanySettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- This call will not be retried.
- No timeout is applied.
ListCompaniesSettings
CallSettings for synchronous and asynchronous calls to
CompanyServiceClient.ListCompanies and CompanyServiceClient.ListCompaniesAsync.
Declaration
public CallSettings ListCompaniesSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- This call will not be retried.
- No timeout is applied.
Methods
Clone()
Creates a deep clone of this object, with all the same property values.
Declaration
public CompanyServiceSettings Clone()
Returns
| Type | Description |
|---|---|
| CompanyServiceSettings | A deep clone of this CompanyServiceSettings object. |
GetDefault()
Get a new instance of the default CompanyServiceSettings.
Declaration
public static CompanyServiceSettings GetDefault()
Returns
| Type | Description |
|---|---|
| CompanyServiceSettings | A new instance of the default CompanyServiceSettings. |