Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1A2aTaskStatus

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

Represents the status of an A2aTask.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1A2aTaskStatus

Returns a new instance of GoogleCloudAiplatformV1beta1A2aTaskStatus.



7500
7501
7502
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7500

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

Instance Attribute Details

#messageGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1A2aTaskMessage

Represents a single message in a conversation, compliant with the A2A specification. Corresponds to the JSON property message



7488
7489
7490
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7488

def message
  @message
end

#stateString

Output only. The current state of the task. Corresponds to the JSON property state

Returns:

  • (String)


7493
7494
7495
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7493

def state
  @state
end

#timestampString

Output only. The time at which the state was set. Corresponds to the JSON property timestamp

Returns:

  • (String)


7498
7499
7500
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7498

def timestamp
  @timestamp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7505
7506
7507
7508
7509
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7505

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