google-apis-admin_directory_v1 0.28.0 → 0.31.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: 178be744f343992ba1f508b0f47fa60fbf1586088464199a91e4dd2ae7585565
4
- data.tar.gz: b15eaf8ad33a4c19c0e87dc9ba205f1405d376df0a9709251f8ca27ab0101d46
3
+ metadata.gz: 4061c94bbf35c86a77d38b3c55fb7118804c1cb175919b56b34f8bcaad9d17f4
4
+ data.tar.gz: dfd00a910c796f14822c2184e761cbaa6ec07c2f33ca9e3b63a1ef5c59becce1
5
5
  SHA512:
6
- metadata.gz: 6575cb5f19ec0b5040a280d941eec151e05d4525e383aca6792403e58cc9945f8d2f6b168bf49c7c051e2d24aa9b401f1a4c4971ab8f3f7e33659707f27092d5
7
- data.tar.gz: 3d286625f20b77953a7bb6e967717e0db3d7f00bf477dbda3ca252d304060f258c9979613a9c88623056b2f5828bb51d3224c83dd2f8b4b716d2fbcd2fe23964
6
+ metadata.gz: 4b6d979b6a0c2d5aee36dd2ef2d28f77ccb820c15782668f922aca3688b4881db27519cd73dac64c28aa282e2ae814898c06c9ac9ac28eef642f22fe52b24732
7
+ data.tar.gz: 8fc9c8a206e700c6f6ea999ed2f979b31dcd5530c38a1ee733cba908522e4b57dbb9a6102777260bc00567fec1493db2d3106463891ecdc1d08af1251060a0f0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-admin_directory_v1
2
2
 
3
+ ### v0.31.0 (2022-08-18)
4
+
5
+ * Regenerated from discovery document revision 20220816
6
+
7
+ ### v0.30.0 (2022-08-11)
8
+
9
+ * Regenerated from discovery document revision 20220809
10
+
11
+ ### v0.29.0 (2022-08-04)
12
+
13
+ * Regenerated from discovery document revision 20220802
14
+ * Regenerated using generator version 0.9.0
15
+
3
16
  ### v0.28.0 (2022-06-30)
4
17
 
5
18
  * Regenerated using generator version 0.8.0
@@ -672,7 +672,10 @@ module Google
672
672
  # @return [String]
673
673
  attr_accessor :kind
674
674
 
675
- # Additional parameters controlling delivery channel behavior. Optional.
675
+ # Additional parameters controlling delivery channel behavior. Optional. For
676
+ # example, `params.ttl` specifies the time-to-live in seconds for the
677
+ # notification channel, where the default is 2 hours and the maximum TTL is 2
678
+ # days.
676
679
  # Corresponds to the JSON property `params`
677
680
  # @return [Hash<String,String>]
678
681
  attr_accessor :params
@@ -827,6 +830,11 @@ module Google
827
830
  # @return [String]
828
831
  attr_accessor :firmware_version
829
832
 
833
+ # Date and time for the first time the device was enrolled.
834
+ # Corresponds to the JSON property `firstEnrollmentTime`
835
+ # @return [String]
836
+ attr_accessor :first_enrollment_time
837
+
830
838
  # The type of resource. For the Chromeosdevices resource, the value is `admin#
831
839
  # directory#chromeosdevice`.
832
840
  # Corresponds to the JSON property `kind`
@@ -914,6 +922,11 @@ module Google
914
922
  # @return [String]
915
923
  attr_accessor :org_unit_path
916
924
 
925
+ # Contains information regarding the current OS update status.
926
+ # Corresponds to the JSON property `osUpdateStatus`
927
+ # @return [Google::Apis::AdminDirectoryV1::OsUpdateStatus]
928
+ attr_accessor :os_update_status
929
+
917
930
  # The Chrome device's operating system version.
918
931
  # Corresponds to the JSON property `osVersion`
919
932
  # @return [String]
@@ -996,6 +1009,7 @@ module Google
996
1009
  @ethernet_mac_address = args[:ethernet_mac_address] if args.key?(:ethernet_mac_address)
997
1010
  @ethernet_mac_address0 = args[:ethernet_mac_address0] if args.key?(:ethernet_mac_address0)
