Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextResultStep
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextResultStep
- 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
-
#is_error ⇒ Boolean
(also: #is_error?)
Whether the URL context resulted in an error.
-
#result ⇒ Array<Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextResultStepUrlContextResultItem>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1UrlContextResultStep
constructor
A new instance of GenaiVertexV1beta1UrlContextResultStep.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1UrlContextResultStep
Returns a new instance of GenaiVertexV1beta1UrlContextResultStep.
5593 5594 5595 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5593 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_error ⇒ Boolean Also known as: is_error?
Whether the URL context resulted in an error.
Corresponds to the JSON property is_error
5585 5586 5587 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5585 def is_error @is_error end |
#result ⇒ Array<Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextResultStepUrlContextResultItem>
Required. The results of the URL context.
Corresponds to the JSON property result
5591 5592 5593 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5591 def result @result end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5598 5599 5600 5601 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5598 def update!(**args) @is_error = args[:is_error] if args.key?(:is_error) @result = args[:result] if args.key?(:result) end |