google-apis-admin_reports_v1 0.31.0 → 0.33.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: 855a622ec75f658cd27338e07ab62ea65c20347453a788fa6673f78541c60f1a
4
- data.tar.gz: 7239c1b75de467d695b95d9e4896aaf00eb4a77789f6c62c2c816105d18f0b73
3
+ metadata.gz: 3a1c1f0525da5f75c07129dac014c5949d29f9d7f0304f4fd37501a0a46aeed6
4
+ data.tar.gz: '07443864c5937145c733c031c4cd0296738f7bee40f15fa957c6a1087a801261'
5
5
  SHA512:
6
- metadata.gz: fe1ed253926e2cb0f388e8e4ba319501924547af2bdca8a971d01bfefd277e346c092197c66ee5bd46f987e03b9924eda20fae0e83d00a1798ec4485159e4d75
7
- data.tar.gz: e72e0a55705774ac17cf12e28588f56506df3a5bed387bf1c1182dc70ae165d4405901a992bbf4146bbc01c101c5821604f5f679dafbc862a8dfa2aa8cc8be6e
6
+ metadata.gz: e54a4af7539b587fcbd5ec5192106975d068207473f344b8151c3524c680c042fac3e9a1fbf7547a300c1436ba350d663490300dcc78d7ef85d723e4fa40ae9f
7
+ data.tar.gz: 86e6b6464d0fafbe1aee206609ce065f7f6aa717e847318f008e8127a668f554fdedd9ce5a61344e97698e2577db06a4c7955f81f8ff0c9f962b6913d1d0f864
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-admin_reports_v1
2
2
 
3
+ ### v0.33.0 (2026-03-08)
4
+
5
+ * Regenerated from discovery document revision 20260223
6
+
7
+ ### v0.32.0 (2026-02-15)
8
+
9
+ * Regenerated from discovery document revision 20260210
10
+
3
11
  ### v0.31.0 (2025-11-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20251120
@@ -240,6 +240,11 @@ module Google
240
240
  # @return [Array<String>]
241
241
  attr_accessor :resource_ids
242
242
 
243
+ # Status of the event. Note: Not all events have status.
244
+ # Corresponds to the JSON property `status`
245
+ # @return [Google::Apis::AdminReportsV1::ActivityEventsStatus]
246
+ attr_accessor :status
247
+
243
248
  # Type of event. The Google Workspace service or feature that an administrator
244
249
  # changes is identified in the `type` property which identifies an event using
245
250
  # the `eventName` property. For a full list of the API's `type` categories, see
@@ -257,6 +262,7 @@ module Google
257
262
  @name = args[:name] if args.key?(:name)
258
263
  @parameters = args[:parameters] if args.key?(:parameters)
259
264
  @resource_ids = args[:resource_ids] if args.key?(:resource_ids)
265
+ @status = args[:status] if args.key?(:status)
260
266
  @type = args[:type] if args.key?(:type)
261
267
  end
262
268
 
@@ -406,6 +412,44 @@ module Google
406
412
  end
407
413
  end
408
414
 
415
+ # Status of the event. Note: Not all events have status.
416
+ class ActivityEventsStatus
417
+ include Google::Apis::Core::Hashable
418
+
419
+ # Error code of the event. Note: Field can be empty.
420
+ # Corresponds to the JSON property `errorCode`
421
+ # @return [String]
422
+ attr_accessor :error_code
423
+
424
+ # Error message of the event. Note: Field can be empty.
425
+ # Corresponds to the JSON property `errorMessage`
426
+ # @return [String]
427
+ attr_accessor :error_message
428
+
429
+ # Status of the event. Possible values if not empty: - UNKNOWN_EVENT_STATUS -
430
+ # SUCCEEDED - SUCCEEDED_WITH_WARNINGS - FAILED - SKIPPED
431
+ # Corresponds to the JSON property `eventStatus`
432
+ # @return [String]
433
+ attr_accessor :event_status
434
+
435
+ # Status code of the event. Note: Field can be empty.
436
+ # Corresponds to the JSON property `httpStatusCode`
437
+ # @return [Fixnum]
438
+ attr_accessor :http_status_code
439
+
440
+ def initialize(**args)
441
+ update!(**args)
442
+ end
443
+
444
+ # Update properties of this object
445
+ def update!(**args)
446
+ @error_code = args[:error_code] if args.key?(:error_code)
447
+ @error_message = args[:error_message] if args.key?(:error_message)
448
+ @event_status = args[:event_status] if args.key?(:event_status)
449
+ @http_status_code = args[:http_status_code] if args.key?(:http_status_code)
450
+ end
451
+ end
452
+
409
453
  # Network information of the user doing the action.
410
454
  class ActivityNetworkInfo
411
455
  include Google::Apis::Core::Hashable
@@ -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.31.0"
19
+ GEM_VERSION = "0.33.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 = "20251120"
25
+ REVISION = "20260223"
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 ActivityEventsStatus
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
79
85
  class ActivityNetworkInfo
80
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
87
 
@@ -248,6 +254,8 @@ module Google
248
254
  collection :parameters, as: 'parameters', class: Google::Apis::AdminReportsV1::Activity::Event::Parameter, decorator: Google::Apis::AdminReportsV1::Activity::Event::Parameter::Representation
249
255
 
250
256
  collection :resource_ids, as: 'resourceIds'
