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.



1111
1112
1113
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1111

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

Instance Attribute Details

#group_emailString

Group email. Corresponds to the JSON property groupEmail

Returns:

  • (String)


1104
1105
1106
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1104

def group_email
  @group_email
end

#idString

Group gaia id. Corresponds to the JSON property id

Returns:

  • (String)


1109
1110
1111
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1109

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1116
1117
1118
1119
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1116

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