Reference documentation and code samples for the Recommendations AI V1beta1 API class Google::Cloud::RecommendationEngine::V1beta1::WriteUserEventRequest.
Request message for WriteUserEvent method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The parent eventStore resource 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 resource name, such as
projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store
.
Returns
-
(::String) — Required. The parent eventStore resource name, such as
projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store
.
#user_event
def user_event() -> ::Google::Cloud::RecommendationEngine::V1beta1::UserEvent
Returns
- (::Google::Cloud::RecommendationEngine::V1beta1::UserEvent) — Required. User event to write.
#user_event=
def user_event=(value) -> ::Google::Cloud::RecommendationEngine::V1beta1::UserEvent
Parameter
- value (::Google::Cloud::RecommendationEngine::V1beta1::UserEvent) — Required. User event to write.
Returns
- (::Google::Cloud::RecommendationEngine::V1beta1::UserEvent) — Required. User event to write.