google-apis-admin_directory_v1 0.18.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c508f8e93f70f10cc3d1a3636bf075e74b0d18043601d8642b8ca4cdbe0cd892
4
- data.tar.gz: 3db3798f90277d1f10229685dc0ede9bd6554a4355375990463527584d36bb85
3
+ metadata.gz: 64ed620e67092c4bde67237218e7e1eca858e0c2973cfc1a83f26480934e2b41
4
+ data.tar.gz: 9accc6f60f852935dc4e9b6271e8ababe95c329e7cc8e4ac862fe66f6efec47c
5
5
  SHA512:
6
- metadata.gz: ef713deb08e556377e2154565851e477f70e5a5ad4e8efda85551e5a45e61c679163c67110f18b4a536d83edf54d05661d9890bc6adcf9d5541751fef490e886
7
- data.tar.gz: 20937db2d4b297b16539d78d94fda5f7782cfe4ea0f69e6b63e8364375bea00db4a6927247fd3d064df92921d7b461ea402aa491c4b54e9d22867271e7ea6717
6
+ metadata.gz: bce0243ee08be251473cb8c5aa0286cbfedd6085d3ae79ba14cb2cf0adb9153cbcda31b67dac9ecc41ee3721067aeced28680ede174cd0affcc1d93c9db8e20b
7
+ data.tar.gz: ee3409cb835be1b9c436cb2b4a70633846a6afa7cbf593976a938241225866b29b18d8ea063cdedfa141c70e2f31491fc2304b524aa863d99bcc2afcf5dc65d2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Release history for google-apis-admin_directory_v1
2
2
 
3
+ ### v0.22.0 (2022-02-10)
4
+
5
+ * Regenerated from discovery document revision 20220208
6
+
7
+ ### v0.21.0 (2022-02-03)
8
+
9
+ * Regenerated from discovery document revision 20220201
10
+
11
+ ### v0.20.0 (2022-01-28)
12
+
13
+ * Regenerated from discovery document revision 20220125
14
+ * Regenerated using generator version 0.4.1
15
+
16
+ ### v0.19.0 (2021-12-23)
17
+
18
+ * Regenerated from discovery document revision 20211221
19
+ * Unspecified changes
20
+
3
21
  ### v0.18.0 (2021-12-08)
4
22
 
5
23
  * Regenerated from discovery document revision 20211207
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/admin_directory_v1"
51
51
  client = Google::Apis::AdminDirectoryV1::DirectoryService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -895,8 +895,10 @@ module Google
895
895
  # version of orgUnitId. While orgUnitPath may change by renaming an
896
896
  # organizational unit within the path, orgUnitId is unchangeable for one
897
897
  # organizational unit. This property can be [updated](/admin-sdk/directory/v1/
898
- # guides/manage-chrome-devices#update_chrome_device) using the API, and this
899
- # will be supported in the future.
898
+ # guides/manage-chrome-devices#move_chrome_devices_to_ou) using the API. For
899
+ # more information about how to create an organizational structure for your
900
+ # device, see the [administration help center](https://support.google.com/a/
901
+ # answer/182433).
900
902
  # Corresponds to the JSON property `orgUnitId`
901
903
  # @return [String]
902
904
  attr_accessor :org_unit_id
@@ -905,9 +907,9 @@ module Google
905
907
  # device. Path names are case insensitive. If the parent organizational unit is
906
908
  # the top-level organization, it is represented as a forward slash, `/`. This
907
909
  # property can be [updated](/admin-sdk/directory/v1/guides/manage-chrome-devices#
908
- # update_chrome_device) using the API. For more information about how to create
909
- # an organizational structure for your device, see the [administration help
910
- # center](https://support.google.com/a/answer/182433).
910
+ # move_chrome_devices_to_ou) using the API. For more information about how to
911
+ # create an organizational structure for your device, see the [administration
912
+ # help center](https://support.google.com/a/answer/182433).
911
913
  # Corresponds to the JSON property `orgUnitPath`
