Retail V2 API - Class Google::Cloud::Retail::V2::WriteUserEventRequest (v0.19.0)

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

#user_event=

def user_event=(value) -> ::Google::Cloud::Retail::V2::UserEvent
Parameter
Returns

#write_async

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

#write_async=

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