Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultDelta
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultDelta
- 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
Instance Attribute Summary collapse
-
#is_error ⇒ Boolean
(also: #is_error?)
Corresponds to the JSON property
is_error. -
#result ⇒ Array<Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultContentGoogleSearchResult>
Corresponds to the JSON property
result.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1GoogleSearchResultDelta
constructor
A new instance of GenaiVertexV1beta1GoogleSearchResultDelta.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1GoogleSearchResultDelta
Returns a new instance of GenaiVertexV1beta1GoogleSearchResultDelta.
3033 3034 3035 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3033 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_error ⇒ Boolean Also known as: is_error?
Corresponds to the JSON property is_error
3025 3026 3027 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3025 def is_error @is_error end |
#result ⇒ Array<Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultContentGoogleSearchResult>
Corresponds to the JSON property result
3031 3032 3033 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3031 def result @result end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3038 3039 3040 3041 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3038 def update!(**args) @is_error = args[:is_error] if args.key?(:is_error) @result = args[:result] if args.key?(:result) end |