912
914
  # @return [String]
913
915
  attr_accessor :org_unit_path
@@ -2343,8 +2345,8 @@ module Google
2343
2345
  attr_accessor :next_page_token
2344
2346
 
2345
2347
  # List of printers. If `org_unit_id` was given in the request, then only
2346
- # printers visible for this OU will be returned. If `org_unit_id` was given in
2347
- # the request, then all printers will be returned.
2348
+ # printers visible for this OU will be returned. If `org_unit_id` was not given
2349
+ # in the request, then all printers will be returned.
2348
2350
  # Corresponds to the JSON property `printers`
2349
2351
  # @return [Array<Google::Apis::AdminDirectoryV1::Printer>]
2350
2352
  attr_accessor :printers
@@ -3811,10 +3813,10 @@ module Google
3811
3813
  attr_accessor :gender
3812
3814
 
3813
3815
  # Stores the hash format of the password property. We recommend sending the `
3814
- # password` property value as a base 16 bit hexadecimal-encoded hash value. Set
3815
- # the `hashFunction` values as either the [SHA-1](https://wikipedia.org/wiki/SHA-
3816
- # 1), [MD5](https://wikipedia.org/wiki/MD5), or [crypt](https://en.wikipedia.org/
3817
- # wiki/Crypt_\(C\)) hash format.
3816
+ # password` property value as a base 16 bit hexadecimal-encoded hash value. The
3817
+ # following `hashFunction` values are allowed: * `DES` * `MD5` - hash prefix is `
3818
+ # $1$` * `SHA2-256` - hash prefix is `$5$` * `SHA2-512` - hash prefix is `$6$`
3819
+ # If rounds are specified as part of the prefix, they must be 10,000 or fewer.
3818
3820
  # Corresponds to the JSON property `hashFunction`
3819
3821
  # @return [String]
3820
3822
  attr_accessor :hash_function
@@ -4400,26 +4402,25 @@ module Google
4400
4402
  class UserLanguage
4401
4403
  include Google::Apis::Core::Hashable
4402
4404
 
4403
- # Other language. User can provide own language name if there is no
4404
- # corresponding ISO 639 language code. If this is set `languageCode` can't be
4405
+ # Other language. User can provide their own language name if there is no
4406
+ # corresponding ISO 639 language code. If this is set, `languageCode` can't be
4405
4407
  # set.
4406
4408
  # Corresponds to the JSON property `customLanguage`
4407
4409
  # @return [String]
4408
4410
  attr_accessor :custom_language
4409
4411
 
4410
- # Language Code. Should be used for storing ISO 639 LanguageCode string
4411
- # representation for language. See the [Language Codes](/admin-sdk/directory/v1/
4412
- # languages) page for the list of supported codes. Valid language codes outside
4413
- # the supported set will be accepted by the API but may lead to unexpected
4414
- # behavior. Illegal values cause SchemaException. If this is set `customLanguage`
4415
- # can't be set.
4412
+ # ISO 639 string representation of a language. See [Language Codes](/admin-sdk/
4413
+ # directory/v1/languages) for the list of supported codes. Valid language codes
4414
+ # outside the supported set will be accepted by the API but may lead to
4415
+ # unexpected behavior. Illegal values cause `SchemaException`. If this is set, `
4416
+ # customLanguage` can't be set.
4416
4417
  # Corresponds to the JSON property `languageCode`
4417
4418
  # @return [String]
4418
4419
  attr_accessor :language_code
4419
4420
 
4420
- # Preference. Optional field, which if present, controls whether the specified `
4421
- # languageCode` is stored as the user's preferred language. If `customLanguage`
4422
- # is set, this can't be set. Allowed values are `preferred` and `not_preferred`.
4421
+ # Optional. If present, controls whether the specified `languageCode` is the
4422
+ # user's preferred language. If `customLanguage` is set, this can't be set.
4423
+ # Allowed values are `preferred` and `not_preferred`.
4423
4424
  # Corresponds to the JSON property `preference`
