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.
4554 4555 4556 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4554 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
4547 4548 4549 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4547 def search_response @search_response end |
#u_token ⇒ String
The token in response.
Corresponds to the JSON property uToken
4552 4553 4554 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4552 def u_token @u_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4559 4560 4561 4562 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4559 def update!(**args) @search_response = args[:search_response] if args.key?(:search_response) @u_token = args[:u_token] if args.key?(:u_token) end |