Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultDelta

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1GoogleSearchResultDelta

Returns a new instance of GenaiVertexV1beta1GoogleSearchResultDelta.



3279
3280
3281
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3279

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

Instance Attribute Details

#is_errorBoolean Also known as: is_error?

Corresponds to the JSON property isError

Returns:

  • (Boolean)


3271
3272
3273
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3271

def is_error
  @is_error
end

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

Corresponds to the JSON property result



3277
3278
3279
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3277

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3284
3285
3286
3287
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3284

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