Class ContentServiceSettings
Settings for ContentServiceClient instances.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class ContentServiceSettings : ServiceSettingsBase
Constructors
ContentServiceSettings()
Constructs a new ContentServiceSettings object with default settings.
Declaration
public ContentServiceSettings()
Properties
GetContentSettings
CallSettings for synchronous and asynchronous calls to
ContentServiceClient.GetContent and ContentServiceClient.GetContentAsync.
Declaration
public CallSettings GetContentSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- This call will not be retried.
- No timeout is applied.
ListContentSettings
CallSettings for synchronous and asynchronous calls to
ContentServiceClient.ListContent and ContentServiceClient.ListContentAsync.
Declaration
public CallSettings ListContentSettings { 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 ContentServiceSettings Clone()
Returns
| Type | Description |
|---|---|
| ContentServiceSettings | A deep clone of this ContentServiceSettings object. |
GetDefault()
Get a new instance of the default ContentServiceSettings.
Declaration
public static ContentServiceSettings GetDefault()
Returns
| Type | Description |
|---|---|
| ContentServiceSettings | A new instance of the default ContentServiceSettings. |