Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudAiplatformV1CodeExecutionResult

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb

Overview

Result of executing the ExecutableCode. Generated only when the CodeExecution tool is used.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1CodeExecutionResult

Returns a new instance of GoogleCloudAiplatformV1CodeExecutionResult.



77
78
79
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 77

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

Instance Attribute Details

#outcomeString

Required. Outcome of the code execution. Corresponds to the JSON property outcome

Returns:

  • (String)


69
70
71
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 69

def outcome
  @outcome
end

#outputString

Optional. Contains stdout when code execution is successful, stderr or other description otherwise. Corresponds to the JSON property output

Returns:

  • (String)


75
76
77
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 75

def output
  @output
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



82
83
84
85
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 82

def update!(**args)
  @outcome = args[:outcome] if args.key?(:outcome)
  @output = args[:output] if args.key?(:output)
end