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.



1318
1319
1320
# File 'lib/google/apis/retail_v2beta/classes.rb', line 1318

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)


1316
1317
1318
# File 'lib/google/apis/retail_v2beta/classes.rb', line 1316

def enrolled_solution
  @enrolled_solution
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1323
1324
1325
# File 'lib/google/apis/retail_v2beta/classes.rb', line 1323

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