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.



8298
8299
8300
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8298

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



8281
8282
8283
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8281

def assessment
  @assessment
end

#invocation_idString

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

Returns:

  • (String)


8286
8287
8288
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8286

def invocation_id
  @invocation_id
end

#invocation_stateString

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

Returns:

  • (String)


8291
8292
8293
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8291

def invocation_state
  @invocation_state
end

#nameString

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

Returns:

  • (String)


8296
8297
8298
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8296

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8303
8304
8305
8306
8307
8308
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8303

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