API hub v1 API - Class ApiHubDependenciesSettings (1.0.0)

public sealed class ApiHubDependenciesSettings : ServiceSettingsBase

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

Settings for ApiHubDependenciesClient instances.

Inheritance

object > ServiceSettingsBase > ApiHubDependenciesSettings

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Constructors

ApiHubDependenciesSettings()

public ApiHubDependenciesSettings()

Constructs a new ApiHubDependenciesSettings object with default settings.

Properties

CreateDependencySettings

public CallSettings CreateDependencySettings { get; set; }

CallSettings for synchronous and asynchronous calls to ApiHubDependenciesClient.CreateDependency and ApiHubDependenciesClient.CreateDependencyAsync.

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

DeleteDependencySettings

public CallSettings DeleteDependencySettings { get; set; }

CallSettings for synchronous and asynchronous calls to ApiHubDependenciesClient.DeleteDependency and ApiHubDependenciesClient.DeleteDependencyAsync.

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

GetDependencySettings

public CallSettings GetDependencySettings { get; set; }

CallSettings for synchronous and asynchronous calls to ApiHubDependenciesClient.GetDependency and ApiHubDependenciesClient.GetDependencyAsync.

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.

ListDependenciesSettings

public CallSettings ListDependenciesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ApiHubDependenciesClient.ListDependencies and ApiHubDependenciesClient.ListDependenciesAsync.

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

UpdateDependencySettings

public CallSettings UpdateDependencySettings { get; set; }

CallSettings for synchronous and asynchronous calls to ApiHubDependenciesClient.UpdateDependency and ApiHubDependenciesClient.UpdateDependencyAsync.

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

Methods

Clone()

public ApiHubDependenciesSettings Clone()

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

Returns
Type Description
ApiHubDependenciesSettings

A deep clone of this ApiHubDependenciesSettings object.

GetDefault()

public static ApiHubDependenciesSettings GetDefault()

Get a new instance of the default ApiHubDependenciesSettings.

Returns
Type Description
ApiHubDependenciesSettings

A new instance of the default ApiHubDependenciesSettings.