Class SiteServiceSettings
Settings for SiteServiceClient instances.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class SiteServiceSettings : ServiceSettingsBase
Constructors
SiteServiceSettings()
Constructs a new SiteServiceSettings object with default settings.
Declaration
public SiteServiceSettings()
Properties
BatchCreateSitesSettings
CallSettings for synchronous and asynchronous calls to
SiteServiceClient.BatchCreateSites and SiteServiceClient.BatchCreateSitesAsync.
Declaration
public CallSettings BatchCreateSitesSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- This call will not be retried.
- No timeout is applied.
BatchDeactivateSitesSettings
CallSettings for synchronous and asynchronous calls to
SiteServiceClient.BatchDeactivateSites and SiteServiceClient.BatchDeactivateSitesAsync.
Declaration
public CallSettings BatchDeactivateSitesSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- This call will not be retried.
- No timeout is applied.
BatchSubmitSitesForApprovalSettings
CallSettings for synchronous and asynchronous calls to
SiteServiceClient.BatchSubmitSitesForApproval and
SiteServiceClient.BatchSubmitSitesForApprovalAsync.
Declaration
public CallSettings BatchSubmitSitesForApprovalSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- This call will not be retried.
- No timeout is applied.
BatchUpdateSitesSettings
CallSettings for synchronous and asynchronous calls to
SiteServiceClient.BatchUpdateSites and SiteServiceClient.BatchUpdateSitesAsync.
Declaration
public CallSettings BatchUpdateSitesSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- This call will not be retried.
- No timeout is applied.
CreateSiteSettings
CallSettings for synchronous and asynchronous calls to
SiteServiceClient.CreateSite and SiteServiceClient.CreateSiteAsync.
Declaration
public CallSettings CreateSiteSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- This call will not be retried.
- No timeout is applied.
GetSiteSettings
CallSettings for synchronous and asynchronous calls to SiteServiceClient.GetSite
and SiteServiceClient.GetSiteAsync.
Declaration
public CallSettings GetSiteSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- This call will not be retried.
- No timeout is applied.
ListSitesSettings
CallSettings for synchronous and asynchronous calls to SiteServiceClient.ListSites
and SiteServiceClient.ListSitesAsync.
Declaration
public CallSettings ListSitesSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- This call will not be retried.
- No timeout is applied.
UpdateSiteSettings
CallSettings for synchronous and asynchronous calls to
SiteServiceClient.UpdateSite and SiteServiceClient.UpdateSiteAsync.
Declaration
public CallSettings UpdateSiteSettings { 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 SiteServiceSettings Clone()
Returns
| Type | Description |
|---|---|
| SiteServiceSettings | A deep clone of this SiteServiceSettings object. |
GetDefault()
Get a new instance of the default SiteServiceSettings.
Declaration
public static SiteServiceSettings GetDefault()
Returns
| Type | Description |
|---|---|
| SiteServiceSettings | A new instance of the default SiteServiceSettings. |