257
+ property :status, as: 'status', class: Google::Apis::AdminReportsV1::ActivityEventsStatus, decorator: Google::Apis::AdminReportsV1::ActivityEventsStatus::Representation
258
+
251
259
  property :type, as: 'type'
252
260
  end
253
261
 
@@ -296,6 +304,16 @@ module Google
296
304
  end
297
305
  end
298
306
 
307
+ class ActivityEventsStatus
308
+ # @private
309
+ class Representation < Google::Apis::Core::JsonRepresentation
310
+ property :error_code, as: 'errorCode'
311
+ property :error_message, as: 'errorMessage'
312
+ property :event_status, as: 'eventStatus'
313
+ property :http_status_code, as: 'httpStatusCode'
314
+ end
315
+ end
316
+
299
317
  class ActivityNetworkInfo
300
318
  # @private
301
319
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -73,6 +73,11 @@ module Google
73
73
  # the user's physical location. For example, the IP address can be the user's
74
74
  # proxy server's address or a virtual private network (VPN) address. This
75
75
  # parameter supports both IPv4 and IPv6 address versions.
76
+ # @param [String] application_info_filter
77
+ # Optional. Used to filter on the `oAuthClientId` field present in [`
78
+ # ApplicationInfo`](#applicationinfo) message. **Usage** ``` GET...&
79
+ # applicationInfoFilter=oAuthClientId="clientId" GET...&applicationInfoFilter=
80
+ # oAuthClientId=%22clientId%22 ```
76
81
  # @param [String] customer_id
77
82
  # The unique ID of the customer to retrieve data for.
78
83
  # @param [String] end_time
@@ -142,6 +147,10 @@ module Google
142
147
  # the report has two pages. The response's `nextPageToken` property has the
143
148
  # token to the second page. The `maxResults` query string is optional in the
144
149
  # request. The default value is 1000.
150
+ # @param [String] network_info_filter
151
+ # Optional. Used to filter on the `regionCode` field present in [`NetworkInfo`](#
152
+ # networkinfo) message. **Usage** ``` GET...&networkInfoFilter=regionCode="IN"
153
+ # GET...&networkInfoFilter=regionCode=%22IN%22 ```
145
154
  # @param [String] org_unit_id
146
155
  # ID of the organizational unit to report on. Activity records will be shown
147
156
  # only for users who belong to the specified organizational unit. Data before
@@ -197,6 +206,10 @@ module Google
197
206
  # before the `endTime` (if specified) and the current time when the request is
198
207
  # made, or the API returns an error. For Gmail requests, `startTime` and `
199
208
  # endTime` must be provided and the difference must not be greater than 30 days.
209
+ # @param [String] status_filter
210
+ # Optional. Used to filter on the `statusCode` field present in [`Status`](#
211
+ # status) message. **Usage** ``` GET...&statusFilter=statusCode="200" GET...&
212
+ # statusFilter=statusCode=%22200%22 ```
200
213
  # @param [String] fields
201
214
  # Selector specifying which fields to include in a partial response.
202
215
  # @param [String] quota_user
@@ -214,23 +227,26 @@ module Google
214
227
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
215
228
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
216
229
  # @raise [Google::Apis::AuthorizationError] Authorization is required
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)
230
+ def list_activities(user_key, application_name, actor_ip_address: nil, application_info_filter: nil, customer_id: nil, end_time: nil, event_name: nil, filters: nil, group_id_filter: nil, max_results: nil, network_info_filter: nil, org_unit_id: nil, page_token: nil, resource_details_filter: nil, start_time: nil, status_filter: nil, fields: nil, quota_user: nil, options: nil, &block)
218
231
  command = make_simple_command(:get, 'admin/reports/v1/activity/users/{userKey}/applications/{applicationName}', options)
219
232
  command.response_representation = Google::Apis::AdminReportsV1::Activities::Representation
220
233
  command.response_class = Google::Apis::AdminReportsV1::Activities
221
234
  command.params['userKey'] = user_key unless user_key.nil?
222
235
  command.params['applicationName'] = application_name unless application_name.nil?
223
236
  command.query['actorIpAddress'] = actor_ip_address unless actor_ip_address.nil?
237
+ command.query['applicationInfoFilter'] = application_info_filter unless application_info_filter.nil?
224
238
  command.query['customerId'] = customer_id unless customer_id.nil?
225
239
  command.query['endTime'] = end_time unless end_time.nil?
226
240
  command.query['eventName'] = event_name unless event_name.nil?
227
241
  command.query['filters'] = filters unless filters.nil?
228
242
  command.query['groupIdFilter'] = group_id_filter unless group_id_filter.nil?
229
243
  command.query['maxResults'] = max_results unless max_results.nil?
244
+ command.query['networkInfoFilter'] = network_info_filter unless network_info_filter.nil?
230
245
  command.query['orgUnitID'] = org_unit_id unless org_unit_id.nil?
231
246
  command.query['pageToken'] = page_token unless page_token.nil?
232
247
  command.query['resourceDetailsFilter'] = resource_details_filter unless resource_details_filter.nil?
233
248
  command.query['startTime'] = start_time unless start_time.nil?
249
+ command.query['statusFilter'] = status_filter unless status_filter.nil?
234
250
  command.query['fields'] = fields unless fields.nil?
235
251
  command.query['quotaUser'] = quota_user unless quota_user.nil?
236
252
  execute_or_queue_command(command, &block)
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.31.0
4
+ version: 0.33.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.31.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-admin_reports_v1/v0.33.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: