Upadte vendored dependencies

This commit is contained in:
Alexander Neumann
2017-10-22 10:07:36 +02:00
parent 315b7f282f
commit 8d37b723ca
380 changed files with 136541 additions and 78532 deletions

View File

@@ -670,7 +670,7 @@
"type": "object",
"properties": {
"userName": {
"description": "The resource name of the user of the device in the form enterprises/{enterpriseId}/users/{userId}. This is the name of the device account automatically created for this device.",
"description": "The resource name of the user that owns this device in the form enterprises/{enterpriseId}/users/{userId}.",
"type": "string"
},
"disabledReason": {
@@ -678,7 +678,7 @@
"$ref": "UserFacingMessage"
},
"policyName": {
"description": "The name of the policy that is intended to be applied to the device. If empty, the policy with id default is applied. This field may be modified by an update request. The name of the policy is in the form enterprises/{enterpriseId}/policies/{policyId}. It is also permissible to only specify the policyId when updating this field as long as the policyId contains no slashes since the rest of the policy name can be inferred from context.",
"description": "The name of the policy that is intended to be applied to the device. If empty, the policy_name for the user that owns this device is applied. This field may be modified by an update request. The name of the policy is in the form enterprises/{enterpriseId}/policies/{policyId}. It is also permissible to only specify the policyId when updating this field as long as the policyId contains no slashes since the rest of the policy name can be inferred from context.",
"type": "string"
},
"lastPolicyComplianceReportTime": {
@@ -1407,7 +1407,7 @@
"type": "boolean"
},
"systemUpdate": {
"description": "The system update policy, which controls how OS updates are applied. If the update type is WINDOWED and the device has a device account, the update window will automatically apply to Play app updates as well.",
"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"
},
"frpAdminEmails": {
@@ -1640,7 +1640,7 @@
"format": "google-datetime"
},
"policyName": {
"description": "The name of the policy that will be initially applied to the enrolled device in the form enterprises/{enterpriseId}/policies/{policyId}. If not specified, the policy with id default is applied. It is permissible to only specify the policyId when updating this field as long as the policyId contains no slashes since the rest of the policy name can be inferred from context.",
"description": "The name of the policy that will be initially applied to the enrolled device in the form enterprises/{enterpriseId}/policies/{policyId}. If not specified, the policy_name for the user that owns the device is applied. If user_name also isn't specified, the policy defaults to enterprises/{enterpriseId}/policies/default. It is permissible to only specify the policyId when updating this field as long as the policyId contains no slashes since the rest of the policy name can be inferred from context.",
"type": "string"
},
"name": {
@@ -2178,7 +2178,7 @@
"enumDescriptions": [
"Follow the default update behavior for the device, which typically requires the user to accept system updates.",
"Install automatically as soon as an update is available.",
"Install automatically within a daily maintenance window. If the device has a device account, this also configures Play apps to be updated within the window. This is strongly recommended for kiosk devices because this is the only way apps persistently pinned to the foreground can be updated by Play.",
"Install automatically within a daily maintenance window. This also configures Play apps to be updated within the window. This is strongly recommended for kiosk devices because this is the only way apps persistently pinned to the foreground can be updated by Play.",
"Postpone automatic install up to a maximum of 30 days."
],
"type": "string"
@@ -2252,7 +2252,7 @@
"id": "HardwareStatus"
}
},
"revision": "20170918",
"revision": "20171009",
"basePath": "",
"icons": {
"x32": "http://www.google.com/images/icons/product/search-32.gif",

View File

@@ -562,12 +562,13 @@ type Device struct {
PolicyCompliant bool `json:"policyCompliant,omitempty"`
// PolicyName: The name of the policy that is intended to be applied to
// the device. If empty, the policy with id default is applied. This
// field may be modified by an update request. The name of the policy is
// in the form enterprises/{enterpriseId}/policies/{policyId}. It is
// also permissible to only specify the policyId when updating this
// field as long as the policyId contains no slashes since the rest of
// the policy name can be inferred from context.
// the device. If empty, the policy_name for the user that owns this
// device is applied. This field may be modified by an update request.
// The name of the policy is in the form
// enterprises/{enterpriseId}/policies/{policyId}. It is also
// permissible to only specify the policyId when updating this field as
// long as the policyId contains no slashes since the rest of the policy
// name can be inferred from context.
PolicyName string `json:"policyName,omitempty"`
// PowerManagementEvents: Power management events on the device in
@@ -604,9 +605,8 @@ type Device struct {
// devices will be in this state until they have applied policy.
State string `json:"state,omitempty"`
// UserName: The resource name of the user of the device in the form
// enterprises/{enterpriseId}/users/{userId}. This is the name of the
// device account automatically created for this device.
// UserName: The resource name of the user that owns this device in the
// form enterprises/{enterpriseId}/users/{userId}.
UserName string `json:"userName,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
@@ -730,10 +730,12 @@ type EnrollmentToken struct {
// PolicyName: The name of the policy that will be initially applied to
// the enrolled device in the form
// enterprises/{enterpriseId}/policies/{policyId}. If not specified, the
// policy with id default is applied. It is permissible to only specify
// the policyId when updating this field as long as the policyId
// contains no slashes since the rest of the policy name can be inferred
// from context.
// policy_name for the user that owns the device is applied. If
// user_name also isn't specified, the policy defaults to
// enterprises/{enterpriseId}/policies/default. It is permissible to
// only specify the policyId when updating this field as long as the
// policyId contains no slashes since the rest of the policy name can be
// inferred from context.
PolicyName string `json:"policyName,omitempty"`
// QrCode: A JSON string whose UTF-8 representation can be used to
@@ -1899,9 +1901,8 @@ type Policy struct {
StayOnPluggedModes []string `json:"stayOnPluggedModes,omitempty"`
// SystemUpdate: The system update policy, which controls how OS updates
// are applied. If the update type is WINDOWED and the device has a
// device account, the update window will automatically apply to Play
// app updates as well.
// are applied. If the update type is WINDOWED, the update window will
// automatically apply to Play app updates as well.
SystemUpdate *SystemUpdate `json:"systemUpdate,omitempty"`
// UnmuteMicrophoneDisabled: Whether the microphone is muted and
@@ -2238,10 +2239,10 @@ type SystemUpdate struct {
// "AUTOMATIC" - Install automatically as soon as an update is
// available.
// "WINDOWED" - Install automatically within a daily maintenance
// window. If the device has a device account, this also configures Play
// apps to be updated within the window. This is strongly recommended
// for kiosk devices because this is the only way apps persistently
// pinned to the foreground can be updated by Play.
// window. This also configures Play apps to be updated within the
// window. This is strongly recommended for kiosk devices because this
// is the only way apps persistently pinned to the foreground can be
// updated by Play.
// "POSTPONE" - Postpone automatic install up to a maximum of 30 days.
Type string `json:"type,omitempty"`