Skip to content

Commit f4394ce

Browse files
feat: Automated regeneration of androidmanagement v1 client (googleapis#25875)
Auto-created at 2026-03-08 09:56:57 +0000 using the toys pull request generator.
1 parent 3a72bef commit f4394ce

File tree

5 files changed

+69
-15
lines changed

5 files changed

+69
-15
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36953,6 +36953,7 @@
3695336953
"/androidmanagement:v1/DeviceConnectivityManagement/bluetoothSharing": bluetooth_sharing
3695436954
"/androidmanagement:v1/DeviceConnectivityManagement/configureWifi": configure_wifi
3695536955
"/androidmanagement:v1/DeviceConnectivityManagement/preferentialNetworkServiceSettings": preferential_network_service_settings
36956+
"/androidmanagement:v1/DeviceConnectivityManagement/privateDnsSettings": private_dns_settings
3695636957
"/androidmanagement:v1/DeviceConnectivityManagement/tetheringSettings": tethering_settings
3695736958
"/androidmanagement:v1/DeviceConnectivityManagement/usbDataAccess": usb_data_access
3695836959
"/androidmanagement:v1/DeviceConnectivityManagement/wifiDirectSettings": wifi_direct_settings
@@ -37454,6 +37455,9 @@
3745437455
"/androidmanagement:v1/PreferentialNetworkServiceSettings/defaultPreferentialNetworkId": default_preferential_network_id
3745537456
"/androidmanagement:v1/PreferentialNetworkServiceSettings/preferentialNetworkServiceConfigs": preferential_network_service_configs
3745637457
"/androidmanagement:v1/PreferentialNetworkServiceSettings/preferentialNetworkServiceConfigs/preferential_network_service_config": preferential_network_service_config
37458+
"/androidmanagement:v1/PrivateDnsSettings": private_dns_settings
37459+
"/androidmanagement:v1/PrivateDnsSettings/privateDnsHost": private_dns_host
37460+
"/androidmanagement:v1/PrivateDnsSettings/privateDnsMode": private_dns_mode
3745737461
"/androidmanagement:v1/ProvisioningInfo": provisioning_info
3745837462
"/androidmanagement:v1/ProvisioningInfo/apiLevel": api_level
3745937463
"/androidmanagement:v1/ProvisioningInfo/authenticatedUserEmail": authenticated_user_email

generated/google-apis-androidmanagement_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-androidmanagement_v1
22

3+
### v0.111.0 (2026-03-08)
4+
5+
* Regenerated from discovery document revision 20260303
6+
37
### v0.110.0 (2026-02-22)
48

59
* Regenerated from discovery document revision 20260219

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

Lines changed: 43 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2425,6 +2425,11 @@ class DeviceConnectivityManagement
24252425
# @return [Google::Apis::AndroidmanagementV1::PreferentialNetworkServiceSettings]
24262426
attr_accessor :preferential_network_service_settings
24272427

2428+
# Controls the device's private DNS settings.
2429+
# Corresponds to the JSON property `privateDnsSettings`
2430+
# @return [Google::Apis::AndroidmanagementV1::PrivateDnsSettings]
2431+
attr_accessor :private_dns_settings
2432+
24282433
# Controls tethering settings. Based on the value set, the user is partially or
24292434
# fully disallowed from using different forms of tethering.
24302435
# Corresponds to the JSON property `tetheringSettings`
@@ -2465,6 +2470,7 @@ def update!(**args)
24652470
@bluetooth_sharing = args[:bluetooth_sharing] if args.key?(:bluetooth_sharing)
24662471
@configure_wifi = args[:configure_wifi] if args.key?(:configure_wifi)
24672472
@preferential_network_service_settings = args[:preferential_network_service_settings] if args.key?(:preferential_network_service_settings)
2473+
@private_dns_settings = args[:private_dns_settings] if args.key?(:private_dns_settings)
24682474
@tethering_settings = args[:tethering_settings] if args.key?(:tethering_settings)
24692475
@usb_data_access = args[:usb_data_access] if args.key?(:usb_data_access)
24702476
@wifi_direct_settings = args[:wifi_direct_settings] if args.key?(:wifi_direct_settings)
@@ -5313,10 +5319,7 @@ class Policy
53135319
attr_accessor :auto_time_required
53145320
alias_method :auto_time_required?, :auto_time_required
53155321

5316-
# Whether applications other than the ones configured in applications are
5317-
# blocked from being installed. When set, applications that were installed under
5318-
# a previous policy but no longer appear in the policy are automatically
5319-
# uninstalled.
5322+
# This field has no effect.
53205323
# Corresponds to the JSON property `blockApplicationsEnabled`
53215324
# @return [Boolean]
53225325
attr_accessor :block_applications_enabled
@@ -6190,6 +6193,42 @@ def update!(**args)
61906193
end
61916194
end
61926195

6196+
# Controls the device's private DNS settings.
6197+
class PrivateDnsSettings
6198+
include Google::Apis::Core::Hashable
6199+
6200+
# Optional. The hostname of the DNS server. This must be set if and only if
6201+
# private_dns_mode is set to PRIVATE_DNS_SPECIFIED_HOST. Supported on Android 10
6202+
# and above on fully managed devices. A NonComplianceDetail with MANAGEMENT_MODE
6203+
# is reported on other management modes. A NonComplianceDetail with API_LEVEL is
6204+
# reported if the Android version is less than 10. A NonComplianceDetail with
6205+
# PENDING is reported if the device is not connected to a network. A
6206+
# NonComplianceDetail with nonComplianceReason INVALID_VALUE and
6207+
# specificNonComplianceReason PRIVATE_DNS_HOST_NOT_SERVING is reported if the
6208+
# specified host is not a DNS server or not supported on Android. A
6209+
# NonComplianceDetail with INVALID_VALUE is reported if applying this setting
6210+
# fails for any other reason.
6211+
# Corresponds to the JSON property `privateDnsHost`
6212+
# @return [String]
6213+
attr_accessor :private_dns_host
6214+
6215+
# Optional. The configuration mode for device's global private DNS settings. If
6216+
# this is set to PRIVATE_DNS_SPECIFIED_HOST, then private_dns_host must be set.
6217+
# Corresponds to the JSON property `privateDnsMode`
6218+
# @return [String]
6219+
attr_accessor :private_dns_mode
6220+
6221+
def initialize(**args)
6222+
update!(**args)
6223+
end
6224+
6225+
# Update properties of this object
6226+
def update!(**args)
6227+
@private_dns_host = args[:private_dns_host] if args.key?(:private_dns_host)
6228+
@private_dns_mode = args[:private_dns_mode] if args.key?(:private_dns_mode)
6229+
end
6230+
end
6231+
61936232
# Information about a device that is available during setup.
61946233
class ProvisioningInfo
61956234
include Google::Apis::Core::Hashable
@@ -7085,13 +7124,6 @@ def update!(**args)
70857124
class SystemUpdate
70867125
include Google::Apis::Core::Hashable
70877126

7088-
# If this is greater than zero, then this is the number of days after a pending
7089-
# update becoming available that a device can remain compliant, without taking
7090-
# the update. Has no effect otherwise.
7091-
# Corresponds to the JSON property `allowedDaysWithoutUpdate`
7092-
# @return [Fixnum]
7093-
attr_accessor :allowed_days_without_update
7094-
70957127
# If the type is WINDOWED, the end of the maintenance window, measured as the
70967128
# number of minutes after midnight in device's local time. This value must be
70977129
# between 0 and 1439, inclusive. If this value is less than start_minutes, then
@@ -7128,7 +7160,6 @@ def initialize(**args)
71287160

71297161
# Update properties of this object
71307162
def update!(**args)
7131-
@allowed_days_without_update = args[:allowed_days_without_update] if args.key?(:allowed_days_without_update)
71327163
@end_minutes = args[:end_minutes] if args.key?(:end_minutes)
71337164
@freeze_periods = args[:freeze_periods] if args.key?(:freeze_periods)
71347165
@start_minutes = args[:start_minutes] if args.key?(:start_minutes)

generated/google-apis-androidmanagement_v1/lib/google/apis/androidmanagement_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 AndroidmanagementV1
1818
# Version of the google-apis-androidmanagement_v1 gem
19-
GEM_VERSION = "0.110.0"
19+
GEM_VERSION = "0.111.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 = "20260219"
25+
REVISION = "20260303"
2626
end
2727
end
2828
end

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

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
802802
include Google::Apis::Core::JsonObjectSupport
803803
end
804804

805+
class PrivateDnsSettings
806+
class Representation < Google::Apis::Core::JsonRepresentation; end
807+
808+
include Google::Apis::Core::JsonObjectSupport
809+
end
810+
805811
class ProvisioningInfo
806812
class Representation < Google::Apis::Core::JsonRepresentation; end
807813

@@ -1625,6 +1631,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
16251631
property :configure_wifi, as: 'configureWifi'
16261632
property :preferential_network_service_settings, as: 'preferentialNetworkServiceSettings', class: Google::Apis::AndroidmanagementV1::PreferentialNetworkServiceSettings, decorator: Google::Apis::AndroidmanagementV1::PreferentialNetworkServiceSettings::Representation
16271633

1634+
property :private_dns_settings, as: 'privateDnsSettings', class: Google::Apis::AndroidmanagementV1::PrivateDnsSettings, decorator: Google::Apis::AndroidmanagementV1::PrivateDnsSettings::Representation
1635+
16281636
property :tethering_settings, as: 'tetheringSettings'
16291637
property :usb_data_access, as: 'usbDataAccess'
16301638
property :wifi_direct_settings, as: 'wifiDirectSettings'
@@ -2553,6 +2561,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
25532561
end
25542562
end
25552563

2564+
class PrivateDnsSettings
2565+
# @private
2566+
class Representation < Google::Apis::Core::JsonRepresentation
2567+
property :private_dns_host, as: 'privateDnsHost'
2568+
property :private_dns_mode, as: 'privateDnsMode'
2569+
end
2570+
end
2571+
25562572
class ProvisioningInfo
25572573
# @private
25582574
class Representation < Google::Apis::Core::JsonRepresentation
@@ -2794,7 +2810,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
27942810
class SystemUpdate
27952811
# @private
27962812
class Representation < Google::Apis::Core::JsonRepresentation
2797-
property :allowed_days_without_update, as: 'allowedDaysWithoutUpdate'
27982813
property :end_minutes, as: 'endMinutes'
27992814
collection :freeze_periods, as: 'freezePeriods', class: Google::Apis::AndroidmanagementV1::FreezePeriod, decorator: Google::Apis::AndroidmanagementV1::FreezePeriod::Representation
28002815

0 commit comments

Comments
 (0)