google-apis-admin_directory_v1 0.16.0 → 0.20.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: 455c3599c3950b4388e053315933a84f76ae81d63b2bc9835c3e7f70668490d5
4
- data.tar.gz: 8cfe542aebca131752f3f50f5c59ca03e35b1a707601d49b86f9adda8e06b91a
3
+ metadata.gz: bf1c56ef6645b159cdf6166d5ad474ea60ea2c46a0a7172d5ca68dc07afdf138
4
+ data.tar.gz: 1e5b79492e32e613f2d01d196b8ce32bbd9ce7b2143e91f0a15dc8e49e419a4c
5
5
  SHA512:
6
- metadata.gz: 0b214fb5dae6813def1e41ec354e347479ed3a83de1a5869964412e9396a9900516c578acd6bc629c219712cc03937979121a3e506067a72da5b090289024f09
7
- data.tar.gz: 94071b1f8ea733287f79be5966b4818838fa4b5c164d1161a3f4a4e2d156496d5616d1335bd6295a86276fcd8a6bb0b01503f6a298afcd2825a3088f8bcbd072
6
+ metadata.gz: 380985e6333f35d0cb3a8643d6542bd1a09c282189db9691beeb5b3cba9f463938f79fed484aa36df0d61f8db500fa0ae6add91f577595705883a475d76fb80b
7
+ data.tar.gz: d21643e42501e1a2b05f813aecc00db26537a8de728d0b7b5d3bf60c54d7fce7d4e70f25c6f46795415893328a0a8787b265822712b7528683db12c70a028f89
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Release history for google-apis-admin_directory_v1
2
2
 
3
+ ### v0.20.0 (2022-01-28)
4
+
5
+ * Regenerated from discovery document revision 20220125
6
+ * Regenerated using generator version 0.4.1
7
+
8
+ ### v0.19.0 (2021-12-23)
9
+
10
+ * Regenerated from discovery document revision 20211221
11
+ * Unspecified changes
12
+
13
+ ### v0.18.0 (2021-12-08)
14
+
15
+ * Regenerated from discovery document revision 20211207
16
+
17
+ ### v0.17.0 (2021-11-10)
18
+
19
+ * Regenerated from discovery document revision 20211109
20
+
3
21
  ### v0.16.0 (2021-10-20)
4
22
 
5
23
  * Regenerated from discovery document revision 20211014
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,6 +891,16 @@ 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#update_chrome_device) using the API, and this
899
+ # will be supported in the future.
900
+ # Corresponds to the JSON property `orgUnitId`
901
+ # @return [String]
902
+ attr_accessor :org_unit_id
903
+
894
904
  # The full parent path with the organizational unit's name associated with the
895
905
  # device. Path names are case insensitive. If the parent organizational unit is
896
906
  # the top-level organization, it is represented as a forward slash, `/`. This
@@ -994,6 +1004,7 @@ module Google
994
1004
  @model = args[:model] if args.key?(:model)
995
1005
  @notes = args[:notes] if args.key?(:notes)
996
1006
  @order_number = args[:order_number] if args.key?(:order_number)
1007
+ @org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id)
997
1008
  @org_unit_path = args[:org_unit_path] if args.key?(:org_unit_path)
998
1009
  @os_version = args[:os_version] if args.key?(:os_version)
999
1010
  @platform_version = args[:platform_version] if args.key?(:platform_version)
@@ -4389,19 +4400,29 @@ module Google
4389
4400
  class UserLanguage
4390
4401
  include Google::Apis::Core::Hashable
4391
4402
 
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
4403
+ # Other language. User can provide their own language name if there is no
4404
+ # corresponding ISO 639 language code. If this is set, `languageCode` can't be
4405
+ # set.
4395
4406
  # Corresponds to the JSON property `customLanguage`
4396
4407
  # @return [String]
4397
4408
  attr_accessor :custom_language
4398
4409
 
4399
- # Language Code. Should be used for storing Google III LanguageCode string
4400
- # representation for language. Illegal values cause SchemaException.
4410
+ # ISO 639 string representation of a language. See [Language Codes](/admin-sdk/
4411
+ # directory/v1/languages) for the list of supported codes. Valid language codes
4412
+ # outside the supported set will be accepted by the API but may lead to
4413
+ # unexpected behavior. Illegal values cause `SchemaException`. If this is set, `
4414
+ # customLanguage` can't be set.
4401
4415
  # Corresponds to the JSON property `languageCode`
4402
4416
  # @return [String]
4403
4417
  attr_accessor :language_code
4404
4418
 
4419
+ # Optional. If present, controls whether the specified `languageCode` is the
4420
+ # user's preferred language. If `customLanguage` is set, this can't be set.
4421
+ # Allowed values are `preferred` and `not_preferred`.
4422
+ # Corresponds to the JSON property `preference`
4423
+ # @return [String]
4424
+ attr_accessor :preference
4425
+
4405
4426
  def initialize(**args)
4406
4427
  update!(**args)
4407
4428
  end
@@ -4410,6 +4431,7 @@ module Google
4410
4431
  def update!(**args)
4411
4432
  @custom_language = args[:custom_language] if args.key?(:custom_language)
4412
4433
  @language_code = args[:language_code] if args.key?(:language_code)
4434
+ @preference = args[:preference] if args.key?(:preference)
4413
4435
  end
4414
4436
  end
4415
4437
 
@@ -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.16.0"
19
+ GEM_VERSION = "0.20.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 = "20211014"
25
+ REVISION = "20220125"
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 `
@@ -287,8 +288,8 @@ module Google
287
288
  # @param [String] projection
288
289
  # Restrict information returned to a set of selected fields.
289
290
  # @param [String] query
290
- # Search string in the format given at http://support.google.com/chromeos/a/bin/
291
- # answer.py?answer=1698333
291
+ # Search string in the format given at https://developers.google.com/admin-sdk/
292
+ # directory/v1/list-query-operators
292
293
  # @param [String] sort_order
293
294
  # Whether to return results in ascending or descending order. Must be used with
294
295
  # the `orderBy` parameter.
@@ -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
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.16.0
4
+ version: 0.20.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-10-27 00:00:00.000000000 Z
11
+ date: 2022-01-31 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.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.20.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