Class ProgramsServiceSettings
Settings for Programs
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 Programs
Declaration
public ProgramsServiceSettings()
Properties
DisableProgramSettings
CallProgramsServiceClient.DisableProgram
and ProgramsServiceClient.DisableProgramAsync
.
Declaration
public CallSettings DisableProgramSettings { get; set; }
Property Value
Type | Description |
---|---|
Call |
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
CallProgramsServiceClient.EnableProgram
and ProgramsServiceClient.EnableProgramAsync
.
Declaration
public CallSettings EnableProgramSettings { get; set; }
Property Value
Type | Description |
---|---|
Call |
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
CallProgramsServiceClient.GetProgram
and ProgramsServiceClient.GetProgramAsync
.
Declaration
public CallSettings GetProgramSettings { get; set; }
Property Value
Type | Description |
---|---|
Call |
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
CallProgramsServiceClient.ListPrograms
and ProgramsServiceClient.ListProgramsAsync
.
Declaration
public CallSettings ListProgramsSettings { get; set; }
Property Value
Type | Description |
---|---|
Call |
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 |
---|---|
Programs |
A deep clone of this Programs |
GetDefault()
Get a new instance of the default Programs
Declaration
public static ProgramsServiceSettings GetDefault()
Returns
Type | Description |
---|---|
Programs |
A new instance of the default Programs |