Class: Google::Apis::CloudsearchV1::Attributes

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Attributes

Returns a new instance of Attributes.



4845
4846
4847
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4845

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

Instance Attribute Details

#attributeArray<Google::Apis::CloudsearchV1::Attribute>

Corresponds to the JSON property attribute



4843
4844
4845
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4843

def attribute
  @attribute
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4850
4851
4852
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4850

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