Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::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) — 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) — 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) — 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 DataStore resource name, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}
.
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The parent DataStore resource name, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}
.
Returns
-
(::String) — Required. The parent DataStore resource name, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}
.
#uri
def uri() -> ::String
Returns
- (::String) — 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.
#uri=
def uri=(value) -> ::String
Parameter
- value (::String) — 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.
Returns
- (::String) — 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.
#user_event
def user_event() -> ::String
Returns
- (::String) — Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters.
#user_event=
def user_event=(value) -> ::String
Parameter
- value (::String) — Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters.
Returns
- (::String) — Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters.