Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AnalyzedInvocation

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 an analyzed invocation for a monitored agent's session.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AnalyzedInvocation

Returns a new instance of GoogleCloudAiplatformV1beta1AnalyzedInvocation.



7349
7350
7351
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7349

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

Instance Attribute Details

#assessmentGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Assessment

Contains the detailed assessment for an analyzed session. Corresponds to the JSON property assessment



7332
7333
7334
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7332

def assessment
  @assessment
end

#invocation_idString

Output only. The invocation ID. Corresponds to the JSON property invocationId

Returns:

  • (String)


7337
7338
7339
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7337

def invocation_id
  @invocation_id
end

#invocation_stateString

Output only. The state of the invocation. Corresponds to the JSON property invocationState

Returns:

  • (String)


7342
7343
7344
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7342

def invocation_state
  @invocation_state
end

#nameString

Identifier. The resource name of the AnalyzedInvocation. Corresponds to the JSON property name

Returns:

  • (String)


7347
7348
7349
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7347

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7354
7355
7356
7357
7358
7359
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7354

def update!(**args)
  @assessment = args[:assessment] if args.key?(:assessment)
  @invocation_id = args[:invocation_id] if args.key?(:invocation_id)
  @invocation_state = args[:invocation_state] if args.key?(:invocation_state)
  @name = args[:name] if args.key?(:name)
end