google-apis-admin_directory_v1 0.17.0 → 0.21.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: 55a01193ce1792a608d73d9fff7cd4760cbb0bfd35caebe5c4a1551c778e4ab1
4
- data.tar.gz: 87cdb4420b14b73fcb592accd06c041fcb234db21d52c30e8da2c271aa3598e6
3
+ metadata.gz: afe7697d1642f4e1d424ba32bd72763146fcf30fecbbebe78396b421e49fbe41
4
+ data.tar.gz: 36f46657ef6a7412c6de95c0d214fbbc4fb5d069820890c06c941d506bcb14ae
5
5
  SHA512:
6
- metadata.gz: 7576317760c421fbea5cf3ba19209e9858606bfa656fe93b4e48fd8f6b6259c68bb4fe0043e104f2c6c14b149a755fb32303dd62474f84fb1eb39ea8be5d25e2
7
- data.tar.gz: 24d81874dd168fa7d1dbdbb9d457eaac192c01d2a16a176748659c71968ffc8253cf293a7f120bc471940f800a926f106838f7dbbeeb445ba506b07d9dbf4926
6
+ metadata.gz: a29aa1cca6dd30c72bc678797c7545427a61773b4b8d153343c5a6c7adb06a0a91ac7edc966a11630c07b70c911dbc80e7f087d99b4952d7bd1faf3c60f954e0
7
+ data.tar.gz: 0ad47f0ee1eff99106e776fd05a96d9eb9e06da2666bc39b3f6d178c6d1a4045943341a71178cb9c33d21e8c03f953992c37506848f0d28ebf16984879e87a03
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Release history for google-apis-admin_directory_v1
2
2
 
3
+ ### v0.21.0 (2022-02-03)
4
+
5
+ * Regenerated from discovery document revision 20220201
6
+
7
+ ### v0.20.0 (2022-01-28)
8
+
9
+ * Regenerated from discovery document revision 20220125
10
+ * Regenerated using generator version 0.4.1
11
+
12
+ ### v0.19.0 (2021-12-23)
13
+
14
+ * Regenerated from discovery document revision 20211221
15
+ * Unspecified changes
16
+
17
+ ### v0.18.0 (2021-12-08)
18
+
19
+ * Regenerated from discovery document revision 20211207
20
+
3
21
  ### v0.17.0 (2021-11-10)
4
22
 
5
23
  * Regenerated from discovery document revision 20211109
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.
@@ -891,13 +891,25 @@ module Google
891
891
  # @return [String]
892
892
  attr_accessor :order_number
893
893
 
894
+ # The unique ID of the organizational unit. orgUnitPath is the human readable
895
+ # version of orgUnitId. While orgUnitPath may change by renaming an
896
+ # organizational unit within the path, orgUnitId is unchangeable for one
897
+ # organizational unit. This property can be [updated](/admin-sdk/directory/v1/
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).
902
+ # Corresponds to the JSON property `orgUnitId`
903
+ # @return [String]
904
+ attr_accessor :org_unit_id
905
+
894
906
  # The full parent path with the organizational unit's name associated with the
895
907
  # device. Path names are case insensitive. If the parent organizational unit is
896
908
  # the top-level organization, it is represented as a forward slash, `/`. This
897
909
  # property can be [updated](/admin-sdk/directory/v1/guides/manage-chrome-devices#
898
- # update_chrome_device) using the API. For more information about how to create
899
- # an organizational structure for your device, see the [administration help
900
- # 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).
901
913
  # Corresponds to the JSON property `orgUnitPath`
902
914
  # @return [String]
903
915
  attr_accessor :org_unit_path
@@ -994,6 +1006,7 @@ module Google
994
1006
  @model = args[:model] if args.key?(:model)
995
1007
  @notes = args[:notes] if args.key?(:notes)
996
1008
  @order_number = args[:order_number] if args.key?(:order_number)
1009
+ @org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id)
997
1010
  @org_unit_path = args[:org_unit_path] if args.key?(:org_unit_path)
998
1011
  @os_version = args[:os_version] if args.key?(:os_version)
999
1012
  @platform_version = args[:platform_version] if args.key?(:platform_version)
@@ -2332,8 +2345,8 @@ module Google
2332
2345
  attr_accessor :next_page_token
