public sealed class ServiceHealthSettings : ServiceSettingsBase
Reference documentation and code samples for the Service Health v1 API class ServiceHealthSettings.
Settings for ServiceHealthClient instances.
Namespace
Google.Cloud.ServiceHealth.V1Assembly
Google.Cloud.ServiceHealth.V1.dll
Constructors
ServiceHealthSettings()
public ServiceHealthSettings()
Constructs a new ServiceHealthSettings object with default settings.
Properties
GetEventSettings
public CallSettings GetEventSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ServiceHealthClient.GetEvent
and ServiceHealthClient.GetEventAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- 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.
GetOrganizationEventSettings
public CallSettings GetOrganizationEventSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ServiceHealthClient.GetOrganizationEvent
and ServiceHealthClient.GetOrganizationEventAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- 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.
GetOrganizationImpactSettings
public CallSettings GetOrganizationImpactSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ServiceHealthClient.GetOrganizationImpact
and ServiceHealthClient.GetOrganizationImpactAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- 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.
ListEventsSettings
public CallSettings ListEventsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ServiceHealthClient.ListEvents
and ServiceHealthClient.ListEventsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- 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.
ListOrganizationEventsSettings
public CallSettings ListOrganizationEventsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ServiceHealthClient.ListOrganizationEvents
and ServiceHealthClient.ListOrganizationEventsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- 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.
ListOrganizationImpactsSettings
public CallSettings ListOrganizationImpactsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ServiceHealthClient.ListOrganizationImpacts
and ServiceHealthClient.ListOrganizationImpactsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- 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.
LocationsSettings
public LocationsSettings LocationsSettings { get; set; }
The settings to use for the LocationsClient associated with the client.
Property Value | |
---|---|
Type | Description |
LocationsSettings |
Methods
Clone()
public ServiceHealthSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
ServiceHealthSettings |
A deep clone of this ServiceHealthSettings object. |
GetDefault()
public static ServiceHealthSettings GetDefault()
Get a new instance of the default ServiceHealthSettings.
Returns | |
---|---|
Type | Description |
ServiceHealthSettings |
A new instance of the default ServiceHealthSettings. |