Class: Google::Apis::AppsmarketV2::Provisions
- Inherits:
-
Object
- Object
- Google::Apis::AppsmarketV2::Provisions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appsmarket_v2/classes.rb,
generated/google/apis/appsmarket_v2/representations.rb,
generated/google/apis/appsmarket_v2/representations.rb
Instance Attribute Summary collapse
-
#edition_id ⇒ String
(Deprecated) Corresponds to the JSON property
editionId
. -
#kind ⇒ String
Corresponds to the JSON property
kind
. -
#seat_count ⇒ Fixnum
The number of seats that were provisioned.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Provisions
constructor
A new instance of Provisions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Provisions
Returns a new instance of Provisions.
279 280 281 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 279 def initialize(**args) update!(**args) end |
Instance Attribute Details
#edition_id ⇒ String
(Deprecated)
Corresponds to the JSON property editionId
267 268 269 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 267 def edition_id @edition_id end |
#kind ⇒ String
Corresponds to the JSON property kind
272 273 274 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 272 def kind @kind end |
#seat_count ⇒ Fixnum
The number of seats that were provisioned.
Corresponds to the JSON property seatCount
277 278 279 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 277 def seat_count @seat_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
284 285 286 287 288 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 284 def update!(**args) @edition_id = args[:edition_id] if args.key?(:edition_id) @kind = args[:kind] if args.key?(:kind) @seat_count = args[:seat_count] if args.key?(:seat_count) end |