public sealed class CollectUserEventRequest : IMessage<CollectUserEventRequest>, IEquatable<CollectUserEventRequest>, IDeepCloneable<CollectUserEventRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class CollectUserEventRequest.
Request message for CollectUserEvent method.
Implements
IMessage<CollectUserEventRequest>, IEquatable<CollectUserEventRequest>, IDeepCloneable<CollectUserEventRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Constructors
CollectUserEventRequest()
public CollectUserEventRequest()
CollectUserEventRequest(CollectUserEventRequest)
public CollectUserEventRequest(CollectUserEventRequest other)
Parameter | |
---|---|
Name | Description |
other | CollectUserEventRequest |
Properties
ConversionRuleCase
public CollectUserEventRequest.ConversionRuleOneofCase ConversionRuleCase { get; }
Property Value | |
---|---|
Type | Description |
CollectUserEventRequest.ConversionRuleOneofCase |
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 | |
---|---|
Type | Description |
Int64 |
Parent
public string Parent { get; set; }
Required. The parent catalog name, such as
projects/1234/locations/global/catalogs/default_catalog
.
Property Value | |
---|---|
Type | Description |
String |
PrebuiltRule
public string PrebuiltRule { get; set; }
The prebuilt rule name that can convert a specific type of raw_json. For example: "default_schema/v1.0"
Property Value | |
---|---|
Type | Description |
String |
RawJson
public string RawJson { get; set; }
An arbitrary serialized JSON string that contains necessary information that can comprise a user event. When this field is specified, the user_event field will be ignored. Note: line-delimited JSON is not supported, a single JSON only.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
UserEvent
public string UserEvent { get; set; }
Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters.
Property Value | |
---|---|
Type | Description |
String |