Discovery Engine v1beta API - Class UserEventServiceSettings (1.0.0-beta12)

public sealed class UserEventServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Discovery Engine v1beta API class UserEventServiceSettings.

Settings for UserEventServiceClient instances.

Inheritance

object > ServiceSettingsBase > UserEventServiceSettings

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.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
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 30 seconds.

ImportUserEventsOperationsSettings

public OperationsSettings ImportUserEventsOperationsSettings { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 300 seconds.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

The settings to use for the LocationsClient associated with the client.

Property Value
TypeDescription
LocationsSettings

WriteUserEventSettings

public CallSettings WriteUserEventSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 30 seconds.

Methods

Clone()

public UserEventServiceSettings Clone()

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

Returns
TypeDescription
UserEventServiceSettings

A deep clone of this UserEventServiceSettings object.

GetDefault()

public static UserEventServiceSettings GetDefault()

Get a new instance of the default UserEventServiceSettings.

Returns
TypeDescription
UserEventServiceSettings

A new instance of the default UserEventServiceSettings.