Class: Google::Apis::CloudcommerceprocurementV1::Consumer
- Inherits:
-
Object
- Object
- Google::Apis::CloudcommerceprocurementV1::Consumer
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudcommerceprocurement_v1/classes.rb,
lib/google/apis/cloudcommerceprocurement_v1/representations.rb,
lib/google/apis/cloudcommerceprocurement_v1/representations.rb
Overview
A resource using (consuming) this entitlement.
Instance Attribute Summary collapse
-
#project ⇒ String
A project name with format
projects/
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Consumer
constructor
A new instance of Consumer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Consumer
Returns a new instance of Consumer.
209 210 211 |
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 209 def initialize(**args) update!(**args) end |
Instance Attribute Details
#project ⇒ String
A project name with format projects/
.
Corresponds to the JSON property project
207 208 209 |
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 207 def project @project end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
214 215 216 |
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 214 def update!(**args) @project = args[:project] if args.key?(:project) end |