Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultStepGoogleSearchResultItem

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

The result of the Google Search.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1GoogleSearchResultStepGoogleSearchResultItem

Returns a new instance of GenaiVertexV1beta1GoogleSearchResultStepGoogleSearchResultItem.



3209
3210
3211
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3209

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

Instance Attribute Details

#search_suggestionsString

Web content snippet that can be embedded in a web page or an app webview. Corresponds to the JSON property searchSuggestions

Returns:

  • (String)


3207
3208
3209
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3207

def search_suggestions
  @search_suggestions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3214
3215
3216
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3214

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