Class: Google::Apis::AdminReportsV1::UserIdentity
- Inherits:
-
Object
- Object
- Google::Apis::AdminReportsV1::UserIdentity
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admin_reports_v1/classes.rb,
lib/google/apis/admin_reports_v1/representations.rb,
lib/google/apis/admin_reports_v1/representations.rb
Overview
Identity of the user who owns the resource.
Instance Attribute Summary collapse
-
#id ⇒ String
User gaia id.
-
#user_email ⇒ String
User email.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UserIdentity
constructor
A new instance of UserIdentity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UserIdentity
Returns a new instance of UserIdentity.
1465 1466 1467 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1465 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
User gaia id.
Corresponds to the JSON property id
1458 1459 1460 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1458 def id @id end |
#user_email ⇒ String
User email.
Corresponds to the JSON property userEmail
1463 1464 1465 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1463 def user_email @user_email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1470 1471 1472 1473 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1470 def update!(**args) @id = args[:id] if args.key?(:id) @user_email = args[:user_email] if args.key?(:user_email) end |