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

public sealed class HostProjectRegistrationServiceSettings : ServiceSettingsBase

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

Settings for HostProjectRegistrationServiceClient instances.

Inheritance

object > ServiceSettingsBase > HostProjectRegistrationServiceSettings

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Constructors

HostProjectRegistrationServiceSettings()

public HostProjectRegistrationServiceSettings()

Constructs a new HostProjectRegistrationServiceSettings object with default settings.

Properties

CreateHostProjectRegistrationSettings

public CallSettings CreateHostProjectRegistrationSettings { get; set; }

CallSettings for synchronous and asynchronous calls to HostProjectRegistrationServiceClient.CreateHostProjectRegistration and HostProjectRegistrationServiceClient.CreateHostProjectRegistrationAsync.

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

GetHostProjectRegistrationSettings

public CallSettings GetHostProjectRegistrationSettings { get; set; }

CallSettings for synchronous and asynchronous calls to HostProjectRegistrationServiceClient.GetHostProjectRegistration and HostProjectRegistrationServiceClient.GetHostProjectRegistrationAsync.

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.

ListHostProjectRegistrationsSettings

public CallSettings ListHostProjectRegistrationsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to HostProjectRegistrationServiceClient.ListHostProjectRegistrations and HostProjectRegistrationServiceClient.ListHostProjectRegistrationsAsync.

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

Methods

Clone()

public HostProjectRegistrationServiceSettings Clone()

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

Returns
Type Description
HostProjectRegistrationServiceSettings

A deep clone of this HostProjectRegistrationServiceSettings object.

GetDefault()

public static HostProjectRegistrationServiceSettings GetDefault()

Get a new instance of the default HostProjectRegistrationServiceSettings.

Returns
Type Description
HostProjectRegistrationServiceSettings

A new instance of the default HostProjectRegistrationServiceSettings.