google-apis-admin_directory_v1 0.52.0 → 0.54.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: b7bdc02a05d42bdc9c6ae8ea1f5e5bdadcff8bfbb3a9f393d414ed0c17293195
4
- data.tar.gz: 60dea65b556d7c40b427d295efe3d9d36e4f912c501bdb85171d17f4f08e1b1e
3
+ metadata.gz: 929855b6085eaae732a1363467d2eb5c5db5b807940171144babea1b701f9398
4
+ data.tar.gz: 538be8fbac87a8aac412d27a2e972f902a54f6930ad9eaf25ec050ad29d10ed9
5
5
  SHA512:
6
- metadata.gz: 8cfd0684ad804a080a55c237cdf0b5771ae5aa6c854cd45771c077ad4cdcb2dfd6188ef6d0ea7701ab2e88f460f36e87b9d0ba56f5b097bbbdc7b82fa9547b75
7
- data.tar.gz: 10fad847b388aeee05e180c1aa78bb2e0647737305818664a22ca85cf01a44cecb95fad45f5a8f3057adff912b87f68980a752ecb02b035ac4f6c17c16d16e76
6
+ metadata.gz: 85cee7ea2fe0375e5c8202223bf1f42a406c8e3f2d80ae06a12b07981fa9679348f9e1f4935d140e34c540eb77c88fa33879050abdf67401a6b873724c01f5f1
7
+ data.tar.gz: 2041d1920257053e960f68a84f5b1a593a57a44fc512fab6d7031ed49e611749f55f5e06497d2bdc63df805d3f3241bb03a6eed6481f780bf583bedee2d6f69f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-admin_directory_v1
2
2
 
3
+ ### v0.54.0 (2024-05-05)
4
+
5
+ * Regenerated from discovery document revision 20240429
6
+
7
+ ### v0.53.0 (2024-03-10)
8
+
9
+ * Regenerated from discovery document revision 20240304
10
+
3
11
  ### v0.52.0 (2024-03-03)
4
12
 
5
13
  * Regenerated from discovery document revision 20240227
@@ -224,6 +224,38 @@ module Google
224
224
  end
225
225
  end
226
226
 
227
+ # Information about the device's backlights.
228
+ class BacklightInfo
229
+ include Google::Apis::Core::Hashable
230
+
231
+ # Output only. Current brightness of the backlight, between 0 and max_brightness.
232
+ # Corresponds to the JSON property `brightness`
233
+ # @return [Fixnum]
234
+ attr_accessor :brightness
235
+
236
+ # Output only. Maximum brightness for the backlight.
237
+ # Corresponds to the JSON property `maxBrightness`
238
+ # @return [Fixnum]
239
+ attr_accessor :max_brightness
240
+
241
+ # Output only. Path to this backlight on the system. Useful if the caller needs
242
+ # to correlate with other information.
243
+ # Corresponds to the JSON property `path`
244
+ # @return [String]
245
+ attr_accessor :path
246
+
247
+ def initialize(**args)
248
+ update!(**args)
249
+ end
250
+
251
+ # Update properties of this object
252
+ def update!(**args)
253
+ @brightness = args[:brightness] if args.key?(:brightness)
254
+ @max_brightness = args[:max_brightness] if args.key?(:max_brightness)
255
+ @path = args[:path] if args.key?(:path)
256
+ end
257
+ end
258
+
227
259
  # A request for changing the status of a batch of ChromeOS devices.
228
260
  class BatchChangeChromeOsDeviceStatusRequest
229
261
  include Google::Apis::Core::Hashable
@@ -948,11 +980,22 @@ module Google
948
980
  attr_accessor :annotated_user
949
981
 
950
982
  # (Read-only) The timestamp after which the device will stop receiving Chrome
951
- # updates or support
983
+ # updates or support. Please use "autoUpdateThrough" instead.
952
984
  # Corresponds to the JSON property `autoUpdateExpiration`
953
985
  # @return [Fixnum]
954
986
  attr_accessor :auto_update_expiration
955
987
 
988
+ # Output only. The timestamp after which the device will stop receiving Chrome
989
+ # updates or support.
990
+ # Corresponds to the JSON property `autoUpdateThrough`
991
+ # @return [String]
992
+ attr_accessor :auto_update_through
993
+
994
+ # Output only. Contains backlight information for the device.
995
+ # Corresponds to the JSON property `backlightInfo`
996
+ # @return [Array<Google::Apis::AdminDirectoryV1::BacklightInfo>]
997
+ attr_accessor :backlight_info
998
+
956
999
  # The boot mode for the device. The possible values are: * `Verified`: The
957
1000
  # device is running a valid version of the Chrome OS. * `Dev`: The devices's
958
1001
  # developer hardware switch is enabled. When booted, the device has a command
@@ -1026,6 +1069,24 @@ module Google
1026
1069
  # @return [String]
1027
1070
  attr_accessor :ethernet_mac_address0
1028
1071
 
