Class: Google::Apis::CloudsearchV1::ObjectPropertyOptions
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::ObjectPropertyOptions
- 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
The options for object properties.
Instance Attribute Summary collapse
-
#subobject_properties ⇒ Array<Google::Apis::CloudsearchV1::PropertyDefinition>
The properties of the sub-object.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ObjectPropertyOptions
constructor
A new instance of ObjectPropertyOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ObjectPropertyOptions
Returns a new instance of ObjectPropertyOptions.
5132 5133 5134 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5132 def initialize(**args) update!(**args) end |
Instance Attribute Details
#subobject_properties ⇒ Array<Google::Apis::CloudsearchV1::PropertyDefinition>
The properties of the sub-object. These properties represent a nested object.
For example, if this property represents a postal address, the
subobjectProperties might be named street, city, and state. The maximum
number of elements is 1000.
Corresponds to the JSON property subobjectProperties
5130 5131 5132 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5130 def subobject_properties @subobject_properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5137 5138 5139 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5137 def update!(**args) @subobject_properties = args[:subobject_properties] if args.key?(:subobject_properties) end |