google-apis-admin_reports_v1 0.27.0 → 0.29.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: 41bad145b3e3c4d39d818f01bc5485a265ba9638743cb653f4b4ee1e2afe0808
4
+ data.tar.gz: 99a2b5987f9720933b919fe90e34c13128cb5293000e213e108371863340de50
5
5
  SHA512:
6
- metadata.gz: c60c7410ccc1fe575831fa4d5a0c4219c08d595323f2d3a3a6555c7ede3f93eff03c8d479afd611d62880787969d721799c88271c1ab61bc02289b9b1bd96419
7
- data.tar.gz: d2718d09f84c243d41fe705e729637493a2b7117bec315e9d35caaa56828d74038571881e929cefd0a12cc238c0631b46766d6730d82eb3e52c8ec95cdb00c3c
6
+ metadata.gz: d98532cd572ad65e59c2f3355cd9912afeeddec64c5ac479df21f4bddee455bd1f7f51044592d9215d248c90badd18756307e1dd818f6e30804f4f0a83901aea
7
+ data.tar.gz: 1aaca372dacbcb11a29e57d1a028d2414b7cf62c5d8edbae37c18dd169aaa17a1915bbdc5fa595a3f4434180944b43fcb3902c8f305ff26c2415db1d65606920
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-admin_reports_v1
2
2
 
3
+ ### v0.29.0 (2025-08-24)
4
+
5
+ * Regenerated from discovery document revision 20250818
6
+
7
+ ### v0.28.0 (2025-07-13)
8
+
9
+ * Regenerated from discovery document revision 20250707
10
+ * Regenerated using generator version 0.18.0
11
+
3
12
  ### v0.27.0 (2025-05-18)
4
13
 
5
14
  * 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.29.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 = "20250818"
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
@@ -88,7 +88,8 @@ module Google
88
88
  # and end in May. The report itself can be requested in August. If the `endTime`
89
89
  # is not specified, the report returns all activities from the `startTime` until
90
90
  # the current time or the most recent 180 days if the `startTime` is more than
91
- # 180 days in the past.
91
+ # 180 days in the past. For Gmail requests, `startTime` and `endTime` must be
92
+ # provided and the difference must not be greater than 30 days.
92
93
  # @param [String] event_name
93
94
  # The name of the event being queried by the API. Each `eventName` is related to
94
95
  # a specific Google Workspace service or feature which the API organizes into
@@ -155,7 +156,8 @@ module Google
155
156
  # the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The report returns
156
157
  # all activities from `startTime` until `endTime`. The `startTime` must be
157
158
  # before the `endTime` (if specified) and the current time when the request is
158
- # made, or the API returns an error.
159
+ # made, or the API returns an error. For Gmail requests, `startTime` and `
160
+ # endTime` must be provided and the difference must not be greater than 30 days.
159
161
  # @param [String] fields
160
162
  # Selector specifying which fields to include in a partial response.
161
163
  # @param [String] quota_user
@@ -267,10 +269,11 @@ module Google
267
269
  # returns the response corresponding to the remaining valid parameters. If no
268
270
  # parameters are requested, all parameters are returned.
269
271
  # @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
272
+ # `Deprecated`. This field is deprecated and is no longer supported. Comma
273
+ # separated group ids (obfuscated) on which user activities are filtered, i.e.
274
+ # the response will contain activities for only those users that are a part of
275
+ # at least one of the group ids mentioned here. Format: "id:abc123,id:xyz456" *
276
+ # Important:* To filter by groups, you must explicitly add the groups to your
274
277
  # filtering groups allowlist. For more information about adding groups to
275
278
  # filtering groups allowlist, see [Filter results by Google Group](https://
276
279
  # 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.29.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.29.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: []