Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProject
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProject
- 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
Metadata that describes a Cloud Retail Project.
Instance Attribute Summary collapse
-
#enrolled_solutions ⇒ Array<String>
Output only.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2alphaProject
constructor
A new instance of GoogleCloudRetailV2alphaProject.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2alphaProject
Returns a new instance of GoogleCloudRetailV2alphaProject.
5418 5419 5420 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 5418 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enrolled_solutions ⇒ Array<String>
Output only. Retail API solutions that the project has enrolled.
Corresponds to the JSON property enrolledSolutions
5410 5411 5412 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 5410 def enrolled_solutions @enrolled_solutions end |
#name ⇒ String
Output only. Full resource name of the retail project, such as projects/
project_id_or_number/retailProject
.
Corresponds to the JSON property name
5416 5417 5418 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 5416 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5423 5424 5425 5426 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 5423 def update!(**args) @enrolled_solutions = args[:enrolled_solutions] if args.key?(:enrolled_solutions) @name = args[:name] if args.key?(:name) end |