@@ -603,6 +603,25 @@ def update!(**args)
603603 end
604604 end
605605
606+ # Identity of the Google Workspace customer who owns the resource.
607+ class CustomerIdentity
608+ include Google ::Apis ::Core ::Hashable
609+
610+ # Customer id.
611+ # Corresponds to the JSON property `id`
612+ # @return [String]
613+ attr_accessor :id
614+
615+ def initialize ( **args )
616+ update! ( **args )
617+ end
618+
619+ # Update properties of this object
620+ def update! ( **args )
621+ @id = args [ :id ] if args . key? ( :id )
622+ end
623+ end
624+
606625 # Represents a whole or partial calendar date, such as a birthday. The time of
607626 # day and time zone are either specified elsewhere or are insignificant. The
608627 # date is relative to the Gregorian Calendar. This can represent one of the
@@ -857,6 +876,31 @@ def update!(**args)
857876 end
858877 end
859878
879+ # Identity of the group who owns the resource.
880+ class GroupIdentity
881+ include Google ::Apis ::Core ::Hashable
882+
883+ # Group email.
884+ # Corresponds to the JSON property `groupEmail`
885+ # @return [String]
886+ attr_accessor :group_email
887+
888+ # Group gaia id.
889+ # Corresponds to the JSON property `id`
890+ # @return [String]
891+ attr_accessor :id
892+
893+ def initialize ( **args )
894+ update! ( **args )
895+ end
896+
897+ # Update properties of this object
898+ def update! ( **args )
899+ @group_email = args [ :group_email ] if args . key? ( :group_email )
900+ @id = args [ :id ] if args . key? ( :id )
901+ end
902+ end
903+
860904 # JSON template for a parameter used in various reports.
861905 class NestedParameter
862906 include Google ::Apis ::Core ::Hashable
@@ -913,6 +957,62 @@ def update!(**args)
913957 end
914958 end
915959
960+ # Details of the owner of the resource.
961+ class OwnerDetails
962+ include Google ::Apis ::Core ::Hashable
963+
964+ # Identity details of the owner(s) of the resource.
965+ # Corresponds to the JSON property `ownerIdentity`
966+ # @return [Array<Google::Apis::AdminReportsV1::OwnerIdentity>]
967+ attr_accessor :owner_identity
968+
969+ # Type of the owner of the resource.
970+ # Corresponds to the JSON property `ownerType`
971+ # @return [String]
972+ attr_accessor :owner_type
973+
974+ def initialize ( **args )
975+ update! ( **args )
976+ end
977+
978+ # Update properties of this object
979+ def update! ( **args )
980+ @owner_identity = args [ :owner_identity ] if args . key? ( :owner_identity )
981+ @owner_type = args [ :owner_type ] if args . key? ( :owner_type )
982+ end
983+ end
984+
985+ # Identity details of the owner of the resource.
986+ class OwnerIdentity
987+ include Google ::Apis ::Core ::Hashable
988+
989+ # Identity of the Google Workspace customer who owns the resource.
990+ # Corresponds to the JSON property `customerIdentity`
991+ # @return [Google::Apis::AdminReportsV1::CustomerIdentity]
992+ attr_accessor :customer_identity
993+
994+ # Identity of the group who owns the resource.
995+ # Corresponds to the JSON property `groupIdentity`
996+ # @return [Google::Apis::AdminReportsV1::GroupIdentity]
997+ attr_accessor :group_identity
998+
999+ # Identity of the user who owns the resource.
1000+ # Corresponds to the JSON property `userIdentity`
1001+ # @return [Google::Apis::AdminReportsV1::UserIdentity]
1002+ attr_accessor :user_identity
1003+
1004+ def initialize ( **args )
1005+ update! ( **args )
1006+ end
1007+
1008+ # Update properties of this object
1009+ def update! ( **args )
1010+ @customer_identity = args [ :customer_identity ] if args . key? ( :customer_identity )
1011+ @group_identity = args [ :group_identity ] if args . key? ( :group_identity )
1012+ @user_identity = args [ :user_identity ] if args . key? ( :user_identity )
1013+ end
1014+ end
1015+
9161016 # The reason why the label/field was applied.
9171017 class Reason
9181018 include Google ::Apis ::Core ::Hashable
@@ -941,11 +1041,18 @@ class ResourceDetails
9411041 # @return [Array<Google::Apis::AdminReportsV1::AppliedLabel>]
9421042 attr_accessor :applied_labels
9431043
944- # Identifier of the resource.
1044+ # Identifier of the resource, such as a doc_id for a Drive document, a
1045+ # conference_id for a Meet conference, or a "gaia_id/rfc2822_message_id" for an
1046+ # email.
9451047 # Corresponds to the JSON property `id`
9461048 # @return [String]
9471049 attr_accessor :id
9481050
1051+ # Details of the owner of the resource.
1052+ # Corresponds to the JSON property `ownerDetails`
1053+ # @return [Google::Apis::AdminReportsV1::OwnerDetails]
1054+ attr_accessor :owner_details
1055+
9491056 # Defines relationship of the resource to the events
9501057 # Corresponds to the JSON property `relation`
9511058 # @return [String]
@@ -970,6 +1077,7 @@ def initialize(**args)
9701077 def update! ( **args )
9711078 @applied_labels = args [ :applied_labels ] if args . key? ( :applied_labels )
9721079 @id = args [ :id ] if args . key? ( :id )
1080+ @owner_details = args [ :owner_details ] if args . key? ( :owner_details )
9731081 @relation = args [ :relation ] if args . key? ( :relation )
9741082 @title = args [ :title ] if args . key? ( :title )
9751083 @type = args [ :type ] if args . key? ( :type )
@@ -1227,6 +1335,31 @@ def update!(**args)
12271335 end
12281336 end
12291337 end
1338+
1339+ # Identity of the user who owns the resource.
1340+ class UserIdentity
1341+ include Google ::Apis ::Core ::Hashable
1342+
1343+ # User gaia id.
1344+ # Corresponds to the JSON property `id`
1345+ # @return [String]
1346+ attr_accessor :id
1347+
1348+ # User email.
1349+ # Corresponds to the JSON property `userEmail`
1350+ # @return [String]
1351+ attr_accessor :user_email
1352+
1353+ def initialize ( **args )
1354+ update! ( **args )
1355+ end
1356+
1357+ # Update properties of this object
1358+ def update! ( **args )
1359+ @id = args [ :id ] if args . key? ( :id )
1360+ @user_email = args [ :user_email ] if args . key? ( :user_email )
1361+ end
1362+ end
12301363 end
12311364 end
12321365end
0 commit comments