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.
227 228 229 |
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 227 def initialize(**args) update!(**args) end |
Instance Attribute Details
#project ⇒ String
A project name with format projects/.
Corresponds to the JSON property project
225 226 227 |
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 225 def project @project end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
232 233 234 |
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 232 def update!(**args) @project = args[:project] if args.key?(:project) end |