google-apis-admin_reports_v1 0.26.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: 29a3d8e97b9ae966fc240edd448ca988e069ee0b93f21ce4124b7010a3ed1854
4
- data.tar.gz: b7f8212c7a6791fc43579b07f0d1097d136fa27a93581a71b36eba82af912aff
3
+ metadata.gz: a7342d72cb1ef84e4b9958f10cba1ef19bfe5b26ab3c3e2682988e055fc99376
4
+ data.tar.gz: 45255e91455a65af0f66a6b39b4c97893993d4dd9c269c392eefb22228b4dd70
5
5
  SHA512:
6
- metadata.gz: 106c479244757524ffcb1bcb3139c35b7fa5fc36ae754136860a56da07539331f89e1037e2e987b6d5b14520fc23602a84af7599b39c504e54934ab93e80910b
7
- data.tar.gz: d9298c2cae3f2de299ccf890e0bfed0ee8f5d3bef0a9b3883f39311c3f98eeb7dfd3874452a1e4d8bd892cbaa55bf1689149879d36a10dc78b957d737d98292e
6
+ metadata.gz: 88feca9c7c2ff6a763e34a3f18d728d4d13255c3408f0be6628d973fef2dc775baf6c37f91d2a3da7076b346db7df1ad4f06cadb0e92b8e981515b498abee1c8
7
+ data.tar.gz: 116bf79fa709d765ce9089589ba0726651df567aed48b2e38e758e2f81fc3bbcc6ab9e4e126bacbeb02b688ab29092e658d031b07e8298b41445a9fd2bef38f8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
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
+
8
+ ### v0.27.0 (2025-05-18)
9
+
10
+ * Regenerated from discovery document revision 20250505
11
+ * Regenerated using generator version 0.17.0
12
+
3
13
  ### v0.26.0 (2025-04-27)
4
14
 
5
15
  * Regenerated from discovery document revision 20250424
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://developers.google.com/workspace/admin/) may
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -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.26.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.16.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250424"
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)
@@ -383,17 +384,17 @@ module Google
383
384
  # The `parameters` query string is a comma-separated list of event parameters
384
385
  # that refine a report's results. The parameter is associated with a specific
385
386
  # application. The application values for the Customers usage report include `
386
- # accounts`, `app_maker`, `apps_scripts`, `calendar`, `classroom`, `cros`, `docs`
387
- # , `gmail`, `gplus`, `device_management`, `meet`, and `sites`. A `parameters`
388
- # query string is in the CSV form of `app_name1:param_name1, app_name2:
389
- # param_name2`. *Note:* The API doesn't accept multiple values of a parameter.
390
- # If a particular parameter is supplied more than once in the API request, the
391
- # API only accepts the last value of that request parameter. In addition, if an
392
- # invalid request parameter is supplied in the API request, the API ignores that
393
- # request parameter and returns the response corresponding to the remaining
394
- # valid request parameters. An example of an invalid request parameter is one
395
- # that does not belong to the application. If no parameters are requested, all
396
- # parameters are returned.
387
+ # accounts`, `app_maker`, `apps_scripts`, `calendar`, `chat`, `classroom`, `cros`
388
+ # , `docs`, `gmail`, `gplus`, `device_management`, `meet`, and `sites`. A `
389
+ # parameters` query string is in the CSV form of `app_name1:param_name1,
390
+ # app_name2:param_name2`. *Note:* The API doesn't accept multiple values of a
391
+ # parameter. If a particular parameter is supplied more than once in the API
392
+ # request, the API only accepts the last value of that request parameter. In
393
+ # addition, if an invalid request parameter is supplied in the API request, the
394
+ # API ignores that request parameter and returns the response corresponding to
395
+ # the remaining valid request parameters. An example of an invalid request
396
+ # parameter is one that does not belong to the application. If no parameters are
397
+ # requested, all parameters are returned.
397
398
  # @param [String] fields
398
399
  # Selector specifying which fields to include in a partial response.
399
400
  # @param [String] quota_user
@@ -535,16 +536,16 @@ module Google
535
536
  # parameters where the parameter's value is manipulated by a relational operator.
536
537
  # The `filters` query string includes the name of the application whose usage
537
538
  # is returned in the report. The application values for the Users Usage Report
