google-apis-admin_directory_v1 0.28.0 → 0.29.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: 85324b7508d87d9bef3bff5568f15ac35ef130eaeb98009ae1e71daa9b97d4de
4
+ data.tar.gz: 68f37026d49429504fba72c4aee9c60d97846cc86f982eea29b109e7b67aa569
5
5
  SHA512:
6
- metadata.gz: 6575cb5f19ec0b5040a280d941eec151e05d4525e383aca6792403e58cc9945f8d2f6b168bf49c7c051e2d24aa9b401f1a4c4971ab8f3f7e33659707f27092d5
7
- data.tar.gz: 3d286625f20b77953a7bb6e967717e0db3d7f00bf477dbda3ca252d304060f258c9979613a9c88623056b2f5828bb51d3224c83dd2f8b4b716d2fbcd2fe23964
6
+ metadata.gz: d72b0bd216cc7552df87af0392a55c6d1cbf62d949279e4f0d35362c218cfae2e749f850b74864f6c475502dd21c1b64927940adc0163e6ea0aae20c56824e10
7
+ data.tar.gz: 27a1f94dae41ebc12c0fcbb0574b64b6d34bca41b6687f04cdf8a80c0d64c508959ac1d28a4004f37db0ce5005de1bc3331cde8d0170daf3ce64c428ccc6bfed
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-admin_directory_v1
2
2
 
3
+ ### v0.29.0 (2022-08-04)
4
+
5
+ * Regenerated from discovery document revision 20220802
6
+ * Regenerated using generator version 0.9.0
7
+
3
8
  ### v0.28.0 (2022-06-30)
4
9
 
5
10
  * Regenerated using generator version 0.8.0
@@ -827,6 +827,11 @@ module Google
827
827
  # @return [String]
828
828
  attr_accessor :firmware_version
829
829
 
830
+ # Date and time for the first time the device was enrolled.
831
+ # Corresponds to the JSON property `firstEnrollmentTime`
832
+ # @return [String]
833
+ attr_accessor :first_enrollment_time
834
+
830
835
  # The type of resource. For the Chromeosdevices resource, the value is `admin#
831
836
  # directory#chromeosdevice`.
832
837
  # Corresponds to the JSON property `kind`
@@ -914,6 +919,11 @@ module Google
914
919
  # @return [String]
915
920
  attr_accessor :org_unit_path
916
921
 
922
+ # Contains information regarding the current OS update status.
923
+ # Corresponds to the JSON property `osUpdateStatus`
924
+ # @return [Google::Apis::AdminDirectoryV1::OsUpdateStatus]
925
+ attr_accessor :os_update_status
926
+
917
927
  # The Chrome device's operating system version.
918
928
  # Corresponds to the JSON property `osVersion`
919
929
  # @return [String]
@@ -996,6 +1006,7 @@ module Google
996
1006
  @ethernet_mac_address = args[:ethernet_mac_address] if args.key?(:ethernet_mac_address)
997
1007
  @ethernet_mac_address0 = args[:ethernet_mac_address0] if args.key?(:ethernet_mac_address0)
998
1008
  @firmware_version = args[:firmware_version] if args.key?(:firmware_version)
1009
+ @first_enrollment_time = args[:first_enrollment_time] if args.key?(:first_enrollment_time)
999
1010
  @kind = args[:kind] if args.key?(:kind)
1000
1011
  @last_enrollment_time = args[:last_enrollment_time] if args.key?(:last_enrollment_time)
1001
1012
  @last_known_network = args[:last_known_network] if args.key?(:last_known_network)
@@ -1008,6 +1019,7 @@ module Google
1008
1019
  @order_number = args[:order_number] if args.key?(:order_number)
1009
1020
  @org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id)
1010
1021
  @org_unit_path = args[:org_unit_path] if args.key?(:org_unit_path)
1022
+ @os_update_status = args[:os_update_status] if args.key?(:os_update_status)
1011
1023
  @os_version = args[:os_version] if args.key?(:os_version)
1012
1024
  @platform_version = args[:platform_version] if args.key?(:platform_version)
1013
1025
  @recent_users = args[:recent_users] if args.key?(:recent_users)
@@ -2190,7 +2202,9 @@ module Google
2190
2202
  attr_accessor :admin_created
2191
2203
  alias_method :admin_created?, :admin_created
2192
2204
 
2193
- # Read-only. A list of a group's alias email addresses.
2205
+ # Read-only. A list of a group's alias email addresses. To add, update, or
2206
+ # remove a group's aliases, use the `groups.aliases` methods. If edited in a
2207
+ # group's POST or PUT request, the edit is ignored.
2194
2208
  # Corresponds to the JSON property `aliases`
2195
2209
  # @return [Array<String>]
2196
2210
  attr_accessor :aliases
@@ -2245,7 +2259,7 @@ module Google
2245
2259
  # outside of the account's primary domain or subdomains. These are functioning
2246
2260
  # email addresses used by the group. This is a read-only property returned in
2247
2261
  # 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.
2262
+ # the edit is ignored.
2249
2263
  # Corresponds to the JSON property `nonEditableAliases`
