google-apis-admin_reports_v1 0.29.0 → 0.31.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 855a622ec75f658cd27338e07ab62ea65c20347453a788fa6673f78541c60f1a
|
|
4
|
+
data.tar.gz: 7239c1b75de467d695b95d9e4896aaf00eb4a77789f6c62c2c816105d18f0b73
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fe1ed253926e2cb0f388e8e4ba319501924547af2bdca8a971d01bfefd277e346c092197c66ee5bd46f987e03b9924eda20fae0e83d00a1798ec4485159e4d75
|
|
7
|
+
data.tar.gz: e72e0a55705774ac17cf12e28588f56506df3a5bed387bf1c1182dc70ae165d4405901a992bbf4146bbc01c101c5821604f5f679dafbc862a8dfa2aa8cc8be6e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-admin_reports_v1
|
|
2
2
|
|
|
3
|
+
### v0.31.0 (2025-11-23)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251120
|
|
6
|
+
|
|
7
|
+
### v0.30.0 (2025-11-16)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20251107
|
|
10
|
+
|
|
3
11
|
### v0.29.0 (2025-08-24)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20250818
|
|
@@ -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.31.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251120"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -151,6 +151,45 @@ module Google
|
|
|
151
151
|
# nextPageToken` property in the response. In your follow-on request getting the
|
|
152
152
|
# next page of the report, enter the `nextPageToken` value in the `pageToken`
|
|
153
153
|
# query string.
|
|
154
|
+
# @param [String] resource_details_filter
|
|
155
|
+
# Optional. The `resourceDetailsFilter` query string is an AND separated list
|
|
156
|
+
# composed of [Resource Details](#resourcedetails) fields manipulated by
|
|
157
|
+
# relational operators. Resource Details Filters are in the form ``
|
|
158
|
+
# resourceDetails.field1``relational operator``field1 value` AND `
|
|
159
|
+
# resourceDetails.field2``relational operator``field2 value`...` All the inner
|
|
160
|
+
# fields are traversed using the `.` operator, as shown in the following example:
|
|
161
|
+
# ``` resourceDetails.id = "resourceId" AND resourceDetails.appliedLabels.id = "
|
|
162
|
+
# appliedLabelId" AND resourceDetails.appliedLabels.fieldValue.id = "
|
|
163
|
+
# fieldValueId" ``` `resourceDetailsFilter` query supports these relational
|
|
164
|
+
# operators: * `=`—'equal to'. * `!=`—'not equal to'. * `:`—'exists'. This is
|
|
165
|
+
# used for filtering on repeated fields. [`FieldValue`](#fieldvalue) types that
|
|
166
|
+
# are repeated in nature uses `exists` operator for filtering. The following [`
|
|
167
|
+
# FieldValue`](#fieldvalue) types are repeated: * [`TextListValue`](#
|
|
168
|
+
# textlistvalue) * [`SelectionListValue`](#selectionlistvalue) * [`UserListValue`
|
|
169
|
+
# ](#userlistvalue) For example, in the following filter, [`SelectionListValue`](
|
|
170
|
+
# #selectionlistvalue), is a repeated field. The filter checks whether [`
|
|
171
|
+
# SelectionListValue`](#selectionlistvalue) contains `selection_id`: ```
|
|
172
|
+
# resourceDetails.id = "resourceId" AND resourceDetails.appliedLabels.id = "
|
|
173
|
+
# appliedLabelId" AND resourceDetails.appliedLabels.fieldValue.id = "
|
|
174
|
+
# fieldValueId" AND resourceDetails.appliedLabels.fieldValue.type = "
|
|
175
|
+
# SELECTION_LIST_VALUE" AND resourceDetails.appliedLabels.fieldValue.
|
|
176
|
+
# selectionListValue.id: "id" ``` **Usage** ``` GET...&resourceDetailsFilter=
|
|
177
|
+
# resourceDetails.id = "resourceId" AND resourceDetails.appliedLabels.id = "
|
|
178
|
+
# appliedLabelId" GET...&resourceDetailsFilter=resourceDetails.id=%22resourceId%
|
|
179
|
+
# 22%20AND%20resourceDetails.appliedLabels.id=%22appliedLabelId%22 ``` **Note
|
|
180
|
+
# the following**: * You must URL encode the query string before sending the
|
|
181
|
+
# request. * The API supports a maximum of 5 fields separated by the AND
|
|
182
|
+
# operator. - When filtering on deeper levels (e.g., [`AppliedLabel`](#
|
|
183
|
+
# appliedlabel), [`FieldValue`](#fieldvalue)), the IDs of all preceding levels
|
|
184
|
+
# in the hierarchy must be included in the filter. For example: Filtering on [`
|
|
185
|
+
# FieldValue`](#fieldvalue) requires [`AppliedLabel`](#appliedlabel) ID and
|
|
186
|
+
# resourceDetails ID to be present. *Sample Query*: ``` resourceDetails.id = "
|
|
187
|
+
# resourceId" AND resourceDetails.appliedLabels.id = "appliedLabelId" AND
|
|
188
|
+
# resourceDetails.appliedLabels.fieldValue.id = "fieldValueId" ``` * Filtering
|
|
189
|
+
# on inner [`FieldValue`](#fieldvalue) types like `longTextValue` and `textValue`
|
|
190
|
+
# requires `resourceDetails.appliedLabels.fieldValue.type` to be present. *
|
|
191
|
+
# Only Filtering on a single [`AppliedLabel`](#appliedlabel) id and [`FieldValue`
|
|
192
|
+
# ](#fieldvalue) id is supported.
|
|
154
193
|
# @param [String] start_time
|
|
155
194
|
# Sets the beginning of the range of time shown in the report. The date is in
|
|
156
195
|
# the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The report returns
|
|
@@ -175,7 +214,7 @@ module Google
|
|
|
175
214
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
176
215
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
177
216
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
178
|
-
def list_activities(user_key, application_name, actor_ip_address: nil, customer_id: nil, end_time: nil, event_name: nil, filters: nil, group_id_filter: nil, max_results: nil, org_unit_id: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
217
|
+
def list_activities(user_key, application_name, actor_ip_address: nil, customer_id: nil, end_time: nil, event_name: nil, filters: nil, group_id_filter: nil, max_results: nil, org_unit_id: nil, page_token: nil, resource_details_filter: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
179
218
|
command = make_simple_command(:get, 'admin/reports/v1/activity/users/{userKey}/applications/{applicationName}', options)
|
|
180
219
|
command.response_representation = Google::Apis::AdminReportsV1::Activities::Representation
|
|
181
220
|
command.response_class = Google::Apis::AdminReportsV1::Activities
|
|
@@ -190,6 +229,7 @@ module Google
|
|
|
190
229
|
command.query['maxResults'] = max_results unless max_results.nil?
|
|
191
230
|
command.query['orgUnitID'] = org_unit_id unless org_unit_id.nil?
|
|
192
231
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
232
|
+
command.query['resourceDetailsFilter'] = resource_details_filter unless resource_details_filter.nil?
|
|
193
233
|
command.query['startTime'] = start_time unless start_time.nil?
|
|
194
234
|
command.query['fields'] = fields unless fields.nil?
|
|
195
235
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -31,10 +31,10 @@ module Google
|
|
|
31
31
|
# This is NOT the gem version.
|
|
32
32
|
VERSION = 'ReportsV1'
|
|
33
33
|
|
|
34
|
-
# View audit reports for your
|
|
34
|
+
# View audit reports for your Google Workspace domain
|
|
35
35
|
AUTH_ADMIN_REPORTS_AUDIT_READONLY = 'https://www.googleapis.com/auth/admin.reports.audit.readonly'
|
|
36
36
|
|
|
37
|
-
# View usage reports for your
|
|
37
|
+
# View usage reports for your Google Workspace domain
|
|
38
38
|
AUTH_ADMIN_REPORTS_USAGE_READONLY = 'https://www.googleapis.com/auth/admin.reports.usage.readonly'
|
|
39
39
|
end
|
|
40
40
|
end
|
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.
|
|
4
|
+
version: 0.31.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-admin_reports_v1/v0.31.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:
|