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.
5432 5433 5434 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 5432 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
5424 5425 5426 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 5424 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
5430 5431 5432 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 5430 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5437 5438 5439 5440 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 5437 def update!(**args) @enrolled_solutions = args[:enrolled_solutions] if args.key?(:enrolled_solutions) @name = args[:name] if args.key?(:name) end |