Class: Google::Apis::RemotebuildexecutionV1::GoogleWatcherV1ChangeBatch

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

Overview

A batch of Change messages.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleWatcherV1ChangeBatch

Returns a new instance of GoogleWatcherV1ChangeBatch



3871
3872
3873
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 3871

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

Instance Attribute Details

#changesArray<Google::Apis::RemotebuildexecutionV1::GoogleWatcherV1Change>

A list of Change messages. Corresponds to the JSON property changes



3869
3870
3871
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 3869

def changes
  @changes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3876
3877
3878
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 3876

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