google-apis-admin_directory_v1 0.27.0 → 0.30.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a733be50c796c40fa094852ca734acf102a5094b3c7125fe7ebd1e91f4d0385
|
4
|
+
data.tar.gz: 4b7577c6d7a77587c8f3bb18a5a5905eb9591e4b30a0a9ea52a7b09418a6cb87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39bea2b3dbd1b5f16fa0bfb90bbe17daf83e80d1604749f79e31bef04e6523be4fbc4d111e522f1f86bfbce7f628998a80e081c95051ee31b0247c0b236c4162
|
7
|
+
data.tar.gz: 85aadd69b4f9b6eb37e1617682c371fbdd3c96d51243caf921d72248a524fcaca57be0da81f275cbb4654f7560a6e55fc8170245ecf1822f7b833ba67c80e979
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-admin_directory_v1
|
2
2
|
|
3
|
+
### v0.30.0 (2022-08-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220809
|
6
|
+
|
7
|
+
### v0.29.0 (2022-08-04)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220802
|
10
|
+
* Regenerated using generator version 0.9.0
|
11
|
+
|
12
|
+
### v0.28.0 (2022-06-30)
|
13
|
+
|
14
|
+
* Regenerated using generator version 0.8.0
|
15
|
+
|
3
16
|
### v0.27.0 (2022-06-23)
|
4
17
|
|
5
18
|
* Regenerated from discovery document revision 20220621
|
@@ -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)
|
@@ -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
|
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. * `
|
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.
|
19
|
+
GEM_VERSION = "0.30.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220809"
|
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
|
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.
|
4
|
+
version: 0.30.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-
|
11
|
+
date: 2022-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.30.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: []
|