Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetSearchResponse
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetSearchResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Response message for WidgetService.WidgetSearch method.
Instance Attribute Summary collapse
-
#search_response ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponse
Response message for SearchService.Search method.
-
#u_token ⇒ String
The token in response.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaWidgetSearchResponse
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaWidgetSearchResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaWidgetSearchResponse
Returns a new instance of GoogleCloudDiscoveryengineV1alphaWidgetSearchResponse.
7613 7614 7615 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7613 def initialize(**args) update!(**args) end |
Instance Attribute Details
#search_response ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponse
Response message for SearchService.Search method.
Corresponds to the JSON property searchResponse
7606 7607 7608 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7606 def search_response @search_response end |
#u_token ⇒ String
The token in response.
Corresponds to the JSON property uToken
7611 7612 7613 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7611 def u_token @u_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7618 7619 7620 7621 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7618 def update!(**args) @search_response = args[:search_response] if args.key?(:search_response) @u_token = args[:u_token] if args.key?(:u_token) end |