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.



6238
6239
6240
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6238

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



6236
6237
6238
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6236

def task_events
  @task_events
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6243
6244
6245
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6243

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