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