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 +4 -4
- data/CHANGELOG.md +10 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/admin_reports_v1/classes.rb +40 -1
- data/lib/google/apis/admin_reports_v1/gem_version.rb +3 -3
- data/lib/google/apis/admin_reports_v1/representations.rb +17 -0
- data/lib/google/apis/admin_reports_v1/service.rb +37 -36
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7342d72cb1ef84e4b9958f10cba1ef19bfe5b26ab3c3e2682988e055fc99376
|
4
|
+
data.tar.gz: 45255e91455a65af0f66a6b39b4c97893993d4dd9c269c392eefb22228b4dd70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
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.
|
19
|
+
GEM_VERSION = "0.28.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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
|
-
#
|
271
|
-
#
|
272
|
-
#
|
273
|
-
#
|
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`, `
|
387
|
-
# , `gmail`, `gplus`, `device_management`, `meet`, and `sites`. A `
|
388
|
-
# query string is in the CSV form of `app_name1:param_name1,
|
389
|
-
# param_name2`. *Note:* The API doesn't accept multiple values of a
|
390
|
-
# If a particular parameter is supplied more than once in the API
|
391
|
-
# API only accepts the last value of that request parameter. In
|
392
|
-
# invalid request parameter is supplied in the API request, the
|
393
|
-
# request parameter and returns the response corresponding to
|
394
|
-
# valid request parameters. An example of an invalid request
|
395
|
-
# that does not belong to the application. If no parameters are
|
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 `[
|
539
|
-
# name]:parameter name[parameter value],...`. In this example, the
|
540
|
-
# equal to' operator is URL-encoded in the request's query string (%3C%
|
541
|
-
# https://www.googleapis.com/admin/reports/v1/usage/users/all/dates/
|
542
|
-
# parameters=accounts:last_login_time &filters=accounts:
|
543
|
-
# 3E2010-10-28T10:26:35.000Z The relational operators include:
|
544
|
-
# to'. - `<>` - 'not equal to'. It is URL-encoded (%3C%3E). -
|
545
|
-
# It is URL-encoded (%3C). - `<=` - 'less than or equal to'. It
|
546
|
-
# 3C=). - `>` - 'greater than'. It is URL-encoded (%3E). - `>=`
|
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`, `
|
570
|
-
# , `gmail`, `gplus`, `device_management`, `meet`, and `sites`. A `
|
571
|
-
# query string is in the CSV form of `app_name1:param_name1,
|
572
|
-
# param_name2`. *Note:* The API doesn't accept multiple values of a
|
573
|
-
# If a particular parameter is supplied more than once in the API
|
574
|
-
# API only accepts the last value of that request parameter. In
|
575
|
-
# invalid request parameter is supplied in the API request, the
|
576
|
-
# request parameter and returns the response corresponding to
|
577
|
-
# valid request parameters. An example of an invalid request
|
578
|
-
# that does not belong to the application. If no parameters are
|
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.
|
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:
|
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.
|
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: '
|
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.
|
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: []
|