Class: Google::Apis::AdminReportsV1::GroupIdentity

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 group who owns the resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GroupIdentity

Returns a new instance of GroupIdentity.



1005
1006
1007
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1005

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

Instance Attribute Details

#group_emailString

Group email. Corresponds to the JSON property groupEmail

Returns:

  • (String)


998
999
1000
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 998

def group_email
  @group_email
end

#idString

Group gaia id. Corresponds to the JSON property id

Returns:

  • (String)


1003
1004
1005
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1003

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1010
1011
1012
1013
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1010

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