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.



3034
3035
3036
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3034

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)


3032
3033
3034
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3032

def search_suggestions
  @search_suggestions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3039
3040
3041
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3039

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