class Google::Apis::LicensingV1::LicenseAssignment

Template for LiscenseAssignment Resource

Attributes

etags[RW]

ETag of the resource. Corresponds to the JSON property `etags` @return [String]

kind[RW]

Identifies the resource as a LicenseAssignment. Corresponds to the JSON property `kind` @return [String]

product_id[RW]

Name of the product. Corresponds to the JSON property `productId` @return [String]

sku_id[RW]

Name of the sku of the product. Corresponds to the JSON property `skuId` @return [String]

user_id[RW]

Email id of the user. Corresponds to the JSON property `userId` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/licensing_v1/classes.rb, line 64
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)
  @self_link = args[:self_link] if args.key?(:self_link)
  @sku_id = args[:sku_id] if args.key?(:sku_id)
  @user_id = args[:user_id] if args.key?(:user_id)
end