class Google::Apis::AppsmarketV2::CustomerLicense
Attributes
The ID of the application corresponding to this license query. Corresponds to the JSON property `applicationId` @return [String]
The domain name of the customer. Corresponds to the JSON property `customerId` @return [String]
(Deprecated) Corresponds to the JSON property `editions` @return [Array<Google::Apis::AppsmarketV2::Editions>]
The ID of the customer license. Corresponds to the JSON property `id` @return [String]
The type of API resource. This is always appsmarket#customerLicense. Corresponds to the JSON property `kind` @return [String]
The customer's license status. One of: - `ACTIVE`: The customer has a valid license. - `UNLICENSED`: There is no license: either this customer has never installed your application, or else has deleted it. Corresponds to the JSON property `state` @return [String]
Public Class Methods
# File lib/google/apis/appsmarket_v2/classes.rb, line 61 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/appsmarket_v2/classes.rb, line 66 def update!(**args) @application_id = args[:application_id] if args.key?(:application_id) @customer_id = args[:customer_id] if args.key?(:customer_id) @editions = args[:editions] if args.key?(:editions) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @state = args[:state] if args.key?(:state) end