2333
2346
 
2334
2347
  # List of printers. If `org_unit_id` was given in the request, then only
2335
- # printers visible for this OU will be returned. If `org_unit_id` was given in
2336
- # 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.
2337
2350
  # Corresponds to the JSON property `printers`
2338
2351
  # @return [Array<Google::Apis::AdminDirectoryV1::Printer>]
2339
2352
  attr_accessor :printers
@@ -3800,10 +3813,10 @@ module Google
3800
3813
  attr_accessor :gender
3801
3814
 
3802
3815
  # Stores the hash format of the password property. We recommend sending the `
3803
- # password` property value as a base 16 bit hexadecimal-encoded hash value. Set
3804
- # the `hashFunction` values as either the [SHA-1](https://wikipedia.org/wiki/SHA-
3805
- # 1), [MD5](https://wikipedia.org/wiki/MD5), or [crypt](https://en.wikipedia.org/
3806
- # 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.
3807
3820
  # Corresponds to the JSON property `hashFunction`
3808
3821
  # @return [String]
3809
3822
  attr_accessor :hash_function
@@ -4389,19 +4402,29 @@ module Google
4389
4402
  class UserLanguage
4390
4403
  include Google::Apis::Core::Hashable
4391
4404
 
4392
- # Other language. User can provide own language name if there is no
4393
- # corresponding Google III language code. If this is set LanguageCode can't be
4394
- # set
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
4407
+ # set.
4395
4408
  # Corresponds to the JSON property `customLanguage`
4396
4409
  # @return [String]
4397
4410
  attr_accessor :custom_language
4398
4411
 
4399
- # Language Code. Should be used for storing Google III LanguageCode string
4400
- # representation for language. Illegal values cause SchemaException.
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.
4401
4417
  # Corresponds to the JSON property `languageCode`
4402
4418
  # @return [String]
4403
4419
  attr_accessor :language_code
4404
4420
 
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`.
4424
+ # Corresponds to the JSON property `preference`
4425
+ # @return [String]
4426
+ attr_accessor :preference
4427
+
4405
4428
  def initialize(**args)
4406
4429
  update!(**args)
4407
4430
  end
@@ -4410,6 +4433,7 @@ module Google
4410
4433
  def update!(**args)
4411
4434
  @custom_language = args[:custom_language] if args.key?(:custom_language)
4412
4435
  @language_code = args[:language_code] if args.key?(:language_code)
4436
+ @preference = args[:preference] if args.key?(:preference)
4413
4437
  end
4414
4438
  end
4415
4439
 
@@ -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.17.0"
19
+ GEM_VERSION = "0.21.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 = "20211109"
25
+ REVISION = "20220201"
26
26
  end
27
27
  end
28
28
  end
@@ -853,6 +853,7 @@ module Google
853
853
  property :model, as: 'model'
854
854
  property :notes, as: 'notes'
855
855
  property :order_number, as: 'orderNumber'
856
+ property :org_unit_id, as: 'orgUnitId'
856
857
  property :org_unit_path, as: 'orgUnitPath'
857
858
  property :os_version, as: 'osVersion'
858
859
  property :platform_version, as: 'platformVersion'
@@ -1707,6 +1708,7 @@ module Google
1707
1708
  class Representation < Google::Apis::Core::JsonRepresentation
1708
1709
  property :custom_language, as: 'customLanguage'
1709
1710
  property :language_code, as: 'languageCode'
1711
+ property :preference, as: 'preference'
1710
1712
  end
1711
1713
  end
1712
1714
 
@@ -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 `
@@ -1271,7 +1272,7 @@ module Google
1271
1272
  # to represent your account's `customerId`. The `customerId` is also returned as
1272
1273
  # part of the [Users](/admin-sdk/directory/v1/reference/users)
1273
1274
  # @param [String] domain
1274
- # The domain name. Use this field to get fields from only one domain. To return
1275
+ # The domain name. Use this field to get groups from only one domain. To return
1275
1276
  # all domains for a customer account, use the `customer` query parameter instead.
1276
1277
  # @param [Fixnum] max_results
1277
1278
  # Maximum number of results to return. Max allowed value is 200.
@@ -1864,7 +1865,10 @@ module Google
1864
1865
  execute_or_queue_command(command, &block)
1865
1866
  end
