Class HealthProfileServiceSettings
Settings for HealthProfileServiceClient instances.
Inherited Members
Namespace: Google.DevicesAndServices.Health.V4
Assembly: Google.DevicesAndServices.Health.V4.dll
Syntax
public sealed class HealthProfileServiceSettings : ServiceSettingsBase
Constructors
HealthProfileServiceSettings()
Constructs a new HealthProfileServiceSettings object with default settings.
Declaration
public HealthProfileServiceSettings()
Properties
GetIdentitySettings
CallSettings for synchronous and asynchronous calls to
HealthProfileServiceClient.GetIdentity and HealthProfileServiceClient.GetIdentityAsync.
Declaration
public CallSettings GetIdentitySettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- This call will not be retried.
- No timeout is applied.
GetProfileSettings
CallSettings for synchronous and asynchronous calls to
HealthProfileServiceClient.GetProfile and HealthProfileServiceClient.GetProfileAsync.
Declaration
public CallSettings GetProfileSettings { 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.
GetSettingsSettings
CallSettings for synchronous and asynchronous calls to
HealthProfileServiceClient.GetSettings and HealthProfileServiceClient.GetSettingsAsync.
Declaration
public CallSettings GetSettingsSettings { 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.
UpdateProfileSettings
CallSettings for synchronous and asynchronous calls to
HealthProfileServiceClient.UpdateProfile and HealthProfileServiceClient.UpdateProfileAsync.
Declaration
public CallSettings UpdateProfileSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- This call will not be retried.
- Timeout: 60 seconds.
UpdateSettingsSettings
CallSettings for synchronous and asynchronous calls to
HealthProfileServiceClient.UpdateSettings and HealthProfileServiceClient.UpdateSettingsAsync.
Declaration
public CallSettings UpdateSettingsSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- This call will not be retried.
- Timeout: 60 seconds.
Methods
Clone()
Creates a deep clone of this object, with all the same property values.
Declaration
public HealthProfileServiceSettings Clone()
Returns
| Type | Description |
|---|---|
| HealthProfileServiceSettings | A deep clone of this HealthProfileServiceSettings object. |
GetDefault()
Get a new instance of the default HealthProfileServiceSettings.
Declaration
public static HealthProfileServiceSettings GetDefault()
Returns
| Type | Description |
|---|---|
| HealthProfileServiceSettings | A new instance of the default HealthProfileServiceSettings. |