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