Recommendations AI v1beta1 API - Class PredictionApiKeyRegistrySettings (2.0.0-beta02)

public sealed class PredictionApiKeyRegistrySettings : ServiceSettingsBase

Reference documentation and code samples for the Recommendations AI v1beta1 API class PredictionApiKeyRegistrySettings.

Settings for PredictionApiKeyRegistryClient instances.

Inheritance

Object > ServiceSettingsBase > PredictionApiKeyRegistrySettings

Namespace

Google.Cloud.RecommendationEngine.V1Beta1

Assembly

Google.Cloud.RecommendationEngine.V1Beta1.dll

Constructors

PredictionApiKeyRegistrySettings()

public PredictionApiKeyRegistrySettings()

Constructs a new PredictionApiKeyRegistrySettings object with default settings.

Properties

CreatePredictionApiKeyRegistrationSettings

public CallSettings CreatePredictionApiKeyRegistrationSettings { get; set; }

CallSettings for synchronous and asynchronous calls to PredictionApiKeyRegistryClient.CreatePredictionApiKeyRegistration and PredictionApiKeyRegistryClient.CreatePredictionApiKeyRegistrationAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable, DeadlineExceeded.
  • Timeout: 600 seconds.

DeletePredictionApiKeyRegistrationSettings

public CallSettings DeletePredictionApiKeyRegistrationSettings { get; set; }

CallSettings for synchronous and asynchronous calls to PredictionApiKeyRegistryClient.DeletePredictionApiKeyRegistration and PredictionApiKeyRegistryClient.DeletePredictionApiKeyRegistrationAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable, DeadlineExceeded.
  • Timeout: 600 seconds.

ListPredictionApiKeyRegistrationsSettings

public CallSettings ListPredictionApiKeyRegistrationsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to PredictionApiKeyRegistryClient.ListPredictionApiKeyRegistrations and PredictionApiKeyRegistryClient.ListPredictionApiKeyRegistrationsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable, DeadlineExceeded.
  • Timeout: 600 seconds.

Methods

Clone()

public PredictionApiKeyRegistrySettings Clone()

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

Returns
TypeDescription
PredictionApiKeyRegistrySettings

A deep clone of this PredictionApiKeyRegistrySettings object.

GetDefault()

public static PredictionApiKeyRegistrySettings GetDefault()

Get a new instance of the default PredictionApiKeyRegistrySettings.

Returns
TypeDescription
PredictionApiKeyRegistrySettings

A new instance of the default PredictionApiKeyRegistrySettings.