API hub v1 API - Class ProvisioningSettings (1.0.0-beta02)

public sealed class ProvisioningSettings : ServiceSettingsBase

Reference documentation and code samples for the API hub v1 API class ProvisioningSettings.

Settings for ProvisioningClient instances.

Inheritance

object > ServiceSettingsBase > ProvisioningSettings

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Constructors

ProvisioningSettings()

public ProvisioningSettings()

Constructs a new ProvisioningSettings object with default settings.

Properties

CreateApiHubInstanceOperationsSettings

public OperationsSettings CreateApiHubInstanceOperationsSettings { get; set; }

Long Running Operation settings for calls to ProvisioningClient.CreateApiHubInstance and ProvisioningClient.CreateApiHubInstanceAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

CreateApiHubInstanceSettings

public CallSettings CreateApiHubInstanceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProvisioningClient.CreateApiHubInstance and ProvisioningClient.CreateApiHubInstanceAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

GetApiHubInstanceSettings

public CallSettings GetApiHubInstanceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProvisioningClient.GetApiHubInstance and ProvisioningClient.GetApiHubInstanceAsync.

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.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

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

Property Value
Type Description
LocationsSettings

LookupApiHubInstanceSettings

public CallSettings LookupApiHubInstanceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProvisioningClient.LookupApiHubInstance and ProvisioningClient.LookupApiHubInstanceAsync.

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()

public ProvisioningSettings Clone()

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

Returns
Type Description
ProvisioningSettings

A deep clone of this ProvisioningSettings object.

GetDefault()

public static ProvisioningSettings GetDefault()

Get a new instance of the default ProvisioningSettings.

Returns
Type Description
ProvisioningSettings

A new instance of the default ProvisioningSettings.