class Google::Apis::AppsmarketV2::UserLicense
Attributes
The ID of the application corresponding to the license query. Corresponds to the JSON property `applicationId` @return [String]
The domain name of the user. Corresponds to the JSON property `customerId` @return [String]
(Deprecated) Corresponds to the JSON property `editionId` @return [String]
The domain administrator has activated the application for this domain. Corresponds to the JSON property `enabled` @return [Boolean]
The domain administrator has activated the application for this domain. Corresponds to the JSON property `enabled` @return [Boolean]
The ID of user license. Corresponds to the JSON property `id` @return [String]
The type of API resource. This is always appsmarket#userLicense. Corresponds to the JSON property `kind` @return [String]
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]
The email address of the user. Corresponds to the JSON property `userId` @return [String]
Public Class Methods
# File lib/google/apis/appsmarket_v2/classes.rb, line 377 def initialize(**args) update!(**args) end
Public Instance Methods
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