Class: Google::Apis::AppsmarketV2::Provisions

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/appsmarket_v2/classes.rb,
lib/google/apis/appsmarket_v2/representations.rb,
lib/google/apis/appsmarket_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Provisions

Returns a new instance of Provisions.



279
280
281
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 279

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#edition_idString

(Deprecated) Corresponds to the JSON property editionId

Returns:

  • (String)


267
268
269
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 267

def edition_id
  @edition_id
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


272
273
274
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 272

def kind
  @kind
end

#seat_countFixnum

The number of seats that were provisioned. Corresponds to the JSON property seatCount

Returns:

  • (Fixnum)


277
278
279
# File 'lib/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 'lib/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