Class: Google::Apis::CloudsearchV1::StructuredDataObject

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb

Overview

A structured data object consisting of named properties.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StructuredDataObject

Returns a new instance of StructuredDataObject.



5006
5007
5008
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5006

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#propertiesArray<Google::Apis::CloudsearchV1::NamedProperty>

The properties for the object. The maximum number of elements is 1000. Corresponds to the JSON property properties



5004
5005
5006
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5004

def properties
  @properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5011
5012
5013
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5011

def update!(**args)
  @properties = args[:properties] if args.key?(:properties)
end