Class: Google::Cloud::Retail::V2::WriteUserEventRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Retail::V2::WriteUserEventRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/retail/v2/user_event_service.rb
Overview
Request message for WriteUserEvent method.
Instance Attribute Summary collapse
-
#parent ⇒ ::String
Required.
-
#user_event ⇒ ::Google::Cloud::Retail::V2::UserEvent
Required.
-
#write_async ⇒ ::Boolean
If set to true, the user event will be written asynchronously after validation, and the API will respond without waiting for the write.
Instance Attribute Details
#parent ⇒ ::String
Returns Required. The parent catalog resource name, such as
projects/1234/locations/global/catalogs/default_catalog
.
38 39 40 41 |
# File 'proto_docs/google/cloud/retail/v2/user_event_service.rb', line 38 class WriteUserEventRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#user_event ⇒ ::Google::Cloud::Retail::V2::UserEvent
Returns Required. User event to write.
38 39 40 41 |
# File 'proto_docs/google/cloud/retail/v2/user_event_service.rb', line 38 class WriteUserEventRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#write_async ⇒ ::Boolean
Returns If set to true, the user event will be written asynchronously after validation, and the API will respond without waiting for the write. Therefore, silent failures can occur even if the API returns success. In case of silent failures, error messages can be found in Stackdriver logs.
38 39 40 41 |
# File 'proto_docs/google/cloud/retail/v2/user_event_service.rb', line 38 class WriteUserEventRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |