Class: Google::Apis::CloudsearchV1::StructuredDataObject
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::StructuredDataObject
- 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
-
#properties ⇒ Array<Google::Apis::CloudsearchV1::NamedProperty>
The properties for the object.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StructuredDataObject
constructor
A new instance of StructuredDataObject.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StructuredDataObject
Returns a new instance of StructuredDataObject.
4670 4671 4672 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4670 def initialize(**args) update!(**args) end |
Instance Attribute Details
#properties ⇒ Array<Google::Apis::CloudsearchV1::NamedProperty>
The properties for the object. The maximum number of elements is 1000.
Corresponds to the JSON property properties
4668 4669 4670 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4668 def properties @properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4675 4676 4677 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4675 def update!(**args) @properties = args[:properties] if args.key?(:properties) end |