Recommendations AI v1beta1 API - Class UserEventServiceSettings (2.0.0-beta06)

public sealed class UserEventServiceSettings : ServiceSettingsBase

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

Settings for UserEventServiceClient instances.

Inheritance

object > ServiceSettingsBase > UserEventServiceSettings

Namespace

Google.Cloud.RecommendationEngine.V1Beta1

Assembly

Google.Cloud.RecommendationEngine.V1Beta1.dll

Constructors

UserEventServiceSettings()

public UserEventServiceSettings()

Constructs a new UserEventServiceSettings object with default settings.

Properties

CollectUserEventSettings

public CallSettings CollectUserEventSettings { get; set; }

CallSettings for synchronous and asynchronous calls to UserEventServiceClient.CollectUserEvent and UserEventServiceClient.CollectUserEventAsync.

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.

ImportUserEventsOperationsSettings

public OperationsSettings ImportUserEventsOperationsSettings { get; set; }

Long Running Operation settings for calls to UserEventServiceClient.ImportUserEvents and UserEventServiceClient.ImportUserEventsAsync.

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.

ImportUserEventsSettings

public CallSettings ImportUserEventsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to UserEventServiceClient.ImportUserEvents and UserEventServiceClient.ImportUserEventsAsync.

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.

ListUserEventsSettings

public CallSettings ListUserEventsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to UserEventServiceClient.ListUserEvents and UserEventServiceClient.ListUserEventsAsync.

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.

PurgeUserEventsOperationsSettings

public OperationsSettings PurgeUserEventsOperationsSettings { get; set; }

Long Running Operation settings for calls to UserEventServiceClient.PurgeUserEvents and UserEventServiceClient.PurgeUserEventsAsync.

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.

PurgeUserEventsSettings

public CallSettings PurgeUserEventsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to UserEventServiceClient.PurgeUserEvents and UserEventServiceClient.PurgeUserEventsAsync.

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.

WriteUserEventSettings

public CallSettings WriteUserEventSettings { get; set; }

CallSettings for synchronous and asynchronous calls to UserEventServiceClient.WriteUserEvent and UserEventServiceClient.WriteUserEventAsync.

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

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

Returns
Type Description
UserEventServiceSettings

A deep clone of this UserEventServiceSettings object.

GetDefault()

public static UserEventServiceSettings GetDefault()

Get a new instance of the default UserEventServiceSettings.

Returns
Type Description
UserEventServiceSettings

A new instance of the default UserEventServiceSettings.