Update dependencies

Among others, this updates minio-go, so that the new "eu-west-3" zone
for AWS is supported.
This commit is contained in:
Alexander Neumann
2018-01-23 19:40:42 +01:00
parent b63de7c798
commit 2b39f9f4b2
3435 changed files with 1318042 additions and 315692 deletions

View File

@@ -777,6 +777,10 @@
"type": "string",
"format": "google-datetime"
},
"deviceSettings": {
"description": "Device settings information. This information is only available when deviceSettingsEnabled is true in the device's policy.",
"$ref": "DeviceSettings"
},
"name": {
"description": "The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}",
"type": "string"
@@ -1318,7 +1322,7 @@
"type": "object",
"properties": {
"outgoingCallsDisabled": {
"description": "Whether outgoing calls are disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "Whether outgoing calls are disabled.",
"type": "boolean"
},
"screenCaptureDisabled": {
@@ -1326,11 +1330,11 @@
"type": "boolean"
},
"bluetoothDisabled": {
"description": "Whether bluetooth is disabled. Prefer this setting over bluetooth_config_disabled because bluetooth_config_disabled can be bypassed by the user. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "Whether bluetooth is disabled. Prefer this setting over bluetooth_config_disabled because bluetooth_config_disabled can be bypassed by the user.",
"type": "boolean"
},
"installAppsDisabled": {
"description": "Whether user installation of apps is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "Whether user installation of apps is disabled.",
"type": "boolean"
},
"factoryResetDisabled": {
@@ -1365,11 +1369,11 @@
}
},
"networkResetDisabled": {
"description": "Whether resetting network settings is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "Whether resetting network settings is disabled.",
"type": "boolean"
},
"shortSupportMessage": {
"description": "A message displayed to the user in the settings screen wherever functionality has been disabled by the admin. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "A message displayed to the user in the settings screen wherever functionality has been disabled by the admin.",
"$ref": "UserFacingMessage"
},
"wifiConfigDisabled": {
@@ -1381,7 +1385,7 @@
"type": "boolean"
},
"keyguardDisabledFeatures": {
"description": "Disabled keyguard customizations, such as widgets. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "Disabled keyguard customizations, such as widgets.",
"enumDescriptions": [
"This value is ignored.",
"Disable the camera on secure keyguard screens (e.g. PIN).",
@@ -1433,11 +1437,11 @@
"type": "boolean"
},
"setUserIconDisabled": {
"description": "Whether changing the user icon is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "Whether changing the user icon is disabled.",
"type": "boolean"
},
"recommendedGlobalProxy": {
"description": "The network-independent global HTTP proxy. Typically proxies should be configured per-network in open_network_configuration. However for unusual configurations like general internal filtering a global HTTP proxy may be useful. If the proxy is not accessible, network access may break. The global proxy is only a recommendation and some apps may ignore it. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "The network-independent global HTTP proxy. Typically proxies should be configured per-network in open_network_configuration. However for unusual configurations like general internal filtering a global HTTP proxy may be useful. If the proxy is not accessible, network access may break. The global proxy is only a recommendation and some apps may ignore it.",
"$ref": "ProxyInfo"
},
"applications": {
@@ -1448,11 +1452,11 @@
}
},
"outgoingBeamDisabled": {
"description": "Whether using NFC to beam out data from apps is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "Whether using NFC to beam out data from apps is disabled.",
"type": "boolean"
},
"credentialsConfigDisabled": {
"description": "Whether configuring user credentials is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "Whether configuring user credentials is disabled.",
"type": "boolean"
},
"autoTimeRequired": {
@@ -1460,11 +1464,11 @@
"type": "boolean"
},
"smsDisabled": {
"description": "Whether sending or receiving SMS messages is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "Whether sending or receiving SMS messages is disabled.",
"type": "boolean"
},
"permittedInputMethods": {
"description": "If present, only input methods provided by packages in this list are permitted. If this field is present, but the list is empty, then only system input methods are permitted. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "If present, only input methods provided by packages in this list are permitted. If this field is present, but the list is empty, then only system input methods are permitted.",
"$ref": "PackageNameList"
},
"adjustVolumeDisabled": {
@@ -1472,14 +1476,14 @@
"type": "boolean"
},
"accountTypesWithManagementDisabled": {
"description": "Account types that cannot be managed by the user. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "Account types that cannot be managed by the user.",
"type": "array",
"items": {
"type": "string"
}
},
"vpnConfigDisabled": {
"description": "Whether configuring VPN is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "Whether configuring VPN is disabled.",
"type": "boolean"
},
"frpAdminEmails": {
@@ -1490,11 +1494,11 @@
}
},
"alwaysOnVpnPackage": {
"description": "Configuration for an always-on VPN connection. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "Configuration for an always-on VPN connection. Use with vpn_config_disabled to prevent modification of this setting.",
"$ref": "AlwaysOnVpnPackage"
},
"tetheringConfigDisabled": {
"description": "Whether configuring tethering and portable hotspots is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "Whether configuring tethering and portable hotspots is disabled.",
"type": "boolean"
},
"name": {
@@ -1502,7 +1506,7 @@
"type": "string"
},
"uninstallAppsDisabled": {
"description": "Whether user uninstallation of applications is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "Whether user uninstallation of applications is disabled.",
"type": "boolean"
},
"funDisabled": {
@@ -1530,19 +1534,23 @@
"type": "boolean"
},
"mountPhysicalMediaDisabled": {
"description": "Whether the user mounting physical external media is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "Whether the user mounting physical external media is disabled.",
"type": "boolean"
},
"ensureVerifyAppsEnabled": {
"description": "Whether application verification is forced to be enabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "Whether application verification is forced to be enabled.",
"type": "boolean"
},
"kioskCustomLauncherEnabled": {
"description": "Whether the kiosk custom launcher is enabled. This replaces the home screen with a launcher that locks down the device to the apps installed via the applications setting. The apps appear on a single page in alphabetical order. It is recommended to also use status_bar_disabled to block access to device settings.",
"type": "boolean"
},
"mobileNetworksConfigDisabled": {
"description": "Whether configuring mobile networks is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "Whether configuring mobile networks is disabled.",
"type": "boolean"
},
"dataRoamingDisabled": {
"description": "Whether roaming data services are disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "Whether roaming data services are disabled.",
"type": "boolean"
},
"statusBarDisabled": {
@@ -1550,7 +1558,7 @@
"type": "boolean"
},
"longSupportMessage": {
"description": "A message displayed to the user in the device administators settings screen. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "A message displayed to the user in the device administators settings screen.",
"$ref": "UserFacingMessage"
},
"cameraDisabled": {
@@ -1562,7 +1570,7 @@
"$ref": "PasswordRequirements"
},
"setWallpaperDisabled": {
"description": "Whether changing the wallpaper is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "Whether changing the wallpaper is disabled.",
"type": "boolean"
},
"version": {
@@ -1586,19 +1594,19 @@
"type": "boolean"
},
"bluetoothContactSharingDisabled": {
"description": "Whether bluetooth contact sharing is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "Whether bluetooth contact sharing is disabled.",
"type": "boolean"
},
"bluetoothConfigDisabled": {
"description": "Whether configuring bluetooth is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "Whether configuring bluetooth is disabled.",
"type": "boolean"
},
"cellBroadcastsConfigDisabled": {
"description": "Whether configuring cell broadcast is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "Whether configuring cell broadcast is disabled.",
"type": "boolean"
},
"usbFileTransferDisabled": {
"description": "Whether transferring files over USB is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "Whether transferring files over USB is disabled.",
"type": "boolean"
},
"removeUserDisabled": {
@@ -1610,7 +1618,7 @@
"type": "boolean"
},
"createWindowsDisabled": {
"description": "Whether creating windows besides app windows is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
"description": "Whether creating windows besides app windows is disabled.",
"type": "boolean"
},
"persistentPreferredActivities": {
@@ -1736,6 +1744,10 @@
"description": "Whether hardware status reporting is enabled.",
"type": "boolean"
},
"deviceSettingsEnabled": {
"description": "Whether device settings reporting is enabled.",
"type": "boolean"
},
"softwareInfoEnabled": {
"description": "Whether software info reporting is enabled.",
"type": "boolean"
@@ -1873,6 +1885,10 @@
"description": "Android build Id string meant for displaying to the user, e.g. shamu-userdebug 6.0.1 MOB30I 2756745 dev-keys.",
"type": "string"
},
"androidDevicePolicyVersionName": {
"description": "The Android Device Policy app version as displayed to the user.",
"type": "string"
},
"androidBuildTime": {
"description": "Build time.",
"type": "string",
@@ -1889,6 +1905,11 @@
"deviceKernelVersion": {
"description": "Kernel version, e.g. 2.6.32.9-g103d848.",
"type": "string"
},
"androidDevicePolicyVersionCode": {
"description": "The Android Device Policy app version code.",
"type": "integer",
"format": "int32"
}
},
"id": "SoftwareInfo"
@@ -2354,6 +2375,55 @@
},
"id": "ApiLevelCondition"
},
"DeviceSettings": {
"description": "Information about security related device settings on device.",
"type": "object",
"properties": {
"developmentSettingsEnabled": {
"description": "If the developer mode is enabled Settings.Global.DEVELOPMENT_SETTINGS_ENABLED.",
"type": "boolean"
},
"adbEnabled": {
"description": "If the ADB is enabled Settings.Global.ADB_ENABLED.",
"type": "boolean"
},
"isDeviceSecure": {
"description": "Device secured with PIN/password.",
"type": "boolean"
},
"isEncrypted": {
"description": "Whether the storage encryption is enabled DevicePolicyManager.ENCRYPTION_STATUS_ACTIVE or DevicePolicyManager.ENCRYPTION_STATUS_ACTIVE_PER_USER in N+ devices.",
"type": "boolean"
},
"unknownSourcesEnabled": {
"description": "If installing apps from unknown sources is enabled. Settings.Secure.INSTALL_NON_MARKET_APPS.",
"type": "boolean"
},
"encryptionStatus": {
"description": "Encryption status from DevicePolicyManager.",
"enum": [
"ENCRYPTION_STATUS_UNSPECIFIED",
"UNSUPPORTED",
"INACTIVE",
"ACTIVATING",
"ACTIVE",
"ACTIVE_DEFAULT_KEY",
"ACTIVE_PER_USER"
],
"enumDescriptions": [
"Unspecified. No device should have this type.",
"Encryption is not supported by the device.",
"Encryption is supported by the device, but not currently active.",
"Encryption is not currently active, but is currently being activated.",
"Encryption is active",
"Encryption is active, but an encryption key is not set by the user",
"Encrpyiton is active, and the encryption key is tied to the user profile."
],
"type": "string"
}
},
"id": "DeviceSettings"
},
"SystemUpdate": {
"description": "Configuration for managing system updates",
"type": "object",
@@ -2448,7 +2518,7 @@
"id": "HardwareStatus"
}
},
"revision": "20171127",
"revision": "20180108",
"basePath": "",
"icons": {
"x32": "http://www.google.com/images/icons/product/search-32.gif",

View File

@@ -531,6 +531,10 @@ type Device struct {
// devices will be in this state until they have applied policy.
AppliedState string `json:"appliedState,omitempty"`
// DeviceSettings: Device settings information. This information is only
// available when deviceSettingsEnabled is true in the device's policy.
DeviceSettings *DeviceSettings `json:"deviceSettings,omitempty"`
// DisabledReason: If the device state is DISABLED, an optional message
// that is displayed on the device indicating the reason the device is
// disabled. This field may be modified by an update request.
@@ -668,6 +672,68 @@ func (s *Device) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// DeviceSettings: Information about security related device settings on
// device.
type DeviceSettings struct {
// AdbEnabled: If the ADB is enabled Settings.Global.ADB_ENABLED.
AdbEnabled bool `json:"adbEnabled,omitempty"`
// DevelopmentSettingsEnabled: If the developer mode is enabled
// Settings.Global.DEVELOPMENT_SETTINGS_ENABLED.
DevelopmentSettingsEnabled bool `json:"developmentSettingsEnabled,omitempty"`
// EncryptionStatus: Encryption status from DevicePolicyManager.
//
// Possible values:
// "ENCRYPTION_STATUS_UNSPECIFIED" - Unspecified. No device should
// have this type.
// "UNSUPPORTED" - Encryption is not supported by the device.
// "INACTIVE" - Encryption is supported by the device, but not
// currently active.
// "ACTIVATING" - Encryption is not currently active, but is currently
// being activated.
// "ACTIVE" - Encryption is active
// "ACTIVE_DEFAULT_KEY" - Encryption is active, but an encryption key
// is not set by the user
// "ACTIVE_PER_USER" - Encrpyiton is active, and the encryption key is
// tied to the user profile.
EncryptionStatus string `json:"encryptionStatus,omitempty"`
// IsDeviceSecure: Device secured with PIN/password.
IsDeviceSecure bool `json:"isDeviceSecure,omitempty"`
// IsEncrypted: Whether the storage encryption is enabled
// DevicePolicyManager.ENCRYPTION_STATUS_ACTIVE or
// DevicePolicyManager.ENCRYPTION_STATUS_ACTIVE_PER_USER in N+ devices.
IsEncrypted bool `json:"isEncrypted,omitempty"`
// UnknownSourcesEnabled: If installing apps from unknown sources is
// enabled. Settings.Secure.INSTALL_NON_MARKET_APPS.
UnknownSourcesEnabled bool `json:"unknownSourcesEnabled,omitempty"`
// ForceSendFields is a list of field names (e.g. "AdbEnabled") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "AdbEnabled") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *DeviceSettings) MarshalJSON() ([]byte, error) {
type NoMethod DeviceSettings
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// Display: Device display information.
type Display struct {
// Density: Display density expressed as dots-per-inch.
@@ -1833,8 +1899,7 @@ func (s *PersistentPreferredActivity) MarshalJSON() ([]byte, error) {
// Policy: A policy, which governs behavior for a device.
type Policy struct {
// AccountTypesWithManagementDisabled: Account types that cannot be
// managed by the user. <i>Requires the beta version of Android Cloud
// Policy.</i>
// managed by the user.
AccountTypesWithManagementDisabled []string `json:"accountTypesWithManagementDisabled,omitempty"`
// AddUserDisabled: Whether adding new users and profiles is disabled.
@@ -1845,7 +1910,7 @@ type Policy struct {
AdjustVolumeDisabled bool `json:"adjustVolumeDisabled,omitempty"`
// AlwaysOnVpnPackage: Configuration for an always-on VPN connection.
// <i>Requires the beta version of Android Cloud Policy.</i>
// Use with vpn_config_disabled to prevent modification of this setting.
AlwaysOnVpnPackage *AlwaysOnVpnPackage `json:"alwaysOnVpnPackage,omitempty"`
// Applications: Policy applied to apps.
@@ -1862,24 +1927,22 @@ type Policy struct {
BlockApplicationsEnabled bool `json:"blockApplicationsEnabled,omitempty"`
// BluetoothConfigDisabled: Whether configuring bluetooth is disabled.
// <i>Requires the beta version of Android Cloud Policy.</i>
BluetoothConfigDisabled bool `json:"bluetoothConfigDisabled,omitempty"`
// BluetoothContactSharingDisabled: Whether bluetooth contact sharing is
// disabled. <i>Requires the beta version of Android Cloud Policy.</i>
// disabled.
BluetoothContactSharingDisabled bool `json:"bluetoothContactSharingDisabled,omitempty"`
// BluetoothDisabled: Whether bluetooth is disabled. Prefer this setting
// over bluetooth_config_disabled because bluetooth_config_disabled can
// be bypassed by the user. <i>Requires the beta version of Android
// Cloud Policy.</i>
// be bypassed by the user.
BluetoothDisabled bool `json:"bluetoothDisabled,omitempty"`
// CameraDisabled: Whether all cameras on the device are disabled.
CameraDisabled bool `json:"cameraDisabled,omitempty"`
// CellBroadcastsConfigDisabled: Whether configuring cell broadcast is
// disabled. <i>Requires the beta version of Android Cloud Policy.</i>
// disabled.
CellBroadcastsConfigDisabled bool `json:"cellBroadcastsConfigDisabled,omitempty"`
// ComplianceRules: Rules declaring which mitigating actions to take
@@ -1889,16 +1952,14 @@ type Policy struct {
ComplianceRules []*ComplianceRule `json:"complianceRules,omitempty"`
// CreateWindowsDisabled: Whether creating windows besides app windows
// is disabled. <i>Requires the beta version of Android Cloud
// Policy.</i>
// is disabled.
CreateWindowsDisabled bool `json:"createWindowsDisabled,omitempty"`
// CredentialsConfigDisabled: Whether configuring user credentials is
// disabled. <i>Requires the beta version of Android Cloud Policy.</i>
// disabled.
CredentialsConfigDisabled bool `json:"credentialsConfigDisabled,omitempty"`
// DataRoamingDisabled: Whether roaming data services are disabled.
// <i>Requires the beta version of Android Cloud Policy.</i>
DataRoamingDisabled bool `json:"dataRoamingDisabled,omitempty"`
// DebuggingFeaturesAllowed: Whether the user is allowed to enable
@@ -1918,8 +1979,7 @@ type Policy struct {
DefaultPermissionPolicy string `json:"defaultPermissionPolicy,omitempty"`
// EnsureVerifyAppsEnabled: Whether application verification is forced
// to be enabled. <i>Requires the beta version of Android Cloud
// Policy.</i>
// to be enabled.
EnsureVerifyAppsEnabled bool `json:"ensureVerifyAppsEnabled,omitempty"`
// FactoryResetDisabled: Whether factory resetting from settings is
@@ -1938,7 +1998,6 @@ type Policy struct {
FunDisabled bool `json:"funDisabled,omitempty"`
// InstallAppsDisabled: Whether user installation of apps is disabled.
// <i>Requires the beta version of Android Cloud Policy.</i>
InstallAppsDisabled bool `json:"installAppsDisabled,omitempty"`
// InstallUnknownSourcesAllowed: Whether the user is allowed to enable
@@ -1950,7 +2009,7 @@ type Policy struct {
KeyguardDisabled bool `json:"keyguardDisabled,omitempty"`
// KeyguardDisabledFeatures: Disabled keyguard customizations, such as
// widgets. <i>Requires the beta version of Android Cloud Policy.</i>
// widgets.
//
// Possible values:
// "KEYGUARD_DISABLED_FEATURE_UNSPECIFIED" - This value is ignored.
@@ -1970,9 +2029,16 @@ type Policy struct {
// customizations.
KeyguardDisabledFeatures []string `json:"keyguardDisabledFeatures,omitempty"`
// KioskCustomLauncherEnabled: Whether the kiosk custom launcher is
// enabled. This replaces the home screen with a launcher that locks
// down the device to the apps installed via the applications setting.
// The apps appear on a single page in alphabetical order. It is
// recommended to also use status_bar_disabled to block access to device
// settings.
KioskCustomLauncherEnabled bool `json:"kioskCustomLauncherEnabled,omitempty"`
// LongSupportMessage: A message displayed to the user in the device
// administators settings screen. <i>Requires the beta version of
// Android Cloud Policy.</i>
// administators settings screen.
LongSupportMessage *UserFacingMessage `json:"longSupportMessage,omitempty"`
// MaximumTimeToLock: Maximum time in milliseconds for user activity
@@ -1981,7 +2047,7 @@ type Policy struct {
MaximumTimeToLock int64 `json:"maximumTimeToLock,omitempty,string"`
// MobileNetworksConfigDisabled: Whether configuring mobile networks is
// disabled. <i>Requires the beta version of Android Cloud Policy.</i>
// disabled.
MobileNetworksConfigDisabled bool `json:"mobileNetworksConfigDisabled,omitempty"`
// ModifyAccountsDisabled: Whether adding or removing accounts is
@@ -1989,8 +2055,7 @@ type Policy struct {
ModifyAccountsDisabled bool `json:"modifyAccountsDisabled,omitempty"`
// MountPhysicalMediaDisabled: Whether the user mounting physical
// external media is disabled. <i>Requires the beta version of Android
// Cloud Policy.</i>
// external media is disabled.
MountPhysicalMediaDisabled bool `json:"mountPhysicalMediaDisabled,omitempty"`
// Name: The name of the policy in the form
@@ -2009,7 +2074,6 @@ type Policy struct {
NetworkEscapeHatchEnabled bool `json:"networkEscapeHatchEnabled,omitempty"`
// NetworkResetDisabled: Whether resetting network settings is disabled.
// <i>Requires the beta version of Android Cloud Policy.</i>
NetworkResetDisabled bool `json:"networkResetDisabled,omitempty"`
// OpenNetworkConfiguration: Network configuration for the device. See
@@ -2017,11 +2081,10 @@ type Policy struct {
OpenNetworkConfiguration googleapi.RawMessage `json:"openNetworkConfiguration,omitempty"`
// OutgoingBeamDisabled: Whether using NFC to beam out data from apps is
// disabled. <i>Requires the beta version of Android Cloud Policy.</i>
// disabled.
OutgoingBeamDisabled bool `json:"outgoingBeamDisabled,omitempty"`
// OutgoingCallsDisabled: Whether outgoing calls are disabled.
// <i>Requires the beta version of Android Cloud Policy.</i>
OutgoingCallsDisabled bool `json:"outgoingCallsDisabled,omitempty"`
// PasswordRequirements: Password requirements.
@@ -2030,7 +2093,6 @@ type Policy struct {
// PermittedInputMethods: If present, only input methods provided by
// packages in this list are permitted. If this field is present, but
// the list is empty, then only system input methods are permitted.
// <i>Requires the beta version of Android Cloud Policy.</i>
PermittedInputMethods *PackageNameList `json:"permittedInputMethods,omitempty"`
// PersistentPreferredActivities: Default intent handler activities.
@@ -2041,8 +2103,7 @@ type Policy struct {
// open_network_configuration. However for unusual configurations like
// general internal filtering a global HTTP proxy may be useful. If the
// proxy is not accessible, network access may break. The global proxy
// is only a recommendation and some apps may ignore it. <i>Requires the
// beta version of Android Cloud Policy.</i>
// is only a recommendation and some apps may ignore it.
RecommendedGlobalProxy *ProxyInfo `json:"recommendedGlobalProxy,omitempty"`
// RemoveUserDisabled: Whether removing other users is disabled.
@@ -2056,20 +2117,16 @@ type Policy struct {
ScreenCaptureDisabled bool `json:"screenCaptureDisabled,omitempty"`
// SetUserIconDisabled: Whether changing the user icon is disabled.
// <i>Requires the beta version of Android Cloud Policy.</i>
SetUserIconDisabled bool `json:"setUserIconDisabled,omitempty"`
// SetWallpaperDisabled: Whether changing the wallpaper is disabled.
// <i>Requires the beta version of Android Cloud Policy.</i>
SetWallpaperDisabled bool `json:"setWallpaperDisabled,omitempty"`
// ShortSupportMessage: A message displayed to the user in the settings
// screen wherever functionality has been disabled by the admin.
// <i>Requires the beta version of Android Cloud Policy.</i>
ShortSupportMessage *UserFacingMessage `json:"shortSupportMessage,omitempty"`
// SmsDisabled: Whether sending or receiving SMS messages is disabled.
// <i>Requires the beta version of Android Cloud Policy.</i>
SmsDisabled bool `json:"smsDisabled,omitempty"`
// StatusBarDisabled: Whether the status bar is disabled. This disables
@@ -2098,12 +2155,11 @@ type Policy struct {
SystemUpdate *SystemUpdate `json:"systemUpdate,omitempty"`
// TetheringConfigDisabled: Whether configuring tethering and portable
// hotspots is disabled. <i>Requires the beta version of Android Cloud
// Policy.</i>
// hotspots is disabled.
TetheringConfigDisabled bool `json:"tetheringConfigDisabled,omitempty"`
// UninstallAppsDisabled: Whether user uninstallation of applications is
// disabled. <i>Requires the beta version of Android Cloud Policy.</i>
// disabled.
UninstallAppsDisabled bool `json:"uninstallAppsDisabled,omitempty"`
// UnmuteMicrophoneDisabled: Whether the microphone is muted and
@@ -2111,15 +2167,14 @@ type Policy struct {
UnmuteMicrophoneDisabled bool `json:"unmuteMicrophoneDisabled,omitempty"`
// UsbFileTransferDisabled: Whether transferring files over USB is
// disabled. <i>Requires the beta version of Android Cloud Policy.</i>
// disabled.
UsbFileTransferDisabled bool `json:"usbFileTransferDisabled,omitempty"`
// Version: The version of the policy. This is a read-only field. The
// version is incremented each time the policy is updated.
Version int64 `json:"version,omitempty,string"`
// VpnConfigDisabled: Whether configuring VPN is disabled. <i>Requires
// the beta version of Android Cloud Policy.</i>
// VpnConfigDisabled: Whether configuring VPN is disabled.
VpnConfigDisabled bool `json:"vpnConfigDisabled,omitempty"`
// WifiConfigDisabled: Whether configuring WiFi access points is
@@ -2306,6 +2361,14 @@ type SoftwareInfo struct {
// AndroidBuildTime: Build time.
AndroidBuildTime string `json:"androidBuildTime,omitempty"`
// AndroidDevicePolicyVersionCode: The Android Device Policy app version
// code.
AndroidDevicePolicyVersionCode int64 `json:"androidDevicePolicyVersionCode,omitempty"`
// AndroidDevicePolicyVersionName: The Android Device Policy app version
// as displayed to the user.
AndroidDevicePolicyVersionName string `json:"androidDevicePolicyVersionName,omitempty"`
// AndroidVersion: The user visible Android version string, e.g. 6.0.1.
AndroidVersion string `json:"androidVersion,omitempty"`
@@ -2421,6 +2484,9 @@ func (s *Status) MarshalJSON() ([]byte, error) {
// StatusReportingSettings: Settings controlling the behavior of status
// reports.
type StatusReportingSettings struct {
// DeviceSettingsEnabled: Whether device settings reporting is enabled.
DeviceSettingsEnabled bool `json:"deviceSettingsEnabled,omitempty"`
// DisplayInfoEnabled: Whether displays reporting is enabled.
DisplayInfoEnabled bool `json:"displayInfoEnabled,omitempty"`
@@ -2440,15 +2506,16 @@ type StatusReportingSettings struct {
// SoftwareInfoEnabled: Whether software info reporting is enabled.
SoftwareInfoEnabled bool `json:"softwareInfoEnabled,omitempty"`
// ForceSendFields is a list of field names (e.g. "DisplayInfoEnabled")
// to unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
// ForceSendFields is a list of field names (e.g.
// "DeviceSettingsEnabled") to unconditionally include in API requests.
// By default, fields with empty values are omitted from API requests.
// However, any non-pointer, non-interface field appearing in
// ForceSendFields will be sent to the server regardless of whether the
// field is empty or not. This may be used to include empty fields in
// Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "DisplayInfoEnabled") to
// NullFields is a list of field names (e.g. "DeviceSettingsEnabled") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the