Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::DocumentInfo.
Detailed document information associated with a user event.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#id
def id() -> ::String
- (::String) — The Document resource ID.
#id=
def id=(value) -> ::String
- value (::String) — The Document resource ID.
- (::String) — The Document resource ID.
#joined
def joined() -> ::Boolean
- (::Boolean) — Output only. Whether the referenced Document can be found in the data store.
#name
def name() -> ::String
-
(::String) — The Document resource full
name, of the form:
projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/branches/{branch_id}/documents/{document_id}
#name=
def name=(value) -> ::String
-
value (::String) — The Document resource full
name, of the form:
projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/branches/{branch_id}/documents/{document_id}
-
(::String) — The Document resource full
name, of the form:
projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/branches/{branch_id}/documents/{document_id}
#promotion_ids
def promotion_ids() -> ::Array<::String>
- (::Array<::String>) — The promotion IDs associated with this Document. Currently, this field is restricted to at most one ID.
#promotion_ids=
def promotion_ids=(value) -> ::Array<::String>
- value (::Array<::String>) — The promotion IDs associated with this Document. Currently, this field is restricted to at most one ID.
- (::Array<::String>) — The promotion IDs associated with this Document. Currently, this field is restricted to at most one ID.
#quantity
def quantity() -> ::Integer
-
(::Integer) —
Quantity of the Document associated with the user event. Defaults to 1.
For example, this field is 2 if two quantities of the same Document are involved in a
add-to-cart
event.Required for events of the following event types:
add-to-cart
purchase
#quantity=
def quantity=(value) -> ::Integer
-
value (::Integer) —
Quantity of the Document associated with the user event. Defaults to 1.
For example, this field is 2 if two quantities of the same Document are involved in a
add-to-cart
event.Required for events of the following event types:
add-to-cart
purchase
-
(::Integer) —
Quantity of the Document associated with the user event. Defaults to 1.
For example, this field is 2 if two quantities of the same Document are involved in a
add-to-cart
event.Required for events of the following event types:
add-to-cart
purchase
#uri
def uri() -> ::String
- (::String) — The Document URI - only allowed for website data stores.
#uri=
def uri=(value) -> ::String
- value (::String) — The Document URI - only allowed for website data stores.
- (::String) — The Document URI - only allowed for website data stores.