class Google::Apis::AppsmarketV2::UserLicense

Attributes

application_id[RW]

The ID of the application corresponding to the license query. Corresponds to the JSON property `applicationId` @return [String]

customer_id[RW]

The domain name of the user. Corresponds to the JSON property `customerId` @return [String]

edition_id[RW]

(Deprecated) Corresponds to the JSON property `editionId` @return [String]

enabled[RW]

The domain administrator has activated the application for this domain. Corresponds to the JSON property `enabled` @return [Boolean]

enabled?[RW]

The domain administrator has activated the application for this domain. Corresponds to the JSON property `enabled` @return [Boolean]

id[RW]

The ID of user license. Corresponds to the JSON property `id` @return [String]

kind[RW]

The type of API resource. This is always appsmarket#userLicense. Corresponds to the JSON property `kind` @return [String]

state[RW]

The user's licensing status. One of: - `ACTIVE`: The user has a valid license and should be permitted to use the application. - `UNLICENSED`: The administrator of this user's domain never assigned a seat for the application to this user. - `EXPIRED`: The administrator assigned a seat to this user, but the license is expired. Corresponds to the JSON property `state` @return [String]

user_id[RW]

The email address of the user. Corresponds to the JSON property `userId` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/appsmarket_v2/classes.rb, line 382
def update!(**args)
  @application_id = args[:application_id] if args.key?(:application_id)
  @customer_id = args[:customer_id] if args.key?(:customer_id)
  @edition_id = args[:edition_id] if args.key?(:edition_id)
  @enabled = args[:enabled] if args.key?(:enabled)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @state = args[:state] if args.key?(:state)
  @user_id = args[:user_id] if args.key?(:user_id)
end