class Google::Apis::LicensingV1::LicenseAssignment
Representation
of a license assignment.
Attributes
Identifies the resource as a LicenseAssignment
, which is `licensing# licenseAssignment`. Corresponds to the JSON property `kind` @return [String]
A product's unique identifier. For more information about products in this version of the API, see Product and SKU IDs. Corresponds to the JSON property `productId` @return [String]
Display Name of the product. Corresponds to the JSON property `productName` @return [String]
Link to this page. Corresponds to the JSON property `selfLink` @return [String]
A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs. Corresponds to the JSON property `skuId` @return [String]
Display Name of the sku of the product. Corresponds to the JSON property `skuName` @return [String]
The user's current primary email address. If the user's email address changes, use the new email address in your API requests. Since a `userId` is subject to change, do not use a `userId` value as a key for persistent data. This key could break if the current user's email address changes. If the `userId` is suspended, the license status changes. Corresponds to the JSON property `userId` @return [String]
Public Class Methods
# File lib/google/apis/licensing_v1/classes.rb, line 93 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/licensing_v1/classes.rb, line 98 def update!(**args) @etags = args[:etags] if args.key?(:etags) @kind = args[:kind] if args.key?(:kind) @product_id = args[:product_id] if args.key?(:product_id) @product_name = args[:product_name] if args.key?(:product_name) @self_link = args[:self_link] if args.key?(:self_link) @sku_id = args[:sku_id] if args.key?(:sku_id) @sku_name = args[:sku_name] if args.key?(:sku_name) @user_id = args[:user_id] if args.key?(:user_id) end