Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::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 catalog resource name, such as
projects/1234/locations/global/catalogs/default_catalog
.
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The parent catalog resource name, such as
projects/1234/locations/global/catalogs/default_catalog
.
Returns
-
(::String) — Required. The parent catalog resource name, such as
projects/1234/locations/global/catalogs/default_catalog
.
#user_event
def user_event() -> ::Google::Cloud::Retail::V2::UserEvent
Returns
- (::Google::Cloud::Retail::V2::UserEvent) — Required. User event to write.
#user_event=
def user_event=(value) -> ::Google::Cloud::Retail::V2::UserEvent
Parameter
- value (::Google::Cloud::Retail::V2::UserEvent) — Required. User event to write.
Returns
- (::Google::Cloud::Retail::V2::UserEvent) — Required. User event to write.