4424
4425
  # @return [String]
4425
4426
  attr_accessor :preference
@@ -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.18.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211207"
25
+ REVISION = "20220208"
26
26
  end
27
27
  end
28
28
  end
@@ -279,7 +279,8 @@ module Google
279
279
  # @param [String] order_by
280
280
  # Device property to use for sorting results.
281
281
  # @param [String] org_unit_path
282
- # The full path of the organizational unit or its unique ID.
282
+ # The full path of the organizational unit (minus the leading `/`) or its unique
283
+ # ID.
283
284
  # @param [String] page_token
284
285
  # The `pageToken` query parameter is used to request the next page of query
285
286
  # results. The follow-on request's `pageToken` query parameter is the `
@@ -789,6 +790,12 @@ module Google
789
790
  # @param [String] filter
790
791
  # Search query. Search syntax is shared between this api and Admin Console
791
792
  # printers pages.
793
+ # @param [String] order_by
794
+ # The order to sort results by. Must be one of display_name, description,
795
+ # make_and_model, or create_time. Default order is ascending, but descending
796
+ # order can be returned by appending "desc" to the order_by field. For instance,
797
+ # "description desc" will return the printers sorted by description in
798
+ # descending order.
792
799
  # @param [String] org_unit_id
793
800
  # Organization Unit that we want to list the printers for. When org_unit is not
794
801
  # present in the request then all printers of the customer are returned (or
@@ -817,12 +824,13 @@ module Google
817
824
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
818
825
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
819
826
  # @raise [Google::Apis::AuthorizationError] Authorization is required
