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.



8076
8077
8078
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8076

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



8059
8060
8061
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8059

def assessment
  @assessment
end

#invocation_idString

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

Returns:

  • (String)


8064
8065
8066
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8064

def invocation_id
  @invocation_id
end

#invocation_stateString

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

Returns:

  • (String)


8069
8070
8071
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8069

def invocation_state
  @invocation_state
end

#nameString

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

Returns:

  • (String)


8074
8075
8076
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8074

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8081
8082
8083
8084
8085
8086
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8081

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