Class: Google::Apis::CloudsearchV1::ObjectPropertyOptions
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::ObjectPropertyOptions
- Defined in:
- generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/google/apis/cloudsearch_v1/representations.rb
Overview
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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ObjectPropertyOptions
Returns a new instance of ObjectPropertyOptions
2351 2352 2353 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 2351 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
2349 2350 2351 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 2349 def subobject_properties @subobject_properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2356 2357 2358 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 2356 def update!(**args) @subobject_properties = args[:subobject_properties] if args.key?(:subobject_properties) end |