class Google::Apis::CloudsearchV1::ItemStructuredData

Available structured data fields for the item.

Attributes

hash_prop[RW]

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` @return [String]

object[RW]

A structured data object consisting of named properties. Corresponds to the JSON property `object` @return [Google::Apis::CloudsearchV1::StructuredDataObject]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudsearch_v1/classes.rb, line 2135
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudsearch_v1/classes.rb, line 2140
def update!(**args)
  @hash_prop = args[:hash_prop] if args.key?(:hash_prop)
  @object = args[:object] if args.key?(:object)
end