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

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
Type Description
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
Type Description
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
Type Description
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
Type Description
PredictionApiKeyRegistrySettings

A deep clone of this PredictionApiKeyRegistrySettings object.

GetDefault()

public static PredictionApiKeyRegistrySettings GetDefault()

Get a new instance of the default PredictionApiKeyRegistrySettings.

Returns
Type Description
PredictionApiKeyRegistrySettings

A new instance of the default PredictionApiKeyRegistrySettings.