1866
1867
 
1867
- # Retrieves a paginated list of all mobile devices for an account.
1868
+ # Retrieves a paginated list of all user-owned mobile devices for an account. To
1869
+ # retrieve a list that includes company-owned devices, use the Cloud Identity [
1870
+ # Devices API](https://cloud.google.com/identity/docs/concepts/overview-devices)
1871
+ # instead.
1868
1872
  # @param [String] customer_id
1869
1873
  # The unique ID for the customer's Google Workspace account. As an account
1870
1874
  # administrator, you can also use the `my_customer` alias to represent your
@@ -1924,7 +1928,8 @@ module Google
1924
1928
  # account's `customerId`. The `customerId` is also returned as part of the [
1925
1929
  # Users resource](/admin-sdk/directory/v1/reference/users).
1926
1930
  # @param [String] org_unit_path
1927
- # The full path of the organizational unit or its unique ID.
1931
+ # The full path of the organizational unit (minus the leading `/`) or its unique
1932
+ # ID.
1928
1933
  # @param [String] fields
1929
1934
  # Selector specifying which fields to include in a partial response.
1930
1935
  # @param [String] quota_user
@@ -1958,7 +1963,8 @@ module Google
1958
1963
  # account's `customerId`. The `customerId` is also returned as part of the [
1959
1964
  # Users resource](/admin-sdk/directory/v1/reference/users).
1960
1965
  # @param [String] org_unit_path
1961
- # The full path of the organizational unit or its unique ID.
1966
+ # The full path of the organizational unit (minus the leading `/`) or its unique
1967
+ # ID.
1962
1968
  # @param [String] fields
1963
1969
  # Selector specifying which fields to include in a partial response.
1964
1970
  # @param [String] quota_user
@@ -2071,7 +2077,8 @@ module Google
2071
2077
  # account's `customerId`. The `customerId` is also returned as part of the [
2072
2078
  # Users resource](/admin-sdk/directory/v1/reference/users).
2073
2079
  # @param [String] org_unit_path
2074
- # The full path of the organizational unit or its unique ID.
2080
+ # The full path of the organizational unit (minus the leading `/`) or its unique
2081
+ # ID.
2075
2082
  # @param [Google::Apis::AdminDirectoryV1::OrgUnit] org_unit_object
2076
2083
  # @param [String] fields
2077
2084
  # Selector specifying which fields to include in a partial response.
@@ -2110,7 +2117,8 @@ module Google
2110
2117
  # account's `customerId`. The `customerId` is also returned as part of the [
2111
2118
  # Users resource](/admin-sdk/directory/v1/reference/users).
2112
2119
  # @param [String] org_unit_path
2113
- # The full path of the organizational unit or its unique ID.
2120
+ # The full path of the organizational unit (minus the leading `/`) or its unique
2121
+ # ID.
2114
2122
  # @param [Google::Apis::AdminDirectoryV1::OrgUnit] org_unit_object
2115
2123
  # @param [String] fields
2116
2124
  # Selector specifying which fields to include in a partial response.
@@ -3674,7 +3682,7 @@ module Google
3674
3682
  # /admin-sdk/directory/v1/reference/users). Either the `customer` or the `domain`
3675
3683
  # parameter must be provided.
3676
3684
  # @param [String] domain
3677
- # The domain name. Use this field to get fields from only one domain. To return
3685
+ # The domain name. Use this field to get groups from only one domain. To return
3678
3686
  # all domains for a customer account, use the `customer` query parameter instead.
3679
3687
  # Either the `customer` or the `domain` parameter must be provided.
3680
3688
  # @param [String] event
@@ -3694,7 +3702,7 @@ module Google
3694
3702
  # @param [String] show_deleted
3695
3703
  # If set to `true`, retrieves the list of deleted users. (Default: `false`)
3696
3704
  # @param [String] sort_order
3697
- # Whether to return results in ascending or descending order.
3705
+ # Whether to return results in ascending or descending order, ignoring case.
3698
3706
  # @param [String] view_type
3699
3707
  # Whether to fetch the administrator-only or domain-wide public view of the user.
3700
3708
  # 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.17.0
4
+ version: 0.21.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-11-15 00:00:00.000000000 Z
11
+ date: 2022-02-07 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.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.21.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