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.



11059
11060
11061
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11059

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

Instance Attribute Details

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

Corresponds to the JSON property record



11057
11058
11059
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11057

def record
  @record
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11064
11065
11066
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11064

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