From b6ac3170566938109c83e183d45cd764f3daf8e2 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 26 Oct 2025 10:14:34 +0000 Subject: [PATCH] feat: Automated regeneration of admin directory_v1 client --- api_names_out.yaml | 5 +++ .../CHANGELOG.md | 4 +++ .../google/apis/admin_directory_v1/classes.rb | 31 +++++++++++++++++++ .../apis/admin_directory_v1/gem_version.rb | 4 +-- .../admin_directory_v1/representations.rb | 16 ++++++++++ 5 files changed, 58 insertions(+), 2 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index dfd53947380..1eacf3108ec 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -3699,6 +3699,9 @@ "/admin:directory_v1/BatchDeletePrintersResponse/failedPrinters/failed_printer": failed_printer "/admin:directory_v1/BatchDeletePrintersResponse/printerIds": printer_ids "/admin:directory_v1/BatchDeletePrintersResponse/printerIds/printer_id": printer_id +"/admin:directory_v1/BluetoothAdapterInfo": bluetooth_adapter_info +"/admin:directory_v1/BluetoothAdapterInfo/address": address +"/admin:directory_v1/BluetoothAdapterInfo/numConnectedDevices": num_connected_devices "/admin:directory_v1/Building": building "/admin:directory_v1/Building/address": address "/admin:directory_v1/Building/buildingId": building_id @@ -3781,6 +3784,8 @@ "/admin:directory_v1/ChromeOsDevice/autoUpdateThrough": auto_update_through "/admin:directory_v1/ChromeOsDevice/backlightInfo": backlight_info "/admin:directory_v1/ChromeOsDevice/backlightInfo/backlight_info": backlight_info +"/admin:directory_v1/ChromeOsDevice/bluetoothAdapterInfo": bluetooth_adapter_info +"/admin:directory_v1/ChromeOsDevice/bluetoothAdapterInfo/bluetooth_adapter_info": bluetooth_adapter_info "/admin:directory_v1/ChromeOsDevice/bootMode": boot_mode "/admin:directory_v1/ChromeOsDevice/chromeOsType": chrome_os_type "/admin:directory_v1/ChromeOsDevice/cpuInfo": cpu_info diff --git a/generated/google-apis-admin_directory_v1/CHANGELOG.md b/generated/google-apis-admin_directory_v1/CHANGELOG.md index 4f295a731fa..6eb9a1b44ad 100644 --- a/generated/google-apis-admin_directory_v1/CHANGELOG.md +++ b/generated/google-apis-admin_directory_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-admin_directory_v1 +### v0.71.0 (2025-10-26) + +* Regenerated from discovery document revision 20251021 + ### v0.70.0 (2025-10-05) * Regenerated from discovery document revision 20250930 diff --git a/generated/google-apis-admin_directory_v1/lib/google/apis/admin_directory_v1/classes.rb b/generated/google-apis-admin_directory_v1/lib/google/apis/admin_directory_v1/classes.rb index ef30f728062..da4457d5af6 100644 --- a/generated/google-apis-admin_directory_v1/lib/google/apis/admin_directory_v1/classes.rb +++ b/generated/google-apis-admin_directory_v1/lib/google/apis/admin_directory_v1/classes.rb @@ -487,6 +487,31 @@ def update!(**args) end end + # Information about a device's Bluetooth adapter. + class BluetoothAdapterInfo + include Google::Apis::Core::Hashable + + # Output only. The MAC address of the adapter. + # Corresponds to the JSON property `address` + # @return [String] + attr_accessor :address + + # Output only. The number of devices connected to this adapter. + # Corresponds to the JSON property `numConnectedDevices` + # @return [Fixnum] + attr_accessor :num_connected_devices + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @address = args[:address] if args.key?(:address) + @num_connected_devices = args[:num_connected_devices] if args.key?(:num_connected_devices) + end + end + # Public API: Resources.buildings class Building include Google::Apis::Core::Hashable @@ -1022,6 +1047,11 @@ class ChromeOsDevice # @return [Array] attr_accessor :backlight_info + # Output only. Information about bluetooth adapters of the device. + # Corresponds to the JSON property `bluetoothAdapterInfo` + # @return [Array] + attr_accessor :bluetooth_adapter_info + # The boot mode for the device. The possible values are: * `Verified`: The # device is running a valid version of the Chrome OS. * `Dev`: The devices's # developer hardware switch is enabled. When booted, the device has a command @@ -1315,6 +1345,7 @@ def update!(**args) @auto_update_expiration = args[:auto_update_expiration] if args.key?(:auto_update_expiration) @auto_update_through = args[:auto_update_through] if args.key?(:auto_update_through) @backlight_info = args[:backlight_info] if args.key?(:backlight_info) + @bluetooth_adapter_info = args[:bluetooth_adapter_info] if args.key?(:bluetooth_adapter_info) @boot_mode = args[:boot_mode] if args.key?(:boot_mode) @chrome_os_type = args[:chrome_os_type] if args.key?(:chrome_os_type) @cpu_info = args[:cpu_info] if args.key?(:cpu_info) diff --git a/generated/google-apis-admin_directory_v1/lib/google/apis/admin_directory_v1/gem_version.rb b/generated/google-apis-admin_directory_v1/lib/google/apis/admin_directory_v1/gem_version.rb index be5dcb3f022..e9cca10e23a 100644 --- a/generated/google-apis-admin_directory_v1/lib/google/apis/admin_directory_v1/gem_version.rb +++ b/generated/google-apis-admin_directory_v1/lib/google/apis/admin_directory_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module AdminDirectoryV1 # Version of the google-apis-admin_directory_v1 gem - GEM_VERSION = "0.70.0" + GEM_VERSION = "0.71.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20250930" + REVISION = "20251021" end end end diff --git a/generated/google-apis-admin_directory_v1/lib/google/apis/admin_directory_v1/representations.rb b/generated/google-apis-admin_directory_v1/lib/google/apis/admin_directory_v1/representations.rb index cdafbc4a402..cab67792f2c 100644 --- a/generated/google-apis-admin_directory_v1/lib/google/apis/admin_directory_v1/representations.rb +++ b/generated/google-apis-admin_directory_v1/lib/google/apis/admin_directory_v1/representations.rb @@ -118,6 +118,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class BluetoothAdapterInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Building class Representation < Google::Apis::Core::JsonRepresentation; end @@ -900,6 +906,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class BluetoothAdapterInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :address, as: 'address' + property :num_connected_devices, as: 'numConnectedDevices' + end + end + class Building # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1033,6 +1047,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :auto_update_through, as: 'autoUpdateThrough' collection :backlight_info, as: 'backlightInfo', class: Google::Apis::AdminDirectoryV1::BacklightInfo, decorator: Google::Apis::AdminDirectoryV1::BacklightInfo::Representation + collection :bluetooth_adapter_info, as: 'bluetoothAdapterInfo', class: Google::Apis::AdminDirectoryV1::BluetoothAdapterInfo, decorator: Google::Apis::AdminDirectoryV1::BluetoothAdapterInfo::Representation + property :boot_mode, as: 'bootMode' property :chrome_os_type, as: 'chromeOsType' collection :cpu_info, as: 'cpuInfo', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuInfo, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuInfo::Representation