Class: Google::Apis::CloudsearchV1::History

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

Overview

The most recent history records associated with the item.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ History

Returns a new instance of History.



10982
10983
10984
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10982

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

Instance Attribute Details

#recordArray<Google::Apis::CloudsearchV1::HistoryRecord>

Corresponds to the JSON property record



10980
10981
10982
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10980

def record
  @record
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10987
10988
10989
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10987

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