Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaEnrollSolutionRequest

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

Overview

Request for EnrollSolution method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2alphaEnrollSolutionRequest

Returns a new instance of GoogleCloudRetailV2alphaEnrollSolutionRequest.



2842
2843
2844
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 2842

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

Instance Attribute Details

#solutionString

Required. Solution to enroll. Corresponds to the JSON property solution

Returns:

  • (String)


2840
2841
2842
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 2840

def solution
  @solution
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2847
2848
2849
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 2847

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