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.



6962
6963
6964
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6962

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



6945
6946
6947
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6945

def assessment
  @assessment
end

#invocation_idString

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

Returns:

  • (String)


6950
6951
6952
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6950

def invocation_id
  @invocation_id
end

#invocation_stateString

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

Returns:

  • (String)


6955
6956
6957
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6955

def invocation_state
  @invocation_state
end

#nameString

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

Returns:

  • (String)


6960
6961
6962
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6960

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6967
6968
6969
6970
6971
6972
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6967

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