Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AppendA2aTaskEventsRequest
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AppendA2aTaskEventsRequest
- 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 AppendA2aTaskEvents.
Instance Attribute Summary collapse
-
#events ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1A2aTaskEvent>
Optional.
-
#generation ⇒ Fixnum
Optional.
-
#task_events ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TaskEvent>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AppendA2aTaskEventsRequest
constructor
A new instance of GoogleCloudAiplatformV1beta1AppendA2aTaskEventsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AppendA2aTaskEventsRequest
Returns a new instance of GoogleCloudAiplatformV1beta1AppendA2aTaskEventsRequest.
8411 8412 8413 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8411 def initialize(**args) update!(**args) end |
Instance Attribute Details
#events ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1A2aTaskEvent>
Optional. The events to append. Used only if the parent is a TaskStore.
Corresponds to the JSON property events
8397 8398 8399 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8397 def events @events end |
#generation ⇒ Fixnum
Optional. The current task generation.
Corresponds to the JSON property generation
8402 8403 8404 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8402 def generation @generation end |
#task_events ⇒ Array<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. Used only if the
parent is a ReasoningEngine.
Corresponds to the JSON property taskEvents
8409 8410 8411 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8409 def task_events @task_events end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8416 8417 8418 8419 8420 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8416 def update!(**args) @events = args[:events] if args.key?(:events) @generation = args[:generation] if args.key?(:generation) @task_events = args[:task_events] if args.key?(:task_events) end |