538
- # include `accounts`, `docs`, and `gmail`. Filters are in the form `[application
539
- # name]:parameter name[parameter value],...`. In this example, the `<>` 'not
540
- # equal to' operator is URL-encoded in the request's query string (%3C%3E): GET
541
- # https://www.googleapis.com/admin/reports/v1/usage/users/all/dates/2013-03-03 ?
542
- # parameters=accounts:last_login_time &filters=accounts:last_login_time%3C%
543
- # 3E2010-10-28T10:26:35.000Z The relational operators include: - `==` - 'equal
544
- # to'. - `<>` - 'not equal to'. It is URL-encoded (%3C%3E). - `<` - 'less than'.
545
- # It is URL-encoded (%3C). - `<=` - 'less than or equal to'. It is URL-encoded (%
546
- # 3C=). - `>` - 'greater than'. It is URL-encoded (%3E). - `>=` - 'greater than
547
- # or equal to'. It is URL-encoded (%3E=).
539
+ # include `accounts`, `chat`, `docs`, and `gmail`. Filters are in the form `[
540
+ # application name]:parameter name[parameter value],...`. In this example, the `<
541
+ # >` 'not equal to' operator is URL-encoded in the request's query string (%3C%
542
+ # 3E): GET https://www.googleapis.com/admin/reports/v1/usage/users/all/dates/
543
+ # 2013-03-03 ?parameters=accounts:last_login_time &filters=accounts:
544
+ # last_login_time%3C%3E2010-10-28T10:26:35.000Z The relational operators include:
545
+ # - `==` - 'equal to'. - `<>` - 'not equal to'. It is URL-encoded (%3C%3E). - `<
546
+ # ` - 'less than'. It is URL-encoded (%3C). - `<=` - 'less than or equal to'. It
547
+ # is URL-encoded (%3C=). - `>` - 'greater than'. It is URL-encoded (%3E). - `>=`
548
+ # - 'greater than or equal to'. It is URL-encoded (%3E=).
548
549
  # @param [String] group_id_filter
549
550
  # Comma separated group ids (obfuscated) on which user activities are filtered,
550
551
  # i.e. the response will contain activities for only those users that are a part
@@ -566,17 +567,17 @@ module Google
566
567
  # The `parameters` query string is a comma-separated list of event parameters
567
568
  # that refine a report's results. The parameter is associated with a specific
568
569
  # application. The application values for the Customers Usage report include `
569
- # accounts`, `app_maker`, `apps_scripts`, `calendar`, `classroom`, `cros`, `docs`
570
- # , `gmail`, `gplus`, `device_management`, `meet`, and `sites`. A `parameters`
571
- # query string is in the CSV form of `app_name1:param_name1, app_name2:
572
- # param_name2`. *Note:* The API doesn't accept multiple values of a parameter.
573
- # If a particular parameter is supplied more than once in the API request, the
574
- # API only accepts the last value of that request parameter. In addition, if an
575
- # invalid request parameter is supplied in the API request, the API ignores that
576
- # request parameter and returns the response corresponding to the remaining
577
- # valid request parameters. An example of an invalid request parameter is one
578
- # that does not belong to the application. If no parameters are requested, all
579
- # parameters are returned.
570
+ # accounts`, `app_maker`, `apps_scripts`, `calendar`, `chat`, `classroom`, `cros`
571
+ # , `docs`, `gmail`, `gplus`, `device_management`, `meet`, and `sites`. A `
572
+ # parameters` query string is in the CSV form of `app_name1:param_name1,
573
+ # app_name2:param_name2`. *Note:* The API doesn't accept multiple values of a
574
+ # parameter. If a particular parameter is supplied more than once in the API
575
+ # request, the API only accepts the last value of that request parameter. In
576
+ # addition, if an invalid request parameter is supplied in the API request, the
577
+ # API ignores that request parameter and returns the response corresponding to
578
+ # the remaining valid request parameters. An example of an invalid request
579
+ # parameter is one that does not belong to the application. If no parameters are
580
+ # requested, all parameters are returned.
580
581
  # @param [String] fields
581
582
  # Selector specifying which fields to include in a partial response.
582
583
  # @param [String] quota_user
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-admin_reports_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-27 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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.26.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:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
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: []