Service Health v1 API - Class ServiceHealthSettings (1.0.0-beta02)

public sealed class ServiceHealthSettings : ServiceSettingsBase

Reference documentation and code samples for the Service Health v1 API class ServiceHealthSettings.

Settings for ServiceHealthClient instances.

Inheritance

object > ServiceSettingsBase > ServiceHealthSettings

Namespace

Google.Cloud.ServiceHealth.V1

Assembly

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
TypeDescription
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.

GetOrganizationEventSettings

public CallSettings GetOrganizationEventSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ServiceHealthClient.GetOrganizationEvent and ServiceHealthClient.GetOrganizationEventAsync.

Property Value
TypeDescription
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.

GetOrganizationImpactSettings

public CallSettings GetOrganizationImpactSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ServiceHealthClient.GetOrganizationImpact and ServiceHealthClient.GetOrganizationImpactAsync.

Property Value
TypeDescription
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.

ListEventsSettings

public CallSettings ListEventsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ServiceHealthClient.ListEvents and ServiceHealthClient.ListEventsAsync.

Property Value
TypeDescription
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.

ListOrganizationEventsSettings

public CallSettings ListOrganizationEventsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ServiceHealthClient.ListOrganizationEvents and ServiceHealthClient.ListOrganizationEventsAsync .

Property Value
TypeDescription
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.

ListOrganizationImpactsSettings

public CallSettings ListOrganizationImpactsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ServiceHealthClient.ListOrganizationImpacts and ServiceHealthClient.ListOrganizationImpactsAsync .

Property Value
TypeDescription
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.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

The settings to use for the LocationsClient associated with the client.

Property Value
TypeDescription
LocationsSettings

Methods

Clone()

public ServiceHealthSettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
TypeDescription
ServiceHealthSettings

A deep clone of this ServiceHealthSettings object.

GetDefault()

public static ServiceHealthSettings GetDefault()

Get a new instance of the default ServiceHealthSettings.

Returns
TypeDescription
ServiceHealthSettings

A new instance of the default ServiceHealthSettings.