998
1011
  @firmware_version = args[:firmware_version] if args.key?(:firmware_version)
1012
+ @first_enrollment_time = args[:first_enrollment_time] if args.key?(:first_enrollment_time)
999
1013
  @kind = args[:kind] if args.key?(:kind)
1000
1014
  @last_enrollment_time = args[:last_enrollment_time] if args.key?(:last_enrollment_time)
1001
1015
  @last_known_network = args[:last_known_network] if args.key?(:last_known_network)
@@ -1008,6 +1022,7 @@ module Google
1008
1022
  @order_number = args[:order_number] if args.key?(:order_number)
1009
1023
  @org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id)
1010
1024
  @org_unit_path = args[:org_unit_path] if args.key?(:org_unit_path)
1025
+ @os_update_status = args[:os_update_status] if args.key?(:os_update_status)
1011
1026
  @os_version = args[:os_version] if args.key?(:os_version)
1012
1027
  @platform_version = args[:platform_version] if args.key?(:platform_version)
1013
1028
  @recent_users = args[:recent_users] if args.key?(:recent_users)
@@ -1455,7 +1470,7 @@ module Google
1455
1470
  end
1456
1471
  end
1457
1472
 
1458
- #
1473
+ # The data regarding an action to update the status of a Chrome OS device.
1459
1474
  class ChromeOsDeviceAction
1460
1475
  include Google::Apis::Core::Hashable
1461
1476
 
@@ -2190,7 +2205,9 @@ module Google
2190
2205
  attr_accessor :admin_created
2191
2206
  alias_method :admin_created?, :admin_created
2192
2207
 
2193
- # Read-only. A list of a group's alias email addresses.
2208
+ # Read-only. A list of a group's alias email addresses. To add, update, or
2209
+ # remove a group's aliases, use the `groups.aliases` methods. If edited in a
2210
+ # group's POST or PUT request, the edit is ignored.
2194
2211
  # Corresponds to the JSON property `aliases`
2195
2212
  # @return [Array<String>]
2196
2213
  attr_accessor :aliases
@@ -2245,7 +2262,7 @@ module Google
2245
2262
  # outside of the account's primary domain or subdomains. These are functioning
2246
2263
  # email addresses used by the group. This is a read-only property returned in
2247
2264
  # the API's response for a group. If edited in a group's POST or PUT request,
2248
- # the edit is ignored by the API service.
2265
+ # the edit is ignored.
2249
2266
  # Corresponds to the JSON property `nonEditableAliases`
2250
2267
  # @return [Array<String>]
2251
2268
  attr_accessor :non_editable_aliases
@@ -2269,6 +2286,50 @@ module Google
2269
2286
  end
2270
2287
  end
2271
2288
 
2289
+ # The Directory API manages aliases, which are alternative email addresses.
2290
+ class GroupAlias
2291
+ include Google::Apis::Core::Hashable
2292
+
2293
+ # The alias email address.
2294
+ # Corresponds to the JSON property `alias`
2295
+ # @return [String]
2296
+ attr_accessor :alias
2297
+
2298
+ # ETag of the resource.
2299
+ # Corresponds to the JSON property `etag`
2300
+ # @return [String]
2301
+ attr_accessor :etag
2302
+
2303
+ # The unique ID of the group.
2304
+ # Corresponds to the JSON property `id`
2305
+ # @return [String]
2306
+ attr_accessor :id
2307
+
2308
+ # The type of the API resource. For Alias resources, the value is `admin#
2309
+ # directory#alias`.
2310
+ # Corresponds to the JSON property `kind`
2311
+ # @return [String]
2312
+ attr_accessor :kind
2313
+
2314
+ # The primary email address of the group.
2315
+ # Corresponds to the JSON property `primaryEmail`
2316
+ # @return [String]
2317
+ attr_accessor :primary_email
2318
+
2319
+ def initialize(**args)
2320
+ update!(**args)
2321
+ end
2322
+
2323
+ # Update properties of this object
2324
+ def update!(**args)
2325
+ @alias = args[:alias] if args.key?(:alias)
2326
+ @etag = args[:etag] if args.key?(:etag)
2327
+ @id = args[:id] if args.key?(:id)
2328
+ @kind = args[:kind] if args.key?(:kind)
2329
+ @primary_email = args[:primary_email] if args.key?(:primary_email)
2330
+ end
2331
+ end
2332
+
2272
2333
  #
2273
2334
  class Groups
2274
2335
  include Google::Apis::Core::Hashable
@@ -3008,6 +3069,59 @@ module Google
3008
3069
  end
3009
3070
  end
3010
3071
 
3072
+ # Contains information regarding the current OS update status.
3073
+ class OsUpdateStatus
3074
+ include Google::Apis::Core::Hashable
3075
+
3076
+ # Date and time of the last reboot.
3077
+ # Corresponds to the JSON property `rebootTime`
3078
+ # @return [String]
3079
+ attr_accessor :reboot_time
3080
+
3081
+ # The update state of an OS update.
3082
+ # Corresponds to the JSON property `state`
3083
+ # @return [String]
3084
+ attr_accessor :state
3085
+
3086
+ # New required platform version from the pending updated kiosk app.
3087
+ # Corresponds to the JSON property `targetKioskAppVersion`
3088
+ # @return [String]
3089
+ attr_accessor :target_kiosk_app_version
3090
+
3091
+ # New platform version of the OS image being downloaded and applied. It is only
3092
+ # set when update status is UPDATE_STATUS_DOWNLOAD_IN_PROGRESS or
3093
+ # UPDATE_STATUS_NEED_REBOOT. Note this could be a dummy "0.0.0.0" for
3094
+ # UPDATE_STATUS_NEED_REBOOT for some edge cases, e.g. update engine is restarted
3095
+ # without a reboot.
3096
+ # Corresponds to the JSON property `targetOsVersion`
3097
+ # @return [String]
3098
+ attr_accessor :target_os_version
3099
+
3100
+ # Date and time of the last update check.
3101
+ # Corresponds to the JSON property `updateCheckTime`
3102
+ # @return [String]
3103
+ attr_accessor :update_check_time
3104
+
3105
+ # Date and time of the last successful OS update.
3106
+ # Corresponds to the JSON property `updateTime`
3107
+ # @return [String]
3108
+ attr_accessor :update_time
3109
+
3110
+ def initialize(**args)
3111
+ update!(**args)
3112
+ end
3113
+
3114
+ # Update properties of this object
3115
+ def update!(**args)
3116
+ @reboot_time = args[:reboot_time] if args.key?(:reboot_time)
3117
+ @state = args[:state] if args.key?(:state)
3118
+ @target_kiosk_app_version = args[:target_kiosk_app_version] if args.key?(:target_kiosk_app_version)
3119
+ @target_os_version = args[:target_os_version] if args.key?(:target_os_version)
3120
+ @update_check_time = args[:update_check_time] if args.key?(:update_check_time)
3121
+ @update_time = args[:update_time] if args.key?(:update_time)
3122
+ end
3123
+ end
3124
+
3011
3125
  # Printer configuration.
3012
3126
  class Printer
3013
3127
  include Google::Apis::Core::Hashable
@@ -3815,7 +3929,7 @@ module Google
3815
3929
  attr_accessor :gender
3816
3930
 
3817
3931
  # Stores the hash format of the `password` property. The following `hashFunction`
3818
- # values are allowed: * `MD5` - Accepts simple hex-encoded values. * `SHA1` -
3932
+ # values are allowed: * `MD5` - Accepts simple hex-encoded values. * `SHA-1` -
3819
3933
  # Accepts simple hex-encoded values. * `crypt` - Compliant with the [C crypt
3820
3934
  # library](https://en.wikipedia.org/wiki/Crypt_%28C%29). Supports the DES, MD5 (
3821
3935
  # hash prefix `$1$`), SHA-256 (hash prefix `$5$`), and SHA-512 (hash prefix `$6$`
@@ -4209,6 +4323,50 @@ module Google
4209
4323
  end
4210
4324
  end
4211
4325
 
