Skip to content

Commit c22e7a1

Browse files
feat: Automated regeneration of admin reports_v1 client (googleapis#25971)
Auto-created at 2026-03-15 11:10:04 +0000 using the toys pull request generator.
1 parent fe05369 commit c22e7a1

File tree

5 files changed

+233
-3
lines changed

5 files changed

+233
-3
lines changed

api_names_out.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5001,6 +5001,8 @@
50015001
"/admin:reports_v1/Channel/resourceUri": resource_uri
50025002
"/admin:reports_v1/Channel/token": token
50035003
"/admin:reports_v1/Channel/type": type
5004+
"/admin:reports_v1/CustomerIdentity": customer_identity
5005+
"/admin:reports_v1/CustomerIdentity/id": id
50045006
"/admin:reports_v1/Date": date
50055007
"/admin:reports_v1/Date/day": day
50065008
"/admin:reports_v1/Date/month": month
@@ -5035,6 +5037,9 @@
50355037
"/admin:reports_v1/FieldValueUserListValue/values/value": value
50365038
"/admin:reports_v1/FieldValueUserValue": field_value_user_value
50375039
"/admin:reports_v1/FieldValueUserValue/email": email
5040+
"/admin:reports_v1/GroupIdentity": group_identity
5041+
"/admin:reports_v1/GroupIdentity/groupEmail": group_email
5042+
"/admin:reports_v1/GroupIdentity/id": id
50385043
"/admin:reports_v1/NestedParameter": nested_parameter
50395044
"/admin:reports_v1/NestedParameter/boolValue": bool_value
50405045
"/admin:reports_v1/NestedParameter/intValue": int_value
@@ -5046,13 +5051,22 @@
50465051
"/admin:reports_v1/NestedParameter/multiValue/multi_value": multi_value
50475052
"/admin:reports_v1/NestedParameter/name": name
50485053
"/admin:reports_v1/NestedParameter/value": value
5054+
"/admin:reports_v1/OwnerDetails": owner_details
5055+
"/admin:reports_v1/OwnerDetails/ownerIdentity": owner_identity
5056+
"/admin:reports_v1/OwnerDetails/ownerIdentity/owner_identity": owner_identity
5057+
"/admin:reports_v1/OwnerDetails/ownerType": owner_type
5058+
"/admin:reports_v1/OwnerIdentity": owner_identity
5059+
"/admin:reports_v1/OwnerIdentity/customerIdentity": customer_identity
5060+
"/admin:reports_v1/OwnerIdentity/groupIdentity": group_identity
5061+
"/admin:reports_v1/OwnerIdentity/userIdentity": user_identity
50495062
"/admin:reports_v1/Reason": reason
50505063
"/admin:reports_v1/Reason/reasonType": reason_type
50515064
"/admin:reports_v1/ResourceDetails": resource_details
50525065
"/admin:reports_v1/ResourceDetails/applicationId": application_id
50535066
"/admin:reports_v1/ResourceDetails/appliedLabels": applied_labels
50545067
"/admin:reports_v1/ResourceDetails/appliedLabels/applied_label": applied_label
50555068
"/admin:reports_v1/ResourceDetails/id": id
5069+
"/admin:reports_v1/ResourceDetails/ownerDetails": owner_details
50565070
"/admin:reports_v1/ResourceDetails/ownerEmail": owner_email
50575071
"/admin:reports_v1/ResourceDetails/relation": relation
50585072
"/admin:reports_v1/ResourceDetails/title": title
@@ -5091,6 +5105,9 @@
50915105
"/admin:reports_v1/UsageReports/warnings/warning/data/datum/key": key
50925106
"/admin:reports_v1/UsageReports/warnings/warning/data/datum/value": value
50935107
"/admin:reports_v1/UsageReports/warnings/warning/message": message
5108+
"/admin:reports_v1/UserIdentity": user_identity
5109+
"/admin:reports_v1/UserIdentity/id": id
5110+
"/admin:reports_v1/UserIdentity/userEmail": user_email
50945111
"/admin:reports_v1/admin.channels.stop": stop_channel
50955112
"/admin:reports_v1/fields": fields
50965113
"/admin:reports_v1/key": key

generated/google-apis-admin_reports_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-admin_reports_v1
22

3+
### v0.34.0 (2026-03-15)
4+
5+
* Regenerated from discovery document revision 20260311
6+
37
### v0.33.0 (2026-03-08)
48

59
* Regenerated from discovery document revision 20260223

generated/google-apis-admin_reports_v1/lib/google/apis/admin_reports_v1/classes.rb

Lines changed: 134 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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
12321365
end

generated/google-apis-admin_reports_v1/lib/google/apis/admin_reports_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module AdminReportsV1
1818
# Version of the google-apis-admin_reports_v1 gem
19-
GEM_VERSION = "0.33.0"
19+
GEM_VERSION = "0.34.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260223"
25+
REVISION = "20260311"
2626
end
2727
end
2828
end

generated/google-apis-admin_reports_v1/lib/google/apis/admin_reports_v1/representations.rb

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
100100
include Google::Apis::Core::JsonObjectSupport
101101
end
102102

103+
class CustomerIdentity
104+
class Representation < Google::Apis::Core::JsonRepresentation; end
105+
106+
include Google::Apis::Core::JsonObjectSupport
107+
end
108+
103109
class Date
104110
class Representation < Google::Apis::Core::JsonRepresentation; end
105111

@@ -142,12 +148,30 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
142148
include Google::Apis::Core::JsonObjectSupport
143149
end
144150

151+
class GroupIdentity
152+
class Representation < Google::Apis::Core::JsonRepresentation; end
153+
154+
include Google::Apis::Core::JsonObjectSupport
155+
end
156+
145157
class NestedParameter
146158
class Representation < Google::Apis::Core::JsonRepresentation; end
147159

148160
include Google::Apis::Core::JsonObjectSupport
149161
end
150162

163+
class OwnerDetails
164+
class Representation < Google::Apis::Core::JsonRepresentation; end
165+
166+
include Google::Apis::Core::JsonObjectSupport
167+
end
168+
169+
class OwnerIdentity
170+
class Representation < Google::Apis::Core::JsonRepresentation; end
171+
172+
include Google::Apis::Core::JsonObjectSupport
173+
end
174+
151175
class Reason
152176
class Representation < Google::Apis::Core::JsonRepresentation; end
153177

@@ -196,6 +220,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
196220
include Google::Apis::Core::JsonObjectSupport
197221
end
198222

223+
class UserIdentity
224+
class Representation < Google::Apis::Core::JsonRepresentation; end
225+
226+
include Google::Apis::Core::JsonObjectSupport
227+
end
228+
199229
class Activities
200230
# @private
201231
class Representation < Google::Apis::Core::JsonRepresentation
@@ -351,6 +381,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
351381
end
352382
end
353383

384+
class CustomerIdentity
385+
# @private
386+
class Representation < Google::Apis::Core::JsonRepresentation
387+
property :id, as: 'id'
388+
end
389+
end
390+
354391
class Date
355392
# @private
356393
class Representation < Google::Apis::Core::JsonRepresentation
@@ -426,6 +463,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
426463
end
427464
end
428465

466+
class GroupIdentity
467+
# @private
468+
class Representation < Google::Apis::Core::JsonRepresentation
469+
property :group_email, as: 'groupEmail'
470+
property :id, as: 'id'
471+
end
472+
end
473+
429474
class NestedParameter
430475
# @private
431476
class Representation < Google::Apis::Core::JsonRepresentation
@@ -439,6 +484,27 @@ class Representation < Google::Apis::Core::JsonRepresentation
439484
end
440485
end
441486

487+
class OwnerDetails
488+
# @private
489+
class Representation < Google::Apis::Core::JsonRepresentation
490+
collection :owner_identity, as: 'ownerIdentity', class: Google::Apis::AdminReportsV1::OwnerIdentity, decorator: Google::Apis::AdminReportsV1::OwnerIdentity::Representation
491+
492+
property :owner_type, as: 'ownerType'
493+
end
494+
end
495+
496+
class OwnerIdentity
497+
# @private
498+
class Representation < Google::Apis::Core::JsonRepresentation
499+
property :customer_identity, as: 'customerIdentity', class: Google::Apis::AdminReportsV1::CustomerIdentity, decorator: Google::Apis::AdminReportsV1::CustomerIdentity::Representation
500+
501+
property :group_identity, as: 'groupIdentity', class: Google::Apis::AdminReportsV1::GroupIdentity, decorator: Google::Apis::AdminReportsV1::GroupIdentity::Representation
502+
503+
property :user_identity, as: 'userIdentity', class: Google::Apis::AdminReportsV1::UserIdentity, decorator: Google::Apis::AdminReportsV1::UserIdentity::Representation
504+
505+
end
506+
end
507+
442508
class Reason
443509
# @private
444510
class Representation < Google::Apis::Core::JsonRepresentation
@@ -452,6 +518,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
452518
collection :applied_labels, as: 'appliedLabels', class: Google::Apis::AdminReportsV1::AppliedLabel, decorator: Google::Apis::AdminReportsV1::AppliedLabel::Representation
453519

454520
property :id, as: 'id'
521+
property :owner_details, as: 'ownerDetails', class: Google::Apis::AdminReportsV1::OwnerDetails, decorator: Google::Apis::AdminReportsV1::OwnerDetails::Representation
522+
455523
property :relation, as: 'relation'
456524
property :title, as: 'title'
457525
property :type, as: 'type'
@@ -525,6 +593,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
525593
end
526594
end
527595
end
596+
597+
class UserIdentity
598+
# @private
599+
class Representation < Google::Apis::Core::JsonRepresentation
600+
property :id, as: 'id'
601+
property :user_email, as: 'userEmail'
602+
end
603+
end
528604
end
529605
end
530606
end

0 commit comments

Comments
 (0)