Recommendations AI V1beta1 API - Class Google::Cloud::RecommendationEngine::V1beta1::CollectUserEventRequest (v0.6.1)

Reference documentation and code samples for the Recommendations AI V1beta1 API class Google::Cloud::RecommendationEngine::V1beta1::CollectUserEventRequest.

Request message for CollectUserEvent method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#ets

def ets() -> ::Integer
Returns
  • (::Integer) — Optional. The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes.

#ets=

def ets=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes.
Returns
  • (::Integer) — Optional. The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The parent eventStore name, such as projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The parent eventStore name, such as projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store.
Returns
  • (::String) — Required. The parent eventStore name, such as projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store.

#uri

def uri() -> ::String
Returns
  • (::String) — 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.

#uri=

def uri=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#user_event

def user_event() -> ::String
Returns
  • (::String) — Required. URL encoded UserEvent proto.

#user_event=

def user_event=(value) -> ::String
Parameter
  • value (::String) — Required. URL encoded UserEvent proto.
Returns
  • (::String) — Required. URL encoded UserEvent proto.