google-apis-admin_directory_v1 0.74.0 → 0.75.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: bfc44787b5f8ff16ab2639a16915bea464600ce67cb5305f19e310b5fc5b9843
4
- data.tar.gz: 64015d5d89df9559341b6c2bcd17b98e7cf4b65e808d27f244bc2c6519d201c4
3
+ metadata.gz: ca432c34def29f6ba09d75b67206dbdf5847fe7c6d9b9224c75757f3d950222d
4
+ data.tar.gz: 22b38e9d2bf0e10f97f3b87bf57905ca25c1226a479d66a035fb8d0e5f424c3a
5
5
  SHA512:
6
- metadata.gz: dddcd1f4ea8f6d4013349507666e685bd854ed4c480e77f57dfb93418a054cf094b3a1679a5cfb7e1202f5353b8a7519635f3665828fb2890eba9de64734d78d
7
- data.tar.gz: 96c2c8366a4723326e57b1f1fc3cb8ea1c103eb6dccf534196f91ac4602d46afcc2c1c0d6fb478a2624522394f1e742b3791d43c64a84e3cb8a4951c92a1ede8
6
+ metadata.gz: 992c765b7f88847d759bbbbb779e6340e23dad3b800d8373d600a5bd647b2f890c2b6ff4c2e84478342b6a6e2f086bb27504d35b3e28e7ddf76bc52310fdf973
7
+ data.tar.gz: 16eeabe7e5b3d7ca50530019a8ad04d4b70f60adf0cd94b756ceb063fd1e3cc82bf2394d2ba3cee58c224821a1427d07dc2c98d48d5b9b5ef8d40b6c19c17c0c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-admin_directory_v1
2
2
 
3
+ ### v0.75.0 (2026-02-15)
4
+
5
+ * Regenerated from discovery document revision 20260210
6
+
3
7
  ### v0.74.0 (2026-01-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20260113
@@ -1912,6 +1912,25 @@ module Google
1912
1912
  end
1913
1913
  end
1914
1914
 
1915
+ # A response for counting ChromeOS devices.
1916
+ class CountChromeOsDevicesResponse
1917
+ include Google::Apis::Core::Hashable
1918
+
1919
+ # The total number of devices matching the request.
1920
+ # Corresponds to the JSON property `count`
1921
+ # @return [Fixnum]
1922
+ attr_accessor :count
1923
+
1924
+ def initialize(**args)
1925
+ update!(**args)
1926
+ end
1927
+
1928
+ # Update properties of this object
1929
+ def update!(**args)
1930
+ @count = args[:count] if args.key?(:count)
1931
+ end
1932
+ end
1933
+
1915
1934
  # Request for adding a new print server.
1916
1935
  class CreatePrintServerRequest
1917
1936
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AdminDirectoryV1
18
18
  # Version of the google-apis-admin_directory_v1 gem
19
- GEM_VERSION = "0.74.0"
19
+ GEM_VERSION = "0.75.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 = "20260113"
25
+ REVISION = "20260210"
26
26
  end
27
27
  end
28
28
  end
@@ -292,6 +292,12 @@ module Google
292
292
  include Google::Apis::Core::JsonObjectSupport
293
293
  end
294
294
 
295
+ class CountChromeOsDevicesResponse
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
295
301
  class CreatePrintServerRequest
296
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
303
 
@@ -1285,6 +1291,13 @@ module Google
1285
1291
  end
1286
1292
  end
1287
1293
 
1294
+ class CountChromeOsDevicesResponse
1295
+ # @private
1296
+ class Representation < Google::Apis::Core::JsonRepresentation
1297
+ property :count, :numeric_string => true, as: 'count'
1298
+ end
1299
+ end
1300
+
1288
1301
  class CreatePrintServerRequest
1289
1302
  # @private
1290
1303
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -503,6 +503,48 @@ module Google
503
503
  execute_or_queue_command(command, &block)
504
504
  end
505
505
 
506
+ # Counts ChromeOS devices matching the request.
507
+ # @param [String] customer_id
508
+ # Required. Immutable ID of the Google Workspace account.
509
+ # @param [String] filter
510
+ # Optional. Search string in the format given at https://developers.google.com/
511
+ # workspace/admin/directory/v1/list-query-operators
512
+ # @param [Boolean] include_child_orgunits
513
+ # Optional. Return devices from all child orgunits, as well as the specified org
514
+ # unit. If this is set to true, 'orgUnitPath' must be provided.
515
+ # @param [String] org_unit_path
516
+ # Optional. The full path of the organizational unit (minus the leading `/`) or
517
+ # its unique ID.
518
+ # @param [String] fields
519
+ # Selector specifying which fields to include in a partial response.
520
+ # @param [String] quota_user
521
+ # Available to use for quota purposes for server-side applications. Can be any
522
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
523
+ # @param [Google::Apis::RequestOptions] options
524
+ # Request-specific options
525
+ #
526
+ # @yield [result, err] Result & error if block supplied
527
+ # @yieldparam result [Google::Apis::AdminDirectoryV1::CountChromeOsDevicesResponse] parsed result object
528
+ # @yieldparam err [StandardError] error object if request failed
529
+ #
530
+ # @return [Google::Apis::AdminDirectoryV1::CountChromeOsDevicesResponse]
531
+ #
532
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
533
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
534
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
535
+ def count_customer_device_chromeo_chrome_os_devices(customer_id, filter: nil, include_child_orgunits: nil, org_unit_path: nil, fields: nil, quota_user: nil, options: nil, &block)
536
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customerId}/devices/chromeos:countChromeOsDevices', options)
537
+ command.response_representation = Google::Apis::AdminDirectoryV1::CountChromeOsDevicesResponse::Representation
538
+ command.response_class = Google::Apis::AdminDirectoryV1::CountChromeOsDevicesResponse
539
+ command.params['customerId'] = customer_id unless customer_id.nil?
540
+ command.query['filter'] = filter unless filter.nil?
541
+ command.query['includeChildOrgunits'] = include_child_orgunits unless include_child_orgunits.nil?
542
+ command.query['orgUnitPath'] = org_unit_path unless org_unit_path.nil?
543
+ command.query['fields'] = fields unless fields.nil?
544
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
545
+ execute_or_queue_command(command, &block)
546
+ end
547
+
506
548
  # Issues a command for the device to execute.
507
549
  # @param [String] customer_id
508
550
  # Immutable. ID of the Google Workspace account.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-admin_directory_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.74.0
4
+ version: 0.75.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_directory_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.74.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.75.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-admin_directory_v1
62
62
  rdoc_options: []
63
63
  require_paths: