Skip to content

Commit 625a15e

Browse files
feat: Automated regeneration of admin directory_v1 client (#24735)
Auto-created at 2025-10-26 10:14:33 +0000 using the toys pull request generator.
1 parent 45b26aa commit 625a15e

File tree

5 files changed

+58
-2
lines changed

5 files changed

+58
-2
lines changed

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3699,6 +3699,9 @@
36993699
"/admin:directory_v1/BatchDeletePrintersResponse/failedPrinters/failed_printer": failed_printer
37003700
"/admin:directory_v1/BatchDeletePrintersResponse/printerIds": printer_ids
37013701
"/admin:directory_v1/BatchDeletePrintersResponse/printerIds/printer_id": printer_id
3702+
"/admin:directory_v1/BluetoothAdapterInfo": bluetooth_adapter_info
3703+
"/admin:directory_v1/BluetoothAdapterInfo/address": address
3704+
"/admin:directory_v1/BluetoothAdapterInfo/numConnectedDevices": num_connected_devices
37023705
"/admin:directory_v1/Building": building
37033706
"/admin:directory_v1/Building/address": address
37043707
"/admin:directory_v1/Building/buildingId": building_id
@@ -3781,6 +3784,8 @@
37813784
"/admin:directory_v1/ChromeOsDevice/autoUpdateThrough": auto_update_through
37823785
"/admin:directory_v1/ChromeOsDevice/backlightInfo": backlight_info
37833786
"/admin:directory_v1/ChromeOsDevice/backlightInfo/backlight_info": backlight_info
3787+
"/admin:directory_v1/ChromeOsDevice/bluetoothAdapterInfo": bluetooth_adapter_info
3788+
"/admin:directory_v1/ChromeOsDevice/bluetoothAdapterInfo/bluetooth_adapter_info": bluetooth_adapter_info
37843789
"/admin:directory_v1/ChromeOsDevice/bootMode": boot_mode
37853790
"/admin:directory_v1/ChromeOsDevice/chromeOsType": chrome_os_type
37863791
"/admin:directory_v1/ChromeOsDevice/cpuInfo": cpu_info

generated/google-apis-admin_directory_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-admin_directory_v1
22

3+
### v0.71.0 (2025-10-26)
4+
5+
* Regenerated from discovery document revision 20251021
6+
37
### v0.70.0 (2025-10-05)
48

59
* Regenerated from discovery document revision 20250930

generated/google-apis-admin_directory_v1/lib/google/apis/admin_directory_v1/classes.rb

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,31 @@ def update!(**args)
487487
end
488488
end
489489

490+
# Information about a device's Bluetooth adapter.
491+
class BluetoothAdapterInfo
492+
include Google::Apis::Core::Hashable
493+
494+
# Output only. The MAC address of the adapter.
495+
# Corresponds to the JSON property `address`
496+
# @return [String]
497+
attr_accessor :address
498+
499+
# Output only. The number of devices connected to this adapter.
500+
# Corresponds to the JSON property `numConnectedDevices`
501+
# @return [Fixnum]
502+
attr_accessor :num_connected_devices
503+
504+
def initialize(**args)
505+
update!(**args)
506+
end
507+
508+
# Update properties of this object
509+
def update!(**args)
510+
@address = args[:address] if args.key?(:address)
511+
@num_connected_devices = args[:num_connected_devices] if args.key?(:num_connected_devices)
512+
end
513+
end
514+
490515
# Public API: Resources.buildings
491516
class Building
492517
include Google::Apis::Core::Hashable
@@ -1022,6 +1047,11 @@ class ChromeOsDevice
10221047
# @return [Array<Google::Apis::AdminDirectoryV1::BacklightInfo>]
10231048
attr_accessor :backlight_info
10241049

1050+
# Output only. Information about bluetooth adapters of the device.
1051+
# Corresponds to the JSON property `bluetoothAdapterInfo`
1052+
# @return [Array<Google::Apis::AdminDirectoryV1::BluetoothAdapterInfo>]
1053+
attr_accessor :bluetooth_adapter_info
1054+
10251055
# The boot mode for the device. The possible values are: * `Verified`: The
10261056
# device is running a valid version of the Chrome OS. * `Dev`: The devices's
10271057
# developer hardware switch is enabled. When booted, the device has a command
@@ -1315,6 +1345,7 @@ def update!(**args)
13151345
@auto_update_expiration = args[:auto_update_expiration] if args.key?(:auto_update_expiration)
13161346
@auto_update_through = args[:auto_update_through] if args.key?(:auto_update_through)
13171347
@backlight_info = args[:backlight_info] if args.key?(:backlight_info)
1348+
@bluetooth_adapter_info = args[:bluetooth_adapter_info] if args.key?(:bluetooth_adapter_info)
13181349
@boot_mode = args[:boot_mode] if args.key?(:boot_mode)
13191350
@chrome_os_type = args[:chrome_os_type] if args.key?(:chrome_os_type)
13201351
@cpu_info = args[:cpu_info] if args.key?(:cpu_info)

generated/google-apis-admin_directory_v1/lib/google/apis/admin_directory_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module AdminDirectoryV1
1818
# Version of the google-apis-admin_directory_v1 gem
19-
GEM_VERSION = "0.70.0"
19+
GEM_VERSION = "0.71.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250930"
25+
REVISION = "20251021"
2626
end
2727
end
2828
end

generated/google-apis-admin_directory_v1/lib/google/apis/admin_directory_v1/representations.rb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
118118
include Google::Apis::Core::JsonObjectSupport
119119
end
120120

121+
class BluetoothAdapterInfo
122+
class Representation < Google::Apis::Core::JsonRepresentation; end
123+
124+
include Google::Apis::Core::JsonObjectSupport
125+
end
126+
121127
class Building
122128
class Representation < Google::Apis::Core::JsonRepresentation; end
123129

@@ -900,6 +906,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
900906
end
901907
end
902908

909+
class BluetoothAdapterInfo
910+
# @private
911+
class Representation < Google::Apis::Core::JsonRepresentation
912+
property :address, as: 'address'
913+
property :num_connected_devices, as: 'numConnectedDevices'
914+
end
915+
end
916+
903917
class Building
904918
# @private
905919
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1033,6 +1047,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
10331047
property :auto_update_through, as: 'autoUpdateThrough'
10341048
collection :backlight_info, as: 'backlightInfo', class: Google::Apis::AdminDirectoryV1::BacklightInfo, decorator: Google::Apis::AdminDirectoryV1::BacklightInfo::Representation
10351049

1050+
collection :bluetooth_adapter_info, as: 'bluetoothAdapterInfo', class: Google::Apis::AdminDirectoryV1::BluetoothAdapterInfo, decorator: Google::Apis::AdminDirectoryV1::BluetoothAdapterInfo::Representation
1051+
10361052
property :boot_mode, as: 'bootMode'
10371053
property :chrome_os_type, as: 'chromeOsType'
10381054
collection :cpu_info, as: 'cpuInfo', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuInfo, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuInfo::Representation

0 commit comments

Comments
 (0)