4326
+ # The Directory API manages aliases, which are alternative email addresses.
4327
+ class UserAlias
4328
+ include Google::Apis::Core::Hashable
4329
+
4330
+ # The alias email address.
4331
+ # Corresponds to the JSON property `alias`
4332
+ # @return [String]
4333
+ attr_accessor :alias
4334
+
4335
+ # ETag of the resource.
4336
+ # Corresponds to the JSON property `etag`
4337
+ # @return [String]
4338
+ attr_accessor :etag
4339
+
4340
+ # The unique ID for the user.
4341
+ # Corresponds to the JSON property `id`
4342
+ # @return [String]
4343
+ attr_accessor :id
4344
+
4345
+ # The type of the API resource. For Alias resources, the value is `admin#
4346
+ # directory#alias`.
4347
+ # Corresponds to the JSON property `kind`
4348
+ # @return [String]
4349
+ attr_accessor :kind
4350
+
4351
+ # The user's primary email address.
4352
+ # Corresponds to the JSON property `primaryEmail`
4353
+ # @return [String]
4354
+ attr_accessor :primary_email
4355
+
4356
+ def initialize(**args)
4357
+ update!(**args)
4358
+ end
4359
+
4360
+ # Update properties of this object
4361
+ def update!(**args)
4362
+ @alias = args[:alias] if args.key?(:alias)
4363
+ @etag = args[:etag] if args.key?(:etag)
4364
+ @id = args[:id] if args.key?(:id)
4365
+ @kind = args[:kind] if args.key?(:kind)
4366
+ @primary_email = args[:primary_email] if args.key?(:primary_email)
4367
+ end
4368
+ end
4369
+
4212
4370
  # JSON template for an email.
4213
4371
  class UserEmail
4214
4372
  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.28.0"
19
+ GEM_VERSION = "0.31.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220621"
25
+ REVISION = "20220816"
26
26
  end
27
27
  end
28
28
  end
@@ -334,6 +334,12 @@ module Google
334
334
  include Google::Apis::Core::JsonObjectSupport
335
335
  end
336
336
 
337
+ class GroupAlias
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
337
343
  class Groups
338
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
345
 
@@ -406,6 +412,12 @@ module Google
406
412
  include Google::Apis::Core::JsonObjectSupport
407
413
  end
408
414
 
415
+ class OsUpdateStatus
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
409
421
  class Printer
410
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
411
423
 
@@ -514,6 +526,12 @@ module Google
514
526
  include Google::Apis::Core::JsonObjectSupport
515
527
  end
516
528
 
529
+ class UserAlias
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
517
535
  class UserEmail
518
536
  class Representation < Google::Apis::Core::JsonRepresentation; end
519
537
 
@@ -840,6 +858,7 @@ module Google
840
858
  property :ethernet_mac_address, as: 'ethernetMacAddress'
841
859
  property :ethernet_mac_address0, as: 'ethernetMacAddress0'
842
860
  property :firmware_version, as: 'firmwareVersion'
861
+ property :first_enrollment_time, as: 'firstEnrollmentTime'
843
862
  property :kind, as: 'kind'
844
863
  property :last_enrollment_time, as: 'lastEnrollmentTime', type: DateTime
845
864
 
@@ -855,6 +874,8 @@ module Google
855
874
  property :order_number, as: 'orderNumber'
856
875
  property :org_unit_id, as: 'orgUnitId'
857
876
  property :org_unit_path, as: 'orgUnitPath'
877
+ property :os_update_status, as: 'osUpdateStatus', class: Google::Apis::AdminDirectoryV1::OsUpdateStatus, decorator: Google::Apis::AdminDirectoryV1::OsUpdateStatus::Representation
878
+
858
879
  property :os_version, as: 'osVersion'
859
880
  property :platform_version, as: 'platformVersion'
860
881
  collection :recent_users, as: 'recentUsers', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::RecentUser, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::RecentUser::Representation
@@ -1227,6 +1248,17 @@ module Google
1227
1248
  end
1228
1249
  end
1229
1250
 
1251
+ class GroupAlias
1252
+ # @private
1253
+ class Representation < Google::Apis::Core::JsonRepresentation
1254
+ property :alias, as: 'alias'
1255
+ property :etag, as: 'etag'
1256
+ property :id, as: 'id'
1257
+ property :kind, as: 'kind'
1258
+ property :primary_email, as: 'primaryEmail'
1259
+ end
1260
+ end
1261
+
1230
1262
  class Groups
1231
1263
  # @private
1232
1264
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1391,6 +1423,18 @@ module Google
1391
1423
  end
1392
1424
  end