1072
+ # Output only. Whether or not the device requires the extended support opt in.
1073
+ # Corresponds to the JSON property `extendedSupportEligible`
1074
+ # @return [Boolean]
1075
+ attr_accessor :extended_support_eligible
1076
+ alias_method :extended_support_eligible?, :extended_support_eligible
1077
+
1078
+ # Output only. Whether extended support policy is enabled on the device.
1079
+ # Corresponds to the JSON property `extendedSupportEnabled`
1080
+ # @return [Boolean]
1081
+ attr_accessor :extended_support_enabled
1082
+ alias_method :extended_support_enabled?, :extended_support_enabled
1083
+
1084
+ # Output only. Date of the device when extended support policy for automatic
1085
+ # updates starts.
1086
+ # Corresponds to the JSON property `extendedSupportStart`
1087
+ # @return [String]
1088
+ attr_accessor :extended_support_start
1089
+
1029
1090
  # The Chrome device's firmware version.
1030
1091
  # Corresponds to the JSON property `firmwareVersion`
1031
1092
  # @return [String]
@@ -1204,6 +1265,8 @@ module Google
1204
1265
  @annotated_location = args[:annotated_location] if args.key?(:annotated_location)
1205
1266
  @annotated_user = args[:annotated_user] if args.key?(:annotated_user)
1206
1267
  @auto_update_expiration = args[:auto_update_expiration] if args.key?(:auto_update_expiration)
1268
+ @auto_update_through = args[:auto_update_through] if args.key?(:auto_update_through)
1269
+ @backlight_info = args[:backlight_info] if args.key?(:backlight_info)
1207
1270
  @boot_mode = args[:boot_mode] if args.key?(:boot_mode)
1208
1271
  @cpu_info = args[:cpu_info] if args.key?(:cpu_info)
1209
1272
  @cpu_status_reports = args[:cpu_status_reports] if args.key?(:cpu_status_reports)
@@ -1216,6 +1279,9 @@ module Google
1216
1279
  @etag = args[:etag] if args.key?(:etag)
1217
1280
  @ethernet_mac_address = args[:ethernet_mac_address] if args.key?(:ethernet_mac_address)
1218
1281
  @ethernet_mac_address0 = args[:ethernet_mac_address0] if args.key?(:ethernet_mac_address0)
1282
+ @extended_support_eligible = args[:extended_support_eligible] if args.key?(:extended_support_eligible)
1283
+ @extended_support_enabled = args[:extended_support_enabled] if args.key?(:extended_support_enabled)
1284
+ @extended_support_start = args[:extended_support_start] if args.key?(:extended_support_start)
1219
1285
  @firmware_version = args[:firmware_version] if args.key?(:firmware_version)
1220
1286
  @first_enrollment_time = args[:first_enrollment_time] if args.key?(:first_enrollment_time)
1221
1287
  @kind = args[:kind] if args.key?(:kind)
@@ -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.52.0"
19
+ GEM_VERSION = "0.54.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240227"
25
+ REVISION = "20240429"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class BacklightInfo
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class BatchChangeChromeOsDeviceStatusRequest
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -788,6 +794,15 @@ module Google
788
794
  end
789
795
  end
790
796
 
797
+ class BacklightInfo
798
+ # @private
799
+ class Representation < Google::Apis::Core::JsonRepresentation
800
+ property :brightness, as: 'brightness'
801
+ property :max_brightness, as: 'maxBrightness'
802
+ property :path, as: 'path'
803
+ end
804
+ end
805
+
791
806
  class BatchChangeChromeOsDeviceStatusRequest
792
807
  # @private
793
808
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -995,6 +1010,9 @@ module Google
995
1010
  property :annotated_location, as: 'annotatedLocation'
996
1011
  property :annotated_user, as: 'annotatedUser'
997
1012
  property :auto_update_expiration, :numeric_string => true, as: 'autoUpdateExpiration'
1013
+ property :auto_update_through, as: 'autoUpdateThrough'
1014
+ collection :backlight_info, as: 'backlightInfo', class: Google::Apis::AdminDirectoryV1::BacklightInfo, decorator: Google::Apis::AdminDirectoryV1::BacklightInfo::Representation
1015
+
998
1016
  property :boot_mode, as: 'bootMode'
999
1017
  collection :cpu_info, as: 'cpuInfo', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuInfo, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuInfo::Representation
1000
1018
 
@@ -1011,6 +1029,9 @@ module Google
1011
1029
  property :etag, as: 'etag'
1012
1030
  property :ethernet_mac_address, as: 'ethernetMacAddress'
1013
1031
  property :ethernet_mac_address0, as: 'ethernetMacAddress0'
1032
+ property :extended_support_eligible, as: 'extendedSupportEligible'
1033
+ property :extended_support_enabled, as: 'extendedSupportEnabled'
1034
+ property :extended_support_start, as: 'extendedSupportStart'
1014
1035
  property :firmware_version, as: 'firmwareVersion'
1015
1036
  property :first_enrollment_time, as: 'firstEnrollmentTime'
1016
1037
  property :kind, as: 'kind'
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.52.0
4
+ version: 0.54.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: 2024-03-03 00:00:00.000000000 Z
11
+ date: 2024-05-05 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.52.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.54.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: []