google-apis-admin_directory_v1 0.74.0 → 0.76.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 +8 -0
- data/lib/google/apis/admin_directory_v1/classes.rb +19 -0
- data/lib/google/apis/admin_directory_v1/gem_version.rb +2 -2
- data/lib/google/apis/admin_directory_v1/representations.rb +13 -0
- data/lib/google/apis/admin_directory_v1/service.rb +46 -5
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ec098fe8a2de317ff7a2225a0a057cd137868a46a56b63e90f09b1059f463d4a
|
|
4
|
+
data.tar.gz: 356a52bb3195f29732069c237523e8a2df4a5afed4602da158a3b334a2e7c704
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 57ff7662cf39d66e719ab56728304ef94ad203131ec823808bed8b146eeb4628f6c0722a4af12b4553b59cb54d322e015056db04d9c27bc9f74e180d6cf21ff3
|
|
7
|
+
data.tar.gz: 44504d6342efa6dc31669ef55d7d611c05ae173883ba95c1eb16f248c26af6b5cc95b49ed593eaed6eaddf5b43d736ae295003592f4c212efa90d470aa592836
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-admin_directory_v1
|
|
2
2
|
|
|
3
|
+
### v0.76.0 (2026-03-15)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260227
|
|
6
|
+
|
|
7
|
+
### v0.75.0 (2026-02-15)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260210
|
|
10
|
+
|
|
3
11
|
### v0.74.0 (2026-01-18)
|
|
4
12
|
|
|
5
13
|
* 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.
|
|
19
|
+
GEM_VERSION = "0.76.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 = "20260227"
|
|
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
|
|
@@ -297,8 +297,8 @@ module Google
|
|
|
297
297
|
# Determines whether the response contains the full list of properties or only a
|
|
298
298
|
# subset.
|
|
299
299
|
# @param [String] query
|
|
300
|
-
# Search string in the format given at https://developers.
|
|
301
|
-
# admin/directory/v1/list-query-operators
|
|
300
|
+
# Search string in the format given at [List query operators](https://developers.
|
|
301
|
+
# google.com/workspace/admin/directory/v1/list-query-operators).
|
|
302
302
|
# @param [String] sort_order
|
|
303
303
|
# Whether to return results in ascending or descending order. Must be used with
|
|
304
304
|
# the `orderBy` parameter.
|
|
@@ -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 [List query operators](https://
|
|
511
|
+
# developers.google.com/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.
|
|
@@ -3974,9 +4016,8 @@ module Google
|
|
|
3974
4016
|
end
|
|
3975
4017
|
|
|
3976
4018
|
# Create a guest user with access to a [subset of Workspace capabilities](https:/
|
|
3977
|
-
# /support.google.com/a/answer/16558545
|
|
3978
|
-
#
|
|
3979
|
-
# feature.
|
|
4019
|
+
# /support.google.com/a/answer/16558545). This feature is currently in Alpha.
|
|
4020
|
+
# Please reach out to support if you are interested in trying this feature.
|
|
3980
4021
|
# @param [Google::Apis::AdminDirectoryV1::DirectoryUsersCreateGuestRequest] directory_users_create_guest_request_object
|
|
3981
4022
|
# @param [String] fields
|
|
3982
4023
|
# Selector specifying which fields to include in a partial response.
|
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.
|
|
4
|
+
version: 0.76.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.76.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:
|