Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextResultStep

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

URL context result step.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1UrlContextResultStep

Returns a new instance of GenaiVertexV1beta1UrlContextResultStep.



6158
6159
6160
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6158

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

Instance Attribute Details

#is_errorBoolean Also known as: is_error?

Whether the URL context resulted in an error. Corresponds to the JSON property isError

Returns:

  • (Boolean)


6150
6151
6152
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6150

def is_error
  @is_error
end

#resultArray<Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextResultStepUrlContextResultItem>

Required. The results of the URL context. Corresponds to the JSON property result



6156
6157
6158
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6156

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6163
6164
6165
6166
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6163

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