class Google::Apis::ResellerV1::Seats

JSON template for subscription seats.

Attributes

kind[RW]

Identifies the resource as a subscription change plan request. Corresponds to the JSON property `kind` @return [String]

licensed_number_of_seats[RW]

Read-only field containing the current number of licensed seats for FLEXIBLE Google-Apps subscriptions and secondary subscriptions such as Google-Vault and Drive-storage. Corresponds to the JSON property `licensedNumberOfSeats` @return [Fixnum]

maximum_number_of_seats[RW]

Maximum number of seats that can be purchased. This needs to be provided only for a non-commitment plan. For a commitment plan it is decided by the contract. Corresponds to the JSON property `maximumNumberOfSeats` @return [Fixnum]

number_of_seats[RW]

Number of seats to purchase. This is applicable only for a commitment plan. Corresponds to the JSON property `numberOfSeats` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/reseller_v1/classes.rb, line 259
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/reseller_v1/classes.rb, line 264
def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @licensed_number_of_seats = args[:licensed_number_of_seats] if args.key?(:licensed_number_of_seats)
  @maximum_number_of_seats = args[:maximum_number_of_seats] if args.key?(:maximum_number_of_seats)
  @number_of_seats = args[:number_of_seats] if args.key?(:number_of_seats)
end