Class ProgramsServiceSettings
Settings for ProgramsServiceClient instances.
Inherited Members
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
public sealed class ProgramsServiceSettings : ServiceSettingsBase
Constructors
ProgramsServiceSettings()
Constructs a new ProgramsServiceSettings object with default settings.
Declaration
public ProgramsServiceSettings()
Properties
DisableProgramSettings
CallSettings for synchronous and asynchronous calls to
ProgramsServiceClient.DisableProgram
and ProgramsServiceClient.DisableProgramAsync
.
Declaration
public CallSettings DisableProgramSettings { get; set; }
Property Value
Type | Description |
---|---|
CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
EnableProgramSettings
CallSettings for synchronous and asynchronous calls to
ProgramsServiceClient.EnableProgram
and ProgramsServiceClient.EnableProgramAsync
.
Declaration
public CallSettings EnableProgramSettings { get; set; }
Property Value
Type | Description |
---|---|
CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
GetProgramSettings
CallSettings for synchronous and asynchronous calls to
ProgramsServiceClient.GetProgram
and ProgramsServiceClient.GetProgramAsync
.
Declaration
public CallSettings GetProgramSettings { get; set; }
Property Value
Type | Description |
---|---|
CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
ListProgramsSettings
CallSettings for synchronous and asynchronous calls to
ProgramsServiceClient.ListPrograms
and ProgramsServiceClient.ListProgramsAsync
.
Declaration
public CallSettings ListProgramsSettings { get; set; }
Property Value
Type | Description |
---|---|
CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
Methods
Clone()
Creates a deep clone of this object, with all the same property values.
Declaration
public ProgramsServiceSettings Clone()
Returns
Type | Description |
---|---|
ProgramsServiceSettings | A deep clone of this ProgramsServiceSettings object. |
GetDefault()
Get a new instance of the default ProgramsServiceSettings.
Declaration
public static ProgramsServiceSettings GetDefault()
Returns
Type | Description |
---|---|
ProgramsServiceSettings | A new instance of the default ProgramsServiceSettings. |