mirror of
https://github.com/restic/restic.git
synced 2025-10-09 15:30:24 +00:00
Update dependenciess
Exclude minio-go for now (pin to 3.x.y).
This commit is contained in:
386
vendor/google.golang.org/api/androidmanagement/v1/androidmanagement-api.json
generated
vendored
386
vendor/google.golang.org/api/androidmanagement/v1/androidmanagement-api.json
generated
vendored
@@ -911,6 +911,21 @@
|
||||
},
|
||||
"id": "Status"
|
||||
},
|
||||
"AlwaysOnVpnPackage": {
|
||||
"description": "Configuration for an always-on VPN connection.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"packageName": {
|
||||
"description": "The package name of the VPN app.",
|
||||
"type": "string"
|
||||
},
|
||||
"lockdownEnabled": {
|
||||
"description": "Disallows networking when the VPN is not connected.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"id": "AlwaysOnVpnPackage"
|
||||
},
|
||||
"ApplicationPolicy": {
|
||||
"description": "Policy for an individual app.",
|
||||
"type": "object",
|
||||
@@ -990,6 +1005,33 @@
|
||||
},
|
||||
"id": "ApplicationPermission"
|
||||
},
|
||||
"ProxyInfo": {
|
||||
"description": "Configuration info for an HTTP proxy. For a direct proxy, set the host, port, and excluded_hosts fields. For a PAC script proxy, set the pac_uri field.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"host": {
|
||||
"description": "The host of the direct proxy.",
|
||||
"type": "string"
|
||||
},
|
||||
"port": {
|
||||
"description": "The port of the direct proxy.",
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"excludedHosts": {
|
||||
"description": "For a direct proxy, the hosts for which the proxy is bypassed. The host names may contain wildcards such as *.example.com.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"pacUri": {
|
||||
"description": "The URI of the PAC script used to configure the proxy.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "ProxyInfo"
|
||||
},
|
||||
"ManagedProperty": {
|
||||
"description": "Managed property.",
|
||||
"type": "object",
|
||||
@@ -1214,6 +1256,20 @@
|
||||
},
|
||||
"id": "NonComplianceDetail"
|
||||
},
|
||||
"PackageNameList": {
|
||||
"description": "A list of package names.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"packageNames": {
|
||||
"description": "A list of package names.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": "PackageNameList"
|
||||
},
|
||||
"ListDevicesResponse": {
|
||||
"description": "Response to a request to list devices for a given enterprise.",
|
||||
"type": "object",
|
||||
@@ -1261,84 +1317,34 @@
|
||||
"description": "A policy, which governs behavior for a device.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"openNetworkConfiguration": {
|
||||
"description": "Network configuration for the device. See configure networks for more information.",
|
||||
"additionalProperties": {
|
||||
"description": "Properties of the object.",
|
||||
"type": "any"
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"adjustVolumeDisabled": {
|
||||
"description": "Whether adjusting the master volume is disabled.",
|
||||
"outgoingCallsDisabled": {
|
||||
"description": "Whether outgoing calls are disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"passwordRequirements": {
|
||||
"description": "Password requirements.",
|
||||
"$ref": "PasswordRequirements"
|
||||
},
|
||||
"modifyAccountsDisabled": {
|
||||
"description": "Whether adding or removing accounts is disabled.",
|
||||
"screenCaptureDisabled": {
|
||||
"description": "Whether screen capture is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"statusReportingSettings": {
|
||||
"description": "Status reporting settings",
|
||||
"$ref": "StatusReportingSettings"
|
||||
"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",
|
||||
"type": "boolean"
|
||||
},
|
||||
"installAppsDisabled": {
|
||||
"description": "Whether user installation of apps is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"factoryResetDisabled": {
|
||||
"description": "Whether factory resetting from settings is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"funDisabled": {
|
||||
"description": "Whether the user is allowed to have fun. Controls whether the Easter egg game in Settings is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"applications": {
|
||||
"description": "Policy applied to apps.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "ApplicationPolicy"
|
||||
}
|
||||
},
|
||||
"safeBootDisabled": {
|
||||
"description": "Whether rebooting the device into safe boot is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"wifiConfigsLockdownEnabled": {
|
||||
"description": "Whether WiFi networks defined in Open Network Configuration are locked so they cannot be edited by the user.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"complianceRules": {
|
||||
"description": "Rules declaring which mitigating actions to take when a device is not compliant with its policy. When the conditions for multiple rules are satisfied, all of the mitigating actions for the rules are taken. There is a maximum limit of 100 rules.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "ComplianceRule"
|
||||
}
|
||||
},
|
||||
"wifiConfigDisabled": {
|
||||
"description": "Whether configuring WiFi access points is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"unmuteMicrophoneDisabled": {
|
||||
"description": "Whether the microphone is muted and adjusting microphone volume is disabled.",
|
||||
"modifyAccountsDisabled": {
|
||||
"description": "Whether adding or removing accounts is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"installUnknownSourcesAllowed": {
|
||||
"description": "Whether the user is allowed to enable the \"Unknown Sources\" setting, which allows installation of apps from unknown sources.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"autoTimeRequired": {
|
||||
"description": "Whether auto time is required, which prevents the user from manually setting the date and time.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"removeUserDisabled": {
|
||||
"description": "Whether removing other users is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"statusBarDisabled": {
|
||||
"description": "Whether the status bar is disabled. This disables notifications, quick settings and other screen overlays that allow escape from full-screen mode.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"stayOnPluggedModes": {
|
||||
"description": "The battery plugged in modes for which the device stays on. When using this setting, it is recommended to clear maximum_time_to_lock so that the device doesn't lock itself while it stays on.",
|
||||
"enumDescriptions": [
|
||||
@@ -1358,26 +1364,48 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"cameraDisabled": {
|
||||
"description": "Whether all cameras on the device are disabled.",
|
||||
"networkResetDisabled": {
|
||||
"description": "Whether resetting network settings is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"blockApplicationsEnabled": {
|
||||
"description": "Whether applications other than the ones configured in applications are blocked from being installed. When set, applications that were installed under a previous policy but no longer appear in the policy are automatically uninstalled.",
|
||||
"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",
|
||||
"$ref": "UserFacingMessage"
|
||||
},
|
||||
"wifiConfigDisabled": {
|
||||
"description": "Whether configuring WiFi access points is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"debuggingFeaturesAllowed": {
|
||||
"description": "Whether the user is allowed to enable debugging features.",
|
||||
"networkEscapeHatchEnabled": {
|
||||
"description": "Whether the network escape hatch is enabled. If a network connection can't be made at boot time, the escape hatch prompts the user to temporarily connect to a network in order to refresh the device policy. After applying policy, the temporary network will be forgotten and the device will continue booting. This prevents being unable to connect to a network if there is no suitable network in the last policy and the device boots into an app in lock task mode, or the user is otherwise unable to reach device settings.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"maximumTimeToLock": {
|
||||
"description": "Maximum time in milliseconds for user activity until the device will lock. A value of 0 means there is no restriction.",
|
||||
"type": "string",
|
||||
"format": "int64"
|
||||
},
|
||||
"name": {
|
||||
"description": "The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId}",
|
||||
"type": "string"
|
||||
"keyguardDisabledFeatures": {
|
||||
"description": "Disabled keyguard customizations, such as widgets. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
|
||||
"enumDescriptions": [
|
||||
"This value is ignored.",
|
||||
"Disable the camera on secure keyguard screens (e.g. PIN).",
|
||||
"Disable showing all notifications on secure keyguard screens.",
|
||||
"Disable unredacted notifications on secure keyguard screens.",
|
||||
"Ignore trust agent state on secure keyguard screens.",
|
||||
"Disable fingerprint sensor on keyguard secure screens.",
|
||||
"Disable text entry into notifications on secure keyguard screens.",
|
||||
"Disable all current and future keyguard customizations."
|
||||
],
|
||||
"type": "array",
|
||||
"items": {
|
||||
"enum": [
|
||||
"KEYGUARD_DISABLED_FEATURE_UNSPECIFIED",
|
||||
"CAMERA",
|
||||
"NOTIFICATIONS",
|
||||
"UNREDACTED_NOTIFICATIONS",
|
||||
"TRUST_AGENTS",
|
||||
"DISABLE_FINGERPRINT",
|
||||
"DISABLE_REMOTE_INPUT",
|
||||
"ALL_FEATURES"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"defaultPermissionPolicy": {
|
||||
"description": "The default permission policy for requests for runtime permissions.",
|
||||
@@ -1395,20 +1423,64 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"persistentPreferredActivities": {
|
||||
"description": "Default intent handler activities.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "PersistentPreferredActivity"
|
||||
}
|
||||
"maximumTimeToLock": {
|
||||
"description": "Maximum time in milliseconds for user activity until the device will lock. A value of 0 means there is no restriction.",
|
||||
"type": "string",
|
||||
"format": "int64"
|
||||
},
|
||||
"networkEscapeHatchEnabled": {
|
||||
"description": "Whether the network escape hatch is enabled. If a network connection can't be made at boot time, the escape hatch prompts the user to temporarily connect to a network in order to refresh the device policy. After applying policy, the temporary network will be forgotten and the device will continue booting. This prevents being unable to connect to a network if there is no suitable network in the last policy and the device boots into an app in lock task mode, or the user is otherwise unable to reach device settings.",
|
||||
"safeBootDisabled": {
|
||||
"description": "Whether rebooting the device into safe boot is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"systemUpdate": {
|
||||
"description": "The system update policy, which controls how OS updates are applied. If the update type is WINDOWED, the update window will automatically apply to Play app updates as well.",
|
||||
"$ref": "SystemUpdate"
|
||||
"setUserIconDisabled": {
|
||||
"description": "Whether changing the user icon is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
|
||||
"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",
|
||||
"$ref": "ProxyInfo"
|
||||
},
|
||||
"applications": {
|
||||
"description": "Policy applied to apps.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "ApplicationPolicy"
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "boolean"
|
||||
},
|
||||
"credentialsConfigDisabled": {
|
||||
"description": "Whether configuring user credentials is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"autoTimeRequired": {
|
||||
"description": "Whether auto time is required, which prevents the user from manually setting the date and time.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"smsDisabled": {
|
||||
"description": "Whether sending or receiving SMS messages is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
|
||||
"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",
|
||||
"$ref": "PackageNameList"
|
||||
},
|
||||
"adjustVolumeDisabled": {
|
||||
"description": "Whether adjusting the master volume is disabled.",
|
||||
"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",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"vpnConfigDisabled": {
|
||||
"description": "Whether configuring VPN is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"frpAdminEmails": {
|
||||
"description": "Email addresses of device administrators for factory reset protection. When the device is factory reset, it will require one of these admins to log in with the Google account email and password to unlock the device. If no admins are specified, the device will not provide factory reset protection.",
|
||||
@@ -1417,22 +1489,144 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"version": {
|
||||
"description": "The version of the policy. This is a read-only field. The version is incremented each time the policy is updated.",
|
||||
"type": "string",
|
||||
"format": "int64"
|
||||
"alwaysOnVpnPackage": {
|
||||
"description": "Configuration for an always-on VPN connection. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
|
||||
"$ref": "AlwaysOnVpnPackage"
|
||||
},
|
||||
"screenCaptureDisabled": {
|
||||
"description": "Whether screen capture is disabled.",
|
||||
"tetheringConfigDisabled": {
|
||||
"description": "Whether configuring tethering and portable hotspots is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"name": {
|
||||
"description": "The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId}",
|
||||
"type": "string"
|
||||
},
|
||||
"uninstallAppsDisabled": {
|
||||
"description": "Whether user uninstallation of applications is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"funDisabled": {
|
||||
"description": "Whether the user is allowed to have fun. Controls whether the Easter egg game in Settings is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"openNetworkConfiguration": {
|
||||
"description": "Network configuration for the device. See configure networks for more information.",
|
||||
"additionalProperties": {
|
||||
"description": "Properties of the object.",
|
||||
"type": "any"
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"unmuteMicrophoneDisabled": {
|
||||
"description": "Whether the microphone is muted and adjusting microphone volume is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"systemUpdate": {
|
||||
"description": "The system update policy, which controls how OS updates are applied. If the update type is WINDOWED, the update window will automatically apply to Play app updates as well.",
|
||||
"$ref": "SystemUpdate"
|
||||
},
|
||||
"keyguardDisabled": {
|
||||
"description": "Whether the keyguard is disabled.",
|
||||
"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",
|
||||
"type": "boolean"
|
||||
},
|
||||
"ensureVerifyAppsEnabled": {
|
||||
"description": "Whether application verification is forced to be enabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"mobileNetworksConfigDisabled": {
|
||||
"description": "Whether configuring mobile networks is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"dataRoamingDisabled": {
|
||||
"description": "Whether roaming data services are disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"statusBarDisabled": {
|
||||
"description": "Whether the status bar is disabled. This disables notifications, quick settings and other screen overlays that allow escape from full-screen mode.",
|
||||
"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",
|
||||
"$ref": "UserFacingMessage"
|
||||
},
|
||||
"cameraDisabled": {
|
||||
"description": "Whether all cameras on the device are disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"passwordRequirements": {
|
||||
"description": "Password requirements.",
|
||||
"$ref": "PasswordRequirements"
|
||||
},
|
||||
"setWallpaperDisabled": {
|
||||
"description": "Whether changing the wallpaper is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"version": {
|
||||
"description": "The version of the policy. This is a read-only field. The version is incremented each time the policy is updated.",
|
||||
"type": "string",
|
||||
"format": "int64"
|
||||
},
|
||||
"complianceRules": {
|
||||
"description": "Rules declaring which mitigating actions to take when a device is not compliant with its policy. When the conditions for multiple rules are satisfied, all of the mitigating actions for the rules are taken. There is a maximum limit of 100 rules.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "ComplianceRule"
|
||||
}
|
||||
},
|
||||
"statusReportingSettings": {
|
||||
"description": "Status reporting settings",
|
||||
"$ref": "StatusReportingSettings"
|
||||
},
|
||||
"addUserDisabled": {
|
||||
"description": "Whether adding new users and profiles is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"bluetoothContactSharingDisabled": {
|
||||
"description": "Whether bluetooth contact sharing is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"bluetoothConfigDisabled": {
|
||||
"description": "Whether configuring bluetooth is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"cellBroadcastsConfigDisabled": {
|
||||
"description": "Whether configuring cell broadcast is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"usbFileTransferDisabled": {
|
||||
"description": "Whether transferring files over USB is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"removeUserDisabled": {
|
||||
"description": "Whether removing other users is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"wifiConfigsLockdownEnabled": {
|
||||
"description": "Whether WiFi networks defined in Open Network Configuration are locked so they cannot be edited by the user.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"createWindowsDisabled": {
|
||||
"description": "Whether creating windows besides app windows is disabled. \u003ci\u003eRequires the beta version of Android Cloud Policy.\u003c/i\u003e",
|
||||
"type": "boolean"
|
||||
},
|
||||
"persistentPreferredActivities": {
|
||||
"description": "Default intent handler activities.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "PersistentPreferredActivity"
|
||||
}
|
||||
},
|
||||
"blockApplicationsEnabled": {
|
||||
"description": "Whether applications other than the ones configured in applications are blocked from being installed. When set, applications that were installed under a previous policy but no longer appear in the policy are automatically uninstalled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"debuggingFeaturesAllowed": {
|
||||
"description": "Whether the user is allowed to enable debugging features.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"id": "Policy"
|
||||
@@ -1963,6 +2157,7 @@
|
||||
"description": "The required password quality.",
|
||||
"enum": [
|
||||
"PASSWORD_QUALITY_UNSPECIFIED",
|
||||
"BIOMETRIC_WEAK",
|
||||
"SOMETHING",
|
||||
"NUMERIC",
|
||||
"NUMERIC_COMPLEX",
|
||||
@@ -1972,6 +2167,7 @@
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"There are no requirements for the password.",
|
||||
"There must be at least low-security biometric recognition technology to secure the device. This includes technologies that can recognize the identity of an individual to about a 3 digit PIN (false detection is less than 1 in 1,000).",
|
||||
"There must be a password, but there are no restrictions on its characters.",
|
||||
"The password must contain numeric characters.",
|
||||
"The password must contain numeric characters with no repeating (4444) or ordered (1234, 4321, 2468) sequences.",
|
||||
@@ -2252,7 +2448,7 @@
|
||||
"id": "HardwareStatus"
|
||||
}
|
||||
},
|
||||
"revision": "20171009",
|
||||
"revision": "20171127",
|
||||
"basePath": "",
|
||||
"icons": {
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif",
|
||||
|
468
vendor/google.golang.org/api/androidmanagement/v1/androidmanagement-gen.go
generated
vendored
468
vendor/google.golang.org/api/androidmanagement/v1/androidmanagement-gen.go
generated
vendored
@@ -168,6 +168,38 @@ type SignupUrlsService struct {
|
||||
s *Service
|
||||
}
|
||||
|
||||
// AlwaysOnVpnPackage: Configuration for an always-on VPN connection.
|
||||
type AlwaysOnVpnPackage struct {
|
||||
// LockdownEnabled: Disallows networking when the VPN is not connected.
|
||||
LockdownEnabled bool `json:"lockdownEnabled,omitempty"`
|
||||
|
||||
// PackageName: The package name of the VPN app.
|
||||
PackageName string `json:"packageName,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "LockdownEnabled") 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. "LockdownEnabled") 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 *AlwaysOnVpnPackage) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod AlwaysOnVpnPackage
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ApiLevelCondition: A compliance rule condition which is satisfied if
|
||||
// the Android Framework API level on the device does not meet a minimum
|
||||
// requirement. There can only be one rule with this type of condition
|
||||
@@ -196,8 +228,8 @@ type ApiLevelCondition struct {
|
||||
}
|
||||
|
||||
func (s *ApiLevelCondition) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ApiLevelCondition
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ApiLevelCondition
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -240,8 +272,8 @@ type Application struct {
|
||||
}
|
||||
|
||||
func (s *Application) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Application
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Application
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -276,8 +308,8 @@ type ApplicationPermission struct {
|
||||
}
|
||||
|
||||
func (s *ApplicationPermission) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ApplicationPermission
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ApplicationPermission
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -355,8 +387,8 @@ type ApplicationPolicy struct {
|
||||
}
|
||||
|
||||
func (s *ApplicationPolicy) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ApplicationPolicy
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ApplicationPolicy
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -416,8 +448,8 @@ type Command struct {
|
||||
}
|
||||
|
||||
func (s *Command) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Command
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Command
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -464,8 +496,8 @@ type ComplianceRule struct {
|
||||
}
|
||||
|
||||
func (s *ComplianceRule) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ComplianceRule
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ComplianceRule
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -631,8 +663,8 @@ type Device struct {
|
||||
}
|
||||
|
||||
func (s *Device) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Device
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Device
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -684,8 +716,8 @@ type Display struct {
|
||||
}
|
||||
|
||||
func (s *Display) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Display
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Display
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -772,8 +804,8 @@ type EnrollmentToken struct {
|
||||
}
|
||||
|
||||
func (s *EnrollmentToken) MarshalJSON() ([]byte, error) {
|
||||
type noMethod EnrollmentToken
|
||||
raw := noMethod(*s)
|
||||
type NoMethod EnrollmentToken
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -851,8 +883,8 @@ type Enterprise struct {
|
||||
}
|
||||
|
||||
func (s *Enterprise) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Enterprise
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Enterprise
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -889,8 +921,8 @@ type ExternalData struct {
|
||||
}
|
||||
|
||||
func (s *ExternalData) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ExternalData
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ExternalData
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -969,8 +1001,8 @@ type HardwareInfo struct {
|
||||
}
|
||||
|
||||
func (s *HardwareInfo) MarshalJSON() ([]byte, error) {
|
||||
type noMethod HardwareInfo
|
||||
raw := noMethod(*s)
|
||||
type NoMethod HardwareInfo
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1025,8 +1057,8 @@ type HardwareStatus struct {
|
||||
}
|
||||
|
||||
func (s *HardwareStatus) MarshalJSON() ([]byte, error) {
|
||||
type noMethod HardwareStatus
|
||||
raw := noMethod(*s)
|
||||
type NoMethod HardwareStatus
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1062,8 +1094,8 @@ type ListDevicesResponse struct {
|
||||
}
|
||||
|
||||
func (s *ListDevicesResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListDevicesResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListDevicesResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1099,8 +1131,8 @@ type ListOperationsResponse struct {
|
||||
}
|
||||
|
||||
func (s *ListOperationsResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListOperationsResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListOperationsResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1136,8 +1168,8 @@ type ListPoliciesResponse struct {
|
||||
}
|
||||
|
||||
func (s *ListPoliciesResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListPoliciesResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListPoliciesResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1199,8 +1231,8 @@ type ManagedProperty struct {
|
||||
}
|
||||
|
||||
func (s *ManagedProperty) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ManagedProperty
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ManagedProperty
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1231,8 +1263,8 @@ type ManagedPropertyEntry struct {
|
||||
}
|
||||
|
||||
func (s *ManagedPropertyEntry) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ManagedPropertyEntry
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ManagedPropertyEntry
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1281,8 +1313,8 @@ type MemoryEvent struct {
|
||||
}
|
||||
|
||||
func (s *MemoryEvent) MarshalJSON() ([]byte, error) {
|
||||
type noMethod MemoryEvent
|
||||
raw := noMethod(*s)
|
||||
type NoMethod MemoryEvent
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1314,8 +1346,8 @@ type MemoryInfo struct {
|
||||
}
|
||||
|
||||
func (s *MemoryInfo) MarshalJSON() ([]byte, error) {
|
||||
type noMethod MemoryInfo
|
||||
raw := noMethod(*s)
|
||||
type NoMethod MemoryInfo
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1349,8 +1381,8 @@ type NetworkInfo struct {
|
||||
}
|
||||
|
||||
func (s *NetworkInfo) MarshalJSON() ([]byte, error) {
|
||||
type noMethod NetworkInfo
|
||||
raw := noMethod(*s)
|
||||
type NoMethod NetworkInfo
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1453,8 +1485,8 @@ type NonComplianceDetail struct {
|
||||
}
|
||||
|
||||
func (s *NonComplianceDetail) MarshalJSON() ([]byte, error) {
|
||||
type noMethod NonComplianceDetail
|
||||
raw := noMethod(*s)
|
||||
type NoMethod NonComplianceDetail
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1519,8 +1551,8 @@ type NonComplianceDetailCondition struct {
|
||||
}
|
||||
|
||||
func (s *NonComplianceDetailCondition) MarshalJSON() ([]byte, error) {
|
||||
type noMethod NonComplianceDetailCondition
|
||||
raw := noMethod(*s)
|
||||
type NoMethod NonComplianceDetailCondition
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1580,8 +1612,36 @@ type Operation struct {
|
||||
}
|
||||
|
||||
func (s *Operation) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Operation
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Operation
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// PackageNameList: A list of package names.
|
||||
type PackageNameList struct {
|
||||
// PackageNames: A list of package names.
|
||||
PackageNames []string `json:"packageNames,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "PackageNames") 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. "PackageNames") 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 *PackageNameList) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod PackageNameList
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1640,6 +1700,10 @@ type PasswordRequirements struct {
|
||||
// Possible values:
|
||||
// "PASSWORD_QUALITY_UNSPECIFIED" - There are no requirements for the
|
||||
// password.
|
||||
// "BIOMETRIC_WEAK" - There must be at least low-security biometric
|
||||
// recognition technology to secure the device. This includes
|
||||
// technologies that can recognize the identity of an individual to
|
||||
// about a 3 digit PIN (false detection is less than 1 in 1,000).
|
||||
// "SOMETHING" - There must be a password, but there are no
|
||||
// restrictions on its characters.
|
||||
// "NUMERIC" - The password must contain numeric characters.
|
||||
@@ -1674,8 +1738,8 @@ type PasswordRequirements struct {
|
||||
}
|
||||
|
||||
func (s *PasswordRequirements) MarshalJSON() ([]byte, error) {
|
||||
type noMethod PasswordRequirements
|
||||
raw := noMethod(*s)
|
||||
type NoMethod PasswordRequirements
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1715,8 +1779,8 @@ type PermissionGrant struct {
|
||||
}
|
||||
|
||||
func (s *PermissionGrant) MarshalJSON() ([]byte, error) {
|
||||
type noMethod PermissionGrant
|
||||
raw := noMethod(*s)
|
||||
type NoMethod PermissionGrant
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1761,13 +1825,18 @@ type PersistentPreferredActivity struct {
|
||||
}
|
||||
|
||||
func (s *PersistentPreferredActivity) MarshalJSON() ([]byte, error) {
|
||||
type noMethod PersistentPreferredActivity
|
||||
raw := noMethod(*s)
|
||||
type NoMethod PersistentPreferredActivity
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// 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>
|
||||
AccountTypesWithManagementDisabled []string `json:"accountTypesWithManagementDisabled,omitempty"`
|
||||
|
||||
// AddUserDisabled: Whether adding new users and profiles is disabled.
|
||||
AddUserDisabled bool `json:"addUserDisabled,omitempty"`
|
||||
|
||||
@@ -1775,6 +1844,10 @@ type Policy struct {
|
||||
// disabled.
|
||||
AdjustVolumeDisabled bool `json:"adjustVolumeDisabled,omitempty"`
|
||||
|
||||
// AlwaysOnVpnPackage: Configuration for an always-on VPN connection.
|
||||
// <i>Requires the beta version of Android Cloud Policy.</i>
|
||||
AlwaysOnVpnPackage *AlwaysOnVpnPackage `json:"alwaysOnVpnPackage,omitempty"`
|
||||
|
||||
// Applications: Policy applied to apps.
|
||||
Applications []*ApplicationPolicy `json:"applications,omitempty"`
|
||||
|
||||
@@ -1788,15 +1861,46 @@ type Policy struct {
|
||||
// longer appear in the policy are automatically uninstalled.
|
||||
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>
|
||||
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>
|
||||
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>
|
||||
CellBroadcastsConfigDisabled bool `json:"cellBroadcastsConfigDisabled,omitempty"`
|
||||
|
||||
// ComplianceRules: Rules declaring which mitigating actions to take
|
||||
// when a device is not compliant with its policy. When the conditions
|
||||
// for multiple rules are satisfied, all of the mitigating actions for
|
||||
// the rules are taken. There is a maximum limit of 100 rules.
|
||||
ComplianceRules []*ComplianceRule `json:"complianceRules,omitempty"`
|
||||
|
||||
// CreateWindowsDisabled: Whether creating windows besides app windows
|
||||
// is disabled. <i>Requires the beta version of Android Cloud
|
||||
// Policy.</i>
|
||||
CreateWindowsDisabled bool `json:"createWindowsDisabled,omitempty"`
|
||||
|
||||
// CredentialsConfigDisabled: Whether configuring user credentials is
|
||||
// disabled. <i>Requires the beta version of Android Cloud Policy.</i>
|
||||
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
|
||||
// debugging features.
|
||||
DebuggingFeaturesAllowed bool `json:"debuggingFeaturesAllowed,omitempty"`
|
||||
@@ -1813,6 +1917,11 @@ type Policy struct {
|
||||
// "DENY" - Automatically deny a permission.
|
||||
DefaultPermissionPolicy string `json:"defaultPermissionPolicy,omitempty"`
|
||||
|
||||
// EnsureVerifyAppsEnabled: Whether application verification is forced
|
||||
// to be enabled. <i>Requires the beta version of Android Cloud
|
||||
// Policy.</i>
|
||||
EnsureVerifyAppsEnabled bool `json:"ensureVerifyAppsEnabled,omitempty"`
|
||||
|
||||
// FactoryResetDisabled: Whether factory resetting from settings is
|
||||
// disabled.
|
||||
FactoryResetDisabled bool `json:"factoryResetDisabled,omitempty"`
|
||||
@@ -1828,6 +1937,10 @@ type Policy struct {
|
||||
// whether the Easter egg game in Settings is disabled.
|
||||
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
|
||||
// the "Unknown Sources" setting, which allows installation of apps from
|
||||
// unknown sources.
|
||||
@@ -1836,15 +1949,50 @@ type Policy struct {
|
||||
// KeyguardDisabled: Whether the keyguard is disabled.
|
||||
KeyguardDisabled bool `json:"keyguardDisabled,omitempty"`
|
||||
|
||||
// KeyguardDisabledFeatures: Disabled keyguard customizations, such as
|
||||
// widgets. <i>Requires the beta version of Android Cloud Policy.</i>
|
||||
//
|
||||
// Possible values:
|
||||
// "KEYGUARD_DISABLED_FEATURE_UNSPECIFIED" - This value is ignored.
|
||||
// "CAMERA" - Disable the camera on secure keyguard screens (e.g.
|
||||
// PIN).
|
||||
// "NOTIFICATIONS" - Disable showing all notifications on secure
|
||||
// keyguard screens.
|
||||
// "UNREDACTED_NOTIFICATIONS" - Disable unredacted notifications on
|
||||
// secure keyguard screens.
|
||||
// "TRUST_AGENTS" - Ignore trust agent state on secure keyguard
|
||||
// screens.
|
||||
// "DISABLE_FINGERPRINT" - Disable fingerprint sensor on keyguard
|
||||
// secure screens.
|
||||
// "DISABLE_REMOTE_INPUT" - Disable text entry into notifications on
|
||||
// secure keyguard screens.
|
||||
// "ALL_FEATURES" - Disable all current and future keyguard
|
||||
// customizations.
|
||||
KeyguardDisabledFeatures []string `json:"keyguardDisabledFeatures,omitempty"`
|
||||
|
||||
// LongSupportMessage: A message displayed to the user in the device
|
||||
// administators settings screen. <i>Requires the beta version of
|
||||
// Android Cloud Policy.</i>
|
||||
LongSupportMessage *UserFacingMessage `json:"longSupportMessage,omitempty"`
|
||||
|
||||
// MaximumTimeToLock: Maximum time in milliseconds for user activity
|
||||
// until the device will lock. A value of 0 means there is no
|
||||
// restriction.
|
||||
MaximumTimeToLock int64 `json:"maximumTimeToLock,omitempty,string"`
|
||||
|
||||
// MobileNetworksConfigDisabled: Whether configuring mobile networks is
|
||||
// disabled. <i>Requires the beta version of Android Cloud Policy.</i>
|
||||
MobileNetworksConfigDisabled bool `json:"mobileNetworksConfigDisabled,omitempty"`
|
||||
|
||||
// ModifyAccountsDisabled: Whether adding or removing accounts is
|
||||
// disabled.
|
||||
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>
|
||||
MountPhysicalMediaDisabled bool `json:"mountPhysicalMediaDisabled,omitempty"`
|
||||
|
||||
// Name: The name of the policy in the form
|
||||
// enterprises/{enterpriseId}/policies/{policyId}
|
||||
Name string `json:"name,omitempty"`
|
||||
@@ -1860,16 +2008,43 @@ type Policy struct {
|
||||
// device settings.
|
||||
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
|
||||
// configure networks for more information.
|
||||
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>
|
||||
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.
|
||||
PasswordRequirements *PasswordRequirements `json:"passwordRequirements,omitempty"`
|
||||
|
||||
// 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.
|
||||
PersistentPreferredActivities []*PersistentPreferredActivity `json:"persistentPreferredActivities,omitempty"`
|
||||
|
||||
// RecommendedGlobalProxy: 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. <i>Requires the
|
||||
// beta version of Android Cloud Policy.</i>
|
||||
RecommendedGlobalProxy *ProxyInfo `json:"recommendedGlobalProxy,omitempty"`
|
||||
|
||||
// RemoveUserDisabled: Whether removing other users is disabled.
|
||||
RemoveUserDisabled bool `json:"removeUserDisabled,omitempty"`
|
||||
|
||||
@@ -1880,6 +2055,23 @@ type Policy struct {
|
||||
// ScreenCaptureDisabled: Whether screen capture is disabled.
|
||||
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
|
||||
// notifications, quick settings and other screen overlays that allow
|
||||
// escape from full-screen mode.
|
||||
@@ -1905,14 +2097,31 @@ type Policy struct {
|
||||
// automatically apply to Play app updates as well.
|
||||
SystemUpdate *SystemUpdate `json:"systemUpdate,omitempty"`
|
||||
|
||||
// TetheringConfigDisabled: Whether configuring tethering and portable
|
||||
// hotspots is disabled. <i>Requires the beta version of Android Cloud
|
||||
// Policy.</i>
|
||||
TetheringConfigDisabled bool `json:"tetheringConfigDisabled,omitempty"`
|
||||
|
||||
// UninstallAppsDisabled: Whether user uninstallation of applications is
|
||||
// disabled. <i>Requires the beta version of Android Cloud Policy.</i>
|
||||
UninstallAppsDisabled bool `json:"uninstallAppsDisabled,omitempty"`
|
||||
|
||||
// UnmuteMicrophoneDisabled: Whether the microphone is muted and
|
||||
// adjusting microphone volume is disabled.
|
||||
UnmuteMicrophoneDisabled bool `json:"unmuteMicrophoneDisabled,omitempty"`
|
||||
|
||||
// UsbFileTransferDisabled: Whether transferring files over USB is
|
||||
// disabled. <i>Requires the beta version of Android Cloud Policy.</i>
|
||||
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 bool `json:"vpnConfigDisabled,omitempty"`
|
||||
|
||||
// WifiConfigDisabled: Whether configuring WiFi access points is
|
||||
// disabled.
|
||||
WifiConfigDisabled bool `json:"wifiConfigDisabled,omitempty"`
|
||||
@@ -1926,27 +2135,28 @@ type Policy struct {
|
||||
// server.
|
||||
googleapi.ServerResponse `json:"-"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "AddUserDisabled") 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.
|
||||
// "AccountTypesWithManagementDisabled") 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. "AddUserDisabled") 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 is a list of field names (e.g.
|
||||
// "AccountTypesWithManagementDisabled") 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 *Policy) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Policy
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Policy
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1991,18 +2201,18 @@ type PowerManagementEvent struct {
|
||||
}
|
||||
|
||||
func (s *PowerManagementEvent) MarshalJSON() ([]byte, error) {
|
||||
type noMethod PowerManagementEvent
|
||||
raw := noMethod(*s)
|
||||
type NoMethod PowerManagementEvent
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
func (s *PowerManagementEvent) UnmarshalJSON(data []byte) error {
|
||||
type noMethod PowerManagementEvent
|
||||
type NoMethod PowerManagementEvent
|
||||
var s1 struct {
|
||||
BatteryLevel gensupport.JSONFloat64 `json:"batteryLevel"`
|
||||
*noMethod
|
||||
*NoMethod
|
||||
}
|
||||
s1.noMethod = (*noMethod)(s)
|
||||
s1.NoMethod = (*NoMethod)(s)
|
||||
if err := json.Unmarshal(data, &s1); err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -2010,6 +2220,46 @@ func (s *PowerManagementEvent) UnmarshalJSON(data []byte) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// ProxyInfo: Configuration info for an HTTP proxy. For a direct proxy,
|
||||
// set the host, port, and excluded_hosts fields. For a PAC script
|
||||
// proxy, set the pac_uri field.
|
||||
type ProxyInfo struct {
|
||||
// ExcludedHosts: For a direct proxy, the hosts for which the proxy is
|
||||
// bypassed. The host names may contain wildcards such as *.example.com.
|
||||
ExcludedHosts []string `json:"excludedHosts,omitempty"`
|
||||
|
||||
// Host: The host of the direct proxy.
|
||||
Host string `json:"host,omitempty"`
|
||||
|
||||
// PacUri: The URI of the PAC script used to configure the proxy.
|
||||
PacUri string `json:"pacUri,omitempty"`
|
||||
|
||||
// Port: The port of the direct proxy.
|
||||
Port int64 `json:"port,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "ExcludedHosts") 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. "ExcludedHosts") 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 *ProxyInfo) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod ProxyInfo
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// SignupUrl: An enterprise signup URL.
|
||||
type SignupUrl struct {
|
||||
// Name: The name of the resource. This must be included in the create
|
||||
@@ -2042,8 +2292,8 @@ type SignupUrl struct {
|
||||
}
|
||||
|
||||
func (s *SignupUrl) MarshalJSON() ([]byte, error) {
|
||||
type noMethod SignupUrl
|
||||
raw := noMethod(*s)
|
||||
type NoMethod SignupUrl
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2087,8 +2337,8 @@ type SoftwareInfo struct {
|
||||
}
|
||||
|
||||
func (s *SoftwareInfo) MarshalJSON() ([]byte, error) {
|
||||
type noMethod SoftwareInfo
|
||||
raw := noMethod(*s)
|
||||
type NoMethod SoftwareInfo
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2163,8 +2413,8 @@ type Status struct {
|
||||
}
|
||||
|
||||
func (s *Status) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Status
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Status
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2209,8 +2459,8 @@ type StatusReportingSettings struct {
|
||||
}
|
||||
|
||||
func (s *StatusReportingSettings) MarshalJSON() ([]byte, error) {
|
||||
type noMethod StatusReportingSettings
|
||||
raw := noMethod(*s)
|
||||
type NoMethod StatusReportingSettings
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2264,8 +2514,8 @@ type SystemUpdate struct {
|
||||
}
|
||||
|
||||
func (s *SystemUpdate) MarshalJSON() ([]byte, error) {
|
||||
type noMethod SystemUpdate
|
||||
raw := noMethod(*s)
|
||||
type NoMethod SystemUpdate
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2301,8 +2551,8 @@ type UserFacingMessage struct {
|
||||
}
|
||||
|
||||
func (s *UserFacingMessage) MarshalJSON() ([]byte, error) {
|
||||
type noMethod UserFacingMessage
|
||||
raw := noMethod(*s)
|
||||
type NoMethod UserFacingMessage
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2354,8 +2604,8 @@ type WebToken struct {
|
||||
}
|
||||
|
||||
func (s *WebToken) MarshalJSON() ([]byte, error) {
|
||||
type noMethod WebToken
|
||||
raw := noMethod(*s)
|
||||
type NoMethod WebToken
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2476,7 +2726,7 @@ func (c *EnterprisesCreateCall) Do(opts ...googleapi.CallOption) (*Enterprise, e
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -2624,7 +2874,7 @@ func (c *EnterprisesGetCall) Do(opts ...googleapi.CallOption) (*Enterprise, erro
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -2764,7 +3014,7 @@ func (c *EnterprisesPatchCall) Do(opts ...googleapi.CallOption) (*Enterprise, er
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -2921,7 +3171,7 @@ func (c *EnterprisesApplicationsGetCall) Do(opts ...googleapi.CallOption) (*Appl
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -3051,7 +3301,7 @@ func (c *EnterprisesDevicesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -3190,7 +3440,7 @@ func (c *EnterprisesDevicesGetCall) Do(opts ...googleapi.CallOption) (*Device, e
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -3324,7 +3574,7 @@ func (c *EnterprisesDevicesIssueCommandCall) Do(opts ...googleapi.CallOption) (*
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -3480,7 +3730,7 @@ func (c *EnterprisesDevicesListCall) Do(opts ...googleapi.CallOption) (*ListDevi
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -3652,7 +3902,7 @@ func (c *EnterprisesDevicesPatchCall) Do(opts ...googleapi.CallOption) (*Device,
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -3795,7 +4045,7 @@ func (c *EnterprisesDevicesOperationsCancelCall) Do(opts ...googleapi.CallOption
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -3923,7 +4173,7 @@ func (c *EnterprisesDevicesOperationsDeleteCall) Do(opts ...googleapi.CallOption
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -4064,7 +4314,7 @@ func (c *EnterprisesDevicesOperationsGetCall) Do(opts ...googleapi.CallOption) (
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -4233,7 +4483,7 @@ func (c *EnterprisesDevicesOperationsListCall) Do(opts ...googleapi.CallOption)
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -4402,7 +4652,7 @@ func (c *EnterprisesEnrollmentTokensCreateCall) Do(opts ...googleapi.CallOption)
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -4531,7 +4781,7 @@ func (c *EnterprisesEnrollmentTokensDeleteCall) Do(opts ...googleapi.CallOption)
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -4657,7 +4907,7 @@ func (c *EnterprisesPoliciesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -4796,7 +5046,7 @@ func (c *EnterprisesPoliciesGetCall) Do(opts ...googleapi.CallOption) (*Policy,
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -4949,7 +5199,7 @@ func (c *EnterprisesPoliciesListCall) Do(opts ...googleapi.CallOption) (*ListPol
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -5121,7 +5371,7 @@ func (c *EnterprisesPoliciesPatchCall) Do(opts ...googleapi.CallOption) (*Policy
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -5263,7 +5513,7 @@ func (c *EnterprisesWebTokensCreateCall) Do(opts ...googleapi.CallOption) (*WebT
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -5405,7 +5655,7 @@ func (c *SignupUrlsCreateCall) Do(opts ...googleapi.CallOption) (*SignupUrl, err
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
|
Reference in New Issue
Block a user