Class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaEnrollSolutionResponse
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2::GoogleCloudRetailV2alphaEnrollSolutionResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2/classes.rb,
lib/google/apis/retail_v2/representations.rb,
lib/google/apis/retail_v2/representations.rb
Overview
Response for EnrollSolution method.
Instance Attribute Summary collapse
-
#enrolled_solution ⇒ String
Retail API solution that the project has enrolled.
-
#search_solution_use_case ⇒ String
Search solution use case that the project has enrolled.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2alphaEnrollSolutionResponse
constructor
A new instance of GoogleCloudRetailV2alphaEnrollSolutionResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2alphaEnrollSolutionResponse
Returns a new instance of GoogleCloudRetailV2alphaEnrollSolutionResponse.
5596 5597 5598 |
# File 'lib/google/apis/retail_v2/classes.rb', line 5596 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enrolled_solution ⇒ String
Retail API solution that the project has enrolled.
Corresponds to the JSON property enrolledSolution
5589 5590 5591 |
# File 'lib/google/apis/retail_v2/classes.rb', line 5589 def enrolled_solution @enrolled_solution end |
#search_solution_use_case ⇒ String
Search solution use case that the project has enrolled.
Corresponds to the JSON property searchSolutionUseCase
5594 5595 5596 |
# File 'lib/google/apis/retail_v2/classes.rb', line 5594 def search_solution_use_case @search_solution_use_case end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5601 5602 5603 5604 |
# File 'lib/google/apis/retail_v2/classes.rb', line 5601 def update!(**args) @enrolled_solution = args[:enrolled_solution] if args.key?(:enrolled_solution) @search_solution_use_case = args[:search_solution_use_case] if args.key?(:search_solution_use_case) end |