Recommendations AI v1beta1 API - Class CollectUserEventRequest (2.0.0-beta02)

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

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

Request message for CollectUserEvent method.

Inheritance

Object > CollectUserEventRequest

Namespace

Google.Cloud.RecommendationEngine.V1Beta1

Assembly

Google.Cloud.RecommendationEngine.V1Beta1.dll

Constructors

CollectUserEventRequest()

public CollectUserEventRequest()

CollectUserEventRequest(CollectUserEventRequest)

public CollectUserEventRequest(CollectUserEventRequest other)
Parameter
NameDescription
otherCollectUserEventRequest

Properties

Ets

public long Ets { get; set; }

Optional. 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 eventStore name, such as projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store.

Property Value
TypeDescription
String

ParentAsEventStoreName

public EventStoreName ParentAsEventStoreName { get; set; }

EventStoreName-typed view over the Parent resource name property.

Property Value
TypeDescription
EventStoreName

Uri

public string Uri { get; set; }

Optional. The url including cgi-parameters but excluding the hash fragment. The URL must be truncated to 1.5K bytes to conservatively be under the 2K bytes. 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.

Property Value
TypeDescription
String