vendor: update all dependencies
* Update all dependencies * Remove all `[[constraint]]` from Gopkg.toml * Add in the minimum number of `[[override]]` to build * Remove go get of github.com/inconshreveable/mousetrap as it is vendored * Update docs with new policy on constraints
This commit is contained in:
+29
-8
@@ -15,7 +15,7 @@
|
||||
"description": "Manages the deployment of apps to Android for Work users.",
|
||||
"discoveryVersion": "v1",
|
||||
"documentationLink": "https://developers.google.com/android/work/play/emm-api",
|
||||
"etag": "\"-iA1DTNe4s-I6JZXPt1t1Ypy8IU/BekewWSAdUldI-NtmUAiG8YIr08\"",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/7F-eJBLaASTTYJaC0mgfyno2lxc\"",
|
||||
"icons": {
|
||||
"x16": "https://www.google.com/images/icons/product/android-16.png",
|
||||
"x32": "https://www.google.com/images/icons/product/android-32.png"
|
||||
@@ -60,12 +60,12 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"quotaUser": {
|
||||
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.",
|
||||
"description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"userIp": {
|
||||
"description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
|
||||
"description": "Deprecated. Please use quotaUser instead.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
}
|
||||
@@ -467,7 +467,7 @@
|
||||
]
|
||||
},
|
||||
"getAndroidDevicePolicyConfig": {
|
||||
"description": "Returns the Android Device Policy config resource.",
|
||||
"description": "Deprecated and unused.",
|
||||
"httpMethod": "GET",
|
||||
"id": "androidenterprise.enterprises.getAndroidDevicePolicyConfig",
|
||||
"parameterOrder": [
|
||||
@@ -674,7 +674,7 @@
|
||||
]
|
||||
},
|
||||
"setAndroidDevicePolicyConfig": {
|
||||
"description": "Sets the Android Device Policy config resource. EMM may use this method to enable or disable Android Device Policy support for the specified enterprise. To learn more about managing devices and apps with Android Device Policy, see the Android Management API.",
|
||||
"description": "Deprecated and unused.",
|
||||
"httpMethod": "PUT",
|
||||
"id": "androidenterprise.enterprises.setAndroidDevicePolicyConfig",
|
||||
"parameterOrder": [
|
||||
@@ -2804,7 +2804,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180221",
|
||||
"revision": "20180425",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"schemas": {
|
||||
"Administrator": {
|
||||
@@ -2858,7 +2858,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"AndroidDevicePolicyConfig": {
|
||||
"description": "The Android Device Policy configuration of an enterprise.",
|
||||
"description": "Deprecated and unused.",
|
||||
"id": "AndroidDevicePolicyConfig",
|
||||
"properties": {
|
||||
"kind": {
|
||||
@@ -2867,7 +2867,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"description": "The state of Android Device Policy. \"enabled\" indicates that Android Device Policy is enabled for the enterprise and the EMM is allowed to manage devices with Android Device Policy, while \"disabled\" means that it cannot.",
|
||||
"description": "Deprecated and unused.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -3413,6 +3413,23 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"MaintenanceWindow": {
|
||||
"description": "Maintenance window for managed Google Play Accounts. This allows Play store to update the apps on the foreground in the designated window.",
|
||||
"id": "MaintenanceWindow",
|
||||
"properties": {
|
||||
"durationMs": {
|
||||
"description": "Duration of the maintenance window, in milliseconds. The duration must be between 30 minutes and 24 hours (inclusive).",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"startTimeAfterMidnightMs": {
|
||||
"description": "Start time of the maintenance window, in milliseconds after midnight on the device. Windows can span midnight.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ManagedConfiguration": {
|
||||
"description": "A managed configuration resource contains the set of managed properties defined by the app developer in the app's managed configurations schema, as well as any configuration variables defined for the user.",
|
||||
"id": "ManagedConfiguration",
|
||||
@@ -3754,6 +3771,10 @@
|
||||
"description": "The auto-update policy for apps installed on the device. \"choiceToTheUser\" allows the device's user to configure the app update policy. \"always\" enables auto updates. \"never\" disables auto updates. \"wifiOnly\" enables auto updates only when the device is connected to wifi.",
|
||||
"type": "string"
|
||||
},
|
||||
"maintenanceWindow": {
|
||||
"$ref": "MaintenanceWindow",
|
||||
"description": "The maintenance window defining when apps running in the foreground should be updated."
|
||||
},
|
||||
"productAvailabilityPolicy": {
|
||||
"description": "The availability granted to the device for the specified products. \"all\" gives the device access to all products, regardless of approval status. \"allApproved\" entitles the device to access all products that are approved for the enterprise. \"allApproved\" and \"all\" do not enable automatic visibility of \"alpha\" or \"beta\" tracks. \"whitelist\" grants the device access the products specified in productPolicy[]. Only products that are approved or products that were previously approved (products with revoked approval) by the enterprise can be whitelisted. If no value is provided, the availability set at the user level is applied by default.",
|
||||
"type": "string"
|
||||
|
||||
+45
-15
@@ -362,17 +362,13 @@ func (s *AdministratorWebTokenSpec) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// AndroidDevicePolicyConfig: The Android Device Policy configuration of
|
||||
// an enterprise.
|
||||
// AndroidDevicePolicyConfig: Deprecated and unused.
|
||||
type AndroidDevicePolicyConfig struct {
|
||||
// Kind: Identifies what kind of resource this is. Value: the fixed
|
||||
// string "androidenterprise#androidDevicePolicyConfig".
|
||||
Kind string `json:"kind,omitempty"`
|
||||
|
||||
// State: The state of Android Device Policy. "enabled" indicates that
|
||||
// Android Device Policy is enabled for the enterprise and the EMM is
|
||||
// allowed to manage devices with Android Device Policy, while
|
||||
// "disabled" means that it cannot.
|
||||
// State: Deprecated and unused.
|
||||
State string `json:"state,omitempty"`
|
||||
|
||||
// ServerResponse contains the HTTP response code and headers from the
|
||||
@@ -1524,6 +1520,41 @@ func (s *LocalizedText) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// MaintenanceWindow: Maintenance window for managed Google Play
|
||||
// Accounts. This allows Play store to update the apps on the foreground
|
||||
// in the designated window.
|
||||
type MaintenanceWindow struct {
|
||||
// DurationMs: Duration of the maintenance window, in milliseconds. The
|
||||
// duration must be between 30 minutes and 24 hours (inclusive).
|
||||
DurationMs int64 `json:"durationMs,omitempty,string"`
|
||||
|
||||
// StartTimeAfterMidnightMs: Start time of the maintenance window, in
|
||||
// milliseconds after midnight on the device. Windows can span midnight.
|
||||
StartTimeAfterMidnightMs int64 `json:"startTimeAfterMidnightMs,omitempty,string"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "DurationMs") 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. "DurationMs") 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 *MaintenanceWindow) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod MaintenanceWindow
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ManagedConfiguration: A managed configuration resource contains the
|
||||
// set of managed properties defined by the app developer in the app's
|
||||
// managed configurations schema, as well as any configuration variables
|
||||
@@ -2105,6 +2136,10 @@ type Policy struct {
|
||||
// connected to wifi.
|
||||
AutoUpdatePolicy string `json:"autoUpdatePolicy,omitempty"`
|
||||
|
||||
// MaintenanceWindow: The maintenance window defining when apps running
|
||||
// in the foreground should be updated.
|
||||
MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"`
|
||||
|
||||
// ProductAvailabilityPolicy: The availability granted to the device for
|
||||
// the specified products. "all" gives the device access to all
|
||||
// products, regardless of approval status. "allApproved" entitles the
|
||||
@@ -5192,8 +5227,7 @@ type EnterprisesGetAndroidDevicePolicyConfigCall struct {
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// GetAndroidDevicePolicyConfig: Returns the Android Device Policy
|
||||
// config resource.
|
||||
// GetAndroidDevicePolicyConfig: Deprecated and unused.
|
||||
func (r *EnterprisesService) GetAndroidDevicePolicyConfig(enterpriseId string) *EnterprisesGetAndroidDevicePolicyConfigCall {
|
||||
c := &EnterprisesGetAndroidDevicePolicyConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.enterpriseId = enterpriseId
|
||||
@@ -5294,7 +5328,7 @@ func (c *EnterprisesGetAndroidDevicePolicyConfigCall) Do(opts ...googleapi.CallO
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Returns the Android Device Policy config resource.",
|
||||
// "description": "Deprecated and unused.",
|
||||
// "httpMethod": "GET",
|
||||
// "id": "androidenterprise.enterprises.getAndroidDevicePolicyConfig",
|
||||
// "parameterOrder": [
|
||||
@@ -6331,11 +6365,7 @@ type EnterprisesSetAndroidDevicePolicyConfigCall struct {
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// SetAndroidDevicePolicyConfig: Sets the Android Device Policy config
|
||||
// resource. EMM may use this method to enable or disable Android Device
|
||||
// Policy support for the specified enterprise. To learn more about
|
||||
// managing devices and apps with Android Device Policy, see the Android
|
||||
// Management API.
|
||||
// SetAndroidDevicePolicyConfig: Deprecated and unused.
|
||||
func (r *EnterprisesService) SetAndroidDevicePolicyConfig(enterpriseId string, androiddevicepolicyconfig *AndroidDevicePolicyConfig) *EnterprisesSetAndroidDevicePolicyConfigCall {
|
||||
c := &EnterprisesSetAndroidDevicePolicyConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.enterpriseId = enterpriseId
|
||||
@@ -6429,7 +6459,7 @@ func (c *EnterprisesSetAndroidDevicePolicyConfigCall) Do(opts ...googleapi.CallO
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the Android Device Policy config resource. EMM may use this method to enable or disable Android Device Policy support for the specified enterprise. To learn more about managing devices and apps with Android Device Policy, see the Android Management API.",
|
||||
// "description": "Deprecated and unused.",
|
||||
// "httpMethod": "PUT",
|
||||
// "id": "androidenterprise.enterprises.setAndroidDevicePolicyConfig",
|
||||
// "parameterOrder": [
|
||||
|
||||
Reference in New Issue
Block a user