820
- def list_customer_chrome_printers(parent, filter: nil, org_unit_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
827
+ def list_customer_chrome_printers(parent, filter: nil, order_by: nil, org_unit_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
821
828
  command = make_simple_command(:get, 'admin/directory/v1/{+parent}/chrome/printers', options)
822
829
  command.response_representation = Google::Apis::AdminDirectoryV1::ListPrintersResponse::Representation
823
830
  command.response_class = Google::Apis::AdminDirectoryV1::ListPrintersResponse
824
831
  command.params['parent'] = parent unless parent.nil?
825
832
  command.query['filter'] = filter unless filter.nil?
833
+ command.query['orderBy'] = order_by unless order_by.nil?
826
834
  command.query['orgUnitId'] = org_unit_id unless org_unit_id.nil?
827
835
  command.query['pageSize'] = page_size unless page_size.nil?
828
836
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -1271,7 +1279,7 @@ module Google
1271
1279
  # to represent your account's `customerId`. The `customerId` is also returned as
1272
1280
  # part of the [Users](/admin-sdk/directory/v1/reference/users)
1273
1281
  # @param [String] domain
1274
- # The domain name. Use this field to get fields from only one domain. To return
1282
+ # The domain name. Use this field to get groups from only one domain. To return
1275
1283
  # all domains for a customer account, use the `customer` query parameter instead.
1276
1284
  # @param [Fixnum] max_results
1277
1285
  # Maximum number of results to return. Max allowed value is 200.
@@ -1864,7 +1872,10 @@ module Google
1864
1872
  execute_or_queue_command(command, &block)
1865
1873
  end
1866
1874
 
1867
- # Retrieves a paginated list of all mobile devices for an account.
1875
+ # Retrieves a paginated list of all user-owned mobile devices for an account. To
1876
+ # retrieve a list that includes company-owned devices, use the Cloud Identity [
1877
+ # Devices API](https://cloud.google.com/identity/docs/concepts/overview-devices)
1878
+ # instead.
1868
1879
  # @param [String] customer_id
1869
1880
  # The unique ID for the customer's Google Workspace account. As an account
1870
1881
  # administrator, you can also use the `my_customer` alias to represent your
@@ -1924,7 +1935,8 @@ module Google
1924
1935
  # account's `customerId`. The `customerId` is also returned as part of the [
1925
1936
  # Users resource](/admin-sdk/directory/v1/reference/users).
1926
1937
  # @param [String] org_unit_path
1927
- # The full path of the organizational unit or its unique ID.
1938
+ # The full path of the organizational unit (minus the leading `/`) or its unique
1939
+ # ID.
1928
1940
  # @param [String] fields
1929
1941
  # Selector specifying which fields to include in a partial response.
1930
1942
  # @param [String] quota_user
@@ -1958,7 +1970,8 @@ module Google
1958
1970
  # account's `customerId`. The `customerId` is also returned as part of the [
1959
1971
  # Users resource](/admin-sdk/directory/v1/reference/users).
1960
1972
  # @param [String] org_unit_path
1961
- # The full path of the organizational unit or its unique ID.
1973
+ # The full path of the organizational unit (minus the leading `/`) or its unique
1974
+ # ID.
1962
1975
  # @param [String] fields
1963
1976
  # Selector specifying which fields to include in a partial response.
1964
1977
  # @param [String] quota_user
@@ -2071,7 +2084,8 @@ module Google
2071
2084
  # account's `customerId`. The `customerId` is also returned as part of the [
2072
2085
  # Users resource](/admin-sdk/directory/v1/reference/users).
2073
2086
  # @param [String] org_unit_path
2074
- # The full path of the organizational unit or its unique ID.
2087
+ # The full path of the organizational unit (minus the leading `/`) or its unique
2088
+ # ID.
2075
2089
  # @param [Google::Apis::AdminDirectoryV1::OrgUnit] org_unit_object
2076
2090
  # @param [String] fields
2077
2091
  # Selector specifying which fields to include in a partial response.
@@ -2110,7 +2124,8 @@ module Google
2110
2124
  # account's `customerId`. The `customerId` is also returned as part of the [
2111
2125
  # Users resource](/admin-sdk/directory/v1/reference/users).
2112
2126
  # @param [String] org_unit_path
2113
- # The full path of the organizational unit or its unique ID.
2127
+ # The full path of the organizational unit (minus the leading `/`) or its unique
2128
+ # ID.
2114
2129
  # @param [Google::Apis::AdminDirectoryV1::OrgUnit] org_unit_object
2115
2130
  # @param [String] fields
2116
2131
  # Selector specifying which fields to include in a partial response.
@@ -3674,7 +3689,7 @@ module Google
3674
3689
  # /admin-sdk/directory/v1/reference/users). Either the `customer` or the `domain`
3675
3690
  # parameter must be provided.
3676
3691
  # @param [String] domain
3677
- # The domain name. Use this field to get fields from only one domain. To return
3692
+ # The domain name. Use this field to get groups from only one domain. To return
3678
3693
  # all domains for a customer account, use the `customer` query parameter instead.
3679
3694
  # Either the `customer` or the `domain` parameter must be provided.
3680
3695
  # @param [String] event
@@ -3694,7 +3709,7 @@ module Google
3694
3709
  # @param [String] show_deleted
3695
3710
  # If set to `true`, retrieves the list of deleted users. (Default: `false`)
3696
3711
  # @param [String] sort_order
3697
- # Whether to return results in ascending or descending order.
3712
+ # Whether to return results in ascending or descending order, ignoring case.
3698
3713
  # @param [String] view_type
3699
3714
  # Whether to fetch the administrator-only or domain-wide public view of the user.
3700
3715
  # For more information, see [Retrieve a user as a non-administrator](/admin-sdk/
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-admin_directory_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-13 00:00:00.000000000 Z
11
+ date: 2022-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-admin_directory_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.22.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-admin_directory_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Admin SDK API DirectoryV1