Class CollectUserEventRequest (1.6.0)

public sealed class CollectUserEventRequest : IMessage<CollectUserEventRequest>, IEquatable<CollectUserEventRequest>, IDeepCloneable<CollectUserEventRequest>, IBufferMessage, IMessage

Request message for CollectUserEvent method.

Inheritance

Object > CollectUserEventRequest

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

CollectUserEventRequest()

public CollectUserEventRequest()

CollectUserEventRequest(CollectUserEventRequest)

public CollectUserEventRequest(CollectUserEventRequest other)
Parameter
NameDescription
otherCollectUserEventRequest

Properties

Ets

public long Ets { get; set; }

The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes.

Property Value
TypeDescription
Int64

Parent

public string Parent { get; set; }

Required. The parent catalog name, such as projects/1234/locations/global/catalogs/default_catalog.

Property Value
TypeDescription
String

Uri

public string Uri { get; set; }

The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers only send the domain for 3rd party requests.

Property Value
TypeDescription
String

UserEvent

public string UserEvent { get; set; }

Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters.

Property Value
TypeDescription
String