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

An analyzed invocation for monitored agent's session.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AnalyzedInvocation

Returns a new instance of GoogleCloudAiplatformV1beta1AnalyzedInvocation.



7140
7141
7142
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7140

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

Instance Attribute Details

#assessmentGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Assessment

Detailed assessment for an analyzed session. Corresponds to the JSON property assessment



7123
7124
7125
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7123

def assessment
  @assessment
end

#invocation_idString

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

Returns:

  • (String)


7128
7129
7130
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7128

def invocation_id
  @invocation_id
end

#invocation_stateString

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

Returns:

  • (String)


7133
7134
7135
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7133

def invocation_state
  @invocation_state
end

#nameString

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

Returns:

  • (String)


7138
7139
7140
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7138

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7145
7146
7147
7148
7149
7150
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7145

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