mirror of
https://github.com/restic/restic.git
synced 2025-10-09 18:02:28 +00:00
Update dependencies
This commit is contained in:
30
vendor/google.golang.org/api/androidenterprise/v1/androidenterprise-api.json
generated
vendored
30
vendor/google.golang.org/api/androidenterprise/v1/androidenterprise-api.json
generated
vendored
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/DGIUP89Ib5-EtHtiJPYksWeqJMc\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/RhIHx1SwfJ96Awey5il5_fqGJDg\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "androidenterprise:v1",
|
||||
"name": "androidenterprise",
|
||||
"canonicalName": "Android Enterprise",
|
||||
"version": "v1",
|
||||
"revision": "20170726",
|
||||
"revision": "20170830",
|
||||
"title": "Google Play EMM API",
|
||||
"description": "Manages the deployment of apps to Android for Work users.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -493,7 +493,7 @@
|
||||
"GroupLicense": {
|
||||
"id": "GroupLicense",
|
||||
"type": "object",
|
||||
"description": "A group license object indicates a product that an enterprise admin has approved for use in the enterprise. The product may be free or paid. For free products, a group license object is created in these cases: if the enterprise admin approves a product in Google Play, if the product is added to a collection, or if an entitlement for the product is created for a user via the API. For paid products, a group license object is only created as part of the first bulk purchase of that product in Google Play by the enterprise admin.\n\nThe API can be used to query group licenses; the available information includes the total number of licenses purchased (for paid products) and the total number of licenses that have been provisioned, that is, the total number of user entitlements in existence for the product.\n\nGroup license objects are never deleted. If, for example, a free app is added to a collection and then removed, the group license will remain, allowing the enterprise admin to keep track of any remaining entitlements. An enterprise admin may indicate they are no longer interested in the group license by marking it as unapproved in Google Play.",
|
||||
"description": "Group license objects allow you to keep track of licenses (called entitlements) for both free and paid apps. For a free app, a group license is created when an enterprise admin first approves the product in Google Play or when the first entitlement for the product is created for a user via the API. For a paid app, a group license object is only created when an enterprise admin purchases the product in Google Play for the first time.\n\nUse the API to query group licenses. A Grouplicenses resource includes the total number of licenses purchased (paid apps only) and the total number of licenses currently in use. Iyn other words, the total number of Entitlements that exist for the product.\n\nOnly one group license object is created per product and group license objects are never deleted. If a product is unapproved, its group license remains. This allows enterprise admins to keep track of any remaining entitlements for the product.",
|
||||
"properties": {
|
||||
"acquisitionKind": {
|
||||
"type": "string",
|
||||
@@ -933,7 +933,7 @@
|
||||
"properties": {
|
||||
"appVersion": {
|
||||
"type": "array",
|
||||
"description": "App versions currently available for this product. The returned list contains only public versions. Alpha and beta versions are not included.",
|
||||
"description": "App versions currently available for this product.",
|
||||
"items": {
|
||||
"$ref": "AppVersion"
|
||||
}
|
||||
@@ -971,6 +971,10 @@
|
||||
"type": "boolean",
|
||||
"description": "Deprecated."
|
||||
},
|
||||
"signingCertificate": {
|
||||
"$ref": "ProductSigningCertificate",
|
||||
"description": "The certificate used to sign this product."
|
||||
},
|
||||
"smallIconUrl": {
|
||||
"type": "string",
|
||||
"description": "A link to a smaller image that can be used as an icon for the product. This image is suitable for use at up to 128px x 128px."
|
||||
@@ -1072,7 +1076,21 @@
|
||||
},
|
||||
"productSetBehavior": {
|
||||
"type": "string",
|
||||
"description": "The interpretation of this product set. \"unknown\" should never be sent and is ignored if received. \"whitelist\" means that the user is entitled to access the product set. \"includeAll\" means that all products are accessible, including products that are approved, products with revoked approval, and products that have never been approved. \"allApproved\" means that the user is entitled to access all products that are approved for the enterprise. If the value is \"allApproved\" or \"includeAll\", the productId field is ignored. If no value is provided, it is interpreted as \"whitelist\" for backwards compatibility."
|
||||
"description": "The interpretation of this product set. \"unknown\" should never be sent and is ignored if received. \"whitelist\" means that the user is entitled to access the product set. \"includeAll\" means that all products are accessible, including products that are approved, products with revoked approval, and products that have never been approved. \"allApproved\" means that the user is entitled to access all products that are approved for the enterprise. If the value is \"allApproved\" or \"includeAll\", the productId field is ignored. If no value is provided, it is interpreted as \"whitelist\" for backwards compatibility. Further \"allApproved\" or \"includeAll\" does not enable automatic visibility of \"alpha\" or \"beta\" tracks for Android app. Use ProductVisibility to enable \"alpha\" or \"beta\" tracks per user."
|
||||
}
|
||||
}
|
||||
},
|
||||
"ProductSigningCertificate": {
|
||||
"id": "ProductSigningCertificate",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"certificateHashSha1": {
|
||||
"type": "string",
|
||||
"description": "The base64 urlsafe encoded SHA1 hash of the certificate. (This field is deprecated in favor of SHA2-256. It should not be used and may be removed at any time.)"
|
||||
},
|
||||
"certificateHashSha256": {
|
||||
"type": "string",
|
||||
"description": "The base64 urlsafe encoded SHA2-256 hash of the certificate."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1900,7 +1918,7 @@
|
||||
"id": "androidenterprise.enterprises.sendTestPushNotification",
|
||||
"path": "enterprises/{enterpriseId}/sendTestPushNotification",
|
||||
"httpMethod": "POST",
|
||||
"description": "Sends a test push notification to validate the EMM integration with the Google Cloud Pub/Sub service for this enterprise.",
|
||||
"description": "Sends a test notification to validate the EMM integration with the Google Cloud Pub/Sub service for this enterprise.",
|
||||
"parameters": {
|
||||
"enterpriseId": {
|
||||
"type": "string",
|
||||
|
87
vendor/google.golang.org/api/androidenterprise/v1/androidenterprise-gen.go
generated
vendored
87
vendor/google.golang.org/api/androidenterprise/v1/androidenterprise-gen.go
generated
vendored
@@ -1113,28 +1113,23 @@ func (s *EntitlementsListResponse) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// GroupLicense: A group license object indicates a product that an
|
||||
// enterprise admin has approved for use in the enterprise. The product
|
||||
// may be free or paid. For free products, a group license object is
|
||||
// created in these cases: if the enterprise admin approves a product in
|
||||
// Google Play, if the product is added to a collection, or if an
|
||||
// entitlement for the product is created for a user via the API. For
|
||||
// paid products, a group license object is only created as part of the
|
||||
// first bulk purchase of that product in Google Play by the enterprise
|
||||
// admin.
|
||||
// GroupLicense: Group license objects allow you to keep track of
|
||||
// licenses (called entitlements) for both free and paid apps. For a
|
||||
// free app, a group license is created when an enterprise admin first
|
||||
// approves the product in Google Play or when the first entitlement for
|
||||
// the product is created for a user via the API. For a paid app, a
|
||||
// group license object is only created when an enterprise admin
|
||||
// purchases the product in Google Play for the first time.
|
||||
//
|
||||
// The API can be used to query group licenses; the available
|
||||
// information includes the total number of licenses purchased (for paid
|
||||
// products) and the total number of licenses that have been
|
||||
// provisioned, that is, the total number of user entitlements in
|
||||
// existence for the product.
|
||||
// Use the API to query group licenses. A Grouplicenses resource
|
||||
// includes the total number of licenses purchased (paid apps only) and
|
||||
// the total number of licenses currently in use. Iyn other words, the
|
||||
// total number of Entitlements that exist for the product.
|
||||
//
|
||||
// Group license objects are never deleted. If, for example, a free app
|
||||
// is added to a collection and then removed, the group license will
|
||||
// remain, allowing the enterprise admin to keep track of any remaining
|
||||
// entitlements. An enterprise admin may indicate they are no longer
|
||||
// interested in the group license by marking it as unapproved in Google
|
||||
// Play.
|
||||
// Only one group license object is created per product and group
|
||||
// license objects are never deleted. If a product is unapproved, its
|
||||
// group license remains. This allows enterprise admins to keep track of
|
||||
// any remaining entitlements for the product.
|
||||
type GroupLicense struct {
|
||||
// AcquisitionKind: How this group license was acquired. "bulkPurchase"
|
||||
// means that this Grouplicenses resource was created because the
|
||||
@@ -1960,9 +1955,7 @@ func (s *Permission) MarshalJSON() ([]byte, error) {
|
||||
// to the full Google Play details page) is intended to allow a basic
|
||||
// representation of the product within an EMM user interface.
|
||||
type Product struct {
|
||||
// AppVersion: App versions currently available for this product. The
|
||||
// returned list contains only public versions. Alpha and beta versions
|
||||
// are not included.
|
||||
// AppVersion: App versions currently available for this product.
|
||||
AppVersion []*AppVersion `json:"appVersion,omitempty"`
|
||||
|
||||
// AuthorName: The name of the author of the product (for example, the
|
||||
@@ -2003,6 +1996,9 @@ type Product struct {
|
||||
// RequiresContainerApp: Deprecated.
|
||||
RequiresContainerApp bool `json:"requiresContainerApp,omitempty"`
|
||||
|
||||
// SigningCertificate: The certificate used to sign this product.
|
||||
SigningCertificate *ProductSigningCertificate `json:"signingCertificate,omitempty"`
|
||||
|
||||
// SmallIconUrl: A link to a smaller image that can be used as an icon
|
||||
// for the product. This image is suitable for use at up to 128px x
|
||||
// 128px.
|
||||
@@ -2208,7 +2204,10 @@ type ProductSet struct {
|
||||
// access all products that are approved for the enterprise. If the
|
||||
// value is "allApproved" or "includeAll", the productId field is
|
||||
// ignored. If no value is provided, it is interpreted as "whitelist"
|
||||
// for backwards compatibility.
|
||||
// for backwards compatibility. Further "allApproved" or "includeAll"
|
||||
// does not enable automatic visibility of "alpha" or "beta" tracks for
|
||||
// Android app. Use ProductVisibility to enable "alpha" or "beta" tracks
|
||||
// per user.
|
||||
ProductSetBehavior string `json:"productSetBehavior,omitempty"`
|
||||
|
||||
// ServerResponse contains the HTTP response code and headers from the
|
||||
@@ -2238,6 +2237,40 @@ func (s *ProductSet) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type ProductSigningCertificate struct {
|
||||
// CertificateHashSha1: The base64 urlsafe encoded SHA1 hash of the
|
||||
// certificate. (This field is deprecated in favor of SHA2-256. It
|
||||
// should not be used and may be removed at any time.)
|
||||
CertificateHashSha1 string `json:"certificateHashSha1,omitempty"`
|
||||
|
||||
// CertificateHashSha256: The base64 urlsafe encoded SHA2-256 hash of
|
||||
// the certificate.
|
||||
CertificateHashSha256 string `json:"certificateHashSha256,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "CertificateHashSha1")
|
||||
// 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. "CertificateHashSha1") 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 *ProductSigningCertificate) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ProductSigningCertificate
|
||||
raw := noMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type ProductsApproveRequest struct {
|
||||
// ApprovalUrlInfo: The approval URL that was shown to the user. Only
|
||||
// the permissions shown to the user with that URL will be accepted,
|
||||
@@ -5325,8 +5358,8 @@ type EnterprisesSendTestPushNotificationCall struct {
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// SendTestPushNotification: Sends a test push notification to validate
|
||||
// the EMM integration with the Google Cloud Pub/Sub service for this
|
||||
// SendTestPushNotification: Sends a test notification to validate the
|
||||
// EMM integration with the Google Cloud Pub/Sub service for this
|
||||
// enterprise.
|
||||
func (r *EnterprisesService) SendTestPushNotification(enterpriseId string) *EnterprisesSendTestPushNotificationCall {
|
||||
c := &EnterprisesSendTestPushNotificationCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
@@ -5417,7 +5450,7 @@ func (c *EnterprisesSendTestPushNotificationCall) Do(opts ...googleapi.CallOptio
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sends a test push notification to validate the EMM integration with the Google Cloud Pub/Sub service for this enterprise.",
|
||||
// "description": "Sends a test notification to validate the EMM integration with the Google Cloud Pub/Sub service for this enterprise.",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "androidenterprise.enterprises.sendTestPushNotification",
|
||||
// "parameterOrder": [
|
||||
|
Reference in New Issue
Block a user