Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaEnrollSolutionResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/retail_v2beta/classes.rb,
lib/google/apis/retail_v2beta/representations.rb,
lib/google/apis/retail_v2beta/representations.rb

Overview

Response for EnrollSolution method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2alphaEnrollSolutionResponse

Returns a new instance of GoogleCloudRetailV2alphaEnrollSolutionResponse.



1171
1172
1173
# File 'lib/google/apis/retail_v2beta/classes.rb', line 1171

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

Instance Attribute Details

#enrolled_solutionString

Retail API solution that the project has enrolled. Corresponds to the JSON property enrolledSolution

Returns:

  • (String)


1164
1165
1166
# File 'lib/google/apis/retail_v2beta/classes.rb', line 1164

def enrolled_solution
  @enrolled_solution
end

#search_solution_use_caseString

Search solution use case that the project has enrolled. Corresponds to the JSON property searchSolutionUseCase

Returns:

  • (String)


1169
1170
1171
# File 'lib/google/apis/retail_v2beta/classes.rb', line 1169

def search_solution_use_case
  @search_solution_use_case
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1176
1177
1178
1179
# File 'lib/google/apis/retail_v2beta/classes.rb', line 1176

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