class Google::Apis::AdminReportsV1::UsageReport::Entity

Output only. Information about the type of the item.

Attributes

customer_id[RW]

Output only. The unique identifier of the customer's account. Corresponds to the JSON property `customerId` @return [String]

entity_id[RW]

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` @return [String]

profile_id[RW]

Output only. The user's immutable Google Workspace profile identifier. Corresponds to the JSON property `profileId` @return [String]

type[RW]

Output only. The type of item. The value is `user`. Corresponds to the JSON property `type` @return [String]

user_email[RW]

Output only. The user's email address. Only relevant if entity.type = “USER” Corresponds to the JSON property `userEmail` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/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