2250
2264
  # @return [Array<String>]
2251
2265
  attr_accessor :non_editable_aliases
@@ -3008,6 +3022,59 @@ module Google
3008
3022
  end
3009
3023
  end
3010
3024
 
3025
+ # Contains information regarding the current OS update status.
3026
+ class OsUpdateStatus
3027
+ include Google::Apis::Core::Hashable
3028
+
3029
+ # Date and time of the last reboot.
3030
+ # Corresponds to the JSON property `rebootTime`
3031
+ # @return [String]
3032
+ attr_accessor :reboot_time
3033
+
3034
+ # The update state of an OS update.
3035
+ # Corresponds to the JSON property `state`
3036
+ # @return [String]
3037
+ attr_accessor :state
3038
+
3039
+ # New required platform version from the pending updated kiosk app.
3040
+ # Corresponds to the JSON property `targetKioskAppVersion`
3041
+ # @return [String]
3042
+ attr_accessor :target_kiosk_app_version
3043
+
3044
+ # New platform version of the OS image being downloaded and applied. It is only
3045
+ # set when update status is UPDATE_STATUS_DOWNLOAD_IN_PROGRESS or
3046
+ # UPDATE_STATUS_NEED_REBOOT. Note this could be a dummy "0.0.0.0" for
3047
+ # UPDATE_STATUS_NEED_REBOOT for some edge cases, e.g. update engine is restarted
3048
+ # without a reboot.
3049
+ # Corresponds to the JSON property `targetOsVersion`
3050
+ # @return [String]
3051
+ attr_accessor :target_os_version
3052
+
3053
+ # Date and time of the last update check.
3054
+ # Corresponds to the JSON property `updateCheckTime`
3055
+ # @return [String]
3056
+ attr_accessor :update_check_time
3057
+
3058
+ # Date and time of the last successful OS update.
3059
+ # Corresponds to the JSON property `updateTime`
3060
+ # @return [String]
3061
+ attr_accessor :update_time
3062
+
3063
+ def initialize(**args)
3064
+ update!(**args)
3065
+ end
3066
+
3067
+ # Update properties of this object
3068
+ def update!(**args)
3069
+ @reboot_time = args[:reboot_time] if args.key?(:reboot_time)
3070
+ @state = args[:state] if args.key?(:state)
3071
+ @target_kiosk_app_version = args[:target_kiosk_app_version] if args.key?(:target_kiosk_app_version)
3072
+ @target_os_version = args[:target_os_version] if args.key?(:target_os_version)
3073
+ @update_check_time = args[:update_check_time] if args.key?(:update_check_time)
3074
+ @update_time = args[:update_time] if args.key?(:update_time)
3075
+ end
3076
+ end
3077
+
3011
3078
  # Printer configuration.
3012
3079
  class Printer
3013
3080
  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.29.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 = "20220802"
26
26
  end
27
27
  end
28
28
  end
@@ -406,6 +406,12 @@ module Google
406
406
  include Google::Apis::Core::JsonObjectSupport
407
407
  end
408
408
 
409
+ class OsUpdateStatus
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
409
415
  class Printer
410
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
411
417
 
@@ -840,6 +846,7 @@ module Google
840
846
  property :ethernet_mac_address, as: 'ethernetMacAddress'
841
847
  property :ethernet_mac_address0, as: 'ethernetMacAddress0'
842
848
  property :firmware_version, as: 'firmwareVersion'
849
+ property :first_enrollment_time, as: 'firstEnrollmentTime'
843
850
  property :kind, as: 'kind'
844
851
  property :last_enrollment_time, as: 'lastEnrollmentTime', type: DateTime
845
852
 
@@ -855,6 +862,8 @@ module Google
855
862
  property :order_number, as: 'orderNumber'
856
863
  property :org_unit_id, as: 'orgUnitId'
857
864
  property :org_unit_path, as: 'orgUnitPath'
865
+ property :os_update_status, as: 'osUpdateStatus', class: Google::Apis::AdminDirectoryV1::OsUpdateStatus, decorator: Google::Apis::AdminDirectoryV1::OsUpdateStatus::Representation
866
+
858
867
  property :os_version, as: 'osVersion'
859
868
  property :platform_version, as: 'platformVersion'
860
869
  collection :recent_users, as: 'recentUsers', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::RecentUser, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::RecentUser::Representation
@@ -1391,6 +1400,18 @@ module Google
1391
1400
  end
1392
1401
  end
1393
1402
 
1403
+ class OsUpdateStatus
1404
+ # @private
1405
+ class Representation < Google::Apis::Core::JsonRepresentation
1406
+ property :reboot_time, as: 'rebootTime'
1407
+ property :state, as: 'state'
1408
+ property :target_kiosk_app_version, as: 'targetKioskAppVersion'
1409
+ property :target_os_version, as: 'targetOsVersion'
1410
+ property :update_check_time, as: 'updateCheckTime'
1411
+ property :update_time, as: 'updateTime'
1412
+ end
1413
+ end
1414
+
1394
1415
  class Printer
1395
1416
  # @private
1396
1417
  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.28.0
4
+ version: 0.29.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-08 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.29.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: []