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.



2905
2906
2907
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 2905

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

Instance Attribute Details

#solutionString

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

Returns:

  • (String)


2903
2904
2905
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 2903

def solution
  @solution
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2910
2911
2912
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 2910

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