Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AppendA2aTaskEventsRequest

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

Overview

Request message for AgentEngineTaskStoreService.AppendA2aTaskEvents.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AppendA2aTaskEventsRequest

Returns a new instance of GoogleCloudAiplatformV1beta1AppendA2aTaskEventsRequest.



1505
1506
1507
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1505

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

Instance Attribute Details

#task_eventsArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TaskEvent>

Required. The events to append. The number of events to append must be less than or equal to 100. Otherwise, an exception will be thrown. Corresponds to the JSON property taskEvents



1503
1504
1505
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1503

def task_events
  @task_events
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1510
1511
1512
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1510

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