google-apis-admin_reports_v1 0.27.0 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dd19acfb2fe858580bebac811c1242dad4a8b45be8e3ce66ecff022307edddb9
4
- data.tar.gz: 636530016637cf251da98bbef4d146dc486f5632f412bf088a7fc2ec34457ed8
3
+ metadata.gz: a7342d72cb1ef84e4b9958f10cba1ef19bfe5b26ab3c3e2682988e055fc99376
4
+ data.tar.gz: 45255e91455a65af0f66a6b39b4c97893993d4dd9c269c392eefb22228b4dd70
5
5
  SHA512:
6
- metadata.gz: c60c7410ccc1fe575831fa4d5a0c4219c08d595323f2d3a3a6555c7ede3f93eff03c8d479afd611d62880787969d721799c88271c1ab61bc02289b9b1bd96419
7
- data.tar.gz: d2718d09f84c243d41fe705e729637493a2b7117bec315e9d35caaa56828d74038571881e929cefd0a12cc238c0631b46766d6730d82eb3e52c8ec95cdb00c3c
6
+ metadata.gz: 88feca9c7c2ff6a763e34a3f18d728d4d13255c3408f0be6628d973fef2dc775baf6c37f91d2a3da7076b346db7df1ad4f06cadb0e92b8e981515b498abee1c8
7
+ data.tar.gz: 116bf79fa709d765ce9089589ba0726651df567aed48b2e38e758e2f81fc3bbcc6ab9e4e126bacbeb02b688ab29092e658d031b07e8298b41445a9fd2bef38f8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-admin_reports_v1
2
2
 
3
+ ### v0.28.0 (2025-07-13)
4
+
5
+ * Regenerated from discovery document revision 20250707
6
+ * Regenerated using generator version 0.18.0
7
+
3
8
  ### v0.27.0 (2025-05-18)
4
9
 
5
10
  * Regenerated from discovery document revision 20250505
@@ -100,6 +100,11 @@ module Google
100
100
  # @return [String]
101
101
  attr_accessor :kind
102
102
 
103
+ # Network information of the user doing the action.
104
+ # Corresponds to the JSON property `networkInfo`
105
+ # @return [Google::Apis::AdminReportsV1::ActivityNetworkInfo]
106
+ attr_accessor :network_info
107
+
103
108
  # This is the domain that is affected by the report's event. For example domain
104
109
  # of Admin console or the Drive application's document owner.
105
110
  # Corresponds to the JSON property `ownerDomain`
@@ -123,6 +128,7 @@ module Google
123
128
  @id = args[:id] if args.key?(:id)
124
129
  @ip_address = args[:ip_address] if args.key?(:ip_address)
125
130
  @kind = args[:kind] if args.key?(:kind)
131
+ @network_info = args[:network_info] if args.key?(:network_info)
126
132
  @owner_domain = args[:owner_domain] if args.key?(:owner_domain)
127
133
  @resource_details = args[:resource_details] if args.key?(:resource_details)
128
134
  end
@@ -400,6 +406,38 @@ module Google
400
406
  end
401
407
  end
402
408
 
409
+ # Network information of the user doing the action.
410
+ class ActivityNetworkInfo
411
+ include Google::Apis::Core::Hashable
412
+
413
+ # IP Address of the user doing the action.
414
+ # Corresponds to the JSON property `ipAsn`
415
+ # @return [Array<Fixnum>]
416
+ attr_accessor :ip_asn
417
+
418
+ # ISO 3166-1 alpha-2 region code of the user doing the action.
419
+ # Corresponds to the JSON property `regionCode`
420
+ # @return [String]
421
+ attr_accessor :region_code
422
+
423
+ # ISO 3166-2 region code (states and provinces) for countries of the user doing
424
+ # the action.
425
+ # Corresponds to the JSON property `subdivisionCode`
426
+ # @return [String]
427
+ attr_accessor :subdivision_code
428
+
429
+ def initialize(**args)
430
+ update!(**args)
431
+ end
432
+
433
+ # Update properties of this object
434
+ def update!(**args)
435
+ @ip_asn = args[:ip_asn] if args.key?(:ip_asn)
436
+ @region_code = args[:region_code] if args.key?(:region_code)
437
+ @subdivision_code = args[:subdivision_code] if args.key?(:subdivision_code)
438
+ end
439
+ end
440
+
403
441
  # Details of the label applied on the resource.
