Class: Google::Apis::AdminReportsV1::CustomerIdentity

Inherits:
Object
  • Object
show all
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 Google Workspace customer who owns the resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomerIdentity

Returns a new instance of CustomerIdentity.



727
728
729
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 727

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#idString

Customer id. Corresponds to the JSON property id

Returns:

  • (String)


725
726
727
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 725

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



732
733
734
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 732

def update!(**args)
  @id = args[:id] if args.key?(:id)
end