google-apis-admin_reports_v1 0.36.0 → 0.38.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: d14a4c9190cd750841d3c771f94e548652ec155344198afd3875d7815ff14758
4
- data.tar.gz: 1d2e498f8938fea838a316d3dec267fd7e6c20d16ce17fb581eaf4bc731ae0a7
3
+ metadata.gz: f64c54e00f62a2dd5f05803a31b8271c3145337ec62cd4669536dcb83f36f0c1
4
+ data.tar.gz: fa635f061d3a8ea706f4e1cdf652cc5ba3119362d4a5bd7ce4d6d68cd9cd8c74
5
5
  SHA512:
6
- metadata.gz: 8a8305f3a07fca8198f6c5ea032c4ca78ca485af164f6d3f323dc98f601e59292f2be8ffce97a96cab909310ef04b74d7b89fe58ce4674fded922365a2c95501
7
- data.tar.gz: c0bdb7a6f80db3aa2aca47571f8ae9acbbd544293d39c39b5f2a8ac9a3ac872b25f124e6caafd1cc3b7dc7176dae0c5bf8390ee721d00d0c60dc896064a3740a
6
+ metadata.gz: 9bde88e2cf81914469c6cb8244eb1fab6a628395d62b8a0d4315803b736f098c1f2e3d729edc2e1b49a3910e102a846c6195fdcd1aa77c537eac260690528b2e
7
+ data.tar.gz: 369bbccbf5cdc3d8f3edd4ad6e7ac9d2a1d77377f462d002dbab89337ea5d5c5be50e53accc5d0a45e71b07f07e34de68555d3eae3061318617f875cba98ede7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-admin_reports_v1
2
2
 
3
+ ### v0.38.0 (2026-08-16)
4
+
5
+ * Regenerated from discovery document revision 20260809
6
+
7
+ ### v0.37.0 (2026-08-02)
8
+
9
+ * Regenerated from discovery document revision 20260729
10
+
3
11
  ### v0.36.0 (2026-07-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20260722
@@ -1214,6 +1214,11 @@ module Google
1214
1214
  # @return [Google::Apis::AdminReportsV1::GroupIdentity]
1215
1215
  attr_accessor :group_identity
1216
1216
 
1217
+ # Identity of the shared drive who owns the resource.
1218
+ # Corresponds to the JSON property `sharedDriveIdentity`
1219
+ # @return [Google::Apis::AdminReportsV1::SharedDriveIdentity]
1220
+ attr_accessor :shared_drive_identity
1221
+
1217
1222
  # Identity of the user who owns the resource.
1218
1223
  # Corresponds to the JSON property `userIdentity`
1219
1224
  # @return [Google::Apis::AdminReportsV1::UserIdentity]
@@ -1227,6 +1232,7 @@ module Google
1227
1232
  def update!(**args)
1228
1233
  @customer_identity = args[:customer_identity] if args.key?(:customer_identity)
1229
1234
  @group_identity = args[:group_identity] if args.key?(:group_identity)
1235
+ @shared_drive_identity = args[:shared_drive_identity] if args.key?(:shared_drive_identity)
1230
1236
  @user_identity = args[:user_identity] if args.key?(:user_identity)
1231
1237
  end
1232
1238
  end
@@ -1302,6 +1308,31 @@ module Google
1302
1308
  end
1303
1309
  end
1304
1310
 
1311
+ # Identity of the shared drive who owns the resource.
1312
+ class SharedDriveIdentity
1313
+ include Google::Apis::Core::Hashable
1314
+
1315
+ # Shared drive gaia id.
1316
+ # Corresponds to the JSON property `id`
1317
+ # @return [String]
1318
+ attr_accessor :id
1319
+
1320
+ # Shared drive name.
1321
+ # Corresponds to the JSON property `sharedDriveName`
1322
+ # @return [String]
1323
+ attr_accessor :shared_drive_name
1324
+
1325
+ def initialize(**args)
1326
+ update!(**args)
1327
+ end
1328
+
1329
+ # Update properties of this object
1330
+ def update!(**args)
1331
+ @id = args[:id] if args.key?(:id)
1332
+ @shared_drive_name = args[:shared_drive_name] if args.key?(:shared_drive_name)
1333
+ end
1334
+ end
1335
+
1305
1336
  # JSON template for a usage report.
1306
1337
  class UsageReport
1307
1338
  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.36.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260722"
25
+ REVISION = "20260809"
26
26
  end
27
27
  end
28
28
  end