404
442
  class AppliedLabel
405
443
  include Google::Apis::Core::Hashable
@@ -921,7 +959,8 @@ module Google
921
959
 
922
960
  # Output only. Parameter value pairs for various applications. For the Entity
923
961
  # Usage Report parameters and values, see [the Entity Usage parameters reference]
924
- # (/admin-sdk/reports/v1/reference/usage-ref-appendix-a/entities).
962
+ # (https://developers.google.com/workspace/admin/reports/v1/reference/usage-ref-
963
+ # appendix-a/entities).
925
964
  # Corresponds to the JSON property `parameters`
926
965
  # @return [Array<Google::Apis::AdminReportsV1::UsageReport::Parameter>]
927
966
  attr_accessor :parameters
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AdminReportsV1
18
18
  # Version of the google-apis-admin_reports_v1 gem
19
- GEM_VERSION = "0.27.0"
19
+ GEM_VERSION = "0.28.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250505"
25
+ REVISION = "20250707"
26
26
  end
27
27
  end
28
28
  end
@@ -76,6 +76,12 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class ActivityNetworkInfo
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
79
85
  class AppliedLabel
80
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
87
 
@@ -207,6 +213,8 @@ module Google
207
213
 
208
214
  property :ip_address, as: 'ipAddress'
209
215
  property :kind, as: 'kind'
216
+ property :network_info, as: 'networkInfo', class: Google::Apis::AdminReportsV1::ActivityNetworkInfo, decorator: Google::Apis::AdminReportsV1::ActivityNetworkInfo::Representation
217
+
210
218
  property :owner_domain, as: 'ownerDomain'
211
219
  collection :resource_details, as: 'resourceDetails', class: Google::Apis::AdminReportsV1::ResourceDetails, decorator: Google::Apis::AdminReportsV1::ResourceDetails::Representation
212
220
 
@@ -288,6 +296,15 @@ module Google
288
296
  end
289
297
  end
290
298
 
299
+ class ActivityNetworkInfo
300
+ # @private
301
+ class Representation < Google::Apis::Core::JsonRepresentation
302
+ collection :ip_asn, as: 'ipAsn'
303
+ property :region_code, as: 'regionCode'
304
+ property :subdivision_code, as: 'subdivisionCode'
305
+ end
306
+ end
307
+
291
308
  class AppliedLabel
292
309
  # @private
293
310
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -267,10 +267,11 @@ module Google
267
267
  # returns the response corresponding to the remaining valid parameters. If no
268
268
  # parameters are requested, all parameters are returned.
269
269
  # @param [String] group_id_filter
270
- # Comma separated group ids (obfuscated) on which user activities are filtered,
271
- # i.e. the response will contain activities for only those users that are a part
272
- # of at least one of the group ids mentioned here. Format: "id:abc123,id:xyz456"
273
- # *Important:* To filter by groups, you must explicitly add the groups to your
270
+ # `Deprecated`. This field is deprecated and is no longer supported. Comma
271
+ # separated group ids (obfuscated) on which user activities are filtered, i.e.
272
+ # the response will contain activities for only those users that are a part of
273
+ # at least one of the group ids mentioned here. Format: "id:abc123,id:xyz456" *
274
+ # Important:* To filter by groups, you must explicitly add the groups to your
274
275
  # filtering groups allowlist. For more information about adding groups to
275
276
  # filtering groups allowlist, see [Filter results by Google Group](https://
276
277
  # support.google.com/a/answer/11482175)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-admin_reports_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-admin_reports_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-admin_reports_v1/v0.27.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-admin_reports_v1/v0.28.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-admin_reports_v1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Admin SDK API ReportsV1
79
79
  test_files: []