Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-admin_directory_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -1022,6 +1047,11 @@ class ChromeOsDevice
# @return [Array<Google::Apis::AdminDirectoryV1::BacklightInfo>]
attr_accessor :backlight_info

# Output only. Information about bluetooth adapters of the device.
# Corresponds to the JSON property `bluetoothAdapterInfo`
# @return [Array<Google::Apis::AdminDirectoryV1::BluetoothAdapterInfo>]
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
Expand Down Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down