Skip to content

Commit

Permalink
all: regenerate all APIs
Browse files Browse the repository at this point in the history
Change-Id: I63e1b03280ff7c999ec587a270014b38e60aee83
Reviewed-on: https://code-review.googlesource.com/12350
Reviewed-by: Glenn Lewis <[email protected]>
  • Loading branch information
gmlewis committed Apr 18, 2017
1 parent 48e49d1 commit 5e11763
Show file tree
Hide file tree
Showing 101 changed files with 64,612 additions and 61,888 deletions.
10 changes: 5 additions & 5 deletions admin/reports/v1/admin-api.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/3o2kOuChwcSfe-_UrgiVWnEoY64\"",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/-tkaOVzArVVhbxGreMOY21mRaV8\"",
"discoveryVersion": "v1",
"id": "admin:reports_v1",
"name": "admin",
"canonicalName": "reports",
"version": "reports_v1",
"revision": "20170315",
"revision": "20170320",
"title": "Admin Reports API",
"description": "Fetches reports for the administrators of G Suite customers about the usage, collaboration, security, and risk for their users.",
"ownerDomain": "google.com",
Expand Down Expand Up @@ -659,7 +659,7 @@
"parameters": {
"type": "string",
"description": "Represents the application name, parameter name pairs to fetch in csv as app_name1:param_name1, app_name2:param_name2.",
"pattern": "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)",
"pattern": "(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)",
"location": "query"
}
},
Expand Down Expand Up @@ -699,7 +699,7 @@
"filters": {
"type": "string",
"description": "Represents the set of filters including parameter operator value.",
"pattern": "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[\u003c,\u003c=,==,\u003e=,\u003e,!=][^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[\u003c,\u003c=,==,\u003e=,\u003e,!=][^,]+)",
"pattern": "(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[\u003c,\u003c=,==,\u003e=,\u003e,!=][^,]+,)*(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[\u003c,\u003c=,==,\u003e=,\u003e,!=][^,]+)",
"location": "query"
},
"maxResults": {
Expand All @@ -717,7 +717,7 @@
"parameters": {
"type": "string",
"description": "Represents the application name, parameter name pairs to fetch in csv as app_name1:param_name1, app_name2:param_name2.",
"pattern": "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)",
"pattern": "(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)",
"location": "query"
},
"userKey": {
Expand Down
6 changes: 3 additions & 3 deletions admin/reports/v1/admin-gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -1435,7 +1435,7 @@ func (c *CustomerUsageReportsGetCall) Do(opts ...googleapi.CallOption) (*UsageRe
// "parameters": {
// "description": "Represents the application name, parameter name pairs to fetch in csv as app_name1:param_name1, app_name2:param_name2.",
// "location": "query",
// "pattern": "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)",
// "pattern": "(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)",
// "type": "string"
// }
// },
Expand Down Expand Up @@ -1647,7 +1647,7 @@ func (c *UserUsageReportGetCall) Do(opts ...googleapi.CallOption) (*UsageReports
// "filters": {
// "description": "Represents the set of filters including parameter operator value.",
// "location": "query",
// "pattern": "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[\u003c,\u003c=,==,\u003e=,\u003e,!=][^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[\u003c,\u003c=,==,\u003e=,\u003e,!=][^,]+)",
// "pattern": "(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[\u003c,\u003c=,==,\u003e=,\u003e,!=][^,]+,)*(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[\u003c,\u003c=,==,\u003e=,\u003e,!=][^,]+)",
// "type": "string"
// },
// "maxResults": {
Expand All @@ -1665,7 +1665,7 @@ func (c *UserUsageReportGetCall) Do(opts ...googleapi.CallOption) (*UsageReports
// "parameters": {
// "description": "Represents the application name, parameter name pairs to fetch in csv as app_name1:param_name1, app_name2:param_name2.",
// "location": "query",
// "pattern": "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)",
// "pattern": "(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)",
// "type": "string"
// },
// "userKey": {
Expand Down
10 changes: 5 additions & 5 deletions androidenterprise/v1/androidenterprise-api.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/jiWbk7G2WkHiEt7DpObbSxusffU\"",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/Sn3HjGe_zII-1-tHihiXD33kgLE\"",
"discoveryVersion": "v1",
"id": "androidenterprise:v1",
"name": "androidenterprise",
"canonicalName": "Android Enterprise",
"version": "v1",
"revision": "20170322",
"revision": "20170411",
"title": "Google Play EMM API",
"description": "Manages the deployment of apps to Android for Work users.",
"ownerDomain": "google.com",
Expand Down Expand Up @@ -311,7 +311,7 @@
},
"managementType": {
"type": "string",
"description": "Identifies the extent to which the device is controlled by a managed Google Play EMM in various deployment configurations.\n\nPossible values include: \n- \"managedDevice\", a device that has the EMM's device policy controller (DPC) as the device owner, \n- \"managedProfile\", a device that has a profile managed by the DPC (DPC is profile owner) in addition to a separate, personal profile that is unavailable to the DPC, \n- \"containerApp\", a device running the container App. The container App is managed by the DPC, \n- \"unmanagedProfile\", a device that has been allowed (by the domain's admin, using the Admin Console to enable the privilege) to use managed Google Play, but the profile is itself not owned by a DPC."
"description": "Identifies the extent to which the device is controlled by a managed Google Play EMM in various deployment configurations.\n\nPossible values include: \n- \"managedDevice\", a device that has the EMM's device policy controller (DPC) as the device owner. \n- \"managedProfile\", a device that has a profile managed by the DPC (DPC is profile owner) in addition to a separate, personal profile that is unavailable to the DPC. \n- \"containerApp\", no longer used (deprecated). \n- \"unmanagedProfile\", a device that has been allowed (by the domain's admin, using the Admin Console to enable the privilege) to use managed Google Play, but the profile is itself not owned by a DPC."
}
}
},
Expand Down Expand Up @@ -945,7 +945,7 @@
},
"requiresContainerApp": {
"type": "boolean",
"description": "Whether this app can only be installed on devices using the Android container app."
"description": "Deprecated."
},
"smallIconUrl": {
"type": "string",
Expand Down Expand Up @@ -1048,7 +1048,7 @@
},
"productSetBehavior": {
"type": "string",
"description": "The interpretation of this product set. \"unknown\" should never be sent and is ignored if received. \"whitelist\" means that this product set constitutes a whitelist. \"includeAll\" means that all products are accessible, including products that are approved, products with revoked approval, and products that have never been approved. If the value is \"includeAll\", the value of the productId field is therefore ignored. If a value is not supplied, it is interpreted to be \"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."
}
}
},
Expand Down
22 changes: 11 additions & 11 deletions androidenterprise/v1/androidenterprise-gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -685,12 +685,11 @@ type Device struct {
//
// Possible values include:
// - "managedDevice", a device that has the EMM's device policy
// controller (DPC) as the device owner,
// controller (DPC) as the device owner.
// - "managedProfile", a device that has a profile managed by the DPC
// (DPC is profile owner) in addition to a separate, personal profile
// that is unavailable to the DPC,
// - "containerApp", a device running the container App. The container
// App is managed by the DPC,
// that is unavailable to the DPC.
// - "containerApp", no longer used (deprecated).
// - "unmanagedProfile", a device that has been allowed (by the domain's
// admin, using the Admin Console to enable the privilege) to use
// managed Google Play, but the profile is itself not owned by a DPC.
Expand Down Expand Up @@ -1944,8 +1943,7 @@ type Product struct {
// available to people who own it).
ProductPricing string `json:"productPricing,omitempty"`

// RequiresContainerApp: Whether this app can only be installed on
// devices using the Android container app.
// RequiresContainerApp: Deprecated.
RequiresContainerApp bool `json:"requiresContainerApp,omitempty"`

// SmallIconUrl: A link to a smaller image that can be used as an icon
Expand Down Expand Up @@ -2146,12 +2144,14 @@ type ProductSet struct {

// ProductSetBehavior: The interpretation of this product set. "unknown"
// should never be sent and is ignored if received. "whitelist" means
// that this product set constitutes a whitelist. "includeAll" means
// that all products are accessible, including products that are
// 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. If the value is "includeAll", the value of the
// productId field is therefore ignored. If a value is not supplied, it
// is interpreted to be "whitelist" for backwards compatibility.
// 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.
ProductSetBehavior string `json:"productSetBehavior,omitempty"`

// ServerResponse contains the HTTP response code and headers from the
Expand Down

0 comments on commit 5e11763

Please sign in to comment.