Class: Google::Apis::CloudsearchV1::ItemStructuredData
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::ItemStructuredData
- Defined in:
- generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/google/apis/cloudsearch_v1/representations.rb
Overview
Available structured data fields for the item.
Instance Attribute Summary collapse
-
#hash_prop ⇒ String
Hashing value provided by the API caller.
-
#object ⇒ Google::Apis::CloudsearchV1::StructuredDataObject
A structured data object consisting of named properties.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ItemStructuredData
constructor
A new instance of ItemStructuredData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ItemStructuredData
Returns a new instance of ItemStructuredData
2193 2194 2195 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 2193 def initialize(**args) update!(**args) end |
Instance Attribute Details
#hash_prop ⇒ String
Hashing value provided by the API caller.
This can be used with the
items.push
method to calculate modified state.
The maximum length is 2048 characters.
Corresponds to the JSON property hash
2186 2187 2188 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 2186 def hash_prop @hash_prop end |
#object ⇒ Google::Apis::CloudsearchV1::StructuredDataObject
A structured data object consisting of named properties.
Corresponds to the JSON property object
2191 2192 2193 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 2191 def object @object end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2198 2199 2200 2201 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 2198 def update!(**args) @hash_prop = args[:hash_prop] if args.key?(:hash_prop) @object = args[:object] if args.key?(:object) end |