Class UserServiceSettings
Settings for UserServiceClient instances.
Inherited Members
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
public sealed class UserServiceSettings : ServiceSettingsBase
Constructors
UserServiceSettings()
Constructs a new UserServiceSettings object with default settings.
Declaration
public UserServiceSettings()
Properties
CreateUserSettings
CallSettings for synchronous and asynchronous calls to
UserServiceClient.CreateUser
and UserServiceClient.CreateUserAsync
.
Declaration
public CallSettings CreateUserSettings { 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.
DeleteUserSettings
CallSettings for synchronous and asynchronous calls to
UserServiceClient.DeleteUser
and UserServiceClient.DeleteUserAsync
.
Declaration
public CallSettings DeleteUserSettings { 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.
GetUserSettings
CallSettings for synchronous and asynchronous calls to UserServiceClient.GetUser
and UserServiceClient.GetUserAsync
.
Declaration
public CallSettings GetUserSettings { 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.
ListUsersSettings
CallSettings for synchronous and asynchronous calls to UserServiceClient.ListUsers
and UserServiceClient.ListUsersAsync
.
Declaration
public CallSettings ListUsersSettings { 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.
UpdateUserSettings
CallSettings for synchronous and asynchronous calls to
UserServiceClient.UpdateUser
and UserServiceClient.UpdateUserAsync
.
Declaration
public CallSettings UpdateUserSettings { 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 UserServiceSettings Clone()
Returns
Type | Description |
---|---|
UserServiceSettings | A deep clone of this UserServiceSettings object. |
GetDefault()
Get a new instance of the default UserServiceSettings.
Declaration
public static UserServiceSettings GetDefault()
Returns
Type | Description |
---|---|
UserServiceSettings | A new instance of the default UserServiceSettings. |