Class: Google::Apis::AdminReportsV1::UsageReport::Entity
- Inherits:
-
Object
- Object
- Google::Apis::AdminReportsV1::UsageReport::Entity
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/admin_reports_v1/classes.rb,
generated/google/apis/admin_reports_v1/representations.rb,
generated/google/apis/admin_reports_v1/representations.rb
Overview
Output only. Information about the type of the item.
Instance Attribute Summary collapse
-
#customer_id ⇒ String
Output only.
-
#entity_id ⇒ String
Output only.
-
#profile_id ⇒ String
Output only.
-
#type ⇒ String
Output only.
-
#user_email ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Entity
constructor
A new instance of Entity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Entity
Returns a new instance of Entity.
564 565 566 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 564 def initialize(**args) update!(**args) end |
Instance Attribute Details
#customer_id ⇒ String
Output only. The unique identifier of the customer's account.
Corresponds to the JSON property customerId
541 542 543 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 541 def customer_id @customer_id end |
#entity_id ⇒ String
Output only. Object key. Only relevant if entity.type = "OBJECT" Note:
external-facing name of report is "Entities" rather than "Objects".
Corresponds to the JSON property entityId
547 548 549 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 547 def entity_id @entity_id end |
#profile_id ⇒ String
Output only. The user's immutable G Suite profile identifier.
Corresponds to the JSON property profileId
552 553 554 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 552 def profile_id @profile_id end |
#type ⇒ String
Output only. The type of item. The value is user
.
Corresponds to the JSON property type
557 558 559 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 557 def type @type end |
#user_email ⇒ String
Output only. The user's email address. Only relevant if entity.type = "USER"
Corresponds to the JSON property userEmail
562 563 564 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 562 def user_email @user_email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
569 570 571 572 573 574 575 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 569 def update!(**args) @customer_id = args[:customer_id] if args.key?(:customer_id) @entity_id = args[:entity_id] if args.key?(:entity_id) @profile_id = args[:profile_id] if args.key?(:profile_id) @type = args[:type] if args.key?(:type) @user_email = args[:user_email] if args.key?(:user_email) end |