Class: Google::Apis::LicensingV1::LicenseAssignmentInsert
- Inherits:
-
Object
- Object
- Google::Apis::LicensingV1::LicenseAssignmentInsert
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/licensing_v1/classes.rb,
generated/google/apis/licensing_v1/representations.rb,
generated/google/apis/licensing_v1/representations.rb
Overview
Template for LicenseAssignment Insert request
Instance Attribute Summary collapse
-
#user_id ⇒ String
Email id of the user Corresponds to the JSON property
userId
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LicenseAssignmentInsert
constructor
A new instance of LicenseAssignmentInsert.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LicenseAssignmentInsert
Returns a new instance of LicenseAssignmentInsert
95 96 97 |
# File 'generated/google/apis/licensing_v1/classes.rb', line 95 def initialize(**args) update!(**args) end |
Instance Attribute Details
#user_id ⇒ String
Email id of the user
Corresponds to the JSON property userId
93 94 95 |
# File 'generated/google/apis/licensing_v1/classes.rb', line 93 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
100 101 102 |
# File 'generated/google/apis/licensing_v1/classes.rb', line 100 def update!(**args) @user_id = args[:user_id] if args.key?(:user_id) end |