1393
1425
 
1426
+ class OsUpdateStatus
1427
+ # @private
1428
+ class Representation < Google::Apis::Core::JsonRepresentation
1429
+ property :reboot_time, as: 'rebootTime'
1430
+ property :state, as: 'state'
1431
+ property :target_kiosk_app_version, as: 'targetKioskAppVersion'
1432
+ property :target_os_version, as: 'targetOsVersion'
1433
+ property :update_check_time, as: 'updateCheckTime'
1434
+ property :update_time, as: 'updateTime'
1435
+ end
1436
+ end
1437
+
1394
1438
  class Printer
1395
1439
  # @private
1396
1440
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1654,6 +1698,17 @@ module Google
1654
1698
  end
1655
1699
  end
1656
1700
 
1701
+ class UserAlias
1702
+ # @private
1703
+ class Representation < Google::Apis::Core::JsonRepresentation
1704
+ property :alias, as: 'alias'
1705
+ property :etag, as: 'etag'
1706
+ property :id, as: 'id'
1707
+ property :kind, as: 'kind'
1708
+ property :primary_email, as: 'primaryEmail'
1709
+ end
1710
+ end
1711
+
1657
1712
  class UserEmail
1658
1713
  # @private
1659
1714
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -331,7 +331,7 @@ module Google
331
331
  # Moves or inserts multiple Chrome OS devices to an organizational unit. You can
332
332
  # move up to 50 devices at once.
333
333
  # @param [String] customer_id
334
- # Immutable ID of the Google Workspace account
334
+ # Immutable. ID of the Google Workspace account
335
335
  # @param [String] org_unit_path
336
336
  # Full path of the target organizational unit or its ID
337
337
  # @param [Google::Apis::AdminDirectoryV1::ChromeOsMoveDevicesToOu] chrome_os_move_devices_to_ou_object
@@ -456,9 +456,9 @@ module Google
456
456
 
457
457
  # Issues a command for the device to execute.
458
458
  # @param [String] customer_id
459
- # Immutable. Immutable ID of the Google Workspace account.
459
+ # Immutable. ID of the Google Workspace account.
460
460
  # @param [String] device_id
461
- # Immutable. Immutable ID of Chrome OS Device.
461
+ # Immutable. ID of Chrome OS Device.
462
462
  # @param [Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesIssueCommandRequest] directory_chromeosdevices_issue_command_request_object
463
463
  # @param [String] fields
464
464
  # Selector specifying which fields to include in a partial response.
@@ -492,11 +492,11 @@ module Google
492
492
 
493
493
  # Gets command data a specific command issued to the device.
494
494
  # @param [String] customer_id
495
- # Immutable. Immutable ID of the Google Workspace account.
495
+ # Immutable. ID of the Google Workspace account.
496
496
  # @param [String] device_id
497
- # Immutable. Immutable ID of Chrome OS Device.
497
+ # Immutable. ID of Chrome OS Device.
498
498
  # @param [Fixnum] command_id
499
- # Immutable. Immutable ID of Chrome OS Device Command.
499
+ # Immutable. ID of Chrome OS Device Command.
500
500
  # @param [String] fields
501
501
  # Selector specifying which fields to include in a partial response.
502
502
  # @param [String] quota_user
@@ -1569,7 +1569,12 @@ module Google
1569
1569
  end
1570
1570
 
1571
1571
  # Checks whether the given user is a member of the group. Membership can be
1572
- # direct or nested.
1572
+ # direct or nested, but if nested, the `memberKey` and `groupKey` must be
1573
+ # entities in the same domain or an `Invalid input` error is returned. To check
1574
+ # for nested memberships that include entities outside of the group's domain,
1575
+ # use the [`checkTransitiveMembership()`](https://cloud.google.com/identity/docs/
1576
+ # reference/rest/v1/groups.memberships/checkTransitiveMembership) method in the
1577
+ # Cloud Identity Groups API.
1573
1578
  # @param [String] group_key
1574
1579
  # Identifies the group in the API request. The value can be the group's email
1575
1580
  # address, group alias, or the unique group ID.
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.28.0
4
+ version: 0.31.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: 2022-07-04 00:00:00.000000000 Z
11
+ date: 2022-08-22 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.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.31.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: []