Class: Google::Apis::AppsmarketV2::CustomerLicense
- Inherits:
-
Object
- Object
- Google::Apis::AppsmarketV2::CustomerLicense
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appsmarket_v2/classes.rb,
generated/google/apis/appsmarket_v2/representations.rb,
generated/google/apis/appsmarket_v2/representations.rb
Defined Under Namespace
Classes: Edition
Instance Attribute Summary collapse
-
#application_id ⇒ String
The ID of the application corresponding to this license query.
-
#customer_id ⇒ String
The domain name of the customer.
-
#editions ⇒ Array<Google::Apis::AppsmarketV2::CustomerLicense::Edition>
(Deprecated) Corresponds to the JSON property
editions
. -
#id ⇒ String
The ID of the customer license.
-
#kind ⇒ String
The type of API resource.
-
#state ⇒ String
The customer's license status.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomerLicense
constructor
A new instance of CustomerLicense.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CustomerLicense
Returns a new instance of CustomerLicense
59 60 61 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 59 def initialize(**args) update!(**args) end |
Instance Attribute Details
#application_id ⇒ String
The ID of the application corresponding to this license query.
Corresponds to the JSON property applicationId
32 33 34 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 32 def application_id @application_id end |
#customer_id ⇒ String
The domain name of the customer.
Corresponds to the JSON property customerId
37 38 39 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 37 def customer_id @customer_id end |
#editions ⇒ Array<Google::Apis::AppsmarketV2::CustomerLicense::Edition>
(Deprecated)
Corresponds to the JSON property editions
42 43 44 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 42 def editions @editions end |
#id ⇒ String
The ID of the customer license.
Corresponds to the JSON property id
47 48 49 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 47 def id @id end |
#kind ⇒ String
The type of API resource. This is always appsmarket#customerLicense.
Corresponds to the JSON property kind
52 53 54 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 52 def kind @kind end |
#state ⇒ String
The customer's license status.
Corresponds to the JSON property state
57 58 59 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 57 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
64 65 66 67 68 69 70 71 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 64 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 |