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

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

Overview

A structured data object consisting of named properties.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ StructuredDataObject

Returns a new instance of StructuredDataObject.



4596
4597
4598
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 4596

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



4594
4595
4596
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 4594

def properties
  @properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4601
4602
4603
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 4601

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