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.



1514
1515
1516
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1514

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



1512
1513
1514
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1512

def task_events
  @task_events
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1519
1520
1521
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1519

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