@@ -220,6 +220,12 @@ module Google
220
220
  include Google::Apis::Core::JsonObjectSupport
221
221
  end
222
222
 
223
+ class SharedDriveIdentity
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
223
229
  class UsageReport
224
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
231
 
@@ -602,6 +608,8 @@ module Google
602
608
 
603
609
  property :group_identity, as: 'groupIdentity', class: Google::Apis::AdminReportsV1::GroupIdentity, decorator: Google::Apis::AdminReportsV1::GroupIdentity::Representation
604
610
 
611
+ property :shared_drive_identity, as: 'sharedDriveIdentity', class: Google::Apis::AdminReportsV1::SharedDriveIdentity, decorator: Google::Apis::AdminReportsV1::SharedDriveIdentity::Representation
612
+
605
613
  property :user_identity, as: 'userIdentity', class: Google::Apis::AdminReportsV1::UserIdentity, decorator: Google::Apis::AdminReportsV1::UserIdentity::Representation
606
614
 
607
615
  end
@@ -628,6 +636,14 @@ module Google
628
636
  end
629
637
  end
630
638
 
639
+ class SharedDriveIdentity
640
+ # @private
641
+ class Representation < Google::Apis::Core::JsonRepresentation
642
+ property :id, as: 'id'
643
+ property :shared_drive_name, as: 'sharedDriveName'
644
+ end
645
+ end
646
+
631
647
  class UsageReport
632
648
  # @private
633
649
  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] agent_info_filter
77
+ # Optional. Filters on agent info fields in the activity. This filter gets
78
+ # applied in conjunction(AND) with other filters. Example: "agentInfoFilter=
79
+ # agentId=\"agent-id\" AND agentName=\"agent-name\" AND agentOwnerEmail=\"agent-
80
+ # owner-email\""
76
81
  # @param [String] application_info_filter
77
82
  # Optional. Used to filter on the `oAuthClientId` field present in [`
78
83
  # ApplicationInfo`](#applicationinfo) message. **Usage** ``` GET...&
@@ -80,6 +85,11 @@ module Google
80
85
  # oAuthClientId=%22clientId%22 ```
81
86
  # @param [String] customer_id
82
87
  # The unique ID of the customer to retrieve data for.
88
+ # @param [String] device_filter
89
+ # Optional. Used to filter on the fields present in [`UserDeviceInfo`](#
90
+ # userdeviceinfo) message like `deviceId`, `deviceType`, and `deviceOsVersion`. *
91
+ # *Usage** ``` GET...&deviceFilter=deviceId="123" GET...&deviceFilter=deviceType=
92
+ # "ANDROID" GET...&deviceFilter=deviceOsVersion="14.0" ```
83
93
  # @param [String] end_time
84
94
  # Sets the end of the range of time shown in the report. The date is in the RFC
85
95
  # 3339 format, for example 2010-10-28T10:26:35.000Z. The default value is the
@@ -232,15 +242,17 @@ module Google
232
242
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
233
243
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
234
244
  # @raise [Google::Apis::AuthorizationError] Authorization is required
235
- 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, include_sensitive_data: 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)
245
+ def list_activities(user_key, application_name, actor_ip_address: nil, agent_info_filter: nil, application_info_filter: nil, customer_id: nil, device_filter: nil, end_time: nil, event_name: nil, filters: nil, group_id_filter: nil, include_sensitive_data: 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)
236
246
  command = make_simple_command(:get, 'admin/reports/v1/activity/users/{userKey}/applications/{applicationName}', options)
237
247
  command.response_representation = Google::Apis::AdminReportsV1::Activities::Representation
238
248
  command.response_class = Google::Apis::AdminReportsV1::Activities
239
249
  command.params['userKey'] = user_key unless user_key.nil?
240
250
  command.params['applicationName'] = application_name unless application_name.nil?
241
251
  command.query['actorIpAddress'] = actor_ip_address unless actor_ip_address.nil?
252
+ command.query['agentInfoFilter'] = agent_info_filter unless agent_info_filter.nil?
242
253
  command.query['applicationInfoFilter'] = application_info_filter unless application_info_filter.nil?
243
254
  command.query['customerId'] = customer_id unless customer_id.nil?
255
+ command.query['deviceFilter'] = device_filter unless device_filter.nil?
244
256
  command.query['endTime'] = end_time unless end_time.nil?
245
257
  command.query['eventName'] = event_name unless event_name.nil?
246
258
  command.query['filters'] = filters unless filters.nil?
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.36.0
4
+ version: 0.38.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.36.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-admin_reports_v1/v0.38.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: