chore(json): update to latest version

This commit is contained in:
Sebastian Thiel
2015-10-18 19:29:28 +02:00
parent 0bd7f20048
commit 862842f621
105 changed files with 49330 additions and 3677 deletions

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/DwJSYFvXcf8mrS1WsFZlxGOERvU\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/NUnz0H_oWow0qcTRC55iG-5RpbM\"",
"discoveryVersion": "v1",
"id": "adexchangebuyer:v1.2",
"name": "adexchangebuyer",
"canonicalName": "Ad Exchange Buyer",
"version": "v1.2",
"revision": "20150720",
"revision": "20150909",
"title": "Ad Exchange Buyer API",
"description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.",
"ownerDomain": "google.com",
@@ -199,6 +199,11 @@
"description": "The agency id for this creative.",
"format": "int64"
},
"api_upload_timestamp": {
"type": "string",
"description": "The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).",
"format": "date-time"
},
"attribute": {
"type": "array",
"description": "All attributes for the ads that may be shown from this snippet.",
@@ -307,6 +312,13 @@
]
}
},
"impressionTrackingUrl": {
"type": "array",
"description": "The set of urls to be called to record an impression.",
"items": {
"type": "string"
}
},
"kind": {
"type": "string",
"description": "Resource type.",
@@ -348,6 +360,11 @@
"format": "int32"
}
},
"version": {
"type": "integer",
"description": "The version for this creative. Read-only. This field should not be set in requests.",
"format": "int32"
},
"videoURL": {
"type": "string",
"description": "The url to fetch a video ad. If set, HTMLSnippet should not be set."

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/8nsIrKsc1vAa3qubc_DXk_Tozg4\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/s43VGxh95gMJhn2XULgCPUEFl2w\"",
"discoveryVersion": "v1",
"id": "adexchangebuyer:v1.3",
"name": "adexchangebuyer",
"canonicalName": "Ad Exchange Buyer",
"version": "v1.3",
"revision": "20150720",
"revision": "20150909",
"title": "Ad Exchange Buyer API",
"description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.",
"ownerDomain": "google.com",
@@ -281,6 +281,11 @@
"description": "The agency id for this creative.",
"format": "int64"
},
"api_upload_timestamp": {
"type": "string",
"description": "The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).",
"format": "date-time"
},
"attribute": {
"type": "array",
"description": "All attributes for the ads that may be shown from this snippet.",
@@ -389,11 +394,114 @@
]
}
},
"impressionTrackingUrl": {
"type": "array",
"description": "The set of urls to be called to record an impression.",
"items": {
"type": "string"
}
},
"kind": {
"type": "string",
"description": "Resource type.",
"default": "adexchangebuyer#creative"
},
"nativeAd": {
"type": "object",
"description": "If nativeAd is set, HTMLSnippet and videoURL should not be set.",
"properties": {
"advertiser": {
"type": "string"
},
"appIcon": {
"type": "object",
"description": "The app icon, for app download ads.",
"properties": {
"height": {
"type": "integer",
"format": "int32"
},
"url": {
"type": "string"
},
"width": {
"type": "integer",
"format": "int32"
}
}
},
"body": {
"type": "string",
"description": "A long description of the ad."
},
"callToAction": {
"type": "string",
"description": "A label for the button that the user is supposed to click."
},
"clickTrackingUrl": {
"type": "string",
"description": "The URL to use for click tracking."
},
"headline": {
"type": "string",
"description": "A short title for the ad."
},
"image": {
"type": "object",
"description": "A large image.",
"properties": {
"height": {
"type": "integer",
"format": "int32"
},
"url": {
"type": "string"
},
"width": {
"type": "integer",
"format": "int32"
}
}
},
"impressionTrackingUrl": {
"type": "array",
"description": "The URLs are called when the impression is rendered.",
"items": {
"type": "string"
}
},
"logo": {
"type": "object",
"description": "A smaller image, for the advertiser logo.",
"properties": {
"height": {
"type": "integer",
"format": "int32"
},
"url": {
"type": "string"
},
"width": {
"type": "integer",
"format": "int32"
}
}
},
"price": {
"type": "string",
"description": "The price of the promoted app including the currency info."
},
"starRating": {
"type": "number",
"description": "The app rating in the app store. Must be in the range [0-5].",
"format": "double"
},
"store": {
"type": "string",
"description": "The URL to the app store to purchase/download the promoted app."
}
}
},
"productCategories": {
"type": "array",
"description": "Detected product categories, if any. Read-only. This field should not be set in requests.",
@@ -430,6 +538,11 @@
"format": "int32"
}
},
"version": {
"type": "integer",
"description": "The version for this creative. Read-only. This field should not be set in requests.",
"format": "int32"
},
"videoURL": {
"type": "string",
"description": "The url to fetch a video ad. If set, HTMLSnippet should not be set."

File diff suppressed because it is too large Load Diff

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/j44TbuFHXezqR2Q6tkPbs1L5Eco\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/8XErriDmhuEm_hCKnSIrv47vRG4\"",
"discoveryVersion": "v1",
"id": "adexchangeseller:v1.1",
"name": "adexchangeseller",
"canonicalName": "Ad Exchange Seller",
"version": "v1.1",
"revision": "20150719",
"revision": "20151013",
"title": "Ad Exchange Seller API",
"description": "Gives Ad Exchange seller users access to their inventory and the ability to generate reports",
"ownerDomain": "google.com",

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/tNOKph3rsvOHJA5sN7Quej1AZOs\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/KvdZyjYGopa3l1h0cyE7VPvFDOA\"",
"discoveryVersion": "v1",
"id": "adexchangeseller:v1",
"name": "adexchangeseller",
"canonicalName": "Ad Exchange Seller",
"version": "v1",
"revision": "20150719",
"revision": "20151013",
"title": "Ad Exchange Seller API",
"description": "Gives Ad Exchange seller users access to their inventory and the ability to generate reports",
"ownerDomain": "google.com",

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/ZlVzmc6cGzlUBkUKLlEpFpCcsvs\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/3NvCtIJBXw4WlQ9ptWRNti-5ZUE\"",
"discoveryVersion": "v1",
"id": "adexchangeseller:v2.0",
"name": "adexchangeseller",
"canonicalName": "Ad Exchange Seller",
"version": "v2.0",
"revision": "20150719",
"revision": "20151013",
"title": "Ad Exchange Seller API",
"description": "Gives Ad Exchange seller users access to their inventory and the ability to generate reports",
"ownerDomain": "google.com",

View File

@@ -0,0 +1,411 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/fIZK26KtD09fXt5m9JygrSOR194\"",
"discoveryVersion": "v1",
"id": "admin:datatransfer_v1",
"name": "admin",
"canonicalName": "DataTransfer",
"version": "datatransfer_v1",
"revision": "20150917",
"title": "Admin Data Transfer API",
"description": "Admin Data Transfer API lets you transfer user data from one user to another.",
"ownerDomain": "google.com",
"ownerName": "Google",
"packagePath": "admin",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"documentationLink": "https://developers.google.com/admin-sdk/data-transfer/",
"protocol": "rest",
"baseUrl": "https://www.googleapis.com/admin/datatransfer/v1/",
"basePath": "/admin/datatransfer/v1/",
"rootUrl": "https://www.googleapis.com/",
"servicePath": "admin/datatransfer/v1/",
"batchPath": "batch",
"parameters": {
"alt": {
"type": "string",
"description": "Data format for the response.",
"default": "json",
"enum": [
"json"
],
"enumDescriptions": [
"Responses with Content-Type of application/json"
],
"location": "query"
},
"fields": {
"type": "string",
"description": "Selector specifying which fields to include in a partial response.",
"location": "query"
},
"key": {
"type": "string",
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location": "query"
},
"oauth_token": {
"type": "string",
"description": "OAuth 2.0 token for the current user.",
"location": "query"
},
"prettyPrint": {
"type": "boolean",
"description": "Returns response with indentations and line breaks.",
"default": "true",
"location": "query"
},
"quotaUser": {
"type": "string",
"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.",
"location": "query"
},
"userIp": {
"type": "string",
"description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
"location": "query"
}
},
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/admin.datatransfer": {
"description": "View and manage data transfers between users in your organization"
},
"https://www.googleapis.com/auth/admin.datatransfer.readonly": {
"description": "View data transfers between users in your organization"
}
}
}
},
"schemas": {
"Application": {
"id": "Application",
"type": "object",
"description": "The JSON template for an Application resource.",
"properties": {
"etag": {
"type": "string",
"description": "Etag of the resource."
},
"id": {
"type": "string",
"description": "The application's ID.",
"format": "int64"
},
"kind": {
"type": "string",
"description": "Identifies the resource as a DataTransfer Application Resource.",
"default": "admin#datatransfer#ApplicationResource"
},
"name": {
"type": "string",
"description": "The application's name."
},
"transferParams": {
"type": "array",
"description": "The list of all possible transfer parameters for this application. These parameters can be used to select the data of the user in this application to be transfered.",
"items": {
"$ref": "ApplicationTransferParam"
}
}
}
},
"ApplicationDataTransfer": {
"id": "ApplicationDataTransfer",
"type": "object",
"description": "Template to map fields of ApplicationDataTransfer resource.",
"properties": {
"applicationId": {
"type": "string",
"description": "The application's ID.",
"format": "int64"
},
"applicationTransferParams": {
"type": "array",
"description": "The transfer parameters for the application. These parameters are used to select the data which will get transfered in context of this application.",
"items": {
"$ref": "ApplicationTransferParam"
}
},
"applicationTransferStatus": {
"type": "string",
"description": "Current status of transfer for this application. (Read-only)"
}
}
},
"ApplicationTransferParam": {
"id": "ApplicationTransferParam",
"type": "object",
"description": "Template for application transfer parameters.",
"properties": {
"key": {
"type": "string",
"description": "The type of the transfer parameter. eg: 'PRIVACY_LEVEL'"
},
"value": {
"type": "array",
"description": "The value of the coressponding transfer parameter. eg: 'PRIVATE' or 'SHARED'",
"items": {
"type": "string"
}
}
}
},
"ApplicationsListResponse": {
"id": "ApplicationsListResponse",
"type": "object",
"description": "Template for a collection of Applications.",
"properties": {
"applications": {
"type": "array",
"description": "List of applications that support data transfer and are also installed for the customer.",
"items": {
"$ref": "Application"
}
},
"etag": {
"type": "string",
"description": "ETag of the resource."
},
"kind": {
"type": "string",
"description": "Identifies the resource as a collection of Applications.",
"default": "admin#datatransfer#applicationsList"
},
"nextPageToken": {
"type": "string",
"description": "Continuation token which will be used to specify next page in list API."
}
}
},
"DataTransfer": {
"id": "DataTransfer",
"type": "object",
"description": "The JSON template for a DataTransfer resource.",
"properties": {
"applicationDataTransfers": {
"type": "array",
"description": "List of per application data transfer resources. It contains data transfer details of the applications associated with this transfer resource. Note that this list is also used to specify the applications for which data transfer has to be done at the time of the transfer resource creation.",
"items": {
"$ref": "ApplicationDataTransfer"
}
},
"etag": {
"type": "string",
"description": "ETag of the resource."
},
"id": {
"type": "string",
"description": "The transfer's ID (Read-only)."
},
"kind": {
"type": "string",
"description": "Identifies the resource as a DataTransfer request.",
"default": "admin#datatransfer#DataTransfer"
},
"newOwnerUserId": {
"type": "string",
"description": "ID of the user to whom the data is being transfered."
},
"oldOwnerUserId": {
"type": "string",
"description": "ID of the user whose data is being transfered."
},
"overallTransferStatusCode": {
"type": "string",
"description": "Overall transfer status (Read-only)."
},
"requestTime": {
"type": "string",
"description": "The time at which the data transfer was requested (Read-only).",
"format": "date-time"
}
}
},
"DataTransfersListResponse": {
"id": "DataTransfersListResponse",
"type": "object",
"description": "Template for a collection of DataTransfer resources.",
"properties": {
"dataTransfers": {
"type": "array",
"description": "List of data transfer requests.",
"items": {
"$ref": "DataTransfer"
}
},
"etag": {
"type": "string",
"description": "ETag of the resource."
},
"kind": {
"type": "string",
"description": "Identifies the resource as a collection of data transfer requests.",
"default": "admin#datatransfer#dataTransfersList"
},
"nextPageToken": {
"type": "string",
"description": "Continuation token which will be used to specify next page in list API."
}
}
}
},
"resources": {
"applications": {
"methods": {
"get": {
"id": "datatransfer.applications.get",
"path": "applications/{applicationId}",
"httpMethod": "GET",
"description": "Retrieves information about an application for the given application ID.",
"parameters": {
"applicationId": {
"type": "string",
"description": "ID of the application resource to be retrieved.",
"required": true,
"format": "int64",
"location": "path"
}
},
"parameterOrder": [
"applicationId"
],
"response": {
"$ref": "Application"
},
"scopes": [
"https://www.googleapis.com/auth/admin.datatransfer",
"https://www.googleapis.com/auth/admin.datatransfer.readonly"
]
},
"list": {
"id": "datatransfer.applications.list",
"path": "applications",
"httpMethod": "GET",
"description": "Lists the applications available for data transfer for a customer.",
"parameters": {
"customerId": {
"type": "string",
"description": "Immutable ID of the Google Apps account.",
"location": "query"
},
"maxResults": {
"type": "integer",
"description": "Maximum number of results to return. Default is 100.",
"format": "uint32",
"minimum": "1",
"maximum": "500",
"location": "query"
},
"pageToken": {
"type": "string",
"description": "Token to specify next page in the list.",
"location": "query"
}
},
"response": {
"$ref": "ApplicationsListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/admin.datatransfer",
"https://www.googleapis.com/auth/admin.datatransfer.readonly"
]
}
}
},
"transfers": {
"methods": {
"get": {
"id": "datatransfer.transfers.get",
"path": "transfers/{dataTransferId}",
"httpMethod": "GET",
"description": "Retrieves a data transfer request by its resource ID.",
"parameters": {
"dataTransferId": {
"type": "string",
"description": "ID of the resource to be retrieved. This is returned in the response from the insert method.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"dataTransferId"
],
"response": {
"$ref": "DataTransfer"
},
"scopes": [
"https://www.googleapis.com/auth/admin.datatransfer",
"https://www.googleapis.com/auth/admin.datatransfer.readonly"
]
},
"insert": {
"id": "datatransfer.transfers.insert",
"path": "transfers",
"httpMethod": "POST",
"description": "Inserts a data transfer request.",
"request": {
"$ref": "DataTransfer"
},
"response": {
"$ref": "DataTransfer"
},
"scopes": [
"https://www.googleapis.com/auth/admin.datatransfer"
]
},
"list": {
"id": "datatransfer.transfers.list",
"path": "transfers",
"httpMethod": "GET",
"description": "Lists the transfers for a customer by source user, destination user, or status.",
"parameters": {
"customerId": {
"type": "string",
"description": "Immutable ID of the Google Apps account.",
"location": "query"
},
"maxResults": {
"type": "integer",
"description": "Maximum number of results to return. Default is 100.",
"format": "int32",
"minimum": "1",
"maximum": "500",
"location": "query"
},
"newOwnerUserId": {
"type": "string",
"description": "Destination user's profile ID.",
"location": "query"
},
"oldOwnerUserId": {
"type": "string",
"description": "Source user's profile ID.",
"location": "query"
},
"pageToken": {
"type": "string",
"description": "Token to specify the next page in the list.",
"location": "query"
},
"status": {
"type": "string",
"description": "Status of the transfer.",
"location": "query"
}
},
"response": {
"$ref": "DataTransfersListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/admin.datatransfer",
"https://www.googleapis.com/auth/admin.datatransfer.readonly"
]
}
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/SE8GF0qL6iXnRUtOo9FTFK7DuNM\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/lycAHH8x-Ct6oDsJmcDO1AWwIZ4\"",
"discoveryVersion": "v1",
"id": "admin:reports_v1",
"name": "admin",
"canonicalName": "reports",
"version": "reports_v1",
"revision": "20150429",
"revision": "20150907",
"title": "Admin Reports API",
"description": "Allows the administrators of Google Apps customers to fetch reports about the usage, collaboration, security and risk for their users.",
"ownerDomain": "google.com",
@@ -464,7 +464,7 @@
"type": "string",
"description": "Application name for which the events are to be retrieved.",
"required": true,
"pattern": "(admin)|(calendar)|(drive)|(login)|(token)",
"pattern": "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)",
"location": "path"
},
"customerId": {
@@ -543,7 +543,7 @@
"type": "string",
"description": "Application name for which the events are to be retrieved.",
"required": true,
"pattern": "(admin)|(calendar)|(drive)|(login)|(token)",
"pattern": "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)",
"location": "path"
},
"customerId": {

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/I5NJTJavAUWTApulQHkuCzC09uQ\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Sxoq8tWz2zqpydiM98sHPNUfrcw\"",
"discoveryVersion": "v1",
"id": "adsense:v1.2",
"name": "adsense",
"canonicalName": "AdSense",
"version": "v1.2",
"revision": "20150719",
"revision": "20151013",
"title": "AdSense Management API",
"description": "Gives AdSense publishers access to their inventory and the ability to generate reports",
"ownerDomain": "google.com",

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/kmJk90xUw7VsbFA_gzMzs-ICIGg\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/6KMaFuck0MK_34-0mM8ExBX7SbA\"",
"discoveryVersion": "v1",
"id": "adsense:v1.3",
"name": "adsense",
"canonicalName": "AdSense",
"version": "v1.3",
"revision": "20150719",
"revision": "20151013",
"title": "AdSense Management API",
"description": "Gives AdSense publishers access to their inventory and the ability to generate reports",
"ownerDomain": "google.com",

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/nuOwGkuqFyUiUFauZW3AcmqSRLc\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/0LJdy3bhVfuPDmaGtJK4_nceDoU\"",
"discoveryVersion": "v1",
"id": "adsense:v1.4",
"name": "adsense",
"canonicalName": "AdSense",
"version": "v1.4",
"revision": "20150719",
"revision": "20151013",
"title": "AdSense Management API",
"description": "Gives AdSense publishers access to their inventory and the ability to generate reports",
"ownerDomain": "google.com",
@@ -86,6 +86,10 @@
"id": "Account",
"type": "object",
"properties": {
"creation_time": {
"type": "string",
"format": "int64"
},
"id": {
"type": "string",
"description": "Unique identifier of this account."

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/P4LsqeR0vNB-maCbAU7pmq8Pi1Y\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/GIELfyjr1mlz0SA0QlkJjAfY0aI\"",
"discoveryVersion": "v1",
"id": "adsensehost:v4.1",
"name": "adsensehost",
"canonicalName": "AdSense Host",
"version": "v4.1",
"revision": "20150719",
"revision": "20151013",
"title": "AdSense Host API",
"description": "Gives AdSense Hosts access to report generation, ad code generation, and publisher management capabilities.",
"ownerDomain": "google.com",

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/cpEq1c7PEyDZhPuN1RpuZQasQqE\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/OclhsNOjF0lU_ihk67TMjGu69LE\"",
"discoveryVersion": "v1",
"id": "analytics:v2.4",
"name": "analytics",
"version": "v2.4",
"revision": "20150417",
"revision": "20150901",
"title": "Google Analytics API",
"description": "View and manage your Google Analytics data",
"ownerDomain": "google.com",

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/DBMpwoPoBbdea-3gvvfC6pL3VKM\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/zd-dA3tVxT-ybd-lzTeggwUiTGg\"",
"discoveryVersion": "v1",
"id": "analytics:v3",
"name": "analytics",
"version": "v3",
"revision": "20150417",
"revision": "20150901",
"title": "Google Analytics API",
"description": "View and manage your Google Analytics data",
"ownerDomain": "google.com",
@@ -1154,7 +1154,7 @@
},
"trafficCoverage": {
"type": "number",
"description": "A floating-point number between 0 and 1. Specifies the fraction of the traffic that participates in the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED.",
"description": "A floating-point number in (0, 1]. Specifies the fraction of the traffic that participates in the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED.",
"format": "double"
},
"updated": {
@@ -1204,7 +1204,7 @@
},
"winnerConfidenceLevel": {
"type": "number",
"description": "A floating-point number between 0 and 1. Specifies the necessary confidence level to choose a winner. This field may not be changed for an experiments whose status is ENDED.",
"description": "A floating-point number in (0, 1). Specifies the necessary confidence level to choose a winner. This field may not be changed for an experiments whose status is ENDED.",
"format": "double"
},
"winnerFound": {
@@ -1487,7 +1487,7 @@
},
"matchType": {
"type": "string",
"description": "Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters."
"description": "Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, or MATCHES. GEO_DOMAIN, GEO_IP_ADDRESS, PAGE_REQUEST_URI, or PAGE_HOSTNAME filters can use any match type; all other filters must use MATCHES."
}
}
},
@@ -2265,7 +2265,7 @@
},
"currency": {
"type": "string",
"description": "The currency type associated with this view (profile). The supported values are:\nARS, AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, INR, JPY, KRW, LTL, MXN, NOK, NZD, PHP, PLN, RUB, SEK, THB, TRY, TWD, USD, VND, ZAR"
"description": "The currency type associated with this view (profile), defaults to USD. The supported values are:\nARS, AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, INR, JPY, KRW, LTL, MXN, NOK, NZD, PHP, PLN, RUB, SEK, THB, TRY, TWD, USD, VND, ZAR"
},
"defaultPage": {
"type": "string",

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/T8xjS8-LAPJJ1wXBIGC7t3Ehz9c\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/8PqIQ90UvLBUWJnOPvX8UUNVYrE\"",
"discoveryVersion": "v1",
"id": "androidenterprise:v1",
"name": "androidenterprise",
"canonicalName": "Android Enterprise",
"version": "v1",
"revision": "20150715",
"revision": "20150922",
"title": "Google Play EMM API",
"description": "Allows MDMs/EMMs and enterprises to manage the deployment of apps to Android for Work users.",
"ownerDomain": "google.com",
@@ -82,6 +82,11 @@
"type": "object",
"description": "Represents the list of app restrictions available to be pre-configured for the product.",
"properties": {
"kind": {
"type": "string",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#appRestrictionsSchema\".",
"default": "androidenterprise#appRestrictionsSchema"
},
"restrictions": {
"type": "array",
"description": "The set of restrictions that make up this schema.",
@@ -234,7 +239,7 @@
},
"visibility": {
"type": "string",
"description": "Whether this collection is visible to all users, or only to the users that have been granted access through the collection_viewers api. Even if a collection is visible to allUsers, it is possible to add and remove viewers, but this will have no effect until the collection's visibility changes to viewersOnly."
"description": "Whether this collection is visible to all users, or only to the users that have been granted access through the \"Collectionviewers\" API. With the launch of the \"setAvailableProductSet\" API, this property should always be set to \"viewersOnly\", as the \"allUsers\" option will bypass the \"availableProductSet\" for all users within a domain.\n\nThe \"allUsers\" setting is deprecated, and will be removed."
}
}
},
@@ -264,7 +269,7 @@
"properties": {
"collection": {
"type": "array",
"description": "An ordered collection of products which can be made visible on the Google Play Store app to a selected group of users.",
"description": "An ordered collection of products which can be made visible on the Google Play Store to a selected group of users.",
"items": {
"$ref": "Collection"
}
@@ -395,6 +400,20 @@
}
}
},
"EnterprisesSendTestPushNotificationResponse": {
"id": "EnterprisesSendTestPushNotificationResponse",
"type": "object",
"properties": {
"messageId": {
"type": "string",
"description": "The message ID of the test push notification that was sent."
},
"topicName": {
"type": "string",
"description": "The name of the Cloud Pub/Sub topic to which notifications for this enterprise's enrolled account will be sent."
}
}
},
"Entitlement": {
"id": "Entitlement",
"type": "object",
@@ -609,7 +628,7 @@
},
"productId": {
"type": "string",
"description": "A string of the form app:\n. For example, app:com.google.android.gm represents the Gmail app."
"description": "A string of the form app:\u003cpackage name\u003e. For example, app:com.google.android.gm represents the Gmail app."
},
"requiresContainerApp": {
"type": "boolean",
@@ -668,6 +687,25 @@
}
}
},
"ProductSet": {
"id": "ProductSet",
"type": "object",
"description": "A set of products.",
"properties": {
"kind": {
"type": "string",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#productSet\".",
"default": "androidenterprise#productSet"
},
"productId": {
"type": "array",
"description": "The list of product IDs making up the set of products.",
"items": {
"type": "string"
}
}
}
},
"ProductsApproveRequest": {
"id": "ProductsApproveRequest",
"type": "object",
@@ -1378,6 +1416,29 @@
"https://www.googleapis.com/auth/androidenterprise"
]
},
"sendTestPushNotification": {
"id": "androidenterprise.enterprises.sendTestPushNotification",
"path": "enterprises/{enterpriseId}/sendTestPushNotification",
"httpMethod": "POST",
"description": "Sends a test push notification to validate the MDM integration with the Google Cloud Pub/Sub service for this enterprise.",
"parameters": {
"enterpriseId": {
"type": "string",
"description": "The ID of the enterprise.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"enterpriseId"
],
"response": {
"$ref": "EnterprisesSendTestPushNotificationResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
},
"setAccount": {
"id": "androidenterprise.enterprises.setAccount",
"path": "enterprises/{enterpriseId}/account",
@@ -2228,6 +2289,36 @@
"https://www.googleapis.com/auth/androidenterprise"
]
},
"getAvailableProductSet": {
"id": "androidenterprise.users.getAvailableProductSet",
"path": "enterprises/{enterpriseId}/users/{userId}/availableProductSet",
"httpMethod": "GET",
"description": "Retrieves the set of products a user is entitled to access.",
"parameters": {
"enterpriseId": {
"type": "string",
"description": "The ID of the enterprise.",
"required": true,
"location": "path"
},
"userId": {
"type": "string",
"description": "The ID of the user.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"enterpriseId",
"userId"
],
"response": {
"$ref": "ProductSet"
},
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
},
"list": {
"id": "androidenterprise.users.list",
"path": "enterprises/{enterpriseId}/users",
@@ -2284,6 +2375,39 @@
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
},
"setAvailableProductSet": {
"id": "androidenterprise.users.setAvailableProductSet",
"path": "enterprises/{enterpriseId}/users/{userId}/availableProductSet",
"httpMethod": "PUT",
"description": "Modifies the set of products a user is entitled to access.",
"parameters": {
"enterpriseId": {
"type": "string",
"description": "The ID of the enterprise.",
"required": true,
"location": "path"
},
"userId": {
"type": "string",
"description": "The ID of the user.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"enterpriseId",
"userId"
],
"request": {
"$ref": "ProductSet"
},
"response": {
"$ref": "ProductSet"
},
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
}
}
}

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/ZaYQrw3QnZiD1YIdYaHXGlnz-Sc\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/OWHfcc6gntNlOS_CCpfATCkRKPo\"",
"discoveryVersion": "v1",
"id": "androidpublisher:v1.1",
"name": "androidpublisher",
"canonicalName": "Android Publisher",
"version": "v1.1",
"revision": "20150316",
"revision": "20150910",
"title": "Google Play Developer API",
"description": "Lets Android application developers access their Google Play accounts.",
"ownerDomain": "google.com",

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/dWS1TT1km61X8qMyP5gPBt6y1MQ\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Rsw5ADalFXzslk4AcD-5vvmH2YU\"",
"discoveryVersion": "v1",
"id": "androidpublisher:v1",
"name": "androidpublisher",
"canonicalName": "Android Publisher",
"version": "v1",
"revision": "20150316",
"revision": "20150910",
"title": "Google Play Developer API",
"description": "Lets Android application developers access their Google Play accounts.",
"ownerDomain": "google.com",

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/gtEzcfWnBY9EC00QyZ_jjrGf9Io\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/QvChBL9zzkcDEEIqZpwPMr9_TRs\"",
"discoveryVersion": "v1",
"id": "androidpublisher:v2",
"name": "androidpublisher",
"canonicalName": "Android Publisher",
"version": "v2",
"revision": "20150316",
"revision": "20150910",
"title": "Google Play Developer API",
"description": "Lets Android application developers access their Google Play accounts.",
"ownerDomain": "google.com",
@@ -474,7 +474,7 @@
},
"subscriptionPeriod": {
"type": "string",
"description": "The period of the subscription (if any), i.e. period at which payments must happen. Defined as ISO 8601 duration, i.e. \"P1M\" for 1 month period."
"description": "Subscription period, specified in ISO 8601 format. Acceptable values are \"P1W\" (one week), \"P1M\" (one month) and \"P1Y\" (one year)."
},
"trialPeriod": {
"type": "string",
@@ -1772,7 +1772,8 @@
"sevenInchScreenshots",
"tenInchScreenshots",
"tvBanner",
"tvScreenshots"
"tvScreenshots",
"wearScreenshots"
],
"enumDescriptions": [
"",
@@ -1782,6 +1783,7 @@
"",
"",
"",
"",
""
],
"location": "path"
@@ -1833,7 +1835,8 @@
"sevenInchScreenshots",
"tenInchScreenshots",
"tvBanner",
"tvScreenshots"
"tvScreenshots",
"wearScreenshots"
],
"enumDescriptions": [
"",
@@ -1843,6 +1846,7 @@
"",
"",
"",
"",
""
],
"location": "path"
@@ -1896,7 +1900,8 @@
"sevenInchScreenshots",
"tenInchScreenshots",
"tvBanner",
"tvScreenshots"
"tvScreenshots",
"wearScreenshots"
],
"enumDescriptions": [
"",
@@ -1906,6 +1911,7 @@
"",
"",
"",
"",
""
],
"location": "path"
@@ -1959,7 +1965,8 @@
"sevenInchScreenshots",
"tenInchScreenshots",
"tvBanner",
"tvScreenshots"
"tvScreenshots",
"wearScreenshots"
],
"enumDescriptions": [
"",
@@ -1969,6 +1976,7 @@
"",
"",
"",
"",
""
],
"location": "path"

View File

@@ -5,6 +5,7 @@ api:
list:
adexchangebuyer:
- v1.3
- v1.4
adexchangeseller:
- v2.0
admin:
@@ -21,6 +22,8 @@ api:
- v1
androidpublisher:
- v2
appengine:
- v1beta4
appsactivity:
- v1
appstate:
@@ -39,6 +42,12 @@ api:
- v3
civicinfo:
- v2
classroom:
- v1
cloudbilling:
- v1
clouddebugger:
- v2
cloudlatencytest:
- v2
cloudmonitoring:
@@ -47,12 +56,18 @@ api:
- v1beta1
cloudsearch:
- v1
cloudtrace:
- v1
clouduseraccounts:
- vm_beta
compute:
- v1
container:
- v1
- v1beta1
content:
- v2
- v2sandbox
coordinate:
- v1
customsearch:
@@ -62,9 +77,11 @@ api:
datastore:
- v1beta2
deploymentmanager:
- v2
- v2beta2
dfareporting:
- v2.1
- v2.2
discovery:
- v1
dns:
@@ -104,6 +121,7 @@ api:
- v1
logging:
- v1beta3
- v2beta1
manager:
- v1beta2
mapsengine:
@@ -114,13 +132,20 @@ api:
- v2
pagespeedonline:
- v2
partners:
- v2
playmoviespartner:
- v1
plus:
- v1
plusdomains:
- v1
prediction:
- v1.6
proximitybeacon:
- v1beta1
pubsub:
- v1
- v1beta2
qpxexpress:
- v1
@@ -132,6 +157,8 @@ api:
- v1sandbox
resourceviews:
- v1beta2
script:
- v1
siteverification:
- v1
spectrum:
@@ -140,6 +167,8 @@ api:
- v1beta4
storage:
- v1
storagetransfer:
- v1
tagmanager:
- v1
taskqueue:
@@ -158,3 +187,5 @@ api:
- v3
youtubeanalytics:
- v1
youtubereporting:
- v1

File diff suppressed because it is too large Load Diff

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/d2DWmPOjtaixnl3HTyCxzVi9ZWk\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/1c0TuhJMS3-macLaSkO_MKNdlzk\"",
"discoveryVersion": "v1",
"id": "appstate:v1",
"name": "appstate",
"canonicalName": "App State",
"version": "v1",
"revision": "20150717",
"revision": "20151013",
"title": "Google App State API",
"description": "The Google App State API.",
"ownerDomain": "google.com",

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/8fCXvMLivGaIg88cw7WCZo5CK_s\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/k_BSN0ZnNv70IWVfokIVycD-7po\"",
"discoveryVersion": "v1",
"id": "bigquery:v2",
"name": "bigquery",
"version": "v2",
"revision": "20150720",
"revision": "20151009",
"title": "BigQuery API",
"description": "A data platform for customers to create, manage, share and query data.",
"ownerDomain": "google.com",
@@ -80,6 +80,9 @@
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/cloud-platform.read-only": {
"description": "View your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/devstorage.full_control": {
"description": "Manage your data and permissions in Google Cloud Storage"
},
@@ -205,7 +208,7 @@
},
"location": {
"type": "string",
"description": "[Experimental] The location where the data resides. If not present, the data will be stored in the US."
"description": "[Experimental] The geographic location where the dataset should reside. Possible values include EU and US. The default value is US."
},
"selfLink": {
"type": "string",
@@ -318,7 +321,7 @@
},
"ignoreUnknownValues": {
"type": "boolean",
"description": "[Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns"
"description": "[Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don't match any column names"
},
"maxBadRecords": {
"type": "integer",
@@ -331,11 +334,11 @@
},
"sourceFormat": {
"type": "string",
"description": "[Optional] The data format. External data sources must be in CSV format. The default value is CSV."
"description": "[Required] The data format. For CSV files, specify \"CSV\". For newline-delimited JSON, specify \"NEWLINE_DELIMITED_JSON\"."
},
"sourceUris": {
"type": "array",
"description": "[Required] The fully-qualified URIs that point to your data in Google Cloud Storage. Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. CSV limits related to load jobs apply to external data sources, plus an additional limit of 10 GB maximum size across all URIs.",
"description": "[Required] The fully-qualified URIs that point to your data in Google Cloud Storage. Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources, plus an additional limit of 10 GB maximum size across all URIs.",
"items": {
"type": "string"
}
@@ -350,6 +353,13 @@
"type": "boolean",
"description": "Whether the query result was fetched from the query cache."
},
"errors": {
"type": "array",
"description": "[Output-only] All errors and warnings encountered during the running of the job. Errors here do not necessarily mean that the job has completed or was unsuccessful.",
"items": {
"$ref": "ErrorProto"
}
},
"etag": {
"type": "string",
"description": "A hash of this response."
@@ -851,13 +861,23 @@
"id": "JobStatistics2",
"type": "object",
"properties": {
"billingTier": {
"type": "integer",
"description": "[Output-only] Billing tier for the job.",
"format": "int32"
},
"cacheHit": {
"type": "boolean",
"description": "[Output-only] Whether the query result was fetched from the query cache."
},
"totalBytesBilled": {
"type": "string",
"description": "[Output-only] Total bytes billed for the job.",
"format": "int64"
},
"totalBytesProcessed": {
"type": "string",
"description": "[Output-only] Total bytes processed for this job.",
"description": "[Output-only] Total bytes processed for the job.",
"format": "int64"
}
}
@@ -868,7 +888,7 @@
"properties": {
"inputFileBytes": {
"type": "string",
"description": "[Output-only] Number of bytes of source data in a joad job.",
"description": "[Output-only] Number of bytes of source data in a load job.",
"format": "int64"
},
"inputFiles": {
@@ -878,7 +898,7 @@
},
"outputBytes": {
"type": "string",
"description": "[Output-only] Size of the loaded data in bytes. Note that while an import job is in the running state, this value may change.",
"description": "[Output-only] Size of the loaded data in bytes. Note that while a load job is in the running state, this value may change.",
"format": "int64"
},
"outputRows": {
@@ -894,7 +914,7 @@
"properties": {
"destinationUriFileCounts": {
"type": "array",
"description": "[Experimental] Number of files per destination URI or URI pattern specified in the extract configuration. These values will be in the same order as the URIs specified in the 'destinationUris' field.",
"description": "[Output-only] Number of files per destination URI or URI pattern specified in the extract configuration. These values will be in the same order as the URIs specified in the 'destinationUris' field.",
"items": {
"type": "string",
"format": "int64"
@@ -1010,7 +1030,7 @@
},
"dryRun": {
"type": "boolean",
"description": "[Optional] If set, don't actually run this job. A valid query will return a mostly empty response with some processing statistics, while an invalid query will return the same error it would if it wasn't a dry run."
"description": "[Optional] If set to true, BigQuery doesn't run the job. Instead, if the query is valid, BigQuery returns statistics about the job such as how many bytes would be processed. If the query is invalid, an error returns. The default value is false."
},
"kind": {
"type": "string",
@@ -1055,6 +1075,13 @@
"type": "boolean",
"description": "Whether the query result was fetched from the query cache."
},
"errors": {
"type": "array",
"description": "[Output-only] All errors and warnings encountered during the running of the job. Errors here do not necessarily mean that the job has completed or was unsuccessful.",
"items": {
"$ref": "ErrorProto"
}
},
"jobComplete": {
"type": "boolean",
"description": "Whether the query has completed or not. If rows or totalRows are present, this will always be true. If this is false, totalRows will not be available."
@@ -1095,6 +1122,27 @@
}
}
},
"Streamingbuffer": {
"id": "Streamingbuffer",
"type": "object",
"properties": {
"estimatedBytes": {
"type": "string",
"description": "[Output-only] A lower-bound estimate of the number of bytes currently in the streaming buffer.",
"format": "uint64"
},
"estimatedRows": {
"type": "string",
"description": "[Output-only] A lower-bound estimate of the number of rows currently in the streaming buffer.",
"format": "uint64"
},
"oldestEntryTime": {
"type": "string",
"description": "[Output-only] Contains the timestamp of the oldest entry in the streaming buffer, in milliseconds since the epoch, if the streaming buffer is available.",
"format": "uint64"
}
}
},
"Table": {
"id": "Table",
"type": "object",
@@ -1117,6 +1165,10 @@
"description": "[Optional] The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed.",
"format": "int64"
},
"externalDataConfiguration": {
"$ref": "ExternalDataConfiguration",
"description": "[Experimental] Describes the data format, location, and other properties of a table stored outside of BigQuery. By defining these properties, the data source can then be queried as if it were a standard BigQuery table."
},
"friendlyName": {
"type": "string",
"description": "[Optional] A descriptive name for this table."
@@ -1137,16 +1189,16 @@
},
"location": {
"type": "string",
"description": "[Optional] The backing storage location."
"description": "[Output-only] The geographic location where the table resides. This value is inherited from the dataset."
},
"numBytes": {
"type": "string",
"description": "[Output-only] The size of the table in bytes. This property is unavailable for tables that are actively receiving streaming inserts.",
"description": "[Output-only] The size of this table in bytes, excluding any data in the streaming buffer.",
"format": "int64"
},
"numRows": {
"type": "string",
"description": "[Output-only] The number of rows of data in this table. This property is unavailable for tables that are actively receiving streaming inserts.",
"description": "[Output-only] The number of rows of data in this table, excluding any data in the streaming buffer.",
"format": "uint64"
},
"schema": {
@@ -1157,6 +1209,10 @@
"type": "string",
"description": "[Output-only] A URL that can be used to access this resource again."
},
"streamingBuffer": {
"$ref": "Streamingbuffer",
"description": "[Output-only] Contains information regarding this table's streaming buffer, if one is present. This field will be absent if the table is not being streamed to or if there is no data in the streaming buffer."
},
"tableReference": {
"$ref": "TableReference",
"description": "[Required] Reference describing the ID of this table."
@@ -1510,7 +1566,8 @@
},
"scopes": [
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform"
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
},
"insert": {
@@ -1577,7 +1634,8 @@
},
"scopes": [
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform"
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
},
"patch": {
@@ -1656,7 +1714,7 @@
"id": "bigquery.jobs.cancel",
"path": "project/{projectId}/jobs/{jobId}/cancel",
"httpMethod": "POST",
"description": "Requests that a job be cancelled. This call will return immediately, and the client will need to poll for the job status to see if the cancel completed successfully.",
"description": "Requests that a job be cancelled. This call will return immediately, and the client will need to poll for the job status to see if the cancel completed successfully. Cancelled jobs may still incur costs.",
"parameters": {
"jobId": {
"type": "string",
@@ -1711,7 +1769,8 @@
},
"scopes": [
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform"
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
},
"getQueryResults": {
@@ -1765,7 +1824,8 @@
},
"scopes": [
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform"
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
},
"insert": {
@@ -1818,7 +1878,7 @@
"id": "bigquery.jobs.list",
"path": "projects/{projectId}/jobs",
"httpMethod": "GET",
"description": "Lists all jobs that you started in the specified project. The job list returns in reverse chronological order of when the jobs were created, starting with the most recent job created. Requires the Can View project role, or the Is Owner project role if you set the allUsers property.",
"description": "Lists all jobs that you started in the specified project. Job information is available for a six month period after creation. The job list is sorted in reverse chronological order, by job creation time. Requires the Can View project role, or the Is Owner project role if you set the allUsers property.",
"parameters": {
"allUsers": {
"type": "boolean",
@@ -1880,7 +1940,8 @@
},
"scopes": [
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform"
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
},
"query": {
@@ -1907,7 +1968,8 @@
},
"scopes": [
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform"
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
}
}
@@ -1937,7 +1999,8 @@
},
"scopes": [
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform"
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
}
}
@@ -2038,7 +2101,8 @@
},
"scopes": [
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform"
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
}
}
@@ -2115,7 +2179,8 @@
},
"scopes": [
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform"
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
},
"insert": {
@@ -2191,7 +2256,8 @@
},
"scopes": [
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform"
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
},
"patch": {

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/5UMRPQM2lE_tfb1BMv9TTmTYYF8\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/NfC6HUSyutjMUJzqUOocETnJU2I\"",
"discoveryVersion": "v1",
"id": "books:v1",
"name": "books",
"version": "v1",
"revision": "20150318",
"revision": "20150921",
"title": "Books API",
"description": "Lets you search for books and manage your Google Books library.",
"ownerDomain": "google.com",
@@ -750,6 +750,71 @@
}
}
},
"Discoveryclusters": {
"id": "Discoveryclusters",
"type": "object",
"properties": {
"clusters": {
"type": "array",
"items": {
"type": "object",
"properties": {
"banner_with_content_container": {
"type": "object",
"properties": {
"fillColorArgb": {
"type": "string"
},
"imageUrl": {
"type": "string"
},
"maskColorArgb": {
"type": "string"
},
"moreButtonText": {
"type": "string"
},
"moreButtonUrl": {
"type": "string"
},
"textColorArgb": {
"type": "string"
}
}
},
"subTitle": {
"type": "string"
},
"title": {
"type": "string"
},
"totalVolumes": {
"type": "integer",
"format": "int32"
},
"uid": {
"type": "string"
},
"volumes": {
"type": "array",
"items": {
"$ref": "Volume"
}
}
}
}
},
"kind": {
"type": "string",
"description": "Resorce type.",
"default": "books#discovery#clusters"
},
"totalClusters": {
"type": "integer",
"format": "int32"
}
}
},
"DownloadAccessRestriction": {
"id": "DownloadAccessRestriction",
"type": "object",
@@ -1069,6 +1134,29 @@
}
}
},
"Notification": {
"id": "Notification",
"type": "object",
"properties": {
"body": {
"type": "string"
},
"iconUrl": {
"type": "string"
},
"kind": {
"type": "string",
"description": "Resource type.",
"default": "books#notification"
},
"linkUrl": {
"type": "string"
},
"title": {
"type": "string"
}
}
},
"Offers": {
"id": "Offers",
"type": "object",
@@ -1266,6 +1354,19 @@
"type": "boolean"
}
}
},
"notification": {
"type": "object",
"properties": {
"moreFromAuthors": {
"type": "object",
"properties": {
"opted_state": {
"type": "string"
}
}
}
}
}
}
},
@@ -1537,6 +1638,11 @@
"type": "object",
"description": "User specific information related to this volume. (e.g. page this user last read or whether they purchased this book)",
"properties": {
"acquisitionType": {
"type": "integer",
"description": "How this volume was acquired.",
"format": "int32"
},
"copy": {
"type": "object",
"description": "Copy/Paste accounting information.",
@@ -1558,6 +1664,11 @@
}
}
},
"entitlementType": {
"type": "integer",
"description": "Whether this volume is purchased, sample, pd download etc.",
"format": "int32"
},
"isInMyBooks": {
"type": "boolean",
"description": "Whether or not this volume is currently in \"my books.\""
@@ -2153,7 +2264,7 @@
"id": "books.dictionary.listOfflineMetadata",
"path": "dictionary/listOfflineMetadata",
"httpMethod": "GET",
"description": "Returns a list of offline dictionary meatadata available",
"description": "Returns a list of offline dictionary metadata available",
"parameters": {
"cpksver": {
"type": "string",
@@ -3379,6 +3490,43 @@
}
}
},
"notification": {
"methods": {
"get": {
"id": "books.notification.get",
"path": "notification/get",
"httpMethod": "GET",
"description": "Returns notification details for a given notification id.",
"parameters": {
"locale": {
"type": "string",
"description": "ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating notification title and body.",
"location": "query"
},
"notification_id": {
"type": "string",
"description": "String to identify the notification.",
"required": true,
"location": "query"
},
"source": {
"type": "string",
"description": "String to identify the originator of this request.",
"location": "query"
}
},
"parameterOrder": [
"notification_id"
],
"response": {
"$ref": "Notification"
},
"scopes": [
"https://www.googleapis.com/auth/books"
]
}
}
},
"onboarding": {
"methods": {
"listCategories": {
@@ -3451,6 +3599,47 @@
}
}
},
"personalizedstream": {
"methods": {
"get": {
"id": "books.personalizedstream.get",
"path": "personalizedstream/get",
"httpMethod": "GET",
"description": "Returns a stream of personalized book clusters",
"parameters": {
"locale": {
"type": "string",
"description": "ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating recommendations.",
"location": "query"
},
"maxAllowedMaturityRating": {
"type": "string",
"description": "The maximum allowed maturity rating of returned recommendations. Books with a higher maturity rating are filtered out.",
"enum": [
"mature",
"not-mature"
],
"enumDescriptions": [
"Show books which are rated mature or lower.",
"Show books which are rated not mature."
],
"location": "query"
},
"source": {
"type": "string",
"description": "String to identify the originator of this request.",
"location": "query"
}
},
"response": {
"$ref": "Discoveryclusters"
},
"scopes": [
"https://www.googleapis.com/auth/books"
]
}
}
},
"promooffer": {
"methods": {
"accept": {

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/sTkwaf9z-97XKIcJuEmMVyvFBqI\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/2GnDNVAnV36u05tcn_JDk8dsFsA\"",
"discoveryVersion": "v1",
"id": "calendar:v3",
"name": "calendar",
"version": "v3",
"revision": "20150715",
"revision": "20151011",
"title": "Calendar API",
"description": "Lets you manipulate events and other calendar data.",
"ownerDomain": "google.com",
@@ -175,7 +175,7 @@
},
"id": {
"type": "string",
"description": "Identifier of the calendar."
"description": "Identifier of the calendar. To retrieve IDs call the calendarList.list() method."
},
"kind": {
"type": "string",
@@ -241,11 +241,11 @@
},
"backgroundColor": {
"type": "string",
"description": "The main color of the calendar in the hexadecimal format \"#0088aa\". This property supersedes the index-based colorId property. Optional."
"description": "The main color of the calendar in the hexadecimal format \"#0088aa\". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional."
},
"colorId": {
"type": "string",
"description": "The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). Optional."
"description": "The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). This property is superseded by the backgroundColor and foregroundColor properties and can be ignored when using these properties. Optional."
},
"defaultReminders": {
"type": "array",
@@ -269,7 +269,7 @@
},
"foregroundColor": {
"type": "string",
"description": "The foreground color of the calendar in the hexadecimal format \"#ffffff\". This property supersedes the index-based colorId property. Optional."
"description": "The foreground color of the calendar in the hexadecimal format \"#ffffff\". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional."
},
"hidden": {
"type": "boolean",
@@ -337,7 +337,7 @@
"properties": {
"method": {
"type": "string",
"description": "The method used to deliver the notification. Possible values are: \n- \"email\" - Reminders are sent via email. \n- \"sms\" - Reminders are sent via SMS. This value is read-only and is ignored on inserts and updates. Furthermore, SMS reminders are only available for Google Apps for Work, Education, and Government customers.",
"description": "The method used to deliver the notification. Possible values are: \n- \"email\" - Reminders are sent via email. \n- \"sms\" - Reminders are sent via SMS. This value is read-only and is ignored on inserts and updates. SMS reminders are only available for Google Apps for Work, Education, and Government customers.",
"annotations": {
"required": [
"calendar.calendarList.insert",
@@ -429,7 +429,7 @@
"properties": {
"calendar": {
"type": "object",
"description": "Palette of calendar colors, mapping from the color ID to its definition. A calendarListEntry resource refers to one of these color IDs in its color field. Read-only.",
"description": "A global palette of calendar colors, mapping from the color ID to its definition. A calendarListEntry resource refers to one of these color IDs in its color field. Read-only.",
"additionalProperties": {
"$ref": "ColorDefinition",
"description": "A calendar color defintion."
@@ -437,7 +437,7 @@
},
"event": {
"type": "object",
"description": "Palette of event colors, mapping from the color ID to its definition. An event resource may refer to one of these color IDs in its color field. Read-only.",
"description": "A global palette of event colors, mapping from the color ID to its definition. An event resource may refer to one of these color IDs in its color field. Read-only.",
"additionalProperties": {
"$ref": "ColorDefinition",
"description": "An event color definition."
@@ -450,7 +450,7 @@
},
"updated": {
"type": "string",
"description": "Last modification time of the color palette (as a RFC 3339 timestamp). Read-only.",
"description": "Last modification time of the color palette (as a RFC3339 timestamp). Read-only.",
"format": "date-time"
}
}
@@ -487,7 +487,7 @@
},
"attendees": {
"type": "array",
"description": "The attendees of the event.",
"description": "The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.",
"items": {
"$ref": "EventAttendee"
}
@@ -503,7 +503,7 @@
},
"created": {
"type": "string",
"description": "Creation time of the event (as a RFC 3339 timestamp). Read-only.",
"description": "Creation time of the event (as a RFC3339 timestamp). Read-only.",
"format": "date-time"
},
"creator": {
@@ -520,7 +520,7 @@
},
"id": {
"type": "string",
"description": "The creator's Profile ID, if available."
"description": "The creator's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API"
},
"self": {
"type": "boolean",
@@ -585,16 +585,16 @@
},
"height": {
"type": "integer",
"description": "The gadget's height in pixels. Optional.",
"description": "The gadget's height in pixels. The height must be an integer greater than 0. Optional.",
"format": "int32"
},
"iconLink": {
"type": "string",
"description": "The gadget's icon URL."
"description": "The gadget's icon URL. The URL scheme must be HTTPS."
},
"link": {
"type": "string",
"description": "The gadget's URL."
"description": "The gadget's URL. The URL scheme must be HTTPS."
},
"preferences": {
"type": "object",
@@ -614,7 +614,7 @@
},
"width": {
"type": "integer",
"description": "The gadget's width in pixels. Optional.",
"description": "The gadget's width in pixels. The width must be an integer greater than 0. Optional.",
"format": "int32"
}
}
@@ -644,7 +644,7 @@
},
"iCalUID": {
"type": "string",
"description": "Event ID in the iCalendar format.",
"description": "Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method.\nNote that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.",
"annotations": {
"required": [
"calendar.events.import"
@@ -653,7 +653,7 @@
},
"id": {
"type": "string",
"description": "Identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules: \n- characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938 \n- the length of the ID must be between 5 and 1024 characters \n- the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122."
"description": "Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules: \n- characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938 \n- the length of the ID must be between 5 and 1024 characters \n- the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122.\nIf you do not specify an ID, it will be automatically generated by the server.\nNote that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs."
},
"kind": {
"type": "string",
@@ -679,11 +679,11 @@
},
"email": {
"type": "string",
"description": "The organizer's email address, if available."
"description": "The organizer's email address, if available. It must be a valid email address as per RFC5322."
},
"id": {
"type": "string",
"description": "The organizer's Profile ID, if available."
"description": "The organizer's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API"
},
"self": {
"type": "boolean",
@@ -703,14 +703,14 @@
},
"recurrence": {
"type": "array",
"description": "List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events.",
"description": "List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events.",
"items": {
"type": "string"
}
},
"recurringEventId": {
"type": "string",
"description": "For an instance of a recurring event, this is the event ID of the recurring event itself. Immutable."
"description": "For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable."
},
"reminders": {
"type": "object",
@@ -718,7 +718,7 @@
"properties": {
"overrides": {
"type": "array",
"description": "If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event.",
"description": "If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.",
"items": {
"$ref": "EventReminder"
}
@@ -736,7 +736,7 @@
},
"source": {
"type": "object",
"description": "Source of an event from which it was created; for example a web page, an email message or any document identifiable by an URL using HTTP/HTTPS protocol. Accessible only by the creator of the event.",
"description": "Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event.",
"properties": {
"title": {
"type": "string",
@@ -744,7 +744,7 @@
},
"url": {
"type": "string",
"description": "URL of the source pointing to a resource. URL's protocol must be HTTP or HTTPS."
"description": "URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS."
}
}
},
@@ -774,7 +774,7 @@
},
"updated": {
"type": "string",
"description": "Last modification time of the event (as a RFC 3339 timestamp). Read-only.",
"description": "Last modification time of the event (as a RFC3339 timestamp). Read-only.",
"format": "date-time"
},
"visibility": {
@@ -790,7 +790,7 @@
"properties": {
"fileId": {
"type": "string",
"description": "ID of the attached file. Read-only.\nE.g. for Google Drive files this is the ID of the corresponding Files resource entry in the Drive API."
"description": "ID of the attached file. Read-only.\nFor Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API."
},
"fileUrl": {
"type": "string",
@@ -837,7 +837,7 @@
},
"email": {
"type": "string",
"description": "The attendee's email address, if available. This field must be present when adding an attendee.",
"description": "The attendee's email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322.",
"annotations": {
"required": [
"calendar.events.import",
@@ -848,7 +848,7 @@
},
"id": {
"type": "string",
"description": "The attendee's Profile ID, if available."
"description": "The attendee's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API"
},
"optional": {
"type": "boolean",
@@ -886,7 +886,7 @@
},
"dateTime": {
"type": "string",
"description": "The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.",
"description": "The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.",
"format": "date-time"
},
"timeZone": {
@@ -901,7 +901,7 @@
"properties": {
"method": {
"type": "string",
"description": "The method used by this reminder. Possible values are: \n- \"email\" - Reminders are sent via email. \n- \"sms\" - Reminders are sent via SMS. They are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for the other accounts will be ignored. \n- \"popup\" - Reminders are sent via a UI popup.",
"description": "The method used by this reminder. Possible values are: \n- \"email\" - Reminders are sent via email. \n- \"sms\" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored. \n- \"popup\" - Reminders are sent via a UI popup.",
"annotations": {
"required": [
"calendar.calendarList.insert",
@@ -914,7 +914,7 @@
},
"minutes": {
"type": "integer",
"description": "Number of minutes before the start of the event when the reminder should trigger.",
"description": "Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes).",
"format": "int32",
"annotations": {
"required": [
@@ -981,7 +981,7 @@
},
"updated": {
"type": "string",
"description": "Last modification time of the calendar (as a RFC 3339 timestamp). Read-only.",
"description": "Last modification time of the calendar (as a RFC3339 timestamp). Read-only.",
"format": "date-time"
}
}
@@ -1192,7 +1192,7 @@
"parameters": {
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
},
@@ -1219,7 +1219,7 @@
"parameters": {
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
},
@@ -1250,7 +1250,7 @@
"parameters": {
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
}
@@ -1276,7 +1276,7 @@
"parameters": {
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
},
@@ -1322,7 +1322,7 @@
"parameters": {
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
},
@@ -1355,7 +1355,7 @@
"parameters": {
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
},
@@ -1388,7 +1388,7 @@
"parameters": {
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
},
@@ -1442,7 +1442,7 @@
"parameters": {
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
}
@@ -1462,7 +1462,7 @@
"parameters": {
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
}
@@ -1568,7 +1568,7 @@
"parameters": {
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
},
@@ -1599,7 +1599,7 @@
"parameters": {
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
},
@@ -1698,7 +1698,7 @@
"parameters": {
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
}
@@ -1718,7 +1718,7 @@
"parameters": {
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
}
@@ -1738,7 +1738,7 @@
"parameters": {
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
}
@@ -1777,7 +1777,7 @@
"parameters": {
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
}
@@ -1803,7 +1803,7 @@
"parameters": {
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
}
@@ -1868,7 +1868,7 @@
"parameters": {
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
},
@@ -1905,7 +1905,7 @@
},
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
},
@@ -1948,7 +1948,7 @@
"parameters": {
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
},
@@ -1979,7 +1979,7 @@
"parameters": {
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
},
@@ -2027,7 +2027,7 @@
},
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
},
@@ -2068,13 +2068,13 @@
},
"timeMax": {
"type": "string",
"description": "Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time.",
"description": "Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time. Must be an RFC3339 timestamp with mandatory time zone offset.",
"format": "date-time",
"location": "query"
},
"timeMin": {
"type": "string",
"description": "Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time.",
"description": "Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with mandatory time zone offset.",
"format": "date-time",
"location": "query"
},
@@ -2110,7 +2110,7 @@
},
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
},
@@ -2190,13 +2190,13 @@
},
"timeMax": {
"type": "string",
"description": "Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time.",
"description": "Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time. Must be an RFC3339 timestamp with mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but will be ignored.",
"format": "date-time",
"location": "query"
},
"timeMin": {
"type": "string",
"description": "Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time.",
"description": "Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but will be ignored.",
"format": "date-time",
"location": "query"
},
@@ -2207,7 +2207,7 @@
},
"updatedMin": {
"type": "string",
"description": "Lower bound for an event's last modification time (as a RFC 3339 timestamp) to filter by. When specified, entries deleted since this time will always be included regardless of showDeleted. Optional. The default is not to filter by last modification time.",
"description": "Lower bound for an event's last modification time (as a RFC3339 timestamp) to filter by. When specified, entries deleted since this time will always be included regardless of showDeleted. Optional. The default is not to filter by last modification time.",
"format": "date-time",
"location": "query"
}
@@ -2279,7 +2279,7 @@
},
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
},
@@ -2329,7 +2329,7 @@
"parameters": {
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
},
@@ -2369,7 +2369,7 @@
},
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
},
@@ -2424,7 +2424,7 @@
},
"calendarId": {
"type": "string",
"description": "Calendar identifier.",
"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.",
"required": true,
"location": "path"
},
@@ -2504,13 +2504,13 @@
},
"timeMax": {
"type": "string",
"description": "Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time.",
"description": "Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time. Must be an RFC3339 timestamp with mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but will be ignored.",
"format": "date-time",
"location": "query"
},
"timeMin": {
"type": "string",
"description": "Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time.",
"description": "Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but will be ignored.",
"format": "date-time",
"location": "query"
},
@@ -2521,7 +2521,7 @@
},
"updatedMin": {
"type": "string",
"description": "Lower bound for an event's last modification time (as a RFC 3339 timestamp) to filter by. When specified, entries deleted since this time will always be included regardless of showDeleted. Optional. The default is not to filter by last modification time.",
"description": "Lower bound for an event's last modification time (as a RFC3339 timestamp) to filter by. When specified, entries deleted since this time will always be included regardless of showDeleted. Optional. The default is not to filter by last modification time.",
"format": "date-time",
"location": "query"
}

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/79Y1HrgSgdJCTf1b4Qz0Z9zJqHE\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/ZiNhyAfCE7ZKhbU1KQ-igi1g1zk\"",
"discoveryVersion": "v1",
"id": "civicinfo:v2",
"name": "civicinfo",
"canonicalName": "Civic Info",
"version": "v2",
"revision": "20150707",
"revision": "20150820",
"title": "Google Civic Information API",
"description": "An API for accessing civic information.",
"ownerDomain": "google.com",
@@ -284,7 +284,7 @@
},
"referendumBrief": {
"type": "string",
"description": "Specifies a short summary of the referendum that is on the ballot below the title but above the text. This field is only populated for contests of type 'Referendum'."
"description": "Specifies a short summary of the referendum that is typically on the ballot below the title but above the text. This field is only populated for contests of type 'Referendum'."
},
"referendumConStatement": {
"type": "string",
@@ -399,6 +399,10 @@
"name": {
"type": "string",
"description": "A displayable name for the election."
},
"ocdDivisionId": {
"type": "string",
"description": "The political division of the election. Represented as an OCD Division ID. Voters within these political jurisdictions are covered by this election. This is typically a state such as ocd-division/country:us/state:ca or for the midterms or general election the entire US (i.e. ocd-division/country:us)."
}
}
},

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,343 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/vc2WYrePuDcqazgNVjmdzE5Mns4\"",
"discoveryVersion": "v1",
"id": "cloudbilling:v1",
"name": "cloudbilling",
"version": "v1",
"revision": "20150903",
"title": "Google Cloud Billing API",
"description": "Retrieves Google Developers Console billing accounts and associates them with projects.",
"ownerDomain": "google.com",
"ownerName": "Google",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"documentationLink": "https://cloud.google.com/billing/",
"protocol": "rest",
"baseUrl": "https://cloudbilling.googleapis.com/",
"basePath": "/",
"rootUrl": "https://cloudbilling.googleapis.com/",
"servicePath": "",
"batchPath": "batch",
"parameters": {
"access_token": {
"type": "string",
"description": "OAuth access token.",
"location": "query"
},
"alt": {
"type": "string",
"description": "Data format for response.",
"default": "json",
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location": "query"
},
"bearer_token": {
"type": "string",
"description": "OAuth bearer token.",
"location": "query"
},
"callback": {
"type": "string",
"description": "JSONP",
"location": "query"
},
"fields": {
"type": "string",
"description": "Selector specifying which fields to include in a partial response.",
"location": "query"
},
"key": {
"type": "string",
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location": "query"
},
"oauth_token": {
"type": "string",
"description": "OAuth 2.0 token for the current user.",
"location": "query"
},
"pp": {
"type": "boolean",
"description": "Pretty-print response.",
"default": "true",
"location": "query"
},
"prettyPrint": {
"type": "boolean",
"description": "Returns response with indentations and line breaks.",
"default": "true",
"location": "query"
},
"quotaUser": {
"type": "string",
"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.",
"location": "query"
},
"upload_protocol": {
"type": "string",
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query"
},
"uploadType": {
"type": "string",
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query"
},
"$.xgafv": {
"type": "string",
"description": "V1 error format.",
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query"
}
},
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
}
}
}
},
"schemas": {
"BillingAccount": {
"id": "BillingAccount",
"type": "object",
"description": "A billing account in [Google Developers Console](https://console.developers.google.com/). You can assign a billing account to one or more projects.",
"properties": {
"name": {
"type": "string",
"description": "The resource name of the billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF` would be the resource name for billing account `012345-567890-ABCDEF`."
},
"open": {
"type": "boolean",
"description": "True if the billing account is open, and will therefore be charged for any usage on associated projects. False if the billing account is closed, and therefore projects associated with it will be unable to use paid services."
},
"displayName": {
"type": "string",
"description": "The display name given to the billing account, such as `My Billing Account`. This name is displayed in the Google Developers Console."
}
}
},
"ListBillingAccountsResponse": {
"id": "ListBillingAccountsResponse",
"type": "object",
"description": "Response message for `ListBillingAccounts`.",
"properties": {
"billingAccounts": {
"type": "array",
"description": "A list of billing accounts.",
"items": {
"$ref": "BillingAccount"
}
},
"nextPageToken": {
"type": "string",
"description": "A token to retrieve the next page of results. To retrieve the next page, call `ListBillingAccounts` again with the `page_token` field set to this value. This field is empty if there are no more results to retrieve."
}
}
},
"ListProjectBillingInfoResponse": {
"id": "ListProjectBillingInfoResponse",
"type": "object",
"description": "Request message for `ListProjectBillingInfoResponse`.",
"properties": {
"projectBillingInfo": {
"type": "array",
"description": "A list of `ProjectBillingInfo` resources representing the projects associated with the billing account.",
"items": {
"$ref": "ProjectBillingInfo"
}
},
"nextPageToken": {
"type": "string",
"description": "A token to retrieve the next page of results. To retrieve the next page, call `ListProjectBillingInfo` again with the `page_token` field set to this value. This field is empty if there are no more results to retrieve."
}
}
},
"ProjectBillingInfo": {
"id": "ProjectBillingInfo",
"type": "object",
"description": "Encapsulation of billing information for a Developers Console project. A project has at most one associated billing account at a time (but a billing account can be assigned to multiple projects).",
"properties": {
"name": {
"type": "string",
"description": "The resource name for the `ProjectBillingInfo`; has the form `projects/{project_id}/billingInfo`. For example, the resource name for the billing information for project `tokyo-rain-123` would be `projects/tokyo-rain-123/billingInfo`. This field is read-only."
},
"projectId": {
"type": "string",
"description": "The ID of the project that this `ProjectBillingInfo` represents, such as `tokyo-rain-123`. This is a convenience field so that you don't need to parse the `name` field to obtain a project ID. This field is read-only."
},
"billingAccountName": {
"type": "string",
"description": "The resource name of the billing account associated with the project, if any. For example, `billingAccounts/012345-567890-ABCDEF`."
},
"billingEnabled": {
"type": "boolean",
"description": "True if the project is associated with an open billing account, to which usage on the project is charged. False if the project is associated with a closed billing account, or no billing account at all, and therefore cannot use paid services. This field is read-only."
}
}
}
},
"resources": {
"billingAccounts": {
"methods": {
"get": {
"id": "cloudbilling.billingAccounts.get",
"path": "v1/{+name}",
"httpMethod": "GET",
"description": "Gets information about a billing account. The current authenticated user must be an [owner of the billing account](https://support.google.com/cloud/answer/4430947).",
"parameters": {
"name": {
"type": "string",
"description": "The resource name of the billing account to retrieve. For example, `billingAccounts/012345-567890-ABCDEF`.",
"required": true,
"pattern": "^billingAccounts/[^/]*$",
"location": "path"
}
},
"parameterOrder": [
"name"
],
"response": {
"$ref": "BillingAccount"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"id": "cloudbilling.billingAccounts.list",
"path": "v1/billingAccounts",
"httpMethod": "GET",
"description": "Lists the billing accounts that the current authenticated user [owns](https://support.google.com/cloud/answer/4430947).",
"parameters": {
"pageSize": {
"type": "integer",
"description": "Requested page size. The maximum page size is 100; this is also the default.",
"format": "int32",
"location": "query"
},
"pageToken": {
"type": "string",
"description": "A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListBillingAccounts` call. If unspecified, the first page of results is returned.",
"location": "query"
}
},
"response": {
"$ref": "ListBillingAccountsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"projects": {
"methods": {
"list": {
"id": "cloudbilling.billingAccounts.projects.list",
"path": "v1/{+name}/projects",
"httpMethod": "GET",
"description": "Lists the projects associated with a billing account. The current authenticated user must be an [owner of the billing account](https://support.google.com/cloud/answer/4430947).",
"parameters": {
"name": {
"type": "string",
"description": "The resource name of the billing account associated with the projects that you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.",
"required": true,
"pattern": "^billingAccounts/[^/]*$",
"location": "path"
},
"pageSize": {
"type": "integer",
"description": "Requested page size. The maximum page size is 100; this is also the default.",
"format": "int32",
"location": "query"
},
"pageToken": {
"type": "string",
"description": "A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous `ListProjectBillingInfo` call. If unspecified, the first page of results is returned.",
"location": "query"
}
},
"parameterOrder": [
"name"
],
"response": {
"$ref": "ListProjectBillingInfoResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
},
"projects": {
"methods": {
"getBillingInfo": {
"id": "cloudbilling.projects.getBillingInfo",
"path": "v1/{+name}/billingInfo",
"httpMethod": "GET",
"description": "Gets the billing information for a project. The current authenticated user must have [permission to view the project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo ).",
"parameters": {
"name": {
"type": "string",
"description": "The resource name of the project for which billing information is retrieved. For example, `projects/tokyo-rain-123`.",
"required": true,
"pattern": "^projects/[^/]*$",
"location": "path"
}
},
"parameterOrder": [
"name"
],
"response": {
"$ref": "ProjectBillingInfo"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"updateBillingInfo": {
"id": "cloudbilling.projects.updateBillingInfo",
"path": "v1/{+name}/billingInfo",
"httpMethod": "PUT",
"description": "Sets or updates the billing account associated with a project. You specify the new billing account by setting the `billing_account_name` in the `ProjectBillingInfo` resource to the resource name of a billing account. Associating a project with an open billing account enables billing on the project and allows charges for resource usage. If the project already had a billing account, this method changes the billing account used for resource usage charges. *Note:* Incurred charges that have not yet been reported in the transaction history of the Google Developers Console may be billed to the new billing account, even if the charge occurred before the new billing account was assigned to the project. The current authenticated user must have ownership privileges for both the [project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo ) and the [billing account](https://support.google.com/cloud/answer/4430947). You can disable billing on the project by setting the `billing_account_name` field to empty. This action disassociates the current billing account from the project. Any billable activity of your in-use services will stop, and your application could stop functioning as expected. Any unbilled charges to date will be billed to the previously associated account. The current authenticated user must be either an owner of the project or an owner of the billing account for the project. Note that associating a project with a *closed* billing account will have much the same effect as disabling billing on the project: any paid resources used by the project will be shut down. Thus, unless you wish to disable billing, you should always call this method with the name of an *open* billing account.",
"parameters": {
"name": {
"type": "string",
"description": "The resource name of the project associated with the billing information that you want to update. For example, `projects/tokyo-rain-123`.",
"required": true,
"pattern": "^projects/[^/]*$",
"location": "path"
}
},
"parameterOrder": [
"name"
],
"request": {
"$ref": "ProjectBillingInfo"
},
"response": {
"$ref": "ProjectBillingInfo"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
}

View File

@@ -0,0 +1,913 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/IirqKiawPBlWznB4XZKKLikRaQQ\"",
"discoveryVersion": "v1",
"id": "clouddebugger:v2",
"name": "clouddebugger",
"version": "v2",
"revision": "20150725",
"title": "Google Cloud Debugger API",
"description": "Lets you examine the stack and variables of your running application without stopping or slowing it down.",
"ownerDomain": "google.com",
"ownerName": "Google",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"documentationLink": "https://cloud.google.com/tools/cloud-debugger",
"protocol": "rest",
"baseUrl": "https://clouddebugger.googleapis.com/",
"basePath": "/",
"rootUrl": "https://clouddebugger.googleapis.com/",
"servicePath": "",
"batchPath": "batch",
"parameters": {
"access_token": {
"type": "string",
"description": "OAuth access token.",
"location": "query"
},
"alt": {
"type": "string",
"description": "Data format for response.",
"default": "json",
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location": "query"
},
"bearer_token": {
"type": "string",
"description": "OAuth bearer token.",
"location": "query"
},
"callback": {
"type": "string",
"description": "JSONP",
"location": "query"
},
"fields": {
"type": "string",
"description": "Selector specifying which fields to include in a partial response.",
"location": "query"
},
"key": {
"type": "string",
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location": "query"
},
"oauth_token": {
"type": "string",
"description": "OAuth 2.0 token for the current user.",
"location": "query"
},
"pp": {
"type": "boolean",
"description": "Pretty-print response.",
"default": "true",
"location": "query"
},
"prettyPrint": {
"type": "boolean",
"description": "Returns response with indentations and line breaks.",
"default": "true",
"location": "query"
},
"quotaUser": {
"type": "string",
"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.",
"location": "query"
},
"upload_protocol": {
"type": "string",
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query"
},
"uploadType": {
"type": "string",
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query"
},
"$.xgafv": {
"type": "string",
"description": "V1 error format.",
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query"
}
},
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/cloud_debugger": {
"description": "Manage cloud debugger"
},
"https://www.googleapis.com/auth/cloud_debugletcontroller": {
"description": "Manage active breakpoints in cloud debugger"
}
}
}
},
"schemas": {
"RegisterDebuggeeRequest": {
"id": "RegisterDebuggeeRequest",
"type": "object",
"description": "The request to register a debuggee.",
"properties": {
"debuggee": {
"$ref": "Debuggee",
"description": "The debuggee information to register. The fields 'project', 'uniquifier', 'description' and 'agent_version' of the debuggee must be set."
}
}
},
"Debuggee": {
"id": "Debuggee",
"type": "object",
"description": "Represents the application to debug. The application may include one or more replicated processes executing the same code. Each of these processes is attached with a debugger agent, carrying out the debugging commands. The agents attached to the same debuggee are identified by using exactly the same fields' values when registering.",
"properties": {
"id": {
"type": "string",
"description": "Debuggee unique identifer generated by the server."
},
"project": {
"type": "string",
"description": "The project the debuggee is associated with. Use the project number when registering a Google Cloud Platform project."
},
"uniquifier": {
"type": "string",
"description": "The debuggee uniqifier within the project. Any string that id the application within the project can be used. Recomended to include environement and version or build id's."
},
"description": {
"type": "string",
"description": "A human readable description of the debuggee. Recommended to include human readable project name, environment name, and version information ."
},
"isInactive": {
"type": "boolean",
"description": "If set to true indicates that the debuggee has not been seen by the Controller service in the last active time period (defined by the server)."
},
"agentVersion": {
"type": "string",
"description": "Version ID of the agent release. The version ID is structured as following: \"domain/type/vmajor.minor\" (for example \"google.com/gcp-java/v1.1\")."
},
"isDisabled": {
"type": "boolean",
"description": "If set to true, indicates that the agent should disable itself and detach from the debuggee."
},
"status": {
"$ref": "StatusMessage",
"description": "Human readable message to be displayed to the user about this debuggee. Absense of this field indicates no message. The message can be either informational or error."
},
"sourceContexts": {
"type": "array",
"description": "Repository snapshots containing the source code of the project.",
"items": {
"$ref": "SourceContext"
}
},
"labels": {
"type": "object",
"description": "A set of custom debuggee properties, populated by the agent, to be displayed to the user.",
"additionalProperties": {
"type": "string"
}
}
}
},
"StatusMessage": {
"id": "StatusMessage",
"type": "object",
"description": "Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message \"Location not found\".",
"properties": {
"isError": {
"type": "boolean",
"description": "Distinguishes errors from informational messages."
},
"refersTo": {
"type": "string",
"description": "Reference to which the message applies.",
"enum": [
"UNSPECIFIED",
"BREAKPOINT_SOURCE_LOCATION",
"BREAKPOINT_CONDITION",
"BREAKPOINT_EXPRESSION",
"VARIABLE_NAME",
"VARIABLE_VALUE"
]
},
"description": {
"$ref": "FormatMessage",
"description": "Status message text."
}
}
},
"FormatMessage": {
"id": "FormatMessage",
"type": "object",
"description": "Represents a message with parameters.",
"properties": {
"format": {
"type": "string",
"description": "Format template of the message. The \"format\" uses placeholders \"$0\", \"$1\", etc. to reference parameters. \"$$\" can be used to denote the '$' character. Examples: \"Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important.\" \"Please pay $$10 to use $0 instead of $1.\""
},
"parameters": {
"type": "array",
"description": "Optional parameters to be embedded into the message.",
"items": {
"type": "string"
}
}
}
},
"SourceContext": {
"id": "SourceContext",
"type": "object",
"description": "A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.",
"properties": {
"cloudRepo": {
"$ref": "CloudRepoSourceContext",
"description": "A SourceContext referring to a revision in a cloud repo."
},
"cloudWorkspace": {
"$ref": "CloudWorkspaceSourceContext",
"description": "A SourceContext referring to a snapshot in a cloud workspace."
},
"gerrit": {
"$ref": "GerritSourceContext",
"description": "A SourceContext referring to a Gerrit project."
},
"git": {
"$ref": "GitSourceContext",
"description": "A SourceContext referring to any third party Git repo (e.g. GitHub)."
}
}
},
"CloudRepoSourceContext": {
"id": "CloudRepoSourceContext",
"type": "object",
"description": "A CloudRepoSourceContext denotes a particular revision in a cloud repo (a repo hosted by the Google Cloud Platform).",
"properties": {
"repoId": {
"$ref": "RepoId",
"description": "The ID of the repo."
},
"revisionId": {
"type": "string",
"description": "A revision ID."
},
"aliasName": {
"type": "string",
"description": "The name of an alias (branch, tag, etc.)."
}
}
},
"RepoId": {
"id": "RepoId",
"type": "object",
"description": "A unique identifier for a cloud repo.",
"properties": {
"projectRepoId": {
"$ref": "ProjectRepoId",
"description": "A combination of a project ID and a repo name."
},
"uid": {
"type": "string",
"description": "A server-assigned, globally unique identifier."
}
}
},
"ProjectRepoId": {
"id": "ProjectRepoId",
"type": "object",
"description": "Selects a repo using a Google Cloud Platform project ID (e.g. winged-cargo-31) and a repo name within that project.",
"properties": {
"projectId": {
"type": "string",
"description": "The ID of the project."
},
"repoName": {
"type": "string",
"description": "The name of the repo. Leave empty for the default repo."
}
}
},
"CloudWorkspaceSourceContext": {
"id": "CloudWorkspaceSourceContext",
"type": "object",
"description": "A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.",
"properties": {
"workspaceId": {
"$ref": "CloudWorkspaceId",
"description": "The ID of the workspace."
},
"snapshotId": {
"type": "string",
"description": "The ID of the snapshot. An empty snapshot_id refers to the most recent snapshot."
}
}
},
"CloudWorkspaceId": {
"id": "CloudWorkspaceId",
"type": "object",
"description": "A CloudWorkspaceId is a unique identifier for a cloud workspace. A cloud workspace is a place associated with a repo where modified files can be stored before they are committed.",
"properties": {
"repoId": {
"$ref": "RepoId",
"description": "The ID of the repo containing the workspace."
},
"name": {
"type": "string",
"description": "The unique name of the workspace within the repo. This is the name chosen by the client in the Source API's CreateWorkspace method."
}
}
},
"GerritSourceContext": {
"id": "GerritSourceContext",
"type": "object",
"description": "A SourceContext referring to a Gerrit project.",
"properties": {
"hostUri": {
"type": "string",
"description": "The URI of a running Gerrit instance."
},
"gerritProject": {
"type": "string",
"description": "The full project name within the host. Projects may be nested, so \"project/subproject\" is a valid project name. The \"repo name\" is hostURI/project."
},
"revisionId": {
"type": "string",
"description": "A revision (commit) ID."
},
"aliasName": {
"type": "string",
"description": "The name of an alias (branch, tag, etc.)."
}
}
},
"GitSourceContext": {
"id": "GitSourceContext",
"type": "object",
"description": "A GitSourceContext denotes a particular revision in a third party Git repository (e.g. GitHub).",
"properties": {
"url": {
"type": "string",
"description": "Git repository URL."
},
"revisionId": {
"type": "string",
"description": "Git commit hash. required."
}
}
},
"RegisterDebuggeeResponse": {
"id": "RegisterDebuggeeResponse",
"type": "object",
"description": "The response of registering a debuggee.",
"properties": {
"debuggee": {
"$ref": "Debuggee",
"description": "The debuggee resource. The field 'id' is guranteed to be set (in addition to the echoed fields)."
}
}
},
"ListActiveBreakpointsResponse": {
"id": "ListActiveBreakpointsResponse",
"type": "object",
"description": "The response of listing active breakpoints.",
"properties": {
"breakpoints": {
"type": "array",
"description": "List of all active breakpoints. The fields 'id' and 'location' are guranteed to be set on each breakpoint.",
"items": {
"$ref": "Breakpoint"
}
},
"nextWaitToken": {
"type": "string",
"description": "A wait token that can be used in the next method call to block until the list of breakpoints changes."
}
}
},
"Breakpoint": {
"id": "Breakpoint",
"type": "object",
"description": "Represents the breakpoint specification, status and results.",
"properties": {
"id": {
"type": "string",
"description": "Breakpoint identifier, unique in the scope of the debuggee."
},
"action": {
"type": "string",
"description": "Defines what to do when the breakpoint hits.",
"enum": [
"CAPTURE",
"LOG"
]
},
"location": {
"$ref": "SourceLocation",
"description": "The breakpoint source location."
},
"condition": {
"type": "string",
"description": "A condition to trigger the breakpoint. The condition is a compound boolean expression composed using expressions in a programming language at the source location."
},
"expressions": {
"type": "array",
"description": "A list of read-only expressions to evaluate at the breakpoint location. The expressions are composed using expressions in the programming language at the source location. If the breakpoint action is \"LOG\", the evaluated expressions are included in log statements.",
"items": {
"type": "string"
}
},
"logMessageFormat": {
"type": "string",
"description": "Only relevant when action is \"LOG\". Defines the message to log when the breakpoint hits. The message may include parameter placeholders \"$0\", \"$1\", etc. These placeholders will be replaced with the evaluated value of the appropriate expression. Expressions not referenced in \"log_message_format\" will not be logged. Example: \"Poisonous message received, id = $0, count = $1\" with expressions = [ \"message.id\", \"message.count\" ]."
},
"logLevel": {
"type": "string",
"description": "Indicates the severity of the log. Only relevant when action is \"LOG\".",
"enum": [
"INFO",
"WARNING",
"ERROR"
]
},
"isFinalState": {
"type": "boolean",
"description": "When true, indicates that this is a final result and the breakpoint state will not change from here on."
},
"createTime": {
"type": "string",
"description": "The time this breakpoint was created by the server. The value is in seconds resolution."
},
"finalTime": {
"type": "string",
"description": "The time this breakpoint was finalized as seen by the server. The value is in seconds resolution."
},
"userEmail": {
"type": "string",
"description": "The e-mail of the user that created this breakpoint"
},
"status": {
"$ref": "StatusMessage",
"description": "Breakpoint status. The status includes an error flag and a human readable message. This field will usually stay unset. The message can be either informational or error. Nevertheless, clients should always display the text message back to the user. Error status of a breakpoint indicates complete failure. Example (non-final state): 'Still loading symbols...' Examples (final state): 'Failed to insert breakpoint' referring to breakpoint, 'Field f not found in class C' referring to condition, ..."
},
"stackFrames": {
"type": "array",
"description": "The stack at breakpoint time.",
"items": {
"$ref": "StackFrame"
}
},
"evaluatedExpressions": {
"type": "array",
"description": "The evaluated expressions' values at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the 'expressions' field. The 'name' field holds the original expression text, the 'value'/'members' field holds the result of the evaluated expression. If the expression can not be evaluated, an error text is placed in the value field.",
"items": {
"$ref": "Variable"
}
},
"variableTable": {
"type": "array",
"description": "The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the object 'this', which may appear at many levels of the stack, can have all of it's data stored once in this table. The stack frame variables then would hold only a reference to it. The variable var_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing veariable and the referenced variable.",
"items": {
"$ref": "Variable"
}
}
}
},
"SourceLocation": {
"id": "SourceLocation",
"type": "object",
"description": "Represents a location in the source code.",
"properties": {
"path": {
"type": "string",
"description": "A path to the source file within the source context of the target binary."
},
"line": {
"type": "integer",
"description": "The line inside the file (first line value is '1').",
"format": "int32"
}
}
},
"StackFrame": {
"id": "StackFrame",
"type": "object",
"description": "Represents a stack frame context.",
"properties": {
"function": {
"type": "string",
"description": "The unmangled function name at the call site."
},
"location": {
"$ref": "SourceLocation",
"description": "The source location of the call site."
},
"arguments": {
"type": "array",
"description": "The set of arguments passed to this function Note that this might not be populated for all stack frames.",
"items": {
"$ref": "Variable"
}
},
"locals": {
"type": "array",
"description": "The set of local variables at the stack frame location. Note that this might not be populated for all stack frames.",
"items": {
"$ref": "Variable"
}
}
}
},
"Variable": {
"id": "Variable",
"type": "object",
"description": "Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: \"x\", value: \"5\" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: \"x\", members { name: \"m1\", value: \"3\" }, members { name: \"m2\", value: \"7\" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: \"p\", value: \"0x00500500\", members { name: \"m1\", value: \"3\" }, members { name: \"m2\", value: \"7\" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: \"p\", value: \"0x00400400\", members { value: \"\" } } the value text should decribe the reason for the missing value. such as , ,\n. note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: \"p\", value: \"0x00500500\", members { value: \"7\" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: \"pp\", value: \"0x00500500\", members { value: \"0x00400400\", members { value: \"\" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: \"x\", var_index: 3 } { name: \"p\", value \"0x00500500\", var_index: 3 } { name: \"r\", var_index: 3 } with shared variable table entry #3: { members { name: \"m1\", value: \"3\" }, members { name: \"m2\", value: \"7\" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.",
"properties": {
"name": {
"type": "string",
"description": "The name of the variable, if any."
},
"value": {
"type": "string",
"description": "The simple value of the variable."
},
"members": {
"type": "array",
"description": "The members contained or pointed to by the variable.",
"items": {
"$ref": "Variable"
}
},
"varTableIndex": {
"type": "integer",
"description": "This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.",
"format": "int32"
},
"status": {
"$ref": "StatusMessage",
"description": "Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with \"refers_to\" set to \"VARIABLE_NAME\". Alternatively \"refers_to\" will be set to \"VARIABLE_VALUE\". In either case variable value and members will be unset. Example of error message applied to name: \"Invalid expression syntax\". Example of information message applied to value: \"Not captured\". Examples of error message applied to value: \"Malformed string\", \"Field f not found in class C\", \"Null pointer dereference\"."
}
}
},
"UpdateActiveBreakpointRequest": {
"id": "UpdateActiveBreakpointRequest",
"type": "object",
"description": "The request to update an active breakpoint.",
"properties": {
"breakpoint": {
"$ref": "Breakpoint",
"description": "The updated breakpoint information. The field 'id' must be set."
}
}
},
"UpdateActiveBreakpointResponse": {
"id": "UpdateActiveBreakpointResponse",
"type": "object",
"description": "The response of updating an active breakpoint. The message is defined to allow future extensions."
},
"SetBreakpointResponse": {
"id": "SetBreakpointResponse",
"type": "object",
"description": "The response of setting a breakpoint.",
"properties": {
"breakpoint": {
"$ref": "Breakpoint",
"description": "The breakpoint resource. The field 'id' is guranteed to be set (in addition to the echoed fileds)."
}
}
},
"GetBreakpointResponse": {
"id": "GetBreakpointResponse",
"type": "object",
"description": "The response of getting breakpoint information.",
"properties": {
"breakpoint": {
"$ref": "Breakpoint",
"description": "The complete breakpoint state. The fields 'id' and 'location' are guranteed to be set."
}
}
},
"Empty": {
"id": "Empty",
"type": "object",
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`."
},
"ListBreakpointsResponse": {
"id": "ListBreakpointsResponse",
"type": "object",
"description": "The response of listing breakpoints.",
"properties": {
"breakpoints": {
"type": "array",
"description": "List of all breakpoints with complete state. The fields 'id' and 'location' are guranteed to be set on each breakpoint.",
"items": {
"$ref": "Breakpoint"
}
},
"nextWaitToken": {
"type": "string",
"description": "A wait token that can be used in the next call to ListBreakpoints to block until the list of breakpoints has changes."
}
}
},
"ListDebuggeesResponse": {
"id": "ListDebuggeesResponse",
"type": "object",
"description": "The response of listing debuggees.",
"properties": {
"debuggees": {
"type": "array",
"description": "The list of debuggees accessible to the calling user. Note that the description field is the only human readable field that should be displayed to the user. The fields 'debuggee.id' and 'description' are guranteed to be set on each debuggee.",
"items": {
"$ref": "Debuggee"
}
}
}
}
},
"resources": {
"controller": {
"resources": {
"debuggees": {
"methods": {
"register": {
"id": "clouddebugger.controller.debuggees.register",
"path": "v2/controller/debuggees/register",
"httpMethod": "POST",
"description": "Registers the debuggee with the controller. All agents should call this API with the same request content to get back the same stable 'debuggee_id'. Agents should call this API again whenever ListActiveBreakpoints or UpdateActiveBreakpoint return the error google.rpc.Code.NOT_FOUND. It allows the server to disable the agent or recover from any registration loss. If the debuggee is disabled server, the response will have is_disabled' set to true.",
"request": {
"$ref": "RegisterDebuggeeRequest"
},
"response": {
"$ref": "RegisterDebuggeeResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud_debugletcontroller"
]
}
},
"resources": {
"breakpoints": {
"methods": {
"list": {
"id": "clouddebugger.controller.debuggees.breakpoints.list",
"path": "v2/controller/debuggees/{debuggeeId}/breakpoints",
"httpMethod": "GET",
"description": "Returns the list of all active breakpoints for the specified debuggee. The breakpoint specification (location, condition, and expression fields) is semantically immutable, although the field values may change. For example, an agent may update the location line number to reflect the actual line the breakpoint was set to, but that doesn't change the breakpoint semantics. Thus, an agent does not need to check if a breakpoint has changed when it encounters the same breakpoint on a successive call. Moreover, an agent should remember breakpoints that are complete until the controller removes them from the active list to avoid setting those breakpoints again.",
"parameters": {
"debuggeeId": {
"type": "string",
"description": "Identifies the debuggee.",
"required": true,
"location": "path"
},
"waitToken": {
"type": "string",
"description": "A wait token that, if specified, blocks the method call until the list of active breakpoints has changed, or a server selected timeout has expired. The value should be set from the last returned response. The error code google.rpc.Code.ABORTED is returned on wait timeout (which does not require the agent to re-register with the server)",
"location": "query"
}
},
"parameterOrder": [
"debuggeeId"
],
"response": {
"$ref": "ListActiveBreakpointsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud_debugletcontroller"
]
},
"update": {
"id": "clouddebugger.controller.debuggees.breakpoints.update",
"path": "v2/controller/debuggees/{debuggeeId}/breakpoints/{id}",
"httpMethod": "PUT",
"description": "Updates the breakpoint state or mutable fields. The entire Breakpoint protobuf must be sent back to the controller. Updates to active breakpoint fields are only allowed if the new value does not change the breakpoint specification. Updates to the 'location', 'condition' and 'expression' fields should not alter the breakpoint semantics. They are restricted to changes such as canonicalizing a value or snapping the location to the correct line of code.",
"parameters": {
"debuggeeId": {
"type": "string",
"description": "Identifies the debuggee being debugged.",
"required": true,
"location": "path"
},
"id": {
"type": "string",
"description": "Breakpoint identifier, unique in the scope of the debuggee.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"debuggeeId",
"id"
],
"request": {
"$ref": "UpdateActiveBreakpointRequest"
},
"response": {
"$ref": "UpdateActiveBreakpointResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud_debugletcontroller"
]
}
}
}
}
}
}
},
"debugger": {
"resources": {
"debuggees": {
"methods": {
"list": {
"id": "clouddebugger.debugger.debuggees.list",
"path": "v2/debugger/debuggees",
"httpMethod": "GET",
"description": "Lists all the debuggees that the user can set breakpoints to.",
"parameters": {
"project": {
"type": "string",
"description": "Set to the project number of the Google Cloud Platform to list the debuggees that are part of that project.",
"location": "query"
},
"includeInactive": {
"type": "boolean",
"description": "When set to true the result includes all debuggees, otherwise only debugees that are active.",
"location": "query"
}
},
"response": {
"$ref": "ListDebuggeesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud_debugger"
]
}
},
"resources": {
"breakpoints": {
"methods": {
"set": {
"id": "clouddebugger.debugger.debuggees.breakpoints.set",
"path": "v2/debugger/debuggees/{debuggeeId}/breakpoints/set",
"httpMethod": "POST",
"description": "Sets the breakpoint to the debuggee.",
"parameters": {
"debuggeeId": {
"type": "string",
"description": "The debuggee id to set the breakpoint to.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"debuggeeId"
],
"request": {
"$ref": "Breakpoint"
},
"response": {
"$ref": "SetBreakpointResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud_debugger"
]
},
"get": {
"id": "clouddebugger.debugger.debuggees.breakpoints.get",
"path": "v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}",
"httpMethod": "GET",
"description": "Gets breakpoint information.",
"parameters": {
"debuggeeId": {
"type": "string",
"description": "The debuggee id to get the breakpoint from.",
"required": true,
"location": "path"
},
"breakpointId": {
"type": "string",
"description": "The breakpoint to get.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"debuggeeId",
"breakpointId"
],
"response": {
"$ref": "GetBreakpointResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud_debugger"
]
},
"delete": {
"id": "clouddebugger.debugger.debuggees.breakpoints.delete",
"path": "v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}",
"httpMethod": "DELETE",
"description": "Deletes the breakpoint from the debuggee.",
"parameters": {
"debuggeeId": {
"type": "string",
"description": "The debuggee id to delete the breakpoint from.",
"required": true,
"location": "path"
},
"breakpointId": {
"type": "string",
"description": "The breakpoint to delete.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"debuggeeId",
"breakpointId"
],
"response": {
"$ref": "Empty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud_debugger"
]
},
"list": {
"id": "clouddebugger.debugger.debuggees.breakpoints.list",
"path": "v2/debugger/debuggees/{debuggeeId}/breakpoints",
"httpMethod": "GET",
"description": "Lists all breakpoints of the debuggee that the user has access to.",
"parameters": {
"debuggeeId": {
"type": "string",
"description": "The debuggee id to list breakpoint from.",
"required": true,
"location": "path"
},
"includeAllUsers": {
"type": "boolean",
"description": "When set to true the response includes the list of breakpoints set by any user, otherwise only breakpoints set by the caller.",
"location": "query"
},
"includeInactive": {
"type": "boolean",
"description": "When set to true the response includes active and inactive breakpoints, otherwise only active breakpoints are returned.",
"location": "query"
},
"action.value": {
"type": "string",
"description": "Only breakpoints with the specified action will pass the filter.",
"enum": [
"CAPTURE",
"LOG"
],
"location": "query"
},
"stripResults": {
"type": "boolean",
"description": "When set to true the response breakpoints will be stripped of the results fields: stack_frames, evaluated_expressions and variable_table.",
"location": "query"
},
"waitToken": {
"type": "string",
"description": "A wait token that, if specified, blocks the call until the breakpoints list has changed, or a server selected timeout has expired. The value should be set from the last response to ListBreakpoints. The error code ABORTED is returned on wait timeout, which should be called again with the same wait_token.",
"location": "query"
}
},
"parameterOrder": [
"debuggeeId"
],
"response": {
"$ref": "ListBreakpointsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud_debugger"
]
}
}
}
}
}
}
}
}
}

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/avMl03W4ktR_Q7PS4O3ogtyT8Dc\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/VkPNPy55dZFoHB90g2kdvWyK22A\"",
"discoveryVersion": "v1",
"id": "cloudmonitoring:v2beta2",
"name": "cloudmonitoring",
"canonicalName": "Cloud Monitoring",
"version": "v2beta2",
"revision": "20150713",
"revision": "20151012",
"title": "Cloud Monitoring API",
"description": "API for accessing Google Cloud and API monitoring data.",
"ownerDomain": "google.com",

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/F20Fq1R-EfWlPIiQW_XhJNP4UeM\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/YIS10F0R5FiTmx2jJKQHlRv-GwY\"",
"discoveryVersion": "v1",
"id": "cloudresourcemanager:v1beta1",
"name": "cloudresourcemanager",
"version": "v1beta1",
"revision": "20150711",
"revision": "20150909",
"title": "Google Cloud Resource Manager API",
"description": "The Google Cloud Resource Manager API provides methods for creating, reading, and updating of project metadata.",
"ownerDomain": "google.com",
@@ -17,7 +17,7 @@
"documentationLink": "https://cloud.google.com/resource-manager",
"protocol": "rest",
"baseUrl": "https://cloudresourcemanager.googleapis.com/",
"basePath": "",
"basePath": "/",
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
"servicePath": "",
"batchPath": "batch",
@@ -136,7 +136,7 @@
},
"name": {
"type": "string",
"description": "The user-assigned name of the project. This field is optional and can remain unset. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: My Project Read-write."
"description": "The user-assigned name of the project. It must be 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: My Project Read-write."
},
"createTime": {
"type": "string",
@@ -148,6 +148,25 @@
"additionalProperties": {
"type": "string"
}
},
"parent": {
"$ref": "ResourceId",
"description": "An optional reference to a parent Resource. The only supported parent type is \"organization\". Once set, the parent cannot be modified. Read-write."
}
}
},
"ResourceId": {
"id": "ResourceId",
"type": "object",
"description": "A container to reference an id for any resource type. A 'resource' in Google Cloud Platform is a generic term for something you (a developer) may want to interact with through one of our API's. Some examples are an AppEngine app, a Compute Engine instance, Cloud SQL database, ...",
"properties": {
"type": {
"type": "string",
"description": "Required field representing the resource type this id is for. At present, the only valid type is \"organization\"."
},
"id": {
"type": "string",
"description": "Required field for the type-specific id. This should correspond to the id used in the type-specific API's."
}
}
},
@@ -173,6 +192,140 @@
"id": "Empty",
"type": "object",
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`."
},
"GetIamPolicyRequest": {
"id": "GetIamPolicyRequest",
"type": "object",
"description": "Request message for `GetIamPolicy` method."
},
"Policy": {
"id": "Policy",
"type": "object",
"description": "Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **Example** ``` { \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-other-app@appspot.gserviceaccount.com\"] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] } ``` For a description of IAM and its features, see the [IAM developer's guide][https://cloud.google.com/iam].",
"properties": {
"version": {
"type": "integer",
"description": "Version of the `Policy`. The default version is 0.",
"format": "int32"
},
"bindings": {
"type": "array",
"description": "Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.",
"items": {
"$ref": "Binding"
}
},
"etag": {
"type": "string",
"description": "Can be used to perform a read-modify-write.",
"format": "byte"
}
}
},
"Binding": {
"id": "Binding",
"type": "object",
"description": "Associates `members` with a `role`.",
"properties": {
"role": {
"type": "string",
"description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required"
},
"members": {
"type": "array",
"description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following formats: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.",
"items": {
"type": "string"
}
}
}
},
"SetIamPolicyRequest": {
"id": "SetIamPolicyRequest",
"type": "object",
"description": "Request message for `SetIamPolicy` method.",
"properties": {
"policy": {
"$ref": "Policy",
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them."
}
}
},
"TestIamPermissionsRequest": {
"id": "TestIamPermissionsRequest",
"type": "object",
"description": "Request message for `TestIamPermissions` method.",
"properties": {
"permissions": {
"type": "array",
"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.",
"items": {
"type": "string"
}
}
}
},
"TestIamPermissionsResponse": {
"id": "TestIamPermissionsResponse",
"type": "object",
"description": "Response message for `TestIamPermissions` method.",
"properties": {
"permissions": {
"type": "array",
"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.",
"items": {
"type": "string"
}
}
}
},
"ListOrganizationsResponse": {
"id": "ListOrganizationsResponse",
"type": "object",
"description": "The response returned from the ListOrganizations method.",
"properties": {
"organizations": {
"type": "array",
"description": "The list of Organizations that matched the list query, possibly paginated.",
"items": {
"$ref": "Organization"
}
},
"nextPageToken": {
"type": "string",
"description": "A pagination token to be used to retrieve the next page of results. If the result is too large to fit within the page size specified in the request, this field will be set with a token that can be used to fetch the next page of results. If this field is empty, it indicates that this response contains the last page of results."
}
}
},
"Organization": {
"id": "Organization",
"type": "object",
"description": "The root node in the resource hierarchy to which a particular entity's (e.g., company) resources belong.",
"properties": {
"organizationId": {
"type": "string",
"description": "An immutable id for the Organization that is assigned on creation. This should be omitted when creating a new Organization. This field is read-only."
},
"displayName": {
"type": "string",
"description": "A friendly string to be used to refer to the Organization in the UI. This field is required."
},
"owner": {
"$ref": "OrganizationOwner",
"description": "The owner of this Organization. The owner should be specified upon creation. Once set, it cannot be changed. This field is required."
}
}
},
"OrganizationOwner": {
"id": "OrganizationOwner",
"type": "object",
"description": "The entity that owns an Organization. The lifetime of the Organization and all of its descendants are bound to the OrganizationOwner. If the OrganizationOwner is deleted, the Organization and all its descendants will be deleted.",
"properties": {
"directoryCustomerId": {
"type": "string",
"description": "The Google for Work customer id used in the Directory API."
}
}
}
},
"resources": {
@@ -317,6 +470,245 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getIamPolicy": {
"id": "cloudresourcemanager.projects.getIamPolicy",
"path": "v1beta1/projects/{resource}:getIamPolicy",
"httpMethod": "POST",
"description": "Returns the IAM access control policy for specified project.",
"parameters": {
"resource": {
"type": "string",
"description": "REQUIRED: The resource for which policy is being requested. Resource is usually specified as a path, such as, `projects/{project}`.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"resource"
],
"request": {
"$ref": "GetIamPolicyRequest"
},
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setIamPolicy": {
"id": "cloudresourcemanager.projects.setIamPolicy",
"path": "v1beta1/projects/{resource}:setIamPolicy",
"httpMethod": "POST",
"description": "Sets the IAM access control policy for the specified project. We do not currently support 'domain:' prefixed members in a Binding of a Policy. Calling this method requires enabling the App Engine Admin API.",
"parameters": {
"resource": {
"type": "string",
"description": "REQUIRED: The resource for which policy is being specified. `resource` is usually specified as a path, such as, `projects/{project}/zones/{zone}/disks/{disk}`.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"resource"
],
"request": {
"$ref": "SetIamPolicyRequest"
},
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"testIamPermissions": {
"id": "cloudresourcemanager.projects.testIamPermissions",
"path": "v1beta1/projects/{resource}:testIamPermissions",
"httpMethod": "POST",
"description": "Tests the specified permissions against the IAM access control policy for the specified project.",
"parameters": {
"resource": {
"type": "string",
"description": "REQUIRED: The resource for which policy detail is being requested. `resource` is usually specified as a path, such as, `projects/{project}`.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"resource"
],
"request": {
"$ref": "TestIamPermissionsRequest"
},
"response": {
"$ref": "TestIamPermissionsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"organizations": {
"methods": {
"list": {
"id": "cloudresourcemanager.organizations.list",
"path": "v1beta1/organizations",
"httpMethod": "GET",
"description": "Query Organization resources.",
"parameters": {
"pageSize": {
"type": "integer",
"description": "The maximum number of Organizations to return in the response. This field is optional.",
"format": "int32",
"location": "query"
},
"pageToken": {
"type": "string",
"description": "A pagination token returned from a previous call to ListOrganizations that indicates from where listing should continue. This field is optional.",
"location": "query"
},
"filter": {
"type": "string",
"description": "An optional query string used to filter the Organizations to be return in the response. Filter rules are case-insensitive. Organizations may be filtered by `owner.directoryCustomerId` or by `domain`, where the domain is a Google for Work domain, for example: |Filter|Description| |------|-----------| |owner.directorycustomerid:123456789|Organizations with `owner.directory_customer_id` equal to `123456789`.| |domain:google.com|Organizations corresponding to the domain `google.com`.| This field is optional.",
"location": "query"
}
},
"response": {
"$ref": "ListOrganizationsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"id": "cloudresourcemanager.organizations.get",
"path": "v1beta1/organizations/{organizationId}",
"httpMethod": "GET",
"description": "Fetches an Organization resource by id.",
"parameters": {
"organizationId": {
"type": "string",
"description": "The id of the Organization resource to fetch.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"organizationId"
],
"response": {
"$ref": "Organization"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"update": {
"id": "cloudresourcemanager.organizations.update",
"path": "v1beta1/organizations/{organizationId}",
"httpMethod": "PUT",
"description": "Updates an Organization resource.",
"parameters": {
"organizationId": {
"type": "string",
"description": "An immutable id for the Organization that is assigned on creation. This should be omitted when creating a new Organization. This field is read-only.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"organizationId"
],
"request": {
"$ref": "Organization"
},
"response": {
"$ref": "Organization"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setIamPolicy": {
"id": "cloudresourcemanager.organizations.setIamPolicy",
"path": "v1beta1/organizations/{resource}:setIamPolicy",
"httpMethod": "POST",
"description": "Sets the access control policy on a Organization resource. Replaces any existing policy.",
"parameters": {
"resource": {
"type": "string",
"description": "REQUIRED: The resource for which policy is being specified. `resource` is usually specified as a path, such as, `projects/{project}/zones/{zone}/disks/{disk}`.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"resource"
],
"request": {
"$ref": "SetIamPolicyRequest"
},
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getIamPolicy": {
"id": "cloudresourcemanager.organizations.getIamPolicy",
"path": "v1beta1/organizations/{resource}:getIamPolicy",
"httpMethod": "POST",
"description": "Gets the access control policy for a Organization resource. May be empty if no such policy or resource exists.",
"parameters": {
"resource": {
"type": "string",
"description": "REQUIRED: The resource for which policy is being requested. Resource is usually specified as a path, such as, `projects/{project}`.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"resource"
],
"request": {
"$ref": "GetIamPolicyRequest"
},
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"testIamPermissions": {
"id": "cloudresourcemanager.organizations.testIamPermissions",
"path": "v1beta1/organizations/{resource}:testIamPermissions",
"httpMethod": "POST",
"description": "Returns permissions that a caller has on the specified Organization.",
"parameters": {
"resource": {
"type": "string",
"description": "REQUIRED: The resource for which policy detail is being requested. `resource` is usually specified as a path, such as, `projects/{project}`.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"resource"
],
"request": {
"$ref": "TestIamPermissionsRequest"
},
"response": {
"$ref": "TestIamPermissionsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}

View File

@@ -0,0 +1,385 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/aRfd7FZnMyWmSYyC0t8ruQh7iCI\"",
"discoveryVersion": "v1",
"id": "cloudtrace:v1",
"name": "cloudtrace",
"version": "v1",
"revision": "20150825",
"title": "Google Cloud Trace API",
"description": "The Google Cloud Trace API provides services for reading and writing runtime trace data for Cloud applications.",
"ownerDomain": "google.com",
"ownerName": "Google",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"documentationLink": "https://cloud.google.com/tools/cloud-trace",
"protocol": "rest",
"baseUrl": "https://cloudtrace.googleapis.com/",
"basePath": "/",
"rootUrl": "https://cloudtrace.googleapis.com/",
"servicePath": "",
"batchPath": "batch",
"parameters": {
"access_token": {
"type": "string",
"description": "OAuth access token.",
"location": "query"
},
"alt": {
"type": "string",
"description": "Data format for response.",
"default": "json",
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location": "query"
},
"bearer_token": {
"type": "string",
"description": "OAuth bearer token.",
"location": "query"
},
"callback": {
"type": "string",
"description": "JSONP",
"location": "query"
},
"fields": {
"type": "string",
"description": "Selector specifying which fields to include in a partial response.",
"location": "query"
},
"key": {
"type": "string",
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location": "query"
},
"oauth_token": {
"type": "string",
"description": "OAuth 2.0 token for the current user.",
"location": "query"
},
"pp": {
"type": "boolean",
"description": "Pretty-print response.",
"default": "true",
"location": "query"
},
"prettyPrint": {
"type": "boolean",
"description": "Returns response with indentations and line breaks.",
"default": "true",
"location": "query"
},
"quotaUser": {
"type": "string",
"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.",
"location": "query"
},
"upload_protocol": {
"type": "string",
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query"
},
"uploadType": {
"type": "string",
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query"
},
"$.xgafv": {
"type": "string",
"description": "V1 error format.",
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query"
}
},
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
}
}
}
},
"schemas": {
"ListTracesResponse": {
"id": "ListTracesResponse",
"type": "object",
"description": "The response message for the ListTraces method.",
"properties": {
"traces": {
"type": "array",
"description": "The list of trace records returned.",
"items": {
"$ref": "Trace"
}
},
"nextPageToken": {
"type": "string",
"description": "If defined, indicates that there are more topics that match the request, and this value should be passed to the next ListTopicsRequest to continue."
}
}
},
"Trace": {
"id": "Trace",
"type": "object",
"description": "A Trace is a collection of spans describing the execution timings of a single operation.",
"properties": {
"projectId": {
"type": "string",
"description": "The Project ID of the Google Cloud project."
},
"traceId": {
"type": "string",
"description": "A 128-bit numeric value, formatted as a 32-byte hex string, that represents a trace. Each trace should have an identifier that is globally unique."
},
"spans": {
"type": "array",
"description": "The collection of span records within this trace. Spans that appear in calls to PatchTraces may be incomplete or partial.",
"items": {
"$ref": "TraceSpan"
}
}
}
},
"TraceSpan": {
"id": "TraceSpan",
"type": "object",
"description": "A span is the data recorded with a single span.",
"properties": {
"spanId": {
"type": "string",
"description": "Identifier of the span within the trace. Each span should have an identifier that is unique per trace.",
"format": "uint64"
},
"kind": {
"type": "string",
"description": "SpanKind distinguishes spans generated in a particular context. For example, two spans with the same name, one with the kind RPC_CLIENT, and the other with RPC_SERVER can indicate the queueing latency associated with the span.",
"enum": [
"SPAN_KIND_UNSPECIFIED",
"RPC_SERVER",
"RPC_CLIENT"
]
},
"name": {
"type": "string",
"description": "The name of the trace. This is sanitized and displayed on the UI. This may be a method name or some other per-callsite name. For the same binary and the same call point, it is a good practice to choose a consistent name in order to correlate cross-trace spans."
},
"startTime": {
"type": "string",
"description": "The start time of the span in nanoseconds from the UNIX epoch."
},
"endTime": {
"type": "string",
"description": "The end time of the span in nanoseconds from the UNIX epoch."
},
"parentSpanId": {
"type": "string",
"description": "Identifies the parent of the current span. May be missing. Serialized bytes representation of SpanId.",
"format": "uint64"
},
"labels": {
"type": "object",
"description": "Annotations via labels.",
"additionalProperties": {
"type": "string"
}
}
}
},
"Traces": {
"id": "Traces",
"type": "object",
"description": "A list of traces for the PatchTraces method.",
"properties": {
"traces": {
"type": "array",
"description": "A list of traces.",
"items": {
"$ref": "Trace"
}
}
}
},
"Empty": {
"id": "Empty",
"type": "object",
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`."
}
},
"resources": {
"projects": {
"methods": {
"patchTraces": {
"id": "cloudtrace.projects.patchTraces",
"path": "v1/projects/{projectId}/traces",
"httpMethod": "PATCH",
"description": "Updates the existing traces specified by PatchTracesRequest and inserts the new traces. Any existing trace or span fields included in an update are overwritten by the update, and any additional fields in an update are merged with the existing trace data.",
"parameters": {
"projectId": {
"type": "string",
"description": "The project id of the trace to patch.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"projectId"
],
"request": {
"$ref": "Traces"
},
"response": {
"$ref": "Empty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"traces": {
"methods": {
"list": {
"id": "cloudtrace.projects.traces.list",
"path": "v1/projects/{projectId}/traces",
"httpMethod": "GET",
"description": "List traces matching the filter expression.",
"parameters": {
"projectId": {
"type": "string",
"description": "The stringified-version of the project id.",
"required": true,
"location": "path"
},
"view": {
"type": "string",
"description": "ViewType specifies the projection of the result.",
"enum": [
"VIEW_TYPE_UNSPECIFIED",
"MINIMAL",
"ROOTSPAN",
"COMPLETE"
],
"location": "query"
},
"pageSize": {
"type": "integer",
"description": "Maximum number of topics to return. If not specified or \u003c= 0, the implementation will select a reasonable value. The implemenation may always return fewer than the requested page_size.",
"format": "int32",
"location": "query"
},
"pageToken": {
"type": "string",
"description": "The token identifying the page of results to return from the ListTraces method. If present, this value is should be taken from the next_page_token field of a previous ListTracesResponse.",
"location": "query"
},
"startTime": {
"type": "string",
"description": "End of the time interval (inclusive).",
"location": "query"
},
"endTime": {
"type": "string",
"description": "Start of the time interval (exclusive).",
"location": "query"
},
"filter": {
"type": "string",
"description": "An optional filter for the request.",
"location": "query"
},
"orderBy": {
"type": "string",
"description": "The trace field used to establish the order of traces returned by the ListTraces method. Possible options are: trace_id name (name field of root span) duration (different between end_time and start_time fields of root span) start (start_time field of root span) Descending order can be specified by appending \"desc\" to the sort field: name desc Only one sort field is permitted, though this may change in the future.",
"location": "query"
}
},
"parameterOrder": [
"projectId"
],
"response": {
"$ref": "ListTracesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"id": "cloudtrace.projects.traces.get",
"path": "v1/projects/{projectId}/traces/{traceId}",
"httpMethod": "GET",
"description": "Gets one trace by id.",
"parameters": {
"projectId": {
"type": "string",
"description": "The project id of the trace to return.",
"required": true,
"location": "path"
},
"traceId": {
"type": "string",
"description": "The trace id of the trace to return.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"projectId",
"traceId"
],
"response": {
"$ref": "Trace"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
},
"v1": {
"methods": {
"getDiscovery": {
"id": "cloudtrace.getDiscovery",
"path": "v1/discovery",
"httpMethod": "GET",
"description": "Returns a discovery document in the specified `format`. The typeurl in the returned google.protobuf.Any value depends on the requested format.",
"parameters": {
"format": {
"type": "string",
"description": "The format requested for discovery.",
"location": "query"
},
"labels": {
"type": "string",
"description": "A list of labels (like visibility) influencing the scope of the requested doc.",
"repeated": true,
"location": "query"
},
"version": {
"type": "string",
"description": "The API version of the requested discovery doc.",
"location": "query"
},
"args": {
"type": "string",
"description": "Any additional arguments.",
"repeated": true,
"location": "query"
}
}
}
}
}
}
}

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/WIF6fk5SYSeRQS6nHRyvbx1cRUs\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/U5phbNAYtMFFzg2kHw9za_VEak0\"",
"discoveryVersion": "v1",
"id": "clouduseraccounts:alpha",
"name": "clouduseraccounts",
"canonicalName": "Cloud User Accounts",
"version": "alpha",
"revision": "20150714",
"revision": "20150924",
"title": "Cloud User Accounts API",
"description": "API for the Google Cloud User Accounts service.",
"ownerDomain": "google.com",
@@ -73,17 +73,14 @@
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/cloud-platform.read-only": {
"description": "View your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/cloud.useraccounts": {
"description": "Manage your Google Cloud User Accounts"
},
"https://www.googleapis.com/auth/cloud.useraccounts.readonly": {
"description": "View your Google Cloud User Accounts"
},
"https://www.googleapis.com/auth/computeaccounts": {
"description": "Manage your Google Compute Accounts"
},
"https://www.googleapis.com/auth/computeaccounts.readonly": {
"description": "View your Google Compute Accounts"
}
}
}
@@ -100,6 +97,102 @@
"items": {
"type": "string"
}
},
"sudoer": {
"type": "boolean",
"description": "[Output Only] Whether the user has the ability to elevate on the instance that requested the authorized keys."
}
}
},
"Binding": {
"id": "Binding",
"type": "object",
"description": "Associates `members` with a `role`.",
"properties": {
"members": {
"type": "array",
"description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following formats:\n\n* `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`.\n\n* `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.",
"items": {
"type": "string"
}
},
"role": {
"type": "string",
"description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`."
}
}
},
"Condition": {
"id": "Condition",
"type": "object",
"description": "A condition to be met.",
"properties": {
"iam": {
"type": "string",
"description": "Trusted attributes supplied by the IAM system.",
"enum": [
"ATTRIBUTION",
"AUTHORITY",
"NO_ATTR"
],
"enumDescriptions": [
"",
"",
""
]
},
"op": {
"type": "string",
"description": "An operator to apply the subject with.",
"enum": [
"DISCHARGED",
"EQUALS",
"IN",
"NOT_EQUALS",
"NOT_IN",
"NO_OP"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
""
]
},
"svc": {
"type": "string",
"description": "Trusted attributes discharged by the service."
},
"sys": {
"type": "string",
"description": "Trusted attributes supplied by any service that owns resources and uses the IAM system for access control.",
"enum": [
"IP",
"NAME",
"NO_ATTR",
"REGION",
"SERVICE"
],
"enumDescriptions": [
"",
"",
"",
"",
""
]
},
"value": {
"type": "string",
"description": "The object of the condition. Exactly one of these must be set."
},
"values": {
"type": "array",
"description": "The objects of the condition. This is mutually exclusive with 'value'.",
"items": {
"type": "string"
}
}
}
},
@@ -307,6 +400,32 @@
}
}
},
"LogConfig": {
"id": "LogConfig",
"type": "object",
"description": "Specifies what kind of log the caller must write",
"properties": {
"counter": {
"$ref": "LogConfigCounterOptions",
"description": "Counter options."
}
}
},
"LogConfigCounterOptions": {
"id": "LogConfigCounterOptions",
"type": "object",
"description": "Options for counters",
"properties": {
"field": {
"type": "string",
"description": "The field value to attribute."
},
"metric": {
"type": "string",
"description": "The metric to update."
}
}
},
"Operation": {
"id": "Operation",
"type": "object",
@@ -371,7 +490,7 @@
},
"kind": {
"type": "string",
"description": "[Output Only] Type of the resource. Always compute#Operation for Operation resources.",
"description": "[Output Only] Type of the resource. Always compute#operation for Operation resources.",
"default": "clouduseraccounts#operation"
},
"name": {
@@ -380,7 +499,7 @@
},
"operationType": {
"type": "string",
"description": "[Output Only] Type of the operation, such as insert, update, and delete."
"description": "[Output Only] Type of the operation, such as insert, compute.instanceGroups.update, or compute.instanceGroups.delete."
},
"progress": {
"type": "integer",
@@ -393,7 +512,7 @@
},
"selfLink": {
"type": "string",
"description": "[Output Only] Server defined URL for the resource."
"description": "[Output Only] Server-defined URL for the resource."
},
"startTime": {
"type": "string",
@@ -529,7 +648,38 @@
},
"selfLink": {
"type": "string",
"description": "[Output Only] Server defined URL for this resource."
"description": "[Output Only] Server-defined URL for this resource."
}
}
},
"Policy": {
"id": "Policy",
"type": "object",
"description": "Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.\n\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM.\n\n**Example**\n\n{ \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-other-app@appspot.gserviceaccount.com\"] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] }\n\nFor a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam).",
"properties": {
"bindings": {
"type": "array",
"description": "Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.",
"items": {
"$ref": "Binding"
}
},
"etag": {
"type": "string",
"description": "Can be used to perform a read-modify-write.",
"format": "byte"
},
"rules": {
"type": "array",
"description": "",
"items": {
"$ref": "Rule"
}
},
"version": {
"type": "integer",
"description": "Version of the `Policy`. The default version is 0.",
"format": "int32"
}
}
},
@@ -560,6 +710,98 @@
}
}
},
"Rule": {
"id": "Rule",
"type": "object",
"description": "A rule to be applied in a Policy.",
"properties": {
"action": {
"type": "string",
"description": "Required",
"enum": [
"ALLOW",
"ALLOW_WITH_LOG",
"DENY",
"DENY_WITH_LOG",
"LOG",
"NO_ACTION"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
""
]
},
"conditions": {
"type": "array",
"description": "Additional restrictions that must be met",
"items": {
"$ref": "Condition"
}
},
"description": {
"type": "string",
"description": "Human-readable description of the rule."
},
"ins": {
"type": "array",
"description": "The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in this set of entries.",
"items": {
"type": "string"
}
},
"logConfigs": {
"type": "array",
"description": "The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.",
"items": {
"$ref": "LogConfig"
}
},
"notIns": {
"type": "array",
"description": "The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is not in this set of entries.",
"items": {
"type": "string"
}
},
"permissions": {
"type": "array",
"description": "A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.",
"items": {
"type": "string"
}
}
}
},
"TestPermissionsRequest": {
"id": "TestPermissionsRequest",
"type": "object",
"properties": {
"permissions": {
"type": "array",
"description": "The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.",
"items": {
"type": "string"
}
}
}
},
"TestPermissionsResponse": {
"id": "TestPermissionsResponse",
"type": "object",
"properties": {
"permissions": {
"type": "array",
"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.",
"items": {
"type": "string"
}
}
}
},
"User": {
"id": "User",
"type": "object",
@@ -683,8 +925,7 @@
],
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts"
]
},
"get": {
@@ -717,10 +958,9 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly",
"https://www.googleapis.com/auth/computeaccounts",
"https://www.googleapis.com/auth/computeaccounts.readonly"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"list": {
@@ -731,7 +971,7 @@
"parameters": {
"filter": {
"type": "string",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must contain the following:\nFIELD_NAME COMPARISON_STRING LITERAL_STRING\n \n- FIELD_NAME: The name of the field you want to compare. The field name must be valid for the type of resource being filtered. Only atomic field types are supported (string, number, boolean). Array and object fields are not currently supported. \n- COMPARISON_STRING: The comparison string, either eq (equals) or ne (not equals). \n- LITERAL_STRING: The literal string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. For example, you can filter by the name of a resource:\nfilter=name ne example-instance\nThe above filter returns only results whose name field does not equal example-instance. You can also enclose your literal string in single, double, or no quotes.",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.\n\nThe FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, filter=name ne example-instance.",
"location": "query"
},
"maxResults": {
@@ -769,10 +1009,9 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly",
"https://www.googleapis.com/auth/computeaccounts",
"https://www.googleapis.com/auth/computeaccounts.readonly"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
}
}
@@ -812,8 +1051,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts"
]
},
"delete": {
@@ -846,8 +1084,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts"
]
},
"get": {
@@ -880,10 +1117,44 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly",
"https://www.googleapis.com/auth/computeaccounts",
"https://www.googleapis.com/auth/computeaccounts.readonly"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"getIamPolicy": {
"id": "clouduseraccounts.groups.getIamPolicy",
"path": "{project}/global/groups/{resource}/getIamPolicy",
"httpMethod": "GET",
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
"parameters": {
"project": {
"type": "string",
"description": "Project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
},
"resource": {
"type": "string",
"description": "Name of the resource for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
"location": "path"
}
},
"parameterOrder": [
"project",
"resource"
],
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"insert": {
@@ -911,8 +1182,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts"
]
},
"list": {
@@ -923,7 +1193,7 @@
"parameters": {
"filter": {
"type": "string",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must contain the following:\nFIELD_NAME COMPARISON_STRING LITERAL_STRING\n \n- FIELD_NAME: The name of the field you want to compare. The field name must be valid for the type of resource being filtered. Only atomic field types are supported (string, number, boolean). Array and object fields are not currently supported. \n- COMPARISON_STRING: The comparison string, either eq (equals) or ne (not equals). \n- LITERAL_STRING: The literal string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. For example, you can filter by the name of a resource:\nfilter=name ne example-instance\nThe above filter returns only results whose name field does not equal example-instance. You can also enclose your literal string in single, double, or no quotes.",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.\n\nThe FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, filter=name ne example-instance.",
"location": "query"
},
"maxResults": {
@@ -961,10 +1231,9 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly",
"https://www.googleapis.com/auth/computeaccounts",
"https://www.googleapis.com/auth/computeaccounts.readonly"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"removeMember": {
@@ -1000,8 +1269,83 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts"
]
},
"setIamPolicy": {
"id": "clouduseraccounts.groups.setIamPolicy",
"path": "{project}/global/groups/{resource}/setIamPolicy",
"httpMethod": "POST",
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
"parameters": {
"project": {
"type": "string",
"description": "Project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
},
"resource": {
"type": "string",
"description": "Name of the resource for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
"location": "path"
}
},
"parameterOrder": [
"project",
"resource"
],
"request": {
"$ref": "Policy"
},
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"testIamPermissions": {
"id": "clouduseraccounts.groups.testIamPermissions",
"path": "{project}/global/groups/{resource}/testIamPermissions",
"httpMethod": "POST",
"description": "Returns permissions that a caller has on the specified resource.",
"parameters": {
"project": {
"type": "string",
"description": "Project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
},
"resource": {
"type": "string",
"description": "Name of the resource for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
"location": "path"
}
},
"parameterOrder": [
"project",
"resource"
],
"request": {
"$ref": "TestPermissionsRequest"
},
"response": {
"$ref": "TestPermissionsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
}
}
@@ -1020,6 +1364,11 @@
"required": true,
"location": "query"
},
"login": {
"type": "boolean",
"description": "Whether the view was requested as part of a user-initiated login.",
"location": "query"
},
"project": {
"type": "string",
"description": "Project ID for this request.",
@@ -1053,10 +1402,9 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly",
"https://www.googleapis.com/auth/computeaccounts",
"https://www.googleapis.com/auth/computeaccounts.readonly"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"getLinuxAccountViews": {
@@ -1067,7 +1415,7 @@
"parameters": {
"filter": {
"type": "string",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must contain the following:\nFIELD_NAME COMPARISON_STRING LITERAL_STRING\n \n- FIELD_NAME: The name of the field you want to compare. The field name must be valid for the type of resource being filtered. Only atomic field types are supported (string, number, boolean). Array and object fields are not currently supported. \n- COMPARISON_STRING: The comparison string, either eq (equals) or ne (not equals). \n- LITERAL_STRING: The literal string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. For example, you can filter by the name of a resource:\nfilter=name ne example-instance\nThe above filter returns only results whose name field does not equal example-instance. You can also enclose your literal string in single, double, or no quotes.",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.\n\nThe FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, filter=name ne example-instance.",
"location": "query"
},
"instance": {
@@ -1120,10 +1468,9 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly",
"https://www.googleapis.com/auth/computeaccounts",
"https://www.googleapis.com/auth/computeaccounts.readonly"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
}
}
@@ -1163,8 +1510,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts"
]
},
"delete": {
@@ -1197,8 +1543,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts"
]
},
"get": {
@@ -1231,10 +1576,44 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly",
"https://www.googleapis.com/auth/computeaccounts",
"https://www.googleapis.com/auth/computeaccounts.readonly"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"getIamPolicy": {
"id": "clouduseraccounts.users.getIamPolicy",
"path": "{project}/global/users/{resource}/getIamPolicy",
"httpMethod": "GET",
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
"parameters": {
"project": {
"type": "string",
"description": "Project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
},
"resource": {
"type": "string",
"description": "Name of the resource for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
"location": "path"
}
},
"parameterOrder": [
"project",
"resource"
],
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"insert": {
@@ -1262,8 +1641,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts"
]
},
"list": {
@@ -1274,7 +1652,7 @@
"parameters": {
"filter": {
"type": "string",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must contain the following:\nFIELD_NAME COMPARISON_STRING LITERAL_STRING\n \n- FIELD_NAME: The name of the field you want to compare. The field name must be valid for the type of resource being filtered. Only atomic field types are supported (string, number, boolean). Array and object fields are not currently supported. \n- COMPARISON_STRING: The comparison string, either eq (equals) or ne (not equals). \n- LITERAL_STRING: The literal string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. For example, you can filter by the name of a resource:\nfilter=name ne example-instance\nThe above filter returns only results whose name field does not equal example-instance. You can also enclose your literal string in single, double, or no quotes.",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.\n\nThe FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, filter=name ne example-instance.",
"location": "query"
},
"maxResults": {
@@ -1312,10 +1690,9 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly",
"https://www.googleapis.com/auth/computeaccounts",
"https://www.googleapis.com/auth/computeaccounts.readonly"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"removePublicKey": {
@@ -1356,8 +1733,83 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts"
]
},
"setIamPolicy": {
"id": "clouduseraccounts.users.setIamPolicy",
"path": "{project}/global/users/{resource}/setIamPolicy",
"httpMethod": "POST",
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
"parameters": {
"project": {
"type": "string",
"description": "Project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
},
"resource": {
"type": "string",
"description": "Name of the resource for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
"location": "path"
}
},
"parameterOrder": [
"project",
"resource"
],
"request": {
"$ref": "Policy"
},
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"testIamPermissions": {
"id": "clouduseraccounts.users.testIamPermissions",
"path": "{project}/global/users/{resource}/testIamPermissions",
"httpMethod": "POST",
"description": "Returns permissions that a caller has on the specified resource.",
"parameters": {
"project": {
"type": "string",
"description": "Project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
},
"resource": {
"type": "string",
"description": "Name of the resource for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
"location": "path"
}
},
"parameterOrder": [
"project",
"resource"
],
"request": {
"$ref": "TestPermissionsRequest"
},
"response": {
"$ref": "TestPermissionsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
}
}

View File

@@ -1,14 +1,14 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/E7cd_p6Q6F5Fnwd8jt7TC5Xxeg8\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/D519M8l2K6nc5aW0Rrh50t4ZQRE\"",
"discoveryVersion": "v1",
"id": "computeaccounts:alpha",
"name": "computeaccounts",
"canonicalName": "Compute Accounts",
"version": "alpha",
"revision": "20150622",
"title": "Compute Accounts API",
"description": "API for the Google Compute Accounts service.",
"id": "clouduseraccounts:beta",
"name": "clouduseraccounts",
"canonicalName": "Cloud User Accounts",
"version": "beta",
"revision": "20150924",
"title": "Cloud User Accounts API",
"description": "API for the Google Cloud User Accounts service.",
"ownerDomain": "google.com",
"ownerName": "Google",
"icons": {
@@ -17,10 +17,10 @@
},
"documentationLink": "https://cloud.google.com/compute/docs/access/user-accounts/api/latest/",
"protocol": "rest",
"baseUrl": "https://www.googleapis.com/computeaccounts/alpha/projects/",
"basePath": "/computeaccounts/alpha/projects/",
"baseUrl": "https://www.googleapis.com/clouduseraccounts/beta/projects/",
"basePath": "/clouduseraccounts/beta/projects/",
"rootUrl": "https://www.googleapis.com/",
"servicePath": "computeaccounts/alpha/projects/",
"servicePath": "clouduseraccounts/beta/projects/",
"batchPath": "batch",
"parameters": {
"alt": {
@@ -73,17 +73,14 @@
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/cloud-platform.read-only": {
"description": "View your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/cloud.useraccounts": {
"description": "Manage your Google Cloud User Accounts"
},
"https://www.googleapis.com/auth/cloud.useraccounts.readonly": {
"description": "View your Google Cloud User Accounts"
},
"https://www.googleapis.com/auth/computeaccounts": {
"description": "Manage your Google Compute Accounts"
},
"https://www.googleapis.com/auth/computeaccounts.readonly": {
"description": "View your Google Compute Accounts"
}
}
}
@@ -100,6 +97,10 @@
"items": {
"type": "string"
}
},
"sudoer": {
"type": "boolean",
"description": "[Output Only] Whether the user has the ability to elevate on the instance that requested the authorized keys."
}
}
},
@@ -124,7 +125,7 @@
"kind": {
"type": "string",
"description": "[Output Only] Type of the resource. Always clouduseraccounts#group for groups.",
"default": "computeaccounts#group"
"default": "clouduseraccounts#group"
},
"members": {
"type": "array",
@@ -136,7 +137,12 @@
"name": {
"type": "string",
"description": "Name of the resource; provided by the client when the resource is created.",
"pattern": "[a-z][-a-z0-9_]{0,31}"
"pattern": "[a-z][-a-z0-9_]{0,31}",
"annotations": {
"required": [
"clouduseraccounts.groups.insert"
]
}
},
"selfLink": {
"type": "string",
@@ -162,7 +168,7 @@
"kind": {
"type": "string",
"description": "[Output Only] Type of resource. Always clouduseraccounts#groupList for lists of groups.",
"default": "computeaccounts#groupList"
"default": "clouduseraccounts#groupList"
},
"nextPageToken": {
"type": "string",
@@ -215,7 +221,7 @@
"kind": {
"type": "string",
"description": "[Output Only] Type of the resource. Always clouduseraccounts#linuxAccountViews for Linux resources.",
"default": "computeaccounts#linuxAccountViews"
"default": "clouduseraccounts#linuxAccountViews"
},
"userViews": {
"type": "array",
@@ -366,8 +372,8 @@
},
"kind": {
"type": "string",
"description": "[Output Only] Type of the resource. Always compute#Operation for Operation resources.",
"default": "computeaccounts#operation"
"description": "[Output Only] Type of the resource. Always compute#operation for Operation resources.",
"default": "clouduseraccounts#operation"
},
"name": {
"type": "string",
@@ -375,7 +381,7 @@
},
"operationType": {
"type": "string",
"description": "[Output Only] Type of the operation, such as insert, update, and delete."
"description": "[Output Only] Type of the operation, such as insert, compute.instanceGroups.update, or compute.instanceGroups.delete."
},
"progress": {
"type": "integer",
@@ -388,7 +394,7 @@
},
"selfLink": {
"type": "string",
"description": "[Output Only] Server defined URL for the resource."
"description": "[Output Only] Server-defined URL for the resource."
},
"startTime": {
"type": "string",
@@ -516,7 +522,7 @@
"kind": {
"type": "string",
"description": "[Output Only] Type of resource. Always compute#operations for Operations resource.",
"default": "computeaccounts#operationList"
"default": "clouduseraccounts#operationList"
},
"nextPageToken": {
"type": "string",
@@ -524,7 +530,7 @@
},
"selfLink": {
"type": "string",
"description": "[Output Only] Server defined URL for this resource."
"description": "[Output Only] Server-defined URL for this resource."
}
}
},
@@ -583,16 +589,26 @@
"kind": {
"type": "string",
"description": "[Output Only] Type of the resource. Always clouduseraccounts#user for users.",
"default": "computeaccounts#user"
"default": "clouduseraccounts#user"
},
"name": {
"type": "string",
"description": "Name of the resource; provided by the client when the resource is created.",
"pattern": "[a-z][-a-z0-9_]{0,31}"
"pattern": "[a-z][-a-z0-9_]{0,31}",
"annotations": {
"required": [
"clouduseraccounts.users.insert"
]
}
},
"owner": {
"type": "string",
"description": "Email address of account's owner. This account will be validated to make sure it exists. The email can belong to any domain, but it must be tied to a Google account."
"description": "Email address of account's owner. This account will be validated to make sure it exists. The email can belong to any domain, but it must be tied to a Google account.",
"annotations": {
"required": [
"clouduseraccounts.users.insert"
]
}
},
"publicKeys": {
"type": "array",
@@ -625,7 +641,7 @@
"kind": {
"type": "string",
"description": "[Output Only] Type of resource. Always clouduseraccounts#userList for lists of users.",
"default": "computeaccounts#userList"
"default": "clouduseraccounts#userList"
},
"nextPageToken": {
"type": "string",
@@ -642,7 +658,7 @@
"globalAccountsOperations": {
"methods": {
"delete": {
"id": "computeaccounts.globalAccountsOperations.delete",
"id": "clouduseraccounts.globalAccountsOperations.delete",
"path": "{project}/global/operations/{operation}",
"httpMethod": "DELETE",
"description": "Deletes the specified operation resource.",
@@ -668,12 +684,11 @@
],
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts"
]
},
"get": {
"id": "computeaccounts.globalAccountsOperations.get",
"id": "clouduseraccounts.globalAccountsOperations.get",
"path": "{project}/global/operations/{operation}",
"httpMethod": "GET",
"description": "Retrieves the specified operation resource.",
@@ -702,21 +717,20 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly",
"https://www.googleapis.com/auth/computeaccounts",
"https://www.googleapis.com/auth/computeaccounts.readonly"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"list": {
"id": "computeaccounts.globalAccountsOperations.list",
"id": "clouduseraccounts.globalAccountsOperations.list",
"path": "{project}/global/operations",
"httpMethod": "GET",
"description": "Retrieves the list of operation resources contained within the specified project.",
"parameters": {
"filter": {
"type": "string",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must contain the following:\nFIELD_NAME COMPARISON_STRING LITERAL_STRING\n \n- FIELD_NAME: The name of the field you want to compare. The field name must be valid for the type of resource being filtered. Only atomic field types are supported (string, number, boolean). Array and object fields are not currently supported. \n- COMPARISON_STRING: The comparison string, either eq (equals) or ne (not equals). \n- LITERAL_STRING: The literal string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. For example, you can filter by the name of a resource:\nfilter=name ne example-instance\nThe above filter returns only results whose name field does not equal example-instance. You can also enclose your literal string in single, double, or no quotes.",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.\n\nThe FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, filter=name ne example-instance.",
"location": "query"
},
"maxResults": {
@@ -754,10 +768,9 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly",
"https://www.googleapis.com/auth/computeaccounts",
"https://www.googleapis.com/auth/computeaccounts.readonly"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
}
}
@@ -765,7 +778,7 @@
"groups": {
"methods": {
"addMember": {
"id": "computeaccounts.groups.addMember",
"id": "clouduseraccounts.groups.addMember",
"path": "{project}/global/groups/{groupName}/addMember",
"httpMethod": "POST",
"description": "Adds users to the specified group.",
@@ -797,12 +810,11 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts"
]
},
"delete": {
"id": "computeaccounts.groups.delete",
"id": "clouduseraccounts.groups.delete",
"path": "{project}/global/groups/{groupName}",
"httpMethod": "DELETE",
"description": "Deletes the specified Group resource.",
@@ -831,12 +843,11 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts"
]
},
"get": {
"id": "computeaccounts.groups.get",
"id": "clouduseraccounts.groups.get",
"path": "{project}/global/groups/{groupName}",
"httpMethod": "GET",
"description": "Returns the specified Group resource.",
@@ -865,14 +876,13 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly",
"https://www.googleapis.com/auth/computeaccounts",
"https://www.googleapis.com/auth/computeaccounts.readonly"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"insert": {
"id": "computeaccounts.groups.insert",
"id": "clouduseraccounts.groups.insert",
"path": "{project}/global/groups",
"httpMethod": "POST",
"description": "Creates a Group resource in the specified project using the data included in the request.",
@@ -896,19 +906,18 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts"
]
},
"list": {
"id": "computeaccounts.groups.list",
"id": "clouduseraccounts.groups.list",
"path": "{project}/global/groups",
"httpMethod": "GET",
"description": "Retrieves the list of groups contained within the specified project.",
"parameters": {
"filter": {
"type": "string",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must contain the following:\nFIELD_NAME COMPARISON_STRING LITERAL_STRING\n \n- FIELD_NAME: The name of the field you want to compare. The field name must be valid for the type of resource being filtered. Only atomic field types are supported (string, number, boolean). Array and object fields are not currently supported. \n- COMPARISON_STRING: The comparison string, either eq (equals) or ne (not equals). \n- LITERAL_STRING: The literal string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. For example, you can filter by the name of a resource:\nfilter=name ne example-instance\nThe above filter returns only results whose name field does not equal example-instance. You can also enclose your literal string in single, double, or no quotes.",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.\n\nThe FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, filter=name ne example-instance.",
"location": "query"
},
"maxResults": {
@@ -946,14 +955,13 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly",
"https://www.googleapis.com/auth/computeaccounts",
"https://www.googleapis.com/auth/computeaccounts.readonly"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"removeMember": {
"id": "computeaccounts.groups.removeMember",
"id": "clouduseraccounts.groups.removeMember",
"path": "{project}/global/groups/{groupName}/removeMember",
"httpMethod": "POST",
"description": "Removes users from the specified group.",
@@ -985,8 +993,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts"
]
}
}
@@ -994,7 +1001,7 @@
"linux": {
"methods": {
"getAuthorizedKeysView": {
"id": "computeaccounts.linux.getAuthorizedKeysView",
"id": "clouduseraccounts.linux.getAuthorizedKeysView",
"path": "{project}/zones/{zone}/authorizedKeysView/{user}",
"httpMethod": "POST",
"description": "Returns a list of authorized public keys for a specific user account.",
@@ -1005,6 +1012,11 @@
"required": true,
"location": "query"
},
"login": {
"type": "boolean",
"description": "Whether the view was requested as part of a user-initiated login.",
"location": "query"
},
"project": {
"type": "string",
"description": "Project ID for this request.",
@@ -1038,21 +1050,20 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly",
"https://www.googleapis.com/auth/computeaccounts",
"https://www.googleapis.com/auth/computeaccounts.readonly"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"getLinuxAccountViews": {
"id": "computeaccounts.linux.getLinuxAccountViews",
"id": "clouduseraccounts.linux.getLinuxAccountViews",
"path": "{project}/zones/{zone}/linuxAccountViews",
"httpMethod": "POST",
"description": "Retrieves a list of user accounts for an instance within a specific project.",
"parameters": {
"filter": {
"type": "string",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must contain the following:\nFIELD_NAME COMPARISON_STRING LITERAL_STRING\n \n- FIELD_NAME: The name of the field you want to compare. The field name must be valid for the type of resource being filtered. Only atomic field types are supported (string, number, boolean). Array and object fields are not currently supported. \n- COMPARISON_STRING: The comparison string, either eq (equals) or ne (not equals). \n- LITERAL_STRING: The literal string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. For example, you can filter by the name of a resource:\nfilter=name ne example-instance\nThe above filter returns only results whose name field does not equal example-instance. You can also enclose your literal string in single, double, or no quotes.",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.\n\nThe FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, filter=name ne example-instance.",
"location": "query"
},
"instance": {
@@ -1087,12 +1098,6 @@
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
},
"user": {
"type": "string",
"description": "If provided, the user requesting the views. If left blank, the system is requesting the views, instead of a particular user.",
"pattern": "[a-z][-a-z0-9_]{0,31}",
"location": "query"
},
"zone": {
"type": "string",
"description": "Name of the zone for this request.",
@@ -1111,10 +1116,9 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly",
"https://www.googleapis.com/auth/computeaccounts",
"https://www.googleapis.com/auth/computeaccounts.readonly"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
}
}
@@ -1122,7 +1126,7 @@
"users": {
"methods": {
"addPublicKey": {
"id": "computeaccounts.users.addPublicKey",
"id": "clouduseraccounts.users.addPublicKey",
"path": "{project}/global/users/{user}/addPublicKey",
"httpMethod": "POST",
"description": "Adds a public key to the specified User resource with the data included in the request.",
@@ -1154,12 +1158,11 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts"
]
},
"delete": {
"id": "computeaccounts.users.delete",
"id": "clouduseraccounts.users.delete",
"path": "{project}/global/users/{user}",
"httpMethod": "DELETE",
"description": "Deletes the specified User resource.",
@@ -1188,12 +1191,11 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts"
]
},
"get": {
"id": "computeaccounts.users.get",
"id": "clouduseraccounts.users.get",
"path": "{project}/global/users/{user}",
"httpMethod": "GET",
"description": "Returns the specified User resource.",
@@ -1222,14 +1224,13 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly",
"https://www.googleapis.com/auth/computeaccounts",
"https://www.googleapis.com/auth/computeaccounts.readonly"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"insert": {
"id": "computeaccounts.users.insert",
"id": "clouduseraccounts.users.insert",
"path": "{project}/global/users",
"httpMethod": "POST",
"description": "Creates a User resource in the specified project using the data included in the request.",
@@ -1253,19 +1254,18 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts"
]
},
"list": {
"id": "computeaccounts.users.list",
"id": "clouduseraccounts.users.list",
"path": "{project}/global/users",
"httpMethod": "GET",
"description": "Retrieves a list of users contained within the specified project.",
"parameters": {
"filter": {
"type": "string",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must contain the following:\nFIELD_NAME COMPARISON_STRING LITERAL_STRING\n \n- FIELD_NAME: The name of the field you want to compare. The field name must be valid for the type of resource being filtered. Only atomic field types are supported (string, number, boolean). Array and object fields are not currently supported. \n- COMPARISON_STRING: The comparison string, either eq (equals) or ne (not equals). \n- LITERAL_STRING: The literal string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. For example, you can filter by the name of a resource:\nfilter=name ne example-instance\nThe above filter returns only results whose name field does not equal example-instance. You can also enclose your literal string in single, double, or no quotes.",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.\n\nThe FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, filter=name ne example-instance.",
"location": "query"
},
"maxResults": {
@@ -1303,14 +1303,13 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly",
"https://www.googleapis.com/auth/computeaccounts",
"https://www.googleapis.com/auth/computeaccounts.readonly"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"removePublicKey": {
"id": "computeaccounts.users.removePublicKey",
"id": "clouduseraccounts.users.removePublicKey",
"path": "{project}/global/users/{user}/removePublicKey",
"httpMethod": "POST",
"description": "Removes the specified public key from the user.",
@@ -1347,8 +1346,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts"
]
}
}

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/BpR07_0y6yfGK4qx0cJgXMHUdjo\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/0MIiLWWcykp_nkLBfG8-4z5ddAA\"",
"discoveryVersion": "v1",
"id": "clouduseraccounts:vm_alpha",
"name": "clouduseraccounts",
"canonicalName": "Cloud User Accounts",
"version": "vm_alpha",
"revision": "20150714",
"revision": "20150924",
"title": "Cloud User Accounts API",
"description": "API for the Google Cloud User Accounts service.",
"ownerDomain": "google.com",
@@ -73,17 +73,14 @@
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/cloud-platform.read-only": {
"description": "View your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/cloud.useraccounts": {
"description": "Manage your Google Cloud User Accounts"
},
"https://www.googleapis.com/auth/cloud.useraccounts.readonly": {
"description": "View your Google Cloud User Accounts"
},
"https://www.googleapis.com/auth/computeaccounts": {
"description": "Manage your Google Compute Accounts"
},
"https://www.googleapis.com/auth/computeaccounts.readonly": {
"description": "View your Google Compute Accounts"
}
}
}
@@ -100,6 +97,102 @@
"items": {
"type": "string"
}
},
"sudoer": {
"type": "boolean",
"description": "[Output Only] Whether the user has the ability to elevate on the instance that requested the authorized keys."
}
}
},
"Binding": {
"id": "Binding",
"type": "object",
"description": "Associates `members` with a `role`.",
"properties": {
"members": {
"type": "array",
"description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following formats:\n\n* `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`.\n\n* `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.",
"items": {
"type": "string"
}
},
"role": {
"type": "string",
"description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`."
}
}
},
"Condition": {
"id": "Condition",
"type": "object",
"description": "A condition to be met.",
"properties": {
"iam": {
"type": "string",
"description": "Trusted attributes supplied by the IAM system.",
"enum": [
"ATTRIBUTION",
"AUTHORITY",
"NO_ATTR"
],
"enumDescriptions": [
"",
"",
""
]
},
"op": {
"type": "string",
"description": "An operator to apply the subject with.",
"enum": [
"DISCHARGED",
"EQUALS",
"IN",
"NOT_EQUALS",
"NOT_IN",
"NO_OP"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
""
]
},
"svc": {
"type": "string",
"description": "Trusted attributes discharged by the service."
},
"sys": {
"type": "string",
"description": "Trusted attributes supplied by any service that owns resources and uses the IAM system for access control.",
"enum": [
"IP",
"NAME",
"NO_ATTR",
"REGION",
"SERVICE"
],
"enumDescriptions": [
"",
"",
"",
"",
""
]
},
"value": {
"type": "string",
"description": "The object of the condition. Exactly one of these must be set."
},
"values": {
"type": "array",
"description": "The objects of the condition. This is mutually exclusive with 'value'.",
"items": {
"type": "string"
}
}
}
},
@@ -307,6 +400,32 @@
}
}
},
"LogConfig": {
"id": "LogConfig",
"type": "object",
"description": "Specifies what kind of log the caller must write",
"properties": {
"counter": {
"$ref": "LogConfigCounterOptions",
"description": "Counter options."
}
}
},
"LogConfigCounterOptions": {
"id": "LogConfigCounterOptions",
"type": "object",
"description": "Options for counters",
"properties": {
"field": {
"type": "string",
"description": "The field value to attribute."
},
"metric": {
"type": "string",
"description": "The metric to update."
}
}
},
"Operation": {
"id": "Operation",
"type": "object",
@@ -371,7 +490,7 @@
},
"kind": {
"type": "string",
"description": "[Output Only] Type of the resource. Always compute#Operation for Operation resources.",
"description": "[Output Only] Type of the resource. Always compute#operation for Operation resources.",
"default": "clouduseraccounts#operation"
},
"name": {
@@ -380,7 +499,7 @@
},
"operationType": {
"type": "string",
"description": "[Output Only] Type of the operation, such as insert, update, and delete."
"description": "[Output Only] Type of the operation, such as insert, compute.instanceGroups.update, or compute.instanceGroups.delete."
},
"progress": {
"type": "integer",
@@ -393,7 +512,7 @@
},
"selfLink": {
"type": "string",
"description": "[Output Only] Server defined URL for the resource."
"description": "[Output Only] Server-defined URL for the resource."
},
"startTime": {
"type": "string",
@@ -529,7 +648,38 @@
},
"selfLink": {
"type": "string",
"description": "[Output Only] Server defined URL for this resource."
"description": "[Output Only] Server-defined URL for this resource."
}
}
},
"Policy": {
"id": "Policy",
"type": "object",
"description": "Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.\n\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM.\n\n**Example**\n\n{ \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-other-app@appspot.gserviceaccount.com\"] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] }\n\nFor a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam).",
"properties": {
"bindings": {
"type": "array",
"description": "Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.",
"items": {
"$ref": "Binding"
}
},
"etag": {
"type": "string",
"description": "Can be used to perform a read-modify-write.",
"format": "byte"
},
"rules": {
"type": "array",
"description": "",
"items": {
"$ref": "Rule"
}
},
"version": {
"type": "integer",
"description": "Version of the `Policy`. The default version is 0.",
"format": "int32"
}
}
},
@@ -560,6 +710,98 @@
}
}
},
"Rule": {
"id": "Rule",
"type": "object",
"description": "A rule to be applied in a Policy.",
"properties": {
"action": {
"type": "string",
"description": "Required",
"enum": [
"ALLOW",
"ALLOW_WITH_LOG",
"DENY",
"DENY_WITH_LOG",
"LOG",
"NO_ACTION"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
""
]
},
"conditions": {
"type": "array",
"description": "Additional restrictions that must be met",
"items": {
"$ref": "Condition"
}
},
"description": {
"type": "string",
"description": "Human-readable description of the rule."
},
"ins": {
"type": "array",
"description": "The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in this set of entries.",
"items": {
"type": "string"
}
},
"logConfigs": {
"type": "array",
"description": "The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.",
"items": {
"$ref": "LogConfig"
}
},
"notIns": {
"type": "array",
"description": "The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is not in this set of entries.",
"items": {
"type": "string"
}
},
"permissions": {
"type": "array",
"description": "A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.",
"items": {
"type": "string"
}
}
}
},
"TestPermissionsRequest": {
"id": "TestPermissionsRequest",
"type": "object",
"properties": {
"permissions": {
"type": "array",
"description": "The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.",
"items": {
"type": "string"
}
}
}
},
"TestPermissionsResponse": {
"id": "TestPermissionsResponse",
"type": "object",
"properties": {
"permissions": {
"type": "array",
"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.",
"items": {
"type": "string"
}
}
}
},
"User": {
"id": "User",
"type": "object",
@@ -683,8 +925,7 @@
],
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts"
]
},
"get": {
@@ -717,10 +958,9 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly",
"https://www.googleapis.com/auth/computeaccounts",
"https://www.googleapis.com/auth/computeaccounts.readonly"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"list": {
@@ -731,7 +971,7 @@
"parameters": {
"filter": {
"type": "string",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must contain the following:\nFIELD_NAME COMPARISON_STRING LITERAL_STRING\n \n- FIELD_NAME: The name of the field you want to compare. The field name must be valid for the type of resource being filtered. Only atomic field types are supported (string, number, boolean). Array and object fields are not currently supported. \n- COMPARISON_STRING: The comparison string, either eq (equals) or ne (not equals). \n- LITERAL_STRING: The literal string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. For example, you can filter by the name of a resource:\nfilter=name ne example-instance\nThe above filter returns only results whose name field does not equal example-instance. You can also enclose your literal string in single, double, or no quotes.",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.\n\nThe FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, filter=name ne example-instance.",
"location": "query"
},
"maxResults": {
@@ -769,10 +1009,9 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly",
"https://www.googleapis.com/auth/computeaccounts",
"https://www.googleapis.com/auth/computeaccounts.readonly"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
}
}
@@ -812,8 +1051,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts"
]
},
"delete": {
@@ -846,8 +1084,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts"
]
},
"get": {
@@ -880,10 +1117,44 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly",
"https://www.googleapis.com/auth/computeaccounts",
"https://www.googleapis.com/auth/computeaccounts.readonly"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"getIamPolicy": {
"id": "clouduseraccounts.groups.getIamPolicy",
"path": "{project}/global/groups/{resource}/getIamPolicy",
"httpMethod": "GET",
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
"parameters": {
"project": {
"type": "string",
"description": "Project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
},
"resource": {
"type": "string",
"description": "Name of the resource for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
"location": "path"
}
},
"parameterOrder": [
"project",
"resource"
],
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"insert": {
@@ -911,8 +1182,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts"
]
},
"list": {
@@ -923,7 +1193,7 @@
"parameters": {
"filter": {
"type": "string",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must contain the following:\nFIELD_NAME COMPARISON_STRING LITERAL_STRING\n \n- FIELD_NAME: The name of the field you want to compare. The field name must be valid for the type of resource being filtered. Only atomic field types are supported (string, number, boolean). Array and object fields are not currently supported. \n- COMPARISON_STRING: The comparison string, either eq (equals) or ne (not equals). \n- LITERAL_STRING: The literal string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. For example, you can filter by the name of a resource:\nfilter=name ne example-instance\nThe above filter returns only results whose name field does not equal example-instance. You can also enclose your literal string in single, double, or no quotes.",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.\n\nThe FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, filter=name ne example-instance.",
"location": "query"
},
"maxResults": {
@@ -961,10 +1231,9 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly",
"https://www.googleapis.com/auth/computeaccounts",
"https://www.googleapis.com/auth/computeaccounts.readonly"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"removeMember": {
@@ -1000,8 +1269,83 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts"
]
},
"setIamPolicy": {
"id": "clouduseraccounts.groups.setIamPolicy",
"path": "{project}/global/groups/{resource}/setIamPolicy",
"httpMethod": "POST",
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
"parameters": {
"project": {
"type": "string",
"description": "Project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
},
"resource": {
"type": "string",
"description": "Name of the resource for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
"location": "path"
}
},
"parameterOrder": [
"project",
"resource"
],
"request": {
"$ref": "Policy"
},
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"testIamPermissions": {
"id": "clouduseraccounts.groups.testIamPermissions",
"path": "{project}/global/groups/{resource}/testIamPermissions",
"httpMethod": "POST",
"description": "Returns permissions that a caller has on the specified resource.",
"parameters": {
"project": {
"type": "string",
"description": "Project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
},
"resource": {
"type": "string",
"description": "Name of the resource for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
"location": "path"
}
},
"parameterOrder": [
"project",
"resource"
],
"request": {
"$ref": "TestPermissionsRequest"
},
"response": {
"$ref": "TestPermissionsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
}
}
@@ -1020,6 +1364,11 @@
"required": true,
"location": "query"
},
"login": {
"type": "boolean",
"description": "Whether the view was requested as part of a user-initiated login.",
"location": "query"
},
"project": {
"type": "string",
"description": "Project ID for this request.",
@@ -1053,10 +1402,9 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly",
"https://www.googleapis.com/auth/computeaccounts",
"https://www.googleapis.com/auth/computeaccounts.readonly"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"getLinuxAccountViews": {
@@ -1067,7 +1415,7 @@
"parameters": {
"filter": {
"type": "string",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must contain the following:\nFIELD_NAME COMPARISON_STRING LITERAL_STRING\n \n- FIELD_NAME: The name of the field you want to compare. The field name must be valid for the type of resource being filtered. Only atomic field types are supported (string, number, boolean). Array and object fields are not currently supported. \n- COMPARISON_STRING: The comparison string, either eq (equals) or ne (not equals). \n- LITERAL_STRING: The literal string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. For example, you can filter by the name of a resource:\nfilter=name ne example-instance\nThe above filter returns only results whose name field does not equal example-instance. You can also enclose your literal string in single, double, or no quotes.",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.\n\nThe FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, filter=name ne example-instance.",
"location": "query"
},
"instance": {
@@ -1120,10 +1468,9 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly",
"https://www.googleapis.com/auth/computeaccounts",
"https://www.googleapis.com/auth/computeaccounts.readonly"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
}
}
@@ -1163,8 +1510,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts"
]
},
"delete": {
@@ -1197,8 +1543,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts"
]
},
"get": {
@@ -1231,10 +1576,44 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly",
"https://www.googleapis.com/auth/computeaccounts",
"https://www.googleapis.com/auth/computeaccounts.readonly"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"getIamPolicy": {
"id": "clouduseraccounts.users.getIamPolicy",
"path": "{project}/global/users/{resource}/getIamPolicy",
"httpMethod": "GET",
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
"parameters": {
"project": {
"type": "string",
"description": "Project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
},
"resource": {
"type": "string",
"description": "Name of the resource for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
"location": "path"
}
},
"parameterOrder": [
"project",
"resource"
],
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"insert": {
@@ -1262,8 +1641,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts"
]
},
"list": {
@@ -1274,7 +1652,7 @@
"parameters": {
"filter": {
"type": "string",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must contain the following:\nFIELD_NAME COMPARISON_STRING LITERAL_STRING\n \n- FIELD_NAME: The name of the field you want to compare. The field name must be valid for the type of resource being filtered. Only atomic field types are supported (string, number, boolean). Array and object fields are not currently supported. \n- COMPARISON_STRING: The comparison string, either eq (equals) or ne (not equals). \n- LITERAL_STRING: The literal string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. For example, you can filter by the name of a resource:\nfilter=name ne example-instance\nThe above filter returns only results whose name field does not equal example-instance. You can also enclose your literal string in single, double, or no quotes.",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.\n\nThe FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, filter=name ne example-instance.",
"location": "query"
},
"maxResults": {
@@ -1312,10 +1690,9 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly",
"https://www.googleapis.com/auth/computeaccounts",
"https://www.googleapis.com/auth/computeaccounts.readonly"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"removePublicKey": {
@@ -1356,8 +1733,83 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud.useraccounts"
]
},
"setIamPolicy": {
"id": "clouduseraccounts.users.setIamPolicy",
"path": "{project}/global/users/{resource}/setIamPolicy",
"httpMethod": "POST",
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
"parameters": {
"project": {
"type": "string",
"description": "Project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
},
"resource": {
"type": "string",
"description": "Name of the resource for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
"location": "path"
}
},
"parameterOrder": [
"project",
"resource"
],
"request": {
"$ref": "Policy"
},
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/computeaccounts"
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
},
"testIamPermissions": {
"id": "clouduseraccounts.users.testIamPermissions",
"path": "{project}/global/users/{resource}/testIamPermissions",
"httpMethod": "POST",
"description": "Returns permissions that a caller has on the specified resource.",
"parameters": {
"project": {
"type": "string",
"description": "Project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
},
"resource": {
"type": "string",
"description": "Name of the resource for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
"location": "path"
}
},
"parameterOrder": [
"project",
"resource"
],
"request": {
"$ref": "TestPermissionsRequest"
},
"response": {
"$ref": "TestPermissionsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/cloud.useraccounts",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,690 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/FD4oCwspiZqN6eCjsBmxDzsj5B8\"",
"discoveryVersion": "v1",
"id": "container:v1",
"name": "container",
"version": "v1",
"revision": "20150603",
"title": "Google Container Engine API",
"description": "The Google Container Engine API is used for building and managing container based applications, powered by the open source Kubernetes technology.",
"ownerDomain": "google.com",
"ownerName": "Google",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"documentationLink": "https://cloud.google.com/container-engine/",
"protocol": "rest",
"baseUrl": "https://container.googleapis.com/",
"basePath": "/",
"rootUrl": "https://container.googleapis.com/",
"servicePath": "",
"batchPath": "batch",
"parameters": {
"access_token": {
"type": "string",
"description": "OAuth access token.",
"location": "query"
},
"alt": {
"type": "string",
"description": "Data format for response.",
"default": "json",
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location": "query"
},
"bearer_token": {
"type": "string",
"description": "OAuth bearer token.",
"location": "query"
},
"callback": {
"type": "string",
"description": "JSONP",
"location": "query"
},
"fields": {
"type": "string",
"description": "Selector specifying which fields to include in a partial response.",
"location": "query"
},
"key": {
"type": "string",
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location": "query"
},
"oauth_token": {
"type": "string",
"description": "OAuth 2.0 token for the current user.",
"location": "query"
},
"pp": {
"type": "boolean",
"description": "Pretty-print response.",
"default": "true",
"location": "query"
},
"prettyPrint": {
"type": "boolean",
"description": "Returns response with indentations and line breaks.",
"default": "true",
"location": "query"
},
"quotaUser": {
"type": "string",
"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.",
"location": "query"
},
"upload_protocol": {
"type": "string",
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query"
},
"uploadType": {
"type": "string",
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query"
},
"$.xgafv": {
"type": "string",
"description": "V1 error format.",
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query"
}
},
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
}
}
}
},
"schemas": {
"ListClustersResponse": {
"id": "ListClustersResponse",
"type": "object",
"description": "ListClustersResponse is the result of ListClustersRequest.",
"properties": {
"clusters": {
"type": "array",
"description": "A list of clusters in the project in the specified zone, or across all ones.",
"items": {
"$ref": "Cluster"
}
}
}
},
"Cluster": {
"id": "Cluster",
"type": "object",
"description": "A Google Container Engine cluster.",
"properties": {
"name": {
"type": "string",
"description": "The name of this cluster. The name must be unique within this project and zone, and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter."
},
"description": {
"type": "string",
"description": "An optional description of this cluster."
},
"initialNodeCount": {
"type": "integer",
"description": "The number of nodes to create in this cluster. You must ensure that your Compute Engine [resource quota](/compute/docs/resource-quotas) is sufficient for this number of instances. You must also have available firewall and routes quota.",
"format": "int32"
},
"nodeConfig": {
"$ref": "NodeConfig",
"description": "Parameters used in creating the cluster's nodes. See the descriptions of the child properties of `nodeConfig`. If unspecified, the defaults for all child properties are used."
},
"masterAuth": {
"$ref": "MasterAuth",
"description": "The authentication information for accessing the master."
},
"loggingService": {
"type": "string",
"description": "The logging service that the cluster should write logs to. Currently available options: * \"logging.googleapis.com\" - the Google Cloud Logging service * \"none\" - no logs will be exported from the cluster * \"\" - default value; the default is \"logging.googleapis.com\""
},
"monitoringService": {
"type": "string",
"description": "The monitoring service that the cluster should write metrics to. Currently available options: * \"monitoring.googleapis.com\" - the Google Cloud Monitoring service * \"none\" - no metrics will be exported from the cluster * \"\" - default value; the default is \"monitoring.googleapis.com\""
},
"network": {
"type": "string",
"description": "The name of the Google Compute Engine [network](/compute/docs/networking#networks_1) to which the cluster is connected. If left unspecified, the \"default\" network will be used."
},
"clusterIpv4Cidr": {
"type": "string",
"description": "The IP address range of the container pods in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically chosen or specify a `/14` block in `10.0.0.0/8`."
},
"selfLink": {
"type": "string",
"description": "[Output only] Server-defined URL for the resource."
},
"zone": {
"type": "string",
"description": "[Output only] The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides."
},
"endpoint": {
"type": "string",
"description": "[Output only] The IP address of this cluster's Kubernetes master endpoint. The endpoint can be accessed from the internet at `https://username:password@endpoint/`. See the `masterAuth` property of this resource for username and password information."
},
"initialClusterVersion": {
"type": "string",
"description": "[Output only] The software version of Kubernetes master and kubelets used in the cluster when it was first created. The version can be upgraded over time."
},
"currentMasterVersion": {
"type": "string",
"description": "[Output only] The current software version of the master endpoint."
},
"currentNodeVersion": {
"type": "string",
"description": "[Output only] The current version of the node software components. If they are currently at different versions because they're in the process of being upgraded, this reflects the minimum version of any of them."
},
"createTime": {
"type": "string",
"description": "[Output only] The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format."
},
"status": {
"type": "string",
"description": "[Output only] The current status of this cluster.",
"enum": [
"STATUS_UNSPECIFIED",
"PROVISIONING",
"RUNNING",
"RECONCILING",
"STOPPING",
"ERROR"
]
},
"statusMessage": {
"type": "string",
"description": "[Output only] Additional information about the current status of this cluster, if available."
},
"nodeIpv4CidrSize": {
"type": "integer",
"description": "[Output only] The size of the address space on each node for hosting containers. This is provisioned from within the container_ipv4_cidr range.",
"format": "int32"
},
"servicesIpv4Cidr": {
"type": "string",
"description": "[Output only] The IP address range of the Kubernetes services in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last /16 from the container CIDR."
},
"instanceGroupUrls": {
"type": "array",
"description": "[Output only] The resource URLs of [instance groups](/compute/docs/instance-groups/) associated with this cluster.",
"items": {
"type": "string"
}
}
}
},
"NodeConfig": {
"id": "NodeConfig",
"type": "object",
"description": "Per-node parameters.",
"properties": {
"machineType": {
"type": "string",
"description": "The name of a Google Compute Engine [machine type](/compute/docs/machine-types) (e.g. `n1-standard-1`). If unspecified, the default machine type is `n1-standard-1`."
},
"diskSizeGb": {
"type": "integer",
"description": "Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.",
"format": "int32"
},
"oauthScopes": {
"type": "array",
"description": "The set of Google API scopes to be made available on all of the node VMs under the \"default\" service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with *gcr.io*. If unspecified, no scopes are added.",
"items": {
"type": "string"
}
}
}
},
"MasterAuth": {
"id": "MasterAuth",
"type": "object",
"description": "The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates.",
"properties": {
"username": {
"type": "string",
"description": "The username to use for HTTP basic authentication when accessing the Kubernetes master endpoint."
},
"password": {
"type": "string",
"description": "The password to use for HTTP basic authentication when accessing the Kubernetes master endpoint. Because the master endpoint is open to the internet, you should create a strong password."
},
"clusterCaCertificate": {
"type": "string",
"description": "[Output only] Base64 encoded public certificate that is the root of trust for the cluster."
},
"clientCertificate": {
"type": "string",
"description": "[Output only] Base64 encoded public certificate used by clients to authenticate to the cluster endpoint."
},
"clientKey": {
"type": "string",
"description": "[Output only] Base64 encoded private key used by clients to authenticate to the cluster endpoint."
}
}
},
"CreateClusterRequest": {
"id": "CreateClusterRequest",
"type": "object",
"description": "CreateClusterRequest creates a cluster.",
"properties": {
"cluster": {
"$ref": "Cluster",
"description": "A [cluster resource](/container-engine/reference/rest/v1/projects.zones.clusters)"
}
}
},
"Operation": {
"id": "Operation",
"type": "object",
"description": "Defines the operation resource. All fields are output only.",
"properties": {
"name": {
"type": "string",
"description": "The server-assigned ID for the operation."
},
"zone": {
"type": "string",
"description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the operation is taking place."
},
"operationType": {
"type": "string",
"description": "The operation type.",
"enum": [
"TYPE_UNSPECIFIED",
"CREATE_CLUSTER",
"DELETE_CLUSTER",
"UPGRADE_MASTER",
"UPGRADE_NODES",
"REPAIR_CLUSTER"
]
},
"status": {
"type": "string",
"description": "The current status of the operation.",
"enum": [
"STATUS_UNSPECIFIED",
"PENDING",
"RUNNING",
"DONE"
]
},
"statusMessage": {
"type": "string",
"description": "If an error has occurred, a textual description of the error."
},
"selfLink": {
"type": "string",
"description": "Server-defined URL for the resource."
},
"targetLink": {
"type": "string",
"description": "Server-defined URL for the target of the operation."
}
}
},
"UpdateClusterRequest": {
"id": "UpdateClusterRequest",
"type": "object",
"description": "UpdateClusterRequest updates a cluster.",
"properties": {
"update": {
"$ref": "ClusterUpdate",
"description": "A description of the update."
}
}
},
"ClusterUpdate": {
"id": "ClusterUpdate",
"type": "object",
"description": "ClusterUpdate describes an update to the cluster.",
"properties": {
"desiredNodeVersion": {
"type": "string",
"description": "The Kubernetes version to change the nodes to (typically an upgrade). Use \"-\" to upgrade to the latest version supported by the server."
}
}
},
"ListOperationsResponse": {
"id": "ListOperationsResponse",
"type": "object",
"description": "ListOperationsResponse is the result of ListOperationsRequest.",
"properties": {
"operations": {
"type": "array",
"description": "A list of operations in the project in the specified zone.",
"items": {
"$ref": "Operation"
}
}
}
},
"ServerConfig": {
"id": "ServerConfig",
"type": "object",
"description": "Container Engine Server configuration.",
"properties": {
"defaultClusterVersion": {
"type": "string",
"description": "What version this server deploys by default."
},
"validNodeVersions": {
"type": "array",
"description": "List of valid node upgrade target versions.",
"items": {
"type": "string"
}
}
}
}
},
"resources": {
"projects": {
"resources": {
"zones": {
"methods": {
"getServerconfig": {
"id": "container.projects.zones.getServerconfig",
"path": "v1/projects/{projectId}/zones/{zone}/serverconfig",
"httpMethod": "GET",
"description": "Returns configuration info about the Container Engine service.",
"parameters": {
"projectId": {
"type": "string",
"description": "The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber).",
"required": true,
"location": "path"
},
"zone": {
"type": "string",
"description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) to return operations for, or \"-\" for all zones.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"projectId",
"zone"
],
"response": {
"$ref": "ServerConfig"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"clusters": {
"methods": {
"list": {
"id": "container.projects.zones.clusters.list",
"path": "v1/projects/{projectId}/zones/{zone}/clusters",
"httpMethod": "GET",
"description": "Lists all clusters owned by a project in either the specified zone or all zones.",
"parameters": {
"projectId": {
"type": "string",
"description": "The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber).",
"required": true,
"location": "path"
},
"zone": {
"type": "string",
"description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides, or \"-\" for all zones.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"projectId",
"zone"
],
"response": {
"$ref": "ListClustersResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"id": "container.projects.zones.clusters.get",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
"httpMethod": "GET",
"description": "Gets a specific cluster.",
"parameters": {
"projectId": {
"type": "string",
"description": "The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber).",
"required": true,
"location": "path"
},
"zone": {
"type": "string",
"description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.",
"required": true,
"location": "path"
},
"clusterId": {
"type": "string",
"description": "The name of the cluster to retrieve.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"response": {
"$ref": "Cluster"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"create": {
"id": "container.projects.zones.clusters.create",
"path": "v1/projects/{projectId}/zones/{zone}/clusters",
"httpMethod": "POST",
"description": "Creates a cluster, consisting of the specified number and type of Google Compute Engine instances, plus a Kubernetes master endpoint. By default, the cluster is created in the project's [default network](/compute/docs/networking#networks_1). One firewall is added for the cluster. After cluster creation, the cluster creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range is being used by the cluster.",
"parameters": {
"projectId": {
"type": "string",
"description": "The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber).",
"required": true,
"location": "path"
},
"zone": {
"type": "string",
"description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"projectId",
"zone"
],
"request": {
"$ref": "CreateClusterRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"update": {
"id": "container.projects.zones.clusters.update",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
"httpMethod": "PUT",
"description": "Update settings of a specific cluster.",
"parameters": {
"projectId": {
"type": "string",
"description": "The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber).",
"required": true,
"location": "path"
},
"zone": {
"type": "string",
"description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.",
"required": true,
"location": "path"
},
"clusterId": {
"type": "string",
"description": "The name of the cluster to upgrade.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"request": {
"$ref": "UpdateClusterRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"id": "container.projects.zones.clusters.delete",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
"httpMethod": "DELETE",
"description": "Deletes the cluster, including the Kubernetes endpoint and all worker nodes. Firewalls and routes that were configured during cluster creation are also deleted.",
"parameters": {
"projectId": {
"type": "string",
"description": "The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber).",
"required": true,
"location": "path"
},
"zone": {
"type": "string",
"description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.",
"required": true,
"location": "path"
},
"clusterId": {
"type": "string",
"description": "The name of the cluster to delete.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"operations": {
"methods": {
"list": {
"id": "container.projects.zones.operations.list",
"path": "v1/projects/{projectId}/zones/{zone}/operations",
"httpMethod": "GET",
"description": "Lists all operations in a project in a specific zone or all zones.",
"parameters": {
"projectId": {
"type": "string",
"description": "The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber).",
"required": true,
"location": "path"
},
"zone": {
"type": "string",
"description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) to return operations for, or \"-\" for all zones.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"projectId",
"zone"
],
"response": {
"$ref": "ListOperationsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"id": "container.projects.zones.operations.get",
"path": "v1/projects/{projectId}/zones/{zone}/operations/{operationId}",
"httpMethod": "GET",
"description": "Gets the specified operation.",
"parameters": {
"projectId": {
"type": "string",
"description": "The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber).",
"required": true,
"location": "path"
},
"zone": {
"type": "string",
"description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.",
"required": true,
"location": "path"
},
"operationId": {
"type": "string",
"description": "The server-assigned `name` of the operation.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"projectId",
"zone",
"operationId"
],
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
}
}
}
}
}

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/qwJnkUMoGYLzu0cB6f0uamqbj3k\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/MMM1eku07yBWMoyhM-gsRmxhXoM\"",
"discoveryVersion": "v1",
"id": "container:v1beta1",
"name": "container",
"version": "v1beta1",
"revision": "20150713",
"revision": "20151005",
"title": "Google Container Engine API",
"description": "The Google Container Engine API is used for building and managing container based applications, powered by the open source Kubernetes technology.",
"ownerDomain": "google.com",
@@ -86,7 +86,7 @@
},
"containerIpv4Cidr": {
"type": "string",
"description": "The IP address range of the container pods in this cluster, in CIDR notation (e.g. 10.96.0.0/14). Leave blank to have one automatically chosen or specify a /14 block in 10.0.0.0/8 or 172.16.0.0/12."
"description": "The IP address range of the container pods in this cluster, in CIDR notation (e.g. 10.96.0.0/14). Leave blank to have one automatically chosen or specify a /14 block in 10.0.0.0/8."
},
"creationTimestamp": {
"type": "string",
@@ -307,9 +307,17 @@
"description": "The operation type.",
"enum": [
"createCluster",
"deleteCluster"
"deleteCluster",
"repairCluster",
"updateCluster",
"upgradeMaster",
"upgradeNodes"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
""
]

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Oe1OM8HbjTHLlKoRM5huCxnk-hs\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/RNf67Qs-KGgGShWEZ1M0BbfJUQg\"",
"discoveryVersion": "v1",
"id": "coordinate:v1",
"name": "coordinate",
"version": "v1",
"revision": "20141215",
"revision": "20150811",
"title": "Google Maps Coordinate API",
"description": "Lets you view and manage jobs in a Coordinate team.",
"ownerDomain": "google.com",
@@ -694,6 +694,11 @@
"format": "uint64",
"location": "query"
},
"omitJobChanges": {
"type": "boolean",
"description": "Whether to omit detail job history information.",
"location": "query"
},
"pageToken": {
"type": "string",
"description": "Continuation token",

File diff suppressed because it is too large Load Diff

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/fIJ3DBpWQxusVwOa-ZxrsUl27A4\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/hS1zMof9P8B2C8w_Owx9Czuou4A\"",
"discoveryVersion": "v1",
"id": "datastore:v1beta1",
"name": "datastore",
"version": "v1beta1",
"revision": "20150402",
"revision": "20151008",
"title": "Google Cloud Datastore API",
"description": "API for accessing Google Cloud Datastore.",
"ownerDomain": "google.com",

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/JTCpJ6erGSGSQjeOlJBcixKgvo8\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/6udOBwkBXi0ODcCOihFtqaSzzSw\"",
"discoveryVersion": "v1",
"id": "datastore:v1beta2",
"name": "datastore",
"version": "v1beta2",
"revision": "20150402",
"revision": "20151008",
"title": "Google Cloud Datastore API",
"description": "API for accessing Google Cloud Datastore.",
"ownerDomain": "google.com",

File diff suppressed because it is too large Load Diff

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/s4z2eJyMDiFWurSMIIUJE60QEOE\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/u5FQM4I03EZTfBK_pxzZ11vNzAs\"",
"discoveryVersion": "v1",
"id": "deploymentmanager:v2beta1",
"name": "deploymentmanager",
"version": "v2beta1",
"revision": "20150715",
"title": "Google Cloud Deployment Manager API V2",
"revision": "20150831",
"title": "Google Cloud Deployment Manager API",
"description": "The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.",
"ownerDomain": "google.com",
"ownerName": "Google",
@@ -75,6 +75,9 @@
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/cloud-platform.read-only": {
"description": "View your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/ndev.cloudman": {
"description": "View and manage your Google Cloud Platform management resources and deployment status information"
},
@@ -484,6 +487,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
@@ -552,6 +556,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
@@ -598,6 +603,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
@@ -646,6 +652,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
@@ -683,6 +690,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
@@ -723,6 +731,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
@@ -769,6 +778,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
@@ -817,6 +827,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
@@ -861,6 +872,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]

View File

@@ -1,13 +1,13 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/7OGyLzBmnM10uDn_nCHmZOUgRH8\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/L3qYQaCmypSCqWoWq866HN97aNc\"",
"discoveryVersion": "v1",
"id": "deploymentmanager:v2beta2",
"name": "deploymentmanager",
"canonicalName": "Deployment Manager",
"version": "v2beta2",
"revision": "20150715",
"title": "Google Cloud Deployment Manager API V2",
"revision": "20150831",
"title": "Google Cloud Deployment Manager API",
"description": "The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.",
"ownerDomain": "google.com",
"ownerName": "Google",
@@ -73,6 +73,9 @@
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/cloud-platform.read-only": {
"description": "View your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/ndev.cloudman": {
"description": "View and manage your Google Cloud Platform management resources and deployment status information"
},
@@ -334,7 +337,7 @@
},
"selfLink": {
"type": "string",
"description": "[Output Only] Server defined URL for the resource."
"description": "[Output Only] Server-defined URL for the resource."
},
"startTime": {
"type": "string",
@@ -485,7 +488,7 @@
},
"intent": {
"type": "string",
"description": "[Output Only] The intent of the resource, PREVIEW, UPDATE, or CANCEL."
"description": "[Output Only] The intent of the resource: PREVIEW, UPDATE, or CANCEL."
},
"manifest": {
"type": "string",
@@ -542,9 +545,22 @@
"type": "object",
"description": "A resource type supported by Deployment Manager.",
"properties": {
"id": {
"type": "string",
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
"format": "uint64"
},
"insertTime": {
"type": "string",
"description": "[Output Only] Timestamp when the type was created, in RFC3339 text format."
},
"name": {
"type": "string",
"description": "Name of the type."
},
"selfLink": {
"type": "string",
"description": "[Output Only] Self link for the type."
}
}
},
@@ -633,6 +649,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
@@ -673,7 +690,7 @@
"parameters": {
"filter": {
"type": "string",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must contain the following:\nFIELD_NAME COMPARISON_STRING LITERAL_STRING\n \n- FIELD_NAME: The name of the field you want to compare. The field name must be valid for the type of resource being filtered. Only atomic field types are supported (string, number, boolean). Array and object fields are not currently supported. \n- COMPARISON_STRING: The comparison string, either eq (equals) or ne (not equals). \n- LITERAL_STRING: The literal string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. For example, you can filter by the name of a resource:\nfilter=name ne example-instance\nThe above filter returns only results whose name field does not equal example-instance. You can also enclose your literal string in single, double, or no quotes.",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.\n\nThe FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, filter=name ne example-instance.",
"location": "query"
},
"maxResults": {
@@ -706,6 +723,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
@@ -908,6 +926,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
@@ -927,7 +946,7 @@
},
"filter": {
"type": "string",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must contain the following:\nFIELD_NAME COMPARISON_STRING LITERAL_STRING\n \n- FIELD_NAME: The name of the field you want to compare. The field name must be valid for the type of resource being filtered. Only atomic field types are supported (string, number, boolean). Array and object fields are not currently supported. \n- COMPARISON_STRING: The comparison string, either eq (equals) or ne (not equals). \n- LITERAL_STRING: The literal string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. For example, you can filter by the name of a resource:\nfilter=name ne example-instance\nThe above filter returns only results whose name field does not equal example-instance. You can also enclose your literal string in single, double, or no quotes.",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.\n\nThe FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, filter=name ne example-instance.",
"location": "query"
},
"maxResults": {
@@ -961,6 +980,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
@@ -998,6 +1018,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
@@ -1010,7 +1031,7 @@
"parameters": {
"filter": {
"type": "string",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must contain the following:\nFIELD_NAME COMPARISON_STRING LITERAL_STRING\n \n- FIELD_NAME: The name of the field you want to compare. The field name must be valid for the type of resource being filtered. Only atomic field types are supported (string, number, boolean). Array and object fields are not currently supported. \n- COMPARISON_STRING: The comparison string, either eq (equals) or ne (not equals). \n- LITERAL_STRING: The literal string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. For example, you can filter by the name of a resource:\nfilter=name ne example-instance\nThe above filter returns only results whose name field does not equal example-instance. You can also enclose your literal string in single, double, or no quotes.",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.\n\nThe FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, filter=name ne example-instance.",
"location": "query"
},
"maxResults": {
@@ -1043,6 +1064,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
@@ -1088,6 +1110,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
@@ -1107,7 +1130,7 @@
},
"filter": {
"type": "string",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must contain the following:\nFIELD_NAME COMPARISON_STRING LITERAL_STRING\n \n- FIELD_NAME: The name of the field you want to compare. The field name must be valid for the type of resource being filtered. Only atomic field types are supported (string, number, boolean). Array and object fields are not currently supported. \n- COMPARISON_STRING: The comparison string, either eq (equals) or ne (not equals). \n- LITERAL_STRING: The literal string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. For example, you can filter by the name of a resource:\nfilter=name ne example-instance\nThe above filter returns only results whose name field does not equal example-instance. You can also enclose your literal string in single, double, or no quotes.",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.\n\nThe FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, filter=name ne example-instance.",
"location": "query"
},
"maxResults": {
@@ -1141,6 +1164,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
@@ -1157,7 +1181,7 @@
"parameters": {
"filter": {
"type": "string",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must contain the following:\nFIELD_NAME COMPARISON_STRING LITERAL_STRING\n \n- FIELD_NAME: The name of the field you want to compare. The field name must be valid for the type of resource being filtered. Only atomic field types are supported (string, number, boolean). Array and object fields are not currently supported. \n- COMPARISON_STRING: The comparison string, either eq (equals) or ne (not equals). \n- LITERAL_STRING: The literal string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. For example, you can filter by the name of a resource:\nfilter=name ne example-instance\nThe above filter returns only results whose name field does not equal example-instance. You can also enclose your literal string in single, double, or no quotes.",
"description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.\n\nThe FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, filter=name ne example-instance.",
"location": "query"
},
"maxResults": {
@@ -1190,6 +1214,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/5Jbupdmxforak0N9AJ7qL2buh0Q\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/xQdDSJ3xbHBMKOH8qlJs2NcU7GI\"",
"discoveryVersion": "v1",
"id": "dfareporting:v1.1",
"name": "dfareporting",
"version": "v1.1",
"revision": "20150326",
"revision": "20150717",
"title": "DFA Reporting API",
"description": "Lets you create, run and download reports.",
"ownerDomain": "google.com",

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/MGFmvOzx9bsO02Q9lzkQ8vQ-Hc0\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/l-W9FqK7KUevoQj6xnpj92wCY44\"",
"discoveryVersion": "v1",
"id": "dfareporting:v1.2",
"name": "dfareporting",
"version": "v1.2",
"revision": "20150326",
"revision": "20150717",
"title": "DFA Reporting API",
"description": "Lets you create, run and download reports.",
"ownerDomain": "google.com",

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/alwCpLBY38z4Gpjx5d9ZkHlpMA8\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Vol2Js4n6yBlbMWNNbpw3qZ-yII\"",
"discoveryVersion": "v1",
"id": "dfareporting:v1.3",
"name": "dfareporting",
"version": "v1.3",
"revision": "20150326",
"revision": "20150717",
"title": "DFA Reporting API",
"description": "Lets you create, run and download reports.",
"ownerDomain": "google.com",

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/_s-I2GvBt5V0FtLzVHcSFiuUwZQ\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/B10GWa_UwHrdc-P0ql_bCGXLROA\"",
"discoveryVersion": "v1",
"id": "dfareporting:v1",
"name": "dfareporting",
"version": "v1",
"revision": "20150326",
"revision": "20150717",
"title": "DFA Reporting API",
"description": "Lets you create, run and download reports.",
"ownerDomain": "google.com",

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/14gemQgeOwkk8XbVog9HBJLI5Js\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/hsqpr9X90U7kI0NDFJRw_wW8z3w\"",
"discoveryVersion": "v1",
"id": "dfareporting:v2.0",
"name": "dfareporting",
"version": "v2.0",
"revision": "20150326",
"revision": "20150717",
"title": "DCM/DFA Reporting And Trafficking API",
"description": "Manage your DoubleClick Campaign Manager ad campaigns and reports.",
"ownerDomain": "google.com",
@@ -2050,6 +2050,7 @@
"RICH_MEDIA_MULTI_FLOATING",
"RICH_MEDIA_PEEL_DOWN",
"TRACKING_TEXT",
"VAST_REDIRECT",
"VPAID_LINEAR",
"VPAID_NON_LINEAR"
],
@@ -2076,6 +2077,7 @@
"",
"",
"",
"",
""
]
},
@@ -4037,7 +4039,7 @@
},
"sslCompliant": {
"type": "boolean",
"description": "Whether this tag is SSL-compliant or not."
"description": "Whether this tag is SSL-compliant or not. This is a read-only field."
},
"status": {
"type": "string",
@@ -4441,7 +4443,6 @@
"enum": [
"U1",
"U10",
"U100",
"U11",
"U12",
"U13",
@@ -4453,174 +4454,15 @@
"U19",
"U2",
"U20",
"U21",
"U22",
"U23",
"U24",
"U25",
"U26",
"U27",
"U28",
"U29",
"U3",
"U30",
"U31",
"U32",
"U33",
"U34",
"U35",
"U36",
"U37",
"U38",
"U39",
"U4",
"U40",
"U41",
"U42",
"U43",
"U44",
"U45",
"U46",
"U47",
"U48",
"U49",
"U5",
"U50",
"U51",
"U52",
"U53",
"U54",
"U55",
"U56",
"U57",
"U58",
"U59",
"U6",
"U60",
"U61",
"U62",
"U63",
"U64",
"U65",
"U66",
"U67",
"U68",
"U69",
"U7",
"U70",
"U71",
"U72",
"U73",
"U74",
"U75",
"U76",
"U77",
"U78",
"U79",
"U8",
"U80",
"U81",
"U82",
"U83",
"U84",
"U85",
"U86",
"U87",
"U88",
"U89",
"U9",
"U90",
"U91",
"U92",
"U93",
"U94",
"U95",
"U96",
"U97",
"U98",
"U99"
"U9"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
@@ -5709,12 +5551,17 @@
"PLACEMENT_TAG_CLICK_COMMANDS",
"PLACEMENT_TAG_IFRAME_ILAYER",
"PLACEMENT_TAG_IFRAME_JAVASCRIPT",
"PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY",
"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH",
"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3",
"PLACEMENT_TAG_INTERNAL_REDIRECT",
"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT",
"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY",
"PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT",
"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT",
"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY",
"PLACEMENT_TAG_JAVASCRIPT",
"PLACEMENT_TAG_JAVASCRIPT_LEGACY",
"PLACEMENT_TAG_STANDARD",
"PLACEMENT_TAG_TRACKING",
"PLACEMENT_TAG_TRACKING_IFRAME",
@@ -5733,6 +5580,11 @@
"",
"",
"",
"",
"",
"",
"",
"",
""
]
}
@@ -7254,7 +7106,7 @@
},
"sites": {
"type": "array",
"description": "Site collection",
"description": "Site collection.",
"items": {
"$ref": "Site"
}
@@ -7422,12 +7274,17 @@
"PLACEMENT_TAG_CLICK_COMMANDS",
"PLACEMENT_TAG_IFRAME_ILAYER",
"PLACEMENT_TAG_IFRAME_JAVASCRIPT",
"PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY",
"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH",
"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3",
"PLACEMENT_TAG_INTERNAL_REDIRECT",
"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT",
"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY",
"PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT",
"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT",
"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY",
"PLACEMENT_TAG_JAVASCRIPT",
"PLACEMENT_TAG_JAVASCRIPT_LEGACY",
"PLACEMENT_TAG_STANDARD",
"PLACEMENT_TAG_TRACKING",
"PLACEMENT_TAG_TRACKING_IFRAME",
@@ -7446,6 +7303,11 @@
"",
"",
"",
"",
"",
"",
"",
"",
""
]
},
@@ -7657,7 +7519,6 @@
"enum": [
"U1",
"U10",
"U100",
"U11",
"U12",
"U13",
@@ -7669,174 +7530,15 @@
"U19",
"U2",
"U20",
"U21",
"U22",
"U23",
"U24",
"U25",
"U26",
"U27",
"U28",
"U29",
"U3",
"U30",
"U31",
"U32",
"U33",
"U34",
"U35",
"U36",
"U37",
"U38",
"U39",
"U4",
"U40",
"U41",
"U42",
"U43",
"U44",
"U45",
"U46",
"U47",
"U48",
"U49",
"U5",
"U50",
"U51",
"U52",
"U53",
"U54",
"U55",
"U56",
"U57",
"U58",
"U59",
"U6",
"U60",
"U61",
"U62",
"U63",
"U64",
"U65",
"U66",
"U67",
"U68",
"U69",
"U7",
"U70",
"U71",
"U72",
"U73",
"U74",
"U75",
"U76",
"U77",
"U78",
"U79",
"U8",
"U80",
"U81",
"U82",
"U83",
"U84",
"U85",
"U86",
"U87",
"U88",
"U89",
"U9",
"U90",
"U91",
"U92",
"U93",
"U94",
"U95",
"U96",
"U97",
"U98",
"U99"
"U9"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
@@ -8777,6 +8479,7 @@
"RICH_MEDIA_MULTI_FLOATING",
"RICH_MEDIA_PEEL_DOWN",
"TRACKING_TEXT",
"VAST_REDIRECT",
"VPAID_LINEAR",
"VPAID_NON_LINEAR"
],
@@ -8803,6 +8506,7 @@
"",
"",
"",
"",
""
],
"location": "query"
@@ -9908,6 +9612,7 @@
"ACTION_PUSH",
"ACTION_REMOVE",
"ACTION_SEND",
"ACTION_SHARE",
"ACTION_UNASSIGN",
"ACTION_UNLINK",
"ACTION_UPDATE"
@@ -9928,6 +9633,7 @@
"",
"",
"",
"",
""
],
"location": "query"
@@ -11429,6 +11135,7 @@
"RICH_MEDIA_MULTI_FLOATING",
"RICH_MEDIA_PEEL_DOWN",
"TRACKING_TEXT",
"VAST_REDIRECT",
"VPAID_LINEAR",
"VPAID_NON_LINEAR"
],
@@ -11455,6 +11162,7 @@
"",
"",
"",
"",
""
],
"repeated": true,
@@ -11957,12 +11665,12 @@
},
"definitionsOnly": {
"type": "boolean",
"description": "Examine only the specified ad or campaign or advertiser's event tags for matching selector criteria. When set to false, the parent advertiser and parent campaign is examined as well. In addition, when set to false, the status field is examined as well along with the enabledByDefault field.",
"description": "Examine only the specified campaign or advertiser's event tags for matching selector criteria. When set to false, the parent advertiser and parent campaign of the specified ad or campaign is examined as well. In addition, when set to false, the status field is examined as well, along with the enabledByDefault field. This parameter can not be set to true when adId is specified as ads do not define their own even tags.",
"location": "query"
},
"enabled": {
"type": "boolean",
"description": "Select only enabled event tags. When definitionsOnly is set to true, only the specified advertiser or campaign's event tags' enabledByDefault field is examined. When definitionsOnly is set to false, the specified ad or specified campaign's parent advertiser's or parent campaign's event tags' enabledByDefault and status fields are examined as well.",
"description": "Select only enabled event tags. What is considered enabled or disabled depends on the definitionsOnly parameter. When definitionsOnly is set to true, only the specified advertiser or campaign's event tags' enabledByDefault field is examined. When definitionsOnly is set to false, the specified ad or specified campaign's parent advertiser's or parent campaign's event tags' enabledByDefault and status fields are examined as well.",
"location": "query"
},
"eventTagTypes": {
@@ -13782,12 +13490,17 @@
"PLACEMENT_TAG_CLICK_COMMANDS",
"PLACEMENT_TAG_IFRAME_ILAYER",
"PLACEMENT_TAG_IFRAME_JAVASCRIPT",
"PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY",
"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH",
"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3",
"PLACEMENT_TAG_INTERNAL_REDIRECT",
"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT",
"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY",
"PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT",
"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT",
"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY",
"PLACEMENT_TAG_JAVASCRIPT",
"PLACEMENT_TAG_JAVASCRIPT_LEGACY",
"PLACEMENT_TAG_STANDARD",
"PLACEMENT_TAG_TRACKING",
"PLACEMENT_TAG_TRACKING_IFRAME",
@@ -13806,6 +13519,11 @@
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"repeated": true,

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/SEeO9vuT8hjPFMX0KTUcZsDuJV4\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/xZQxxa_Tb2iO1EIpR9uJ-M5uVs4\"",
"discoveryVersion": "v1",
"id": "dfareporting:v2.1",
"name": "dfareporting",
"version": "v2.1",
"revision": "20150326",
"revision": "20150717",
"title": "DCM/DFA Reporting And Trafficking API",
"description": "Manage your DoubleClick Campaign Manager ad campaigns and reports.",
"ownerDomain": "google.com",
@@ -2119,6 +2119,7 @@
"RICH_MEDIA_MULTI_FLOATING",
"RICH_MEDIA_PEEL_DOWN",
"TRACKING_TEXT",
"VAST_REDIRECT",
"VPAID_LINEAR",
"VPAID_NON_LINEAR"
],
@@ -2145,6 +2146,7 @@
"",
"",
"",
"",
""
]
},
@@ -4118,7 +4120,7 @@
},
"sslCompliant": {
"type": "boolean",
"description": "Whether this tag is SSL-compliant or not."
"description": "Whether this tag is SSL-compliant or not. This is a read-only field."
},
"status": {
"type": "string",
@@ -4549,7 +4551,6 @@
"enum": [
"U1",
"U10",
"U100",
"U11",
"U12",
"U13",
@@ -4561,174 +4562,15 @@
"U19",
"U2",
"U20",
"U21",
"U22",
"U23",
"U24",
"U25",
"U26",
"U27",
"U28",
"U29",
"U3",
"U30",
"U31",
"U32",
"U33",
"U34",
"U35",
"U36",
"U37",
"U38",
"U39",
"U4",
"U40",
"U41",
"U42",
"U43",
"U44",
"U45",
"U46",
"U47",
"U48",
"U49",
"U5",
"U50",
"U51",
"U52",
"U53",
"U54",
"U55",
"U56",
"U57",
"U58",
"U59",
"U6",
"U60",
"U61",
"U62",
"U63",
"U64",
"U65",
"U66",
"U67",
"U68",
"U69",
"U7",
"U70",
"U71",
"U72",
"U73",
"U74",
"U75",
"U76",
"U77",
"U78",
"U79",
"U8",
"U80",
"U81",
"U82",
"U83",
"U84",
"U85",
"U86",
"U87",
"U88",
"U89",
"U9",
"U90",
"U91",
"U92",
"U93",
"U94",
"U95",
"U96",
"U97",
"U98",
"U99"
"U9"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
@@ -6325,12 +6167,17 @@
"PLACEMENT_TAG_CLICK_COMMANDS",
"PLACEMENT_TAG_IFRAME_ILAYER",
"PLACEMENT_TAG_IFRAME_JAVASCRIPT",
"PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY",
"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH",
"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3",
"PLACEMENT_TAG_INTERNAL_REDIRECT",
"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT",
"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY",
"PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT",
"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT",
"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY",
"PLACEMENT_TAG_JAVASCRIPT",
"PLACEMENT_TAG_JAVASCRIPT_LEGACY",
"PLACEMENT_TAG_STANDARD",
"PLACEMENT_TAG_TRACKING",
"PLACEMENT_TAG_TRACKING_IFRAME",
@@ -6349,6 +6196,11 @@
"",
"",
"",
"",
"",
"",
"",
"",
""
]
}
@@ -7306,7 +7158,7 @@
"RemarketingList": {
"id": "RemarketingList",
"type": "object",
"description": "Contains properties of a remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource can be used to manage remarketing lists that are owned by your advertisers. To see all remarketing lists that are visible to your advertisers, including those that are shared to your advertiser or account, use the TargetableRemarketingList resource.",
"description": "Contains properties of a remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource can be used to manage remarketing lists that are owned by your advertisers. To see all remarketing lists that are visible to your advertisers, including those that are shared to your advertiser or account, use the TargetableRemarketingLists resource.",
"properties": {
"accountId": {
"type": "string",
@@ -8248,7 +8100,7 @@
},
"sites": {
"type": "array",
"description": "Site collection",
"description": "Site collection.",
"items": {
"$ref": "Site"
}
@@ -8416,12 +8268,17 @@
"PLACEMENT_TAG_CLICK_COMMANDS",
"PLACEMENT_TAG_IFRAME_ILAYER",
"PLACEMENT_TAG_IFRAME_JAVASCRIPT",
"PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY",
"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH",
"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3",
"PLACEMENT_TAG_INTERNAL_REDIRECT",
"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT",
"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY",
"PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT",
"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT",
"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY",
"PLACEMENT_TAG_JAVASCRIPT",
"PLACEMENT_TAG_JAVASCRIPT_LEGACY",
"PLACEMENT_TAG_STANDARD",
"PLACEMENT_TAG_TRACKING",
"PLACEMENT_TAG_TRACKING_IFRAME",
@@ -8440,6 +8297,11 @@
"",
"",
"",
"",
"",
"",
"",
"",
""
]
},
@@ -8525,7 +8387,7 @@
"TargetableRemarketingList": {
"id": "TargetableRemarketingList",
"type": "object",
"description": "Contains properties of a targetable remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource is a read-only view of a remarketing list to be used to faciliate targeting ads to specific lists. Remarketing lists that are owned by your advertisers and those that are shared to your advertisers or account are accessible via this resource. To manage remarketing lists that are owned by your advertisers, use the RemarketingList resource.",
"description": "Contains properties of a targetable remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource is a read-only view of a remarketing list to be used to faciliate targeting ads to specific lists. Remarketing lists that are owned by your advertisers and those that are shared to your advertisers or account are accessible via this resource. To manage remarketing lists that are owned by your advertisers, use the RemarketingLists resource.",
"properties": {
"accountId": {
"type": "string",
@@ -8750,7 +8612,6 @@
"enum": [
"U1",
"U10",
"U100",
"U11",
"U12",
"U13",
@@ -8762,174 +8623,15 @@
"U19",
"U2",
"U20",
"U21",
"U22",
"U23",
"U24",
"U25",
"U26",
"U27",
"U28",
"U29",
"U3",
"U30",
"U31",
"U32",
"U33",
"U34",
"U35",
"U36",
"U37",
"U38",
"U39",
"U4",
"U40",
"U41",
"U42",
"U43",
"U44",
"U45",
"U46",
"U47",
"U48",
"U49",
"U5",
"U50",
"U51",
"U52",
"U53",
"U54",
"U55",
"U56",
"U57",
"U58",
"U59",
"U6",
"U60",
"U61",
"U62",
"U63",
"U64",
"U65",
"U66",
"U67",
"U68",
"U69",
"U7",
"U70",
"U71",
"U72",
"U73",
"U74",
"U75",
"U76",
"U77",
"U78",
"U79",
"U8",
"U80",
"U81",
"U82",
"U83",
"U84",
"U85",
"U86",
"U87",
"U88",
"U89",
"U9",
"U90",
"U91",
"U92",
"U93",
"U94",
"U95",
"U96",
"U97",
"U98",
"U99"
"U9"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
@@ -9897,6 +9599,7 @@
"RICH_MEDIA_MULTI_FLOATING",
"RICH_MEDIA_PEEL_DOWN",
"TRACKING_TEXT",
"VAST_REDIRECT",
"VPAID_LINEAR",
"VPAID_NON_LINEAR"
],
@@ -9923,6 +9626,7 @@
"",
"",
"",
"",
""
],
"location": "query"
@@ -11028,6 +10732,7 @@
"ACTION_PUSH",
"ACTION_REMOVE",
"ACTION_SEND",
"ACTION_SHARE",
"ACTION_UNASSIGN",
"ACTION_UNLINK",
"ACTION_UPDATE"
@@ -11048,6 +10753,7 @@
"",
"",
"",
"",
""
],
"location": "query"
@@ -12581,6 +12287,7 @@
"RICH_MEDIA_MULTI_FLOATING",
"RICH_MEDIA_PEEL_DOWN",
"TRACKING_TEXT",
"VAST_REDIRECT",
"VPAID_LINEAR",
"VPAID_NON_LINEAR"
],
@@ -12607,6 +12314,7 @@
"",
"",
"",
"",
""
],
"repeated": true,
@@ -13136,12 +12844,12 @@
},
"definitionsOnly": {
"type": "boolean",
"description": "Examine only the specified ad or campaign or advertiser's event tags for matching selector criteria. When set to false, the parent advertiser and parent campaign is examined as well. In addition, when set to false, the status field is examined as well along with the enabledByDefault field.",
"description": "Examine only the specified campaign or advertiser's event tags for matching selector criteria. When set to false, the parent advertiser and parent campaign of the specified ad or campaign is examined as well. In addition, when set to false, the status field is examined as well, along with the enabledByDefault field. This parameter can not be set to true when adId is specified as ads do not define their own even tags.",
"location": "query"
},
"enabled": {
"type": "boolean",
"description": "Select only enabled event tags. When definitionsOnly is set to true, only the specified advertiser or campaign's event tags' enabledByDefault field is examined. When definitionsOnly is set to false, the specified ad or specified campaign's parent advertiser's or parent campaign's event tags' enabledByDefault and status fields are examined as well.",
"description": "Select only enabled event tags. What is considered enabled or disabled depends on the definitionsOnly parameter. When definitionsOnly is set to true, only the specified advertiser or campaign's event tags' enabledByDefault field is examined. When definitionsOnly is set to false, the specified ad or specified campaign's parent advertiser's or parent campaign's event tags' enabledByDefault and status fields are examined as well.",
"location": "query"
},
"eventTagTypes": {
@@ -15472,12 +15180,17 @@
"PLACEMENT_TAG_CLICK_COMMANDS",
"PLACEMENT_TAG_IFRAME_ILAYER",
"PLACEMENT_TAG_IFRAME_JAVASCRIPT",
"PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY",
"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH",
"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3",
"PLACEMENT_TAG_INTERNAL_REDIRECT",
"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT",
"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY",
"PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT",
"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT",
"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY",
"PLACEMENT_TAG_JAVASCRIPT",
"PLACEMENT_TAG_JAVASCRIPT_LEGACY",
"PLACEMENT_TAG_STANDARD",
"PLACEMENT_TAG_TRACKING",
"PLACEMENT_TAG_TRACKING_IFRAME",
@@ -15496,6 +15209,11 @@
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"repeated": true,

File diff suppressed because it is too large Load Diff

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/-U4jrXk6-vTBoDv0IALjnOwY9tw\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/zoueaaoAZQGFJohVmI5skQDTvqg\"",
"discoveryVersion": "v1",
"id": "dns:v1",
"name": "dns",
"version": "v1",
"revision": "20150624",
"revision": "20150729",
"title": "Google Cloud DNS API",
"description": "The Google Cloud DNS API provides services for configuring and serving authoritative DNS records.",
"ownerDomain": "google.com",
@@ -72,6 +72,9 @@
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/cloud-platform.read-only": {
"description": "View your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/ndev.clouddns.readonly": {
"description": "View your DNS records hosted by Google Cloud DNS"
},
@@ -411,6 +414,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.clouddns.readonly",
"https://www.googleapis.com/auth/ndev.clouddns.readwrite"
]
@@ -471,6 +475,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.clouddns.readonly",
"https://www.googleapis.com/auth/ndev.clouddns.readwrite"
]
@@ -562,6 +567,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.clouddns.readonly",
"https://www.googleapis.com/auth/ndev.clouddns.readwrite"
]
@@ -603,6 +609,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.clouddns.readonly",
"https://www.googleapis.com/auth/ndev.clouddns.readwrite"
]
@@ -632,6 +639,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.clouddns.readonly",
"https://www.googleapis.com/auth/ndev.clouddns.readwrite"
]
@@ -689,6 +697,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.clouddns.readonly",
"https://www.googleapis.com/auth/ndev.clouddns.readwrite"
]

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/oeG7uB52wsm8PPE9oV2doNReuXE\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/z8EvZOnlqaBoJtlcMyMinOpCnyk\"",
"discoveryVersion": "v1",
"id": "dns:v1beta1",
"name": "dns",
"version": "v1beta1",
"revision": "20150624",
"revision": "20150729",
"title": "Google Cloud DNS API",
"description": "The Google Cloud DNS API provides services for configuring and serving authoritative DNS records.",
"ownerDomain": "google.com",
@@ -72,6 +72,9 @@
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/cloud-platform.read-only": {
"description": "View your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/ndev.clouddns.readonly": {
"description": "View your DNS records hosted by Google Cloud DNS"
},
@@ -403,6 +406,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.clouddns.readonly",
"https://www.googleapis.com/auth/ndev.clouddns.readwrite"
]
@@ -463,6 +467,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.clouddns.readonly",
"https://www.googleapis.com/auth/ndev.clouddns.readwrite"
]
@@ -554,6 +559,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.clouddns.readonly",
"https://www.googleapis.com/auth/ndev.clouddns.readwrite"
]
@@ -595,6 +601,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.clouddns.readonly",
"https://www.googleapis.com/auth/ndev.clouddns.readwrite"
]
@@ -624,6 +631,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.clouddns.readonly",
"https://www.googleapis.com/auth/ndev.clouddns.readwrite"
]
@@ -681,6 +689,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.clouddns.readonly",
"https://www.googleapis.com/auth/ndev.clouddns.readwrite"
]

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/NbuQQoeeWObMBMsRr-eLonWmHd8\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/mAPHdimW0pvTGXzTTcUsJfk40xQ\"",
"discoveryVersion": "v1",
"id": "doubleclickbidmanager:v1",
"name": "doubleclickbidmanager",
"canonicalName": "DoubleClick Bid Manager",
"version": "v1",
"revision": "20150326",
"revision": "20150925",
"title": "DoubleClick Bid Manager API",
"description": "API for viewing and managing your reports in DoubleClick Bid Manager.",
"ownerDomain": "google.com",
@@ -76,6 +76,18 @@
"type": "object",
"description": "Request to fetch stored line items.",
"properties": {
"fileSpec": {
"type": "string",
"description": "File specification (column names, types, order) in which the line items will be returned. Default to EWF.",
"enum": [
"EWF",
"SDF"
],
"enumDescriptions": [
"",
""
]
},
"filterIds": {
"type": "array",
"description": "Ids of the specified filter type used to filter line items to fetch. If omitted, all the line items will be returned.",
@@ -117,7 +129,7 @@
"properties": {
"lineItems": {
"type": "string",
"description": "Retrieved line items in CSV format. Refer to Entity Write File Format for more information on file format."
"description": "Retrieved line items in CSV format. Refer to Entity Write File Format or Structured Data File Format for more information on file formats."
}
}
},
@@ -145,9 +157,11 @@
"FILTER_CITY",
"FILTER_CONVERSION_DELAY",
"FILTER_COUNTRY",
"FILTER_CREATIVE_HEIGHT",
"FILTER_CREATIVE_ID",
"FILTER_CREATIVE_SIZE",
"FILTER_CREATIVE_TYPE",
"FILTER_CREATIVE_WIDTH",
"FILTER_DATA_PROVIDER",
"FILTER_DATE",
"FILTER_DAY_OF_WEEK",
@@ -289,6 +303,8 @@
"",
"",
"",
"",
"",
""
]
},
@@ -369,9 +385,11 @@
"FILTER_CITY",
"FILTER_CONVERSION_DELAY",
"FILTER_COUNTRY",
"FILTER_CREATIVE_HEIGHT",
"FILTER_CREATIVE_ID",
"FILTER_CREATIVE_SIZE",
"FILTER_CREATIVE_TYPE",
"FILTER_CREATIVE_WIDTH",
"FILTER_DATA_PROVIDER",
"FILTER_DATE",
"FILTER_DAY_OF_WEEK",
@@ -513,6 +531,8 @@
"",
"",
"",
"",
"",
""
]
}
@@ -594,6 +614,12 @@
"METRIC_FEE20_ADVERTISER",
"METRIC_FEE20_PARTNER",
"METRIC_FEE20_USD",
"METRIC_FEE21_ADVERTISER",
"METRIC_FEE21_PARTNER",
"METRIC_FEE21_USD",
"METRIC_FEE22_ADVERTISER",
"METRIC_FEE22_PARTNER",
"METRIC_FEE22_USD",
"METRIC_FEE2_ADVERTISER",
"METRIC_FEE2_PARTNER",
"METRIC_FEE2_USD",
@@ -643,6 +669,9 @@
"METRIC_MEDIA_COST_ECPM_USD",
"METRIC_MEDIA_COST_PARTNER",
"METRIC_MEDIA_COST_USD",
"METRIC_MEDIA_COST_VIEWABLE_ECPM_ADVERTISER",
"METRIC_MEDIA_COST_VIEWABLE_ECPM_PARTNER",
"METRIC_MEDIA_COST_VIEWABLE_ECPM_USD",
"METRIC_MEDIA_FEE1_ADVERTISER",
"METRIC_MEDIA_FEE1_PARTNER",
"METRIC_MEDIA_FEE1_USD",
@@ -683,6 +712,9 @@
"METRIC_PROFIT_MARGIN",
"METRIC_PROFIT_PARTNER",
"METRIC_PROFIT_USD",
"METRIC_PROFIT_VIEWABLE_ECPM_ADVERTISER",
"METRIC_PROFIT_VIEWABLE_ECPM_PARTNER",
"METRIC_PROFIT_VIEWABLE_ECPM_USD",
"METRIC_REVENUE_ADVERTISER",
"METRIC_REVENUE_ECPAPC_ADVERTISER",
"METRIC_REVENUE_ECPAPC_PARTNER",
@@ -704,6 +736,9 @@
"METRIC_REVENUE_ECPM_USD",
"METRIC_REVENUE_PARTNER",
"METRIC_REVENUE_USD",
"METRIC_REVENUE_VIEWABLE_ECPM_ADVERTISER",
"METRIC_REVENUE_VIEWABLE_ECPM_PARTNER",
"METRIC_REVENUE_VIEWABLE_ECPM_USD",
"METRIC_RICH_MEDIA_VIDEO_COMPLETIONS",
"METRIC_RICH_MEDIA_VIDEO_FIRST_QUARTILE_COMPLETES",
"METRIC_RICH_MEDIA_VIDEO_FULL_SCREENS",
@@ -738,9 +773,24 @@
"METRIC_TOTAL_MEDIA_COST_ECPM_USD",
"METRIC_TOTAL_MEDIA_COST_PARTNER",
"METRIC_TOTAL_MEDIA_COST_USD",
"METRIC_TOTAL_MEDIA_COST_VIEWABLE_ECPM_ADVERTISER",
"METRIC_TOTAL_MEDIA_COST_VIEWABLE_ECPM_PARTNER",
"METRIC_TOTAL_MEDIA_COST_VIEWABLE_ECPM_USD",
"METRIC_TRUEVIEW_CONVERSION_COST_MANY_PER_VIEW_ADVERTISER",
"METRIC_TRUEVIEW_CONVERSION_COST_MANY_PER_VIEW_PARTNER",
"METRIC_TRUEVIEW_CONVERSION_COST_MANY_PER_VIEW_USD",
"METRIC_TRUEVIEW_CONVERSION_COST_ONE_PER_VIEW_ADVERTISER",
"METRIC_TRUEVIEW_CONVERSION_COST_ONE_PER_VIEW_PARTNER",
"METRIC_TRUEVIEW_CONVERSION_COST_ONE_PER_VIEW_USD",
"METRIC_TRUEVIEW_CONVERSION_MANY_PER_VIEW",
"METRIC_TRUEVIEW_CONVERSION_ONE_PER_VIEW",
"METRIC_TRUEVIEW_CONVERSION_RATE_ONE_PER_VIEW",
"METRIC_TRUEVIEW_CONVERSION_VALUE_MANY_PER_VIEW_ADVERTISER",
"METRIC_TRUEVIEW_CONVERSION_VALUE_MANY_PER_VIEW_PARTNER",
"METRIC_TRUEVIEW_CONVERSION_VALUE_MANY_PER_VIEW_USD",
"METRIC_TRUEVIEW_CONVERSION_VALUE_ONE_PER_VIEW_ADVERTISER",
"METRIC_TRUEVIEW_CONVERSION_VALUE_ONE_PER_VIEW_PARTNER",
"METRIC_TRUEVIEW_CONVERSION_VALUE_ONE_PER_VIEW_USD",
"METRIC_TRUEVIEW_COST_CONVERSION_MANY_PER_VIEW_RATIO",
"METRIC_TRUEVIEW_COST_CONVERSION_ONE_PER_VIEW_RATIO",
"METRIC_TRUEVIEW_CPV_ADVERTISER",
@@ -755,6 +805,9 @@
"METRIC_TRUEVIEW_LOST_IS_BUDGET",
"METRIC_TRUEVIEW_LOST_IS_RANK",
"METRIC_TRUEVIEW_TOTAL_CONVERSION_VALUE",
"METRIC_TRUEVIEW_TOTAL_CONVERSION_VALUES_ADVERTISER",
"METRIC_TRUEVIEW_TOTAL_CONVERSION_VALUES_PARTNER",
"METRIC_TRUEVIEW_TOTAL_CONVERSION_VALUES_USD",
"METRIC_TRUEVIEW_UNIQUE_VIEWERS",
"METRIC_TRUEVIEW_VALUE_CONVERSION_MANY_PER_VIEW_RATIO",
"METRIC_TRUEVIEW_VALUE_CONVERSION_ONE_PER_VIEW_RATIO",
@@ -1006,6 +1059,39 @@
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
]
}
@@ -1029,6 +1115,7 @@
"TYPE_KEYWORD",
"TYPE_NIELSEN_AUDIENCE_PROFILE",
"TYPE_NIELSEN_DAILY_REACH_BUILD",
"TYPE_NIELSEN_ONLINE_GLOBAL_MARKET",
"TYPE_NIELSEN_SITE",
"TYPE_ORDER_ID",
"TYPE_PAGE_CATEGORY",
@@ -1065,6 +1152,7 @@
"",
"",
"",
"",
""
]
}

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/X7AOv0-dwXq5VhzBANwBS6xU0aQ\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/TYEElx_gLlz3G4Z0qoDLbuCjb8k\"",
"discoveryVersion": "v1",
"id": "doubleclicksearch:v2",
"name": "doubleclicksearch",
"version": "v2",
"revision": "20150708",
"revision": "20151006",
"title": "DoubleClick Search API",
"description": "Report and modify your advertising data in DoubleClick Search (for example, campaigns, ad groups, keywords, and conversions).",
"ownerDomain": "google.com",
@@ -451,7 +451,11 @@
},
"platformSource": {
"type": "string",
"description": "The platform that is used to provide data for the custom dimension. Acceptable values are \"Floodlight\"."
"description": "The platform that is used to provide data for the custom dimension. Acceptable values are \"floodlight\"."
},
"productReportPerspective": {
"type": "string",
"description": "Provide different source for product items. Acceptable values are \"advertised\" and \"sold\"."
},
"savedColumnName": {
"type": "string",

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/kcCVDPs-5PNjr6BKMPQRpOOuEkc\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/3r31pQjuMAgvc6FJxZpAE46zc-E\"",
"discoveryVersion": "v1",
"id": "drive:v1",
"name": "drive",
"version": "v1",
"revision": "20150709",
"revision": "20151008",
"title": "Drive API",
"description": "The API to interact with Drive.",
"ownerDomain": "google.com",

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/q8uch3ImrfylJzc7hmtPqukUei0\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/j3Wwh3EWBgWZwRehTCtXuS9oPH4\"",
"discoveryVersion": "v1",
"id": "drive:v2",
"name": "drive",
"version": "v2",
"revision": "20150709",
"revision": "20151008",
"title": "Drive API",
"description": "The API to interact with Drive.",
"ownerDomain": "google.com",
@@ -87,6 +87,9 @@
"https://www.googleapis.com/auth/drive.metadata.readonly": {
"description": "View metadata for files in your Google Drive"
},
"https://www.googleapis.com/auth/drive.photos.readonly": {
"description": "View the photos, videos and albums in your Google Photos"
},
"https://www.googleapis.com/auth/drive.readonly": {
"description": "View the files in your Google Drive"
},
@@ -137,7 +140,7 @@
},
"domainSharingPolicy": {
"type": "string",
"description": "The domain sharing policy for the current user. Possible values are: \n- ALLOWED \n- ALLOWED_WITH_WARNING \n- INCOMING_ONLY \n- DISALLOWED"
"description": "The domain sharing policy for the current user. Possible values are: \n- allowed \n- allowedWithWarning \n- incomingOnly \n- disallowed"
},
"etag": {
"type": "string",
@@ -941,20 +944,24 @@
},
"fileExtension": {
"type": "string",
"description": "The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive."
"description": "The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files."
},
"fileSize": {
"type": "string",
"description": "The size of the file in bytes. This is only populated for files with content stored in Drive.",
"description": "The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.",
"format": "int64"
},
"folderColorRgb": {
"type": "string",
"description": "Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette."
},
"fullFileExtension": {
"type": "string",
"description": "The full file extension; extracted from the title. May contain multiple concatenated extensions, such as \"tar.gz\". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files."
},
"headRevisionId": {
"type": "string",
"description": "The ID of the file's head revision. This will only be populated for files with content stored in Drive."
"description": "The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files."
},
"iconLink": {
"type": "string",
@@ -1106,7 +1113,7 @@
},
"restricted": {
"type": "boolean",
"description": "Whether viewers are prevented from downloading this file."
"description": "Whether viewers and commenters are prevented from downloading, printing, and copying this file."
},
"starred": {
"type": "boolean",
@@ -1137,12 +1144,12 @@
},
"markedViewedByMeDate": {
"type": "string",
"description": "Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).",
"description": "Deprecated.",
"format": "date-time"
},
"md5Checksum": {
"type": "string",
"description": "An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive."
"description": "An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files."
},
"mimeType": {
"type": "string",
@@ -1167,7 +1174,7 @@
},
"originalFilename": {
"type": "string",
"description": "The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive."
"description": "The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files."
},
"ownedByMe": {
"type": "boolean",
@@ -1236,7 +1243,7 @@
},
"spaces": {
"type": "array",
"description": "The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'.",
"description": "The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'.",
"items": {
"type": "string"
}
@@ -1343,6 +1350,29 @@
}
}
},
"GeneratedIds": {
"id": "GeneratedIds",
"type": "object",
"description": "A list of generated IDs which can be provided in insert requests",
"properties": {
"ids": {
"type": "array",
"description": "The IDs generated for the requesting user in the specified space.",
"items": {
"type": "string"
}
},
"kind": {
"type": "string",
"description": "This is always drive#generatedIds",
"default": "drive#generatedIds"
},
"space": {
"type": "string",
"description": "The type of file that can be created with these IDs."
}
}
},
"ParentList": {
"id": "ParentList",
"type": "object",
@@ -1772,6 +1802,7 @@
"https://www.googleapis.com/auth/drive.file",
"https://www.googleapis.com/auth/drive.metadata",
"https://www.googleapis.com/auth/drive.metadata.readonly",
"https://www.googleapis.com/auth/drive.photos.readonly",
"https://www.googleapis.com/auth/drive.readonly"
]
}
@@ -1869,6 +1900,7 @@
"https://www.googleapis.com/auth/drive.file",
"https://www.googleapis.com/auth/drive.metadata",
"https://www.googleapis.com/auth/drive.metadata.readonly",
"https://www.googleapis.com/auth/drive.photos.readonly",
"https://www.googleapis.com/auth/drive.readonly"
]
},
@@ -1905,7 +1937,7 @@
},
"spaces": {
"type": "string",
"description": "A comma-separated list of spaces to query. Supported values are 'drive' and 'appDataFolder'.",
"description": "A comma-separated list of spaces to query. Supported values are 'drive', 'appDataFolder' and 'photos'.",
"location": "query"
},
"startChangeId": {
@@ -1925,6 +1957,7 @@
"https://www.googleapis.com/auth/drive.file",
"https://www.googleapis.com/auth/drive.metadata",
"https://www.googleapis.com/auth/drive.metadata.readonly",
"https://www.googleapis.com/auth/drive.photos.readonly",
"https://www.googleapis.com/auth/drive.readonly"
],
"supportsSubscription": true
@@ -1962,7 +1995,7 @@
},
"spaces": {
"type": "string",
"description": "A comma-separated list of spaces to query. Supported values are 'drive' and 'appDataFolder'.",
"description": "A comma-separated list of spaces to query. Supported values are 'drive', 'appDataFolder' and 'photos'.",
"location": "query"
},
"startChangeId": {
@@ -1986,6 +2019,7 @@
"https://www.googleapis.com/auth/drive.file",
"https://www.googleapis.com/auth/drive.metadata",
"https://www.googleapis.com/auth/drive.metadata.readonly",
"https://www.googleapis.com/auth/drive.photos.readonly",
"https://www.googleapis.com/auth/drive.readonly"
],
"supportsSubscription": true
@@ -2010,6 +2044,7 @@
"https://www.googleapis.com/auth/drive.file",
"https://www.googleapis.com/auth/drive.metadata",
"https://www.googleapis.com/auth/drive.metadata.readonly",
"https://www.googleapis.com/auth/drive.photos.readonly",
"https://www.googleapis.com/auth/drive.readonly"
]
}
@@ -2077,6 +2112,7 @@
"https://www.googleapis.com/auth/drive.file",
"https://www.googleapis.com/auth/drive.metadata",
"https://www.googleapis.com/auth/drive.metadata.readonly",
"https://www.googleapis.com/auth/drive.photos.readonly",
"https://www.googleapis.com/auth/drive.readonly"
]
},
@@ -2128,6 +2164,11 @@
"minimum": "0",
"location": "query"
},
"orderBy": {
"type": "string",
"description": "A comma-separated list of sort keys. Valid keys are 'createdDate', 'folder', 'lastViewedByMeDate', 'modifiedByMeDate', 'modifiedDate', 'quotaBytesUsed', 'recency', 'sharedWithMeDate', 'starred', and 'title'. Each key sorts ascending by default, but may be reversed with the 'desc' modifier. Example usage: ?orderBy=folder,modifiedDate desc,title. Please note that there is a current limitation for users with approximately one million files in which the requested sort order is ignored.",
"location": "query"
},
"pageToken": {
"type": "string",
"description": "Page token for children.",
@@ -2151,6 +2192,7 @@
"https://www.googleapis.com/auth/drive.file",
"https://www.googleapis.com/auth/drive.metadata",
"https://www.googleapis.com/auth/drive.metadata.readonly",
"https://www.googleapis.com/auth/drive.photos.readonly",
"https://www.googleapis.com/auth/drive.readonly"
]
}
@@ -2446,7 +2488,8 @@
"https://www.googleapis.com/auth/drive",
"https://www.googleapis.com/auth/drive.appdata",
"https://www.googleapis.com/auth/drive.apps.readonly",
"https://www.googleapis.com/auth/drive.file"
"https://www.googleapis.com/auth/drive.file",
"https://www.googleapis.com/auth/drive.photos.readonly"
]
},
"delete": {
@@ -2480,6 +2523,37 @@
"https://www.googleapis.com/auth/drive"
]
},
"generateIds": {
"id": "drive.files.generateIds",
"path": "files/generateIds",
"httpMethod": "GET",
"description": "Generates a set of file IDs which can be provided in insert requests.",
"parameters": {
"maxResults": {
"type": "integer",
"description": "Maximum number of IDs to return.",
"default": "10",
"format": "int32",
"minimum": "1",
"maximum": "1000",
"location": "query"
},
"space": {
"type": "string",
"description": "The space in which the IDs can be used to create new files. Supported values are 'drive' and 'appDataFolder'.",
"default": "drive",
"location": "query"
}
},
"response": {
"$ref": "GeneratedIds"
},
"scopes": [
"https://www.googleapis.com/auth/drive",
"https://www.googleapis.com/auth/drive.appdata",
"https://www.googleapis.com/auth/drive.file"
]
},
"get": {
"id": "drive.files.get",
"path": "files/{fileId}",
@@ -2518,7 +2592,7 @@
},
"updateViewedDate": {
"type": "boolean",
"description": "Whether to update the view date after successfully retrieving the file.",
"description": "Deprecated: Use files.update with modifiedDateBehavior=noChange, updateViewedDate=true and an empty request body.",
"default": "false",
"location": "query"
}
@@ -2536,6 +2610,7 @@
"https://www.googleapis.com/auth/drive.file",
"https://www.googleapis.com/auth/drive.metadata",
"https://www.googleapis.com/auth/drive.metadata.readonly",
"https://www.googleapis.com/auth/drive.photos.readonly",
"https://www.googleapis.com/auth/drive.readonly"
],
"supportsMediaDownload": true,
@@ -2659,6 +2734,11 @@
"minimum": "0",
"location": "query"
},
"orderBy": {
"type": "string",
"description": "A comma-separated list of sort keys. Valid keys are 'createdDate', 'folder', 'lastViewedByMeDate', 'modifiedByMeDate', 'modifiedDate', 'quotaBytesUsed', 'recency', 'sharedWithMeDate', 'starred', and 'title'. Each key sorts ascending by default, but may be reversed with the 'desc' modifier. Example usage: ?orderBy=folder,modifiedDate desc,title. Please note that there is a current limitation for users with approximately one million files in which the requested sort order is ignored.",
"location": "query"
},
"pageToken": {
"type": "string",
"description": "Page token for files.",
@@ -2684,7 +2764,7 @@
},
"spaces": {
"type": "string",
"description": "A comma-separated list of spaces to query. Supported values are 'drive' and 'appDataFolder'.",
"description": "A comma-separated list of spaces to query. Supported values are 'drive', 'appDataFolder' and 'photos'.",
"location": "query"
}
},
@@ -2698,6 +2778,7 @@
"https://www.googleapis.com/auth/drive.file",
"https://www.googleapis.com/auth/drive.metadata",
"https://www.googleapis.com/auth/drive.metadata.readonly",
"https://www.googleapis.com/auth/drive.photos.readonly",
"https://www.googleapis.com/auth/drive.readonly"
]
},
@@ -2714,7 +2795,7 @@
},
"convert": {
"type": "boolean",
"description": "Whether to convert this file to the corresponding Google Docs format.",
"description": "This parameter is deprecated and has no function.",
"default": "false",
"location": "query"
},
@@ -2726,7 +2807,7 @@
},
"modifiedDateBehavior": {
"type": "string",
"description": "How the modifiedDate field should be updated. This overrides setModifiedDate.",
"description": "Determines the behavior in which modifiedDate is updated. This overrides setModifiedDate.",
"enum": [
"fromBody",
"fromBodyIfNeeded",
@@ -2747,7 +2828,7 @@
},
"newRevision": {
"type": "boolean",
"description": "Whether a blob upload should create a new revision. If false, the blob data in the current head revision is replaced. If true or not set, a new blob is created as head revision, and previous unpinned revisions are preserved for a short period of time. Pinned revisions are stored indefinitely, using additional storage quota, up to a maximum of 200 revisions.",
"description": "Whether a blob upload should create a new revision. If false, the blob data in the current head revision is replaced. If true or not set, a new blob is created as head revision, and previous unpinned revisions are preserved for a short period of time. Pinned revisions are stored indefinitely, using additional storage quota, up to a maximum of 200 revisions. For details on how revisions are retained, see the Drive Help Center.",
"default": "true",
"location": "query"
},
@@ -2851,7 +2932,7 @@
"id": "drive.files.trash",
"path": "files/{fileId}/trash",
"httpMethod": "POST",
"description": "Moves a file to the trash.",
"description": "Moves a file to the trash. The currently authenticated user must own the file.",
"parameters": {
"fileId": {
"type": "string",
@@ -2912,7 +2993,7 @@
},
"convert": {
"type": "boolean",
"description": "Whether to convert this file to the corresponding Google Docs format.",
"description": "This parameter is deprecated and has no function.",
"default": "false",
"location": "query"
},
@@ -2924,7 +3005,7 @@
},
"modifiedDateBehavior": {
"type": "string",
"description": "How the modifiedDate field should be updated. This overrides setModifiedDate.",
"description": "Determines the behavior in which modifiedDate is updated. This overrides setModifiedDate.",
"enum": [
"fromBody",
"fromBodyIfNeeded",
@@ -2945,7 +3026,7 @@
},
"newRevision": {
"type": "boolean",
"description": "Whether a blob upload should create a new revision. If false, the blob data in the current head revision is replaced. If true or not set, a new blob is created as head revision, and previous unpinned revisions are preserved for a short period of time. Pinned revisions are stored indefinitely, using additional storage quota, up to a maximum of 200 revisions.",
"description": "Whether a blob upload should create a new revision. If false, the blob data in the current head revision is replaced. If true or not set, a new blob is created as head revision, and previous unpinned revisions are preserved for a short period of time. Pinned revisions are stored indefinitely, using additional storage quota, up to a maximum of 200 revisions. For details on how revisions are retained, see the Drive Help Center.",
"default": "true",
"location": "query"
},
@@ -3073,7 +3154,7 @@
},
"updateViewedDate": {
"type": "boolean",
"description": "Whether to update the view date after successfully retrieving the file.",
"description": "Deprecated: Use files.update with modifiedDateBehavior=noChange, updateViewedDate=true and an empty request body.",
"default": "false",
"location": "query"
}
@@ -3095,6 +3176,7 @@
"https://www.googleapis.com/auth/drive.file",
"https://www.googleapis.com/auth/drive.metadata",
"https://www.googleapis.com/auth/drive.metadata.readonly",
"https://www.googleapis.com/auth/drive.photos.readonly",
"https://www.googleapis.com/auth/drive.readonly"
],
"supportsMediaDownload": true,
@@ -3164,6 +3246,7 @@
"https://www.googleapis.com/auth/drive.file",
"https://www.googleapis.com/auth/drive.metadata",
"https://www.googleapis.com/auth/drive.metadata.readonly",
"https://www.googleapis.com/auth/drive.photos.readonly",
"https://www.googleapis.com/auth/drive.readonly"
]
},
@@ -3220,6 +3303,7 @@
"https://www.googleapis.com/auth/drive.file",
"https://www.googleapis.com/auth/drive.metadata",
"https://www.googleapis.com/auth/drive.metadata.readonly",
"https://www.googleapis.com/auth/drive.photos.readonly",
"https://www.googleapis.com/auth/drive.readonly"
]
}
@@ -3286,6 +3370,7 @@
"https://www.googleapis.com/auth/drive.file",
"https://www.googleapis.com/auth/drive.metadata",
"https://www.googleapis.com/auth/drive.metadata.readonly",
"https://www.googleapis.com/auth/drive.photos.readonly",
"https://www.googleapis.com/auth/drive.readonly"
]
},
@@ -3315,6 +3400,7 @@
"https://www.googleapis.com/auth/drive.file",
"https://www.googleapis.com/auth/drive.metadata",
"https://www.googleapis.com/auth/drive.metadata.readonly",
"https://www.googleapis.com/auth/drive.photos.readonly",
"https://www.googleapis.com/auth/drive.readonly"
]
},
@@ -3380,6 +3466,7 @@
"https://www.googleapis.com/auth/drive.file",
"https://www.googleapis.com/auth/drive.metadata",
"https://www.googleapis.com/auth/drive.metadata.readonly",
"https://www.googleapis.com/auth/drive.photos.readonly",
"https://www.googleapis.com/auth/drive.readonly"
]
},
@@ -3387,7 +3474,7 @@
"id": "drive.permissions.patch",
"path": "files/{fileId}/permissions/{permissionId}",
"httpMethod": "PATCH",
"description": "Updates a permission. This method supports patch semantics.",
"description": "Updates a permission using patch semantics.",
"parameters": {
"fileId": {
"type": "string",
@@ -3541,6 +3628,7 @@
"https://www.googleapis.com/auth/drive.file",
"https://www.googleapis.com/auth/drive.metadata",
"https://www.googleapis.com/auth/drive.metadata.readonly",
"https://www.googleapis.com/auth/drive.photos.readonly",
"https://www.googleapis.com/auth/drive.readonly"
]
},
@@ -3598,6 +3686,7 @@
"https://www.googleapis.com/auth/drive.file",
"https://www.googleapis.com/auth/drive.metadata",
"https://www.googleapis.com/auth/drive.metadata.readonly",
"https://www.googleapis.com/auth/drive.photos.readonly",
"https://www.googleapis.com/auth/drive.readonly"
]
},
@@ -4079,6 +4168,7 @@
"https://www.googleapis.com/auth/drive.file",
"https://www.googleapis.com/auth/drive.metadata",
"https://www.googleapis.com/auth/drive.metadata.readonly",
"https://www.googleapis.com/auth/drive.photos.readonly",
"https://www.googleapis.com/auth/drive.readonly"
]
},
@@ -4107,6 +4197,7 @@
"https://www.googleapis.com/auth/drive.file",
"https://www.googleapis.com/auth/drive.metadata",
"https://www.googleapis.com/auth/drive.metadata.readonly",
"https://www.googleapis.com/auth/drive.photos.readonly",
"https://www.googleapis.com/auth/drive.readonly"
]
},

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/fu62NCNoN0rRqR4S4_Yco_vuY_4\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/0Zea4KQ6RcBXE82yubsnEJqPrYs\"",
"discoveryVersion": "v1",
"id": "freebase:v1",
"name": "freebase",
"version": "v1",
"revision": "20150715",
"revision": "20150728",
"title": "Freebase Search",
"description": "Find Freebase entities using textual queries and other constraints.",
"ownerDomain": "google.com",

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/kMJ5WSJLlpaiYVrD6C0XoIYYZuQ\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/P7g-a3C968F6LpsV-dK3V_5H2MQ\"",
"discoveryVersion": "v1",
"id": "games:v1",
"name": "games",
"canonicalName": "Games",
"version": "v1",
"revision": "20150717",
"revision": "20151012",
"title": "Google Play Game Services API",
"description": "The API for Google Play Game Services.",
"ownerDomain": "google.com",
@@ -3539,10 +3539,12 @@
"description": "Collection of players being retrieved",
"required": true,
"enum": [
"connected",
"playedWith",
"played_with"
],
"enumDescriptions": [
"Retrieve a list of players that are also playing this game in reverse chronological order.",
"(DEPRECATED: please use played_with!) Retrieve a list of players you have played a multiplayer game (realtime or turn-based) with recently.",
"Retrieve a list of players you have played a multiplayer game (realtime or turn-based) with recently."
],

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/sMcZMsBUEjDYKHCXGpDphmDRHRw\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/k09Y_EDjHKoAzOrAaih8-jd3Fu4\"",
"discoveryVersion": "v1",
"id": "gamesConfiguration:v1configuration",
"name": "gamesConfiguration",
"canonicalName": "Games Configuration",
"version": "v1configuration",
"revision": "20150717",
"revision": "20151012",
"title": "Google Play Game Services Publishing API",
"description": "The Publishing API for Google Play Game Services.",
"ownerDomain": "google.com",

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/wNuOjQAjwhPKEaAKl2_MUVwyufA\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/lMIvHESSjSJESC3z65mkw4Xo3pI\"",
"discoveryVersion": "v1",
"id": "gamesManagement:v1management",
"name": "gamesManagement",
"canonicalName": "Games Management",
"version": "v1management",
"revision": "20150717",
"revision": "20151012",
"title": "Google Play Game Services Management API",
"description": "The Management API for Google Play Game Services.",
"ownerDomain": "google.com",

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/FV8wyJgOhzZ7rpR6g2FmI8jROkE\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/nmRT5II6MI2QFs3s0gwB9XPmePY\"",
"discoveryVersion": "v1",
"id": "genomics:v1",
"name": "genomics",
"version": "v1",
"revision": "20150716",
"revision": "20151014",
"title": "Genomics API",
"description": "An API to store, process, explore, and share DNA sequence reads, reference-based alignments, and variant calls.",
"ownerDomain": "google.com",
@@ -17,7 +17,7 @@
"documentationLink": "",
"protocol": "rest",
"baseUrl": "https://genomics.googleapis.com/",
"basePath": "",
"basePath": "/",
"rootUrl": "https://genomics.googleapis.com/",
"servicePath": "",
"batchPath": "batch",
@@ -172,6 +172,92 @@
"id": "UndeleteDatasetRequest",
"type": "object"
},
"SetIamPolicyRequest": {
"id": "SetIamPolicyRequest",
"type": "object",
"description": "Request message for `SetIamPolicy` method.",
"properties": {
"policy": {
"$ref": "Policy",
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them."
}
}
},
"Policy": {
"id": "Policy",
"type": "object",
"description": "Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **Example** { \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-other-app@appspot.gserviceaccount.com\"] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] } For a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam).",
"properties": {
"version": {
"type": "integer",
"description": "Version of the `Policy`. The default version is 0.",
"format": "int32"
},
"bindings": {
"type": "array",
"description": "Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.",
"items": {
"$ref": "Binding"
}
},
"etag": {
"type": "string",
"description": "Can be used to perform a read-modify-write.",
"format": "byte"
}
}
},
"Binding": {
"id": "Binding",
"type": "object",
"description": "Associates `members` with a `role`.",
"properties": {
"role": {
"type": "string",
"description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required"
},
"members": {
"type": "array",
"description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following formats: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.",
"items": {
"type": "string"
}
}
}
},
"GetIamPolicyRequest": {
"id": "GetIamPolicyRequest",
"type": "object",
"description": "Request message for `GetIamPolicy` method."
},
"TestIamPermissionsRequest": {
"id": "TestIamPermissionsRequest",
"type": "object",
"description": "Request message for `TestIamPermissions` method.",
"properties": {
"permissions": {
"type": "array",
"description": "REQUIRED: The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. Allowed permissions are: * `genomics.datasets.create` * `genomics.datasets.delete` * `genomics.datasets.get` * `genomics.datasets.list` * `genomics.datasets.update` * `genomics.datasets.getIamPolicy` * `genomics.datasets.setIamPolicy`",
"items": {
"type": "string"
}
}
}
},
"TestIamPermissionsResponse": {
"id": "TestIamPermissionsResponse",
"type": "object",
"description": "Response message for `TestIamPermissions` method.",
"properties": {
"permissions": {
"type": "array",
"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.",
"items": {
"type": "string"
}
}
}
},
"Operation": {
"id": "Operation",
"type": "object",
@@ -183,7 +269,7 @@
},
"metadata": {
"type": "object",
"description": "An [OperationMetadata][google.genomics.v1.OperationMetadata] object. This will always be returned with the [Operation][google.longrunning.Operation].",
"description": "An OperationMetadata object. This will always be returned with the Operation.",
"additionalProperties": {
"type": "any",
"description": "Properties of the object. Contains field @ype with type URL."
@@ -191,7 +277,7 @@
},
"done": {
"type": "boolean",
"description": "If the value is `false`, it means the operation is still in progress. If true, the operation is completed and the `result` is available."
"description": "If the value is `false`, it means the operation is still in progress. If true, the operation is completed, and either `error` or `response` is available."
},
"error": {
"$ref": "Status",
@@ -199,7 +285,7 @@
},
"response": {
"type": "object",
"description": "If importing [ReadGroupSets][google.genomics.v1.ReadGroupSet], an [ImportReadGroupSetsResponse][google.genomics.v1.ImportReadGroupSetsResponse] is returned. If importing [Variants][google.genomics.v1.Variant], an [ImportVariantsResponse][google.genomics.v1.ImportVariantsResponse] is returned. For exports, an empty response is returned.",
"description": "If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned. If importing Variants, an ImportVariantsResponse is returned. For exports, an empty response is returned.",
"additionalProperties": {
"type": "any",
"description": "Properties of the object. Contains field @ype with type URL."
@@ -210,16 +296,16 @@
"Status": {
"id": "Status",
"type": "object",
"description": "The `Status` defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users. - Flexible enough to meet unexpected needs. # Overview The `Status` message contains 3 pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][google.rpc.Code], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, it can be sent in the error details or localized by the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments - either with or without APIs - to provide consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons.",
"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons.",
"properties": {
"code": {
"type": "integer",
"description": "The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].",
"description": "The status code, which should be an enum value of google.rpc.Code.",
"format": "int32"
},
"message": {
"type": "string",
"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client."
"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client."
},
"details": {
"type": "array",
@@ -237,7 +323,7 @@
"ListOperationsResponse": {
"id": "ListOperationsResponse",
"type": "object",
"description": "The response message for [Operations.ListOperations][google.longrunning.Operations.ListOperations].",
"description": "The response message for Operations.ListOperations.",
"properties": {
"operations": {
"type": "array",
@@ -255,7 +341,7 @@
"CancelOperationRequest": {
"id": "CancelOperationRequest",
"type": "object",
"description": "The request message for [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]."
"description": "The request message for Operations.CancelOperation."
},
"ImportReadGroupSetsRequest": {
"id": "ImportReadGroupSetsRequest",
@@ -272,7 +358,7 @@
},
"sourceUris": {
"type": "array",
"description": "A list of URIs pointing at BAM files in Google Cloud Storage.",
"description": "A list of URIs pointing at [BAM files](https://samtools.github.io/hts-specs/SAMv1.pdf) in Google Cloud Storage.",
"items": {
"type": "string"
}
@@ -614,7 +700,7 @@
"properties": {
"alignments": {
"type": "array",
"description": "The list of matching alignments sorted by mapped genomic coordinate, if any, ascending in position within the same reference. Unmapped reads, which have no position, are returned last and are further sorted in ascending lexicographic order by fragment name.",
"description": "The list of matching alignments sorted by mapped genomic coordinate, if any, ascending in position within the same reference. Unmapped reads, which have no position, are returned contiguously and are sorted in ascending lexicographic order by fragment name.",
"items": {
"$ref": "Read"
}
@@ -628,7 +714,7 @@
"Read": {
"id": "Read",
"type": "object",
"description": "A read alignment describes a linear alignment of a string of DNA to a [reference sequence][google.genomics.v1.Reference], in addition to metadata about the fragment (the molecule of DNA sequenced) and the read (the bases which were read by the sequencer). A read is equivalent to a line in a SAM file. A read belongs to exactly one read group and exactly one [read group set][google.genomics.v1.ReadGroupSet]. ### Generating a reference-aligned sequence string When interacting with mapped reads, it's often useful to produce a string representing the local alignment of the read to reference. The following pseudocode demonstrates one way of doing this: out = \"\" offset = 0 for c in read.alignment.cigar { switch c.operation { case \"ALIGNMENT_MATCH\", \"SEQUENCE_MATCH\", \"SEQUENCE_MISMATCH\": out += read.alignedSequence[offset:offset+c.operationLength] offset += c.operationLength break case \"CLIP_SOFT\", \"INSERT\": offset += c.operationLength break case \"PAD\": out += repeat(\"*\", c.operationLength) break case \"DELETE\": out += repeat(\"-\", c.operationLength) break case \"SKIP\": out += repeat(\" \", c.operationLength) break case \"CLIP_HARD\": break } } return out ### Converting to SAM's CIGAR string The following pseudocode generates a SAM CIGAR string from the `cigar` field. Note that this is a lossy conversion (`cigar.referenceSequence` is lost). cigarMap = { \"ALIGNMENT_MATCH\": \"M\", \"INSERT\": \"I\", \"DELETE\": \"D\", \"SKIP\": \"N\", \"CLIP_SOFT\": \"S\", \"CLIP_HARD\": \"H\", \"PAD\": \"P\", \"SEQUENCE_MATCH\": \"=\", \"SEQUENCE_MISMATCH\": \"X\", } cigarStr = \"\" for c in read.alignment.cigar { cigarStr += c.operationLength + cigarMap[c.operation] } return cigarStr",
"description": "A read alignment describes a linear alignment of a string of DNA to a reference sequence, in addition to metadata about the fragment (the molecule of DNA sequenced) and the read (the bases which were read by the sequencer). A read is equivalent to a line in a SAM file. A read belongs to exactly one read group and exactly one read group set. ### Generating a reference-aligned sequence string When interacting with mapped reads, it's often useful to produce a string representing the local alignment of the read to reference. The following pseudocode demonstrates one way of doing this: out = \"\" offset = 0 for c in read.alignment.cigar { switch c.operation { case \"ALIGNMENT_MATCH\", \"SEQUENCE_MATCH\", \"SEQUENCE_MISMATCH\": out += read.alignedSequence[offset:offset+c.operationLength] offset += c.operationLength break case \"CLIP_SOFT\", \"INSERT\": offset += c.operationLength break case \"PAD\": out += repeat(\"*\", c.operationLength) break case \"DELETE\": out += repeat(\"-\", c.operationLength) break case \"SKIP\": out += repeat(\" \", c.operationLength) break case \"CLIP_HARD\": break } } return out ### Converting to SAM's CIGAR string The following pseudocode generates a SAM CIGAR string from the `cigar` field. Note that this is a lossy conversion (`cigar.referenceSequence` is lost). cigarMap = { \"ALIGNMENT_MATCH\": \"M\", \"INSERT\": \"I\", \"DELETE\": \"D\", \"SKIP\": \"N\", \"CLIP_SOFT\": \"S\", \"CLIP_HARD\": \"H\", \"PAD\": \"P\", \"SEQUENCE_MATCH\": \"=\", \"SEQUENCE_MISMATCH\": \"X\", } cigarStr = \"\" for c in read.alignment.cigar { cigarStr += c.operationLength + cigarMap[c.operation] } return cigarStr",
"properties": {
"id": {
"type": "string",
@@ -1098,9 +1184,8 @@
]
},
"number": {
"type": "integer",
"description": "The number of values that can be included in a field described by this metadata.",
"format": "int32"
"type": "string",
"description": "The number of values that can be included in a field described by this metadata."
},
"description": {
"type": "string",
@@ -1390,23 +1475,6 @@
}
}
},
"MergeVariantsRequest": {
"id": "MergeVariantsRequest",
"type": "object",
"properties": {
"variantSetId": {
"type": "string",
"description": "The destination variant set."
},
"variants": {
"type": "array",
"description": "The variants to be merged with existing variants.",
"items": {
"$ref": "Variant"
}
}
}
},
"SearchCallSetsRequest": {
"id": "SearchCallSetsRequest",
"type": "object",
@@ -1471,7 +1539,7 @@
},
"variantSetIds": {
"type": "array",
"description": "The IDs of the variant sets this call set belongs to.",
"description": "The IDs of the variant sets this call set belongs to. This field must have exactly length one, as a call set belongs to a single variant set. This field is repeated for compatibility with the [GA4GH 0.5.1 API](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variants.avdl#L76).",
"items": {
"type": "string"
}
@@ -1524,7 +1592,7 @@
"OperationMetadata": {
"id": "OperationMetadata",
"type": "object",
"description": "Metadata describing an [Operation][google.longrunning.Operation].",
"description": "Metadata describing an Operation.",
"properties": {
"projectId": {
"type": "string",
@@ -1554,7 +1622,7 @@
"OperationEvent": {
"id": "OperationEvent",
"type": "object",
"description": "An event that occurred during an [Operation][google.longrunning.Operation].",
"description": "An event that occurred during an Operation.",
"properties": {
"description": {
"type": "string",
@@ -1653,7 +1721,7 @@
},
"updateMask": {
"type": "string",
"description": "An optional mask specifying which fields to update. At this time, the only mutable field is [name][google.genomics.v1.Dataset.name]. The only acceptable value is \"name\". If unspecified, all mutable fields will be updated.",
"description": "An optional mask specifying which fields to update. At this time, the only mutable field is name. The only acceptable value is \"name\". If unspecified, all mutable fields will be updated.",
"location": "query"
}
},
@@ -1721,6 +1789,90 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/genomics"
]
},
"setIamPolicy": {
"id": "genomics.datasets.setIamPolicy",
"path": "v1/{+resource}:setIamPolicy",
"httpMethod": "POST",
"description": "Sets the access control policy on the specified dataset. Replaces any existing policy. See Setting a Policy for more information.",
"parameters": {
"resource": {
"type": "string",
"description": "REQUIRED: The resource for which policy is being specified. Format is `datasets/`.",
"required": true,
"pattern": "^datasets/[^/]*$",
"location": "path"
}
},
"parameterOrder": [
"resource"
],
"request": {
"$ref": "SetIamPolicyRequest"
},
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/genomics"
]
},
"getIamPolicy": {
"id": "genomics.datasets.getIamPolicy",
"path": "v1/{+resource}:getIamPolicy",
"httpMethod": "POST",
"description": "Gets the access control policy for the dataset. Is empty if the policy or the resource does not exist. See Getting a Policy for more information.",
"parameters": {
"resource": {
"type": "string",
"description": "REQUIRED: The resource for which policy is being specified. Format is `datasets/`.",
"required": true,
"pattern": "^datasets/[^/]*$",
"location": "path"
}
},
"parameterOrder": [
"resource"
],
"request": {
"$ref": "GetIamPolicyRequest"
},
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/genomics"
]
},
"testIamPermissions": {
"id": "genomics.datasets.testIamPermissions",
"path": "v1/{+resource}:testIamPermissions",
"httpMethod": "POST",
"description": "Returns permissions that a caller has on the specified resource. See Testing Permissions for more information.",
"parameters": {
"resource": {
"type": "string",
"description": "REQUIRED: The resource for which policy is being specified. Format is `datasets/`.",
"required": true,
"pattern": "^datasets/[^/]*$",
"location": "path"
}
},
"parameterOrder": [
"resource"
],
"request": {
"$ref": "TestIamPermissionsRequest"
},
"response": {
"$ref": "TestIamPermissionsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/genomics"
]
}
}
},
@@ -1766,7 +1918,7 @@
},
"filter": {
"type": "string",
"description": "A string for filtering [Operations][google.longrunning.Operation]. The following filter fields are supported: * projectId: Required. Corresponds to [OperationMetadata.projectId][google.genomics.v1.OperationMetadata.project_id]. * createTime: The time this job was created, in seconds from the [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `\u003e=` and/or `= 1432140000` * `projectId = my-project AND createTime \u003e= 1432140000 AND createTime \u003c= 1432150000 AND status = RUNNING`",
"description": "A string for filtering Operations. The following filter fields are supported: * projectId: Required. Corresponds to OperationMetadata.projectId. * createTime: The time this job was created, in seconds from the [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `\u003e=` and/or `= 1432140000` * `projectId = my-project AND createTime \u003e= 1432140000 AND createTime \u003c= 1432150000 AND status = RUNNING`",
"location": "query"
},
"pageSize": {
@@ -1777,7 +1929,7 @@
},
"pageToken": {
"type": "string",
"description": "The standard List page token.",
"description": "The standard list page token.",
"location": "query"
}
},
@@ -1796,7 +1948,7 @@
"id": "genomics.operations.cancel",
"path": "v1/{+name}:cancel",
"httpMethod": "POST",
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients may use [Operations.GetOperation][google.longrunning.Operations.GetOperation] or [Operations.ListOperations][google.longrunning.Operations.ListOperations] to check whether the cancellation succeeded or the operation completed despite cancellation.",
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients may use Operations.GetOperation or Operations.ListOperations to check whether the cancellation succeeded or the operation completed despite cancellation.",
"parameters": {
"name": {
"type": "string",
@@ -1824,7 +1976,7 @@
"id": "genomics.operations.delete",
"path": "v1/{+name}",
"httpMethod": "DELETE",
"description": "This method is not implemented. To cancel an operation, please use [Operations.CancelOperation][google.longrunning.Operations.CancelOperation].",
"description": "This method is not implemented. To cancel an operation, please use Operations.CancelOperation.",
"parameters": {
"name": {
"type": "string",
@@ -1853,7 +2005,7 @@
"id": "genomics.readgroupsets.import",
"path": "v1/readgroupsets:import",
"httpMethod": "POST",
"description": "Creates read group sets by asynchronously importing the provided information. Note that currently comments in the input file header are **not** imported and some custom tags will be converted to strings, rather than preserving tag types. The caller must have WRITE permissions to the dataset.",
"description": "Creates read group sets by asynchronously importing the provided information. The caller must have WRITE permissions to the dataset. ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import - Tags will be converted to strings - tag types are not preserved - Comments (`@CO`) in the input file header will not be preserved - Original header order of references (`@SQ`) will not be preserved - Any reverse stranded unmapped reads will be reverse complemented, and their qualities (and \"BQ\" tag, if any) will be reversed - Unmapped reads will be stripped of positional information (reference name and position)",
"request": {
"$ref": "ImportReadGroupSetsRequest"
},
@@ -1870,7 +2022,7 @@
"id": "genomics.readgroupsets.export",
"path": "v1/readgroupsets/{readGroupSetId}:export",
"httpMethod": "POST",
"description": "Exports a read group set to a BAM file in Google Cloud Storage. Note that currently there may be some differences between exported BAM files and the original BAM file at the time of import. In particular, comments in the input file header will not be preserved, some custom tags will be converted to strings, and original reference sequence order is not necessarily preserved.",
"description": "Exports a read group set to a BAM file in Google Cloud Storage. Note that currently there may be some differences between exported BAM files and the original BAM file at the time of import. See [ImportReadGroupSets](google.genomics.v1.ReadServiceV1.ImportReadGroupSets) for caveats.",
"parameters": {
"readGroupSetId": {
"type": "string",
@@ -1925,7 +2077,7 @@
},
"updateMask": {
"type": "string",
"description": "An optional mask specifying which fields to update. At this time, mutable fields are [referenceSetId][google.genomics.v1.ReadGroupSet.reference_set_id] and [name][google.genomics.v1.ReadGroupSet.name]. Acceptable values are \"referenceSetId\" and \"name\". If unspecified, all mutable fields will be updated.",
"description": "An optional mask specifying which fields to update. At this time, mutable fields are referenceSetId and name. Acceptable values are \"referenceSetId\" and \"name\". If unspecified, all mutable fields will be updated.",
"location": "query"
}
},
@@ -2232,7 +2384,7 @@
"id": "genomics.variants.import",
"path": "v1/variants:import",
"httpMethod": "POST",
"description": "Creates variant data by asynchronously importing the provided information. The variants for import will be merged with any existing data and each other according to the behavior of mergeVariants. In particular, this means for merged VCF variants that have conflicting INFO fields, some data will be arbitrarily discarded. As a special case, for single-sample VCF files, QUAL and FILTER fields will be moved to the call level; these are sometimes interpreted in a call-specific context. Imported VCF headers are appended to the metadata already in a variant set.",
"description": "Creates variant data by asynchronously importing the provided information. The variants for import will be merged with any existing variant that matches its reference sequence, start, end, reference bases, and alternative bases. If no such variant exists, a new one will be created. When variants are merged, the call information from the new variant is added to the existing variant, and other fields (such as key/value pairs) are discarded. In particular, this means for merged VCF variants that have conflicting INFO fields, some data will be arbitrarily discarded. As a special case, for single-sample VCF files, QUAL and FILTER fields will be moved to the call level; these are sometimes interpreted in a call-specific context. Imported VCF headers are appended to the metadata already in a variant set.",
"request": {
"$ref": "ImportVariantsRequest"
},
@@ -2292,7 +2444,7 @@
},
"updateMask": {
"type": "string",
"description": "An optional mask specifying which fields to update. At this time, mutable fields are [names][google.genomics.v1.Variant.names] and [info][google.genomics.v1.Variant.info]. Acceptable values are \"names\" and \"info\". If unspecified, all mutable fields will be updated.",
"description": "An optional mask specifying which fields to update. At this time, mutable fields are names and info. Acceptable values are \"names\" and \"info\". If unspecified, all mutable fields will be updated.",
"location": "query"
}
},
@@ -2358,22 +2510,6 @@
"https://www.googleapis.com/auth/genomics",
"https://www.googleapis.com/auth/genomics.readonly"
]
},
"merge": {
"id": "genomics.variants.merge",
"path": "v1/variants:merge",
"httpMethod": "POST",
"description": "Merges the given variants with existing variants. Each variant will be merged with an existing variant that matches its reference sequence, start, end, reference bases, and alternative bases. If no such variant exists, a new one will be created. When variants are merged, the call information from the new variant is added to the existing variant, and other fields (such as key/value pairs) are discarded.",
"request": {
"$ref": "MergeVariantsRequest"
},
"response": {
"$ref": "Empty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/genomics"
]
}
}
},
@@ -2383,7 +2519,7 @@
"id": "genomics.variantsets.create",
"path": "v1/variantsets",
"httpMethod": "POST",
"description": "Creates a new variant set.",
"description": "Creates a new variant set. The provided variant set must have a valid `datasetId` set - all other fields are optional. Note that the `id` field will be ignored, as this is assigned by the server.",
"request": {
"$ref": "VariantSet"
},
@@ -2503,7 +2639,7 @@
},
"updateMask": {
"type": "string",
"description": "An optional mask specifying which fields to update. At this time, the only mutable field is [metadata][google.genomics.v1.VariantSet.metadata]. The only acceptable value is \"metadata\". If unspecified, all mutable fields will be updated.",
"description": "An optional mask specifying which fields to update. At this time, the only mutable field is metadata. The only acceptable value is \"metadata\". If unspecified, all mutable fields will be updated.",
"location": "query"
}
},
@@ -2572,7 +2708,7 @@
},
"updateMask": {
"type": "string",
"description": "An optional mask specifying which fields to update. At this time, the only mutable field is [name][google.genomics.v1.CallSet.name]. The only acceptable value is \"name\". If unspecified, all mutable fields will be updated.",
"description": "An optional mask specifying which fields to update. At this time, the only mutable field is name. The only acceptable value is \"name\". If unspecified, all mutable fields will be updated.",
"location": "query"
}
},

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/hlRrQoFUbR1DFyke-B8BPXehGzw\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/MA9wNliXwGhlYOlSK8rdRjly7fM\"",
"discoveryVersion": "v1",
"id": "genomics:v1beta2",
"name": "genomics",
"version": "v1beta2",
"revision": "20150715",
"revision": "20151014",
"title": "Genomics API",
"description": "Provides access to Genomics data.",
"ownerDomain": "google.com",
@@ -1875,7 +1875,7 @@
"properties": {
"alignments": {
"type": "array",
"description": "The list of matching alignments sorted by mapped genomic coordinate, if any, ascending in position within the same reference. Unmapped reads, which have no position, are returned last and are further sorted in ascending lexicographic order by fragment name.",
"description": "The list of matching alignments sorted by mapped genomic coordinate, if any, ascending in position within the same reference. Unmapped reads, which have no position, are returned contiguously and are sorted in ascending lexicographic order by fragment name.",
"items": {
"$ref": "Read"
}
@@ -3172,7 +3172,7 @@
"id": "genomics.readgroupsets.export",
"path": "readgroupsets/export",
"httpMethod": "POST",
"description": "Exports read group sets to a BAM file in Google Cloud Storage.\n\nNote that currently there may be some differences between exported BAM files and the original BAM file at the time of import. In particular, comments in the input file header will not be preserved, some custom tags will be converted to strings, and original reference sequence order is not necessarily preserved.",
"description": "Exports read group sets to a BAM file in Google Cloud Storage.\n\nNote that currently there may be some differences between exported BAM files and the original BAM file at the time of import. See ImportReadGroupSets for details.",
"request": {
"$ref": "ExportReadGroupSetsRequest"
},
@@ -3214,7 +3214,7 @@
"id": "genomics.readgroupsets.import",
"path": "readgroupsets/import",
"httpMethod": "POST",
"description": "Creates read group sets by asynchronously importing the provided information.\n\nNote that currently comments in the input file header are not imported and some custom tags will be converted to strings, rather than preserving tag types. The caller must have WRITE permissions to the dataset.",
"description": "Creates read group sets by asynchronously importing the provided information. The caller must have WRITE permissions to the dataset.\n\nNotes on BAM import: \n- Tags will be converted to strings - tag types are not preserved\n- Comments (@CO) in the input file header are not imported\n- Original order of reference headers is not preserved\n- Any reverse stranded unmapped reads will be reverse complemented, and their qualities (and \"BQ\" tag, if any) will be reversed\n- Unmapped reads will be stripped of positional information (referenceName and position)",
"request": {
"$ref": "ImportReadGroupSetsRequest"
},
@@ -3648,7 +3648,7 @@
"id": "genomics.variantsets.create",
"path": "variantsets",
"httpMethod": "POST",
"description": "Creates a new variant set (only necessary in v1).",
"description": "Creates a new variant set (only necessary in v1).\n\nThe provided variant set must have a valid datasetId set - all other fields are optional. Note that the id field will be ignored, as this is assigned by the server.",
"request": {
"$ref": "VariantSet"
},

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/rcmL92SXMKTyKvGjL_5VhC8zz9s\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/epKZlPw-j_GuhHfSnsAczxcvTBU\"",
"discoveryVersion": "v1",
"id": "gmail:v1",
"name": "gmail",
"version": "v1",
"revision": "20150526",
"revision": "20150910",
"title": "Gmail API",
"description": "The Gmail REST API.",
"ownerDomain": "google.com",
@@ -86,6 +86,9 @@
},
"https://www.googleapis.com/auth/gmail.readonly": {
"description": "View your emails messages and settings"
},
"https://www.googleapis.com/auth/gmail.send": {
"description": "Send email on your behalf"
}
}
}
@@ -1626,7 +1629,8 @@
"scopes": [
"https://mail.google.com/",
"https://www.googleapis.com/auth/gmail.compose",
"https://www.googleapis.com/auth/gmail.modify"
"https://www.googleapis.com/auth/gmail.modify",
"https://www.googleapis.com/auth/gmail.send"
],
"supportsMediaUpload": true,
"mediaUpload": {

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/GjMYVSVyLqOyv-ANl0uM1bR0w3c\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/VJrCHXHaMQfXi6fEi9qa_MKwS3Y\"",
"discoveryVersion": "v1",
"id": "identitytoolkit:v3",
"name": "identitytoolkit",
"canonicalName": "Identity Toolkit",
"version": "v3",
"revision": "20150710",
"revision": "20151008",
"title": "Google Identity Toolkit API",
"description": "Help the third party sites to implement federated login.",
"ownerDomain": "google.com",
@@ -549,6 +549,10 @@
"description": "The fixed string \"identitytoolkit#SetAccountInfoResponse\".",
"default": "identitytoolkit#SetAccountInfoResponse"
},
"newEmail": {
"type": "string",
"description": "The new email the user attempts to change to."
},
"providerUserInfo": {
"type": "array",
"description": "The user's profiles at the associated IdPs.",
@@ -765,6 +769,10 @@
"type": "boolean",
"description": "Whether the assertion is from a non-trusted IDP and need account linking confirmation."
},
"needEmail": {
"type": "boolean",
"description": "Whether need client to supply email to complete the federated login flow."
},
"nickName": {
"type": "string",
"description": "The nick name of the user."
@@ -841,6 +849,19 @@
"type": "string",
"description": "The RP local ID if it's already been mapped to the IdP account identified by the federated ID."
},
"oauthAccessToken": {
"type": "string",
"description": "The OAuth2 access token."
},
"oauthAuthorizationCode": {
"type": "string",
"description": "The OAuth2 authorization code."
},
"oauthExpireIn": {
"type": "integer",
"description": "The lifetime in seconds of the OAuth2 access token.",
"format": "int32"
},
"photoUrl": {
"type": "string",
"description": "The URI of the user's photo at IdP"

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,318 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Dl8jzEbCLfW8aU_OmsbXBqEUy5Y\"",
"discoveryVersion": "v1",
"id": "logging:v2beta1",
"name": "logging",
"version": "v2beta1",
"revision": "20151007",
"title": "Google Cloud Logging API",
"description": "Google Cloud Logging API lets you create logs, ingest log entries, and manage log sinks.",
"ownerDomain": "google.com",
"ownerName": "Google",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"documentationLink": "https://cloud.google.com/logging/docs/",
"protocol": "rest",
"baseUrl": "https://logging.googleapis.com/",
"basePath": "/",
"rootUrl": "https://logging.googleapis.com/",
"servicePath": "",
"batchPath": "batch",
"parameters": {
"access_token": {
"type": "string",
"description": "OAuth access token.",
"location": "query"
},
"alt": {
"type": "string",
"description": "Data format for response.",
"default": "json",
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location": "query"
},
"bearer_token": {
"type": "string",
"description": "OAuth bearer token.",
"location": "query"
},
"callback": {
"type": "string",
"description": "JSONP",
"location": "query"
},
"fields": {
"type": "string",
"description": "Selector specifying which fields to include in a partial response.",
"location": "query"
},
"key": {
"type": "string",
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location": "query"
},
"oauth_token": {
"type": "string",
"description": "OAuth 2.0 token for the current user.",
"location": "query"
},
"pp": {
"type": "boolean",
"description": "Pretty-print response.",
"default": "true",
"location": "query"
},
"prettyPrint": {
"type": "boolean",
"description": "Returns response with indentations and line breaks.",
"default": "true",
"location": "query"
},
"quotaUser": {
"type": "string",
"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.",
"location": "query"
},
"upload_protocol": {
"type": "string",
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query"
},
"uploadType": {
"type": "string",
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query"
},
"$.xgafv": {
"type": "string",
"description": "V1 error format.",
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query"
}
},
"schemas": {
"RequestLog": {
"id": "RequestLog",
"type": "object",
"description": "Complete log information about a single request to an application.",
"properties": {
"appId": {
"type": "string",
"description": "Identifies the application that handled this request."
},
"moduleId": {
"type": "string",
"description": "Identifies the module of the application that handled this request."
},
"versionId": {
"type": "string",
"description": "Version of the application that handled this request."
},
"requestId": {
"type": "string",
"description": "Globally unique identifier for a request, based on request start time. Request IDs for requests which started later will compare greater as binary strings than those for requests which started earlier.",
"format": "byte"
},
"ip": {
"type": "string",
"description": "Origin IP address."
},
"startTime": {
"type": "string",
"description": "Time at which request was known to have begun processing."
},
"endTime": {
"type": "string",
"description": "Time at which request was known to end processing."
},
"latency": {
"type": "string",
"description": "Latency of the request."
},
"megaCycles": {
"type": "string",
"description": "Number of CPU megacycles used to process request.",
"format": "int64"
},
"method": {
"type": "string",
"description": "Request method, such as `GET`, `HEAD`, `PUT`, `POST`, or `DELETE`."
},
"resource": {
"type": "string",
"description": "Contains the path and query portion of the URL that was requested. For example, if the URL was \"http://example.com/app?name=val\", the resource would be \"/app?name=val\". Any trailing fragment (separated by a '#' character) will not be included."
},
"httpVersion": {
"type": "string",
"description": "HTTP version of request."
},
"status": {
"type": "integer",
"description": "Response status of request.",
"format": "int32"
},
"responseSize": {
"type": "string",
"description": "Size in bytes sent back to client by request.",
"format": "int64"
},
"referrer": {
"type": "string",
"description": "Referrer URL of request."
},
"userAgent": {
"type": "string",
"description": "User agent used for making request."
},
"nickname": {
"type": "string",
"description": "A string that identifies a logged-in user who made this request, or empty if the user is not logged in. Most likely, this is the part of the user's email before the '@' sign. The field value is the same for different requests from the same user, but different users may have a similar name. This information is also available to the application via Users API. This field will be populated starting with App Engine 1.9.21."
},
"urlMapEntry": {
"type": "string",
"description": "File or class within URL mapping used for request. Useful for tracking down the source code which was responsible for managing request. Especially for multiply mapped handlers."
},
"host": {
"type": "string",
"description": "The Internet host and port number of the resource being requested."
},
"cost": {
"type": "number",
"description": "An indication of the relative cost of serving this request.",
"format": "double"
},
"taskQueueName": {
"type": "string",
"description": "Queue name of the request (for an offline request)."
},
"taskName": {
"type": "string",
"description": "Task name of the request (for an offline request)."
},
"wasLoadingRequest": {
"type": "boolean",
"description": "Was this request a loading request for this instance?"
},
"pendingTime": {
"type": "string",
"description": "Time this request spent in the pending request queue, if it was pending at all."
},
"instanceIndex": {
"type": "integer",
"description": "If the instance that processed this request was individually addressable (i.e. belongs to a manually scaled module), this is the index of the instance.",
"format": "int32"
},
"finished": {
"type": "boolean",
"description": "If true, represents a finished request. Otherwise, the request is active."
},
"instanceId": {
"type": "string",
"description": "An opaque identifier for the instance that handled the request.",
"format": "byte"
},
"line": {
"type": "array",
"description": "List of log lines emitted by the application while serving this request, if requested.",
"items": {
"$ref": "LogLine"
}
},
"appEngineRelease": {
"type": "string",
"description": "App Engine release version string."
},
"traceId": {
"type": "string",
"description": "Cloud Trace identifier of the trace for this request."
},
"sourceReference": {
"type": "array",
"description": "Source code for the application that handled this request. There can be more than one source reference per deployed application if source code is distributed among multiple repositories.",
"items": {
"$ref": "SourceReference"
}
}
}
},
"LogLine": {
"id": "LogLine",
"type": "object",
"description": "Application log line emitted while processing a request.",
"properties": {
"time": {
"type": "string",
"description": "Time when log entry was made. May be inaccurate."
},
"severity": {
"type": "string",
"description": "Severity of log.",
"enum": [
"DEFAULT",
"DEBUG",
"INFO",
"NOTICE",
"WARNING",
"ERROR",
"CRITICAL",
"ALERT",
"EMERGENCY"
]
},
"logMessage": {
"type": "string",
"description": "App provided log message."
},
"sourceLocation": {
"$ref": "SourceLocation",
"description": "Line of code that generated this log message."
}
}
},
"SourceLocation": {
"id": "SourceLocation",
"type": "object",
"description": "Specifies a location in a source file.",
"properties": {
"file": {
"type": "string",
"description": "Source file name. May or may not be a fully qualified name, depending on the runtime environment."
},
"line": {
"type": "string",
"description": "Line within the source file.",
"format": "int64"
},
"functionName": {
"type": "string",
"description": "Human-readable name of the function or method being invoked, with optional context such as the class or package name, for use in contexts such as the logs viewer where file:line number is less meaningful. This may vary by language, for example: in Java: qual.if.ied.Class.method in Go: dir/package.func in Python: function ..."
}
}
},
"SourceReference": {
"id": "SourceReference",
"type": "object",
"description": "A reference to a particular snapshot of the source tree used to build and deploy an application.",
"properties": {
"repository": {
"type": "string",
"description": "Optional. A URI string identifying the repository. Example: \"https://github.com/GoogleCloudPlatform/kubernetes.git\""
},
"revisionId": {
"type": "string",
"description": "The canonical (and persistent) identifier of the deployed revision. Example (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b\""
}
}
}
}
}

View File

@@ -1,6 +1,6 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/iGUA1MFJvjag5CPQwb2aT371UTs\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/E9BDi4qTzFW-I9oO8ahZRyv1jkM\"",
"discoveryVersion": "v1",
"id": "manager:v1beta2",
"name": "manager",
@@ -78,6 +78,9 @@
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/cloud-platform.read-only": {
"description": "View your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/compute": {
"description": "View and manage your Google Compute Engine resources"
},
@@ -951,6 +954,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
@@ -1030,6 +1034,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
@@ -1090,6 +1095,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
@@ -1154,6 +1160,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/TaU9owdCZD7i0BuO1A_nVxyBOqs\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/o0Wg8W0-LppORmepmu9e1YoBzKM\"",
"discoveryVersion": "v1",
"id": "mirror:v1",
"name": "mirror",
"version": "v1",
"revision": "20150326",
"revision": "20150720",
"title": "Google Mirror API",
"description": "API for interacting with Glass users via the timeline.",
"ownerDomain": "google.com",

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/E7VrRWc2416Btp9uIQ42rmbOltA\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/_Yo6WFFwQkkD8hP1TqMCHQ0osAo\"",
"discoveryVersion": "v1",
"id": "oauth2:v1",
"name": "oauth2",
"version": "v1",
"revision": "20150714",
"revision": "20151002",
"title": "Google OAuth2 API",
"description": "Lets you access OAuth2 protocol related APIs.",
"ownerDomain": "google.com",

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/OFeFpj7h7BFiyShP6KkN87ag7EM\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/aj2zTrq7lUzT-RGtRxhHE62wCws\"",
"discoveryVersion": "v1",
"id": "oauth2:v2",
"name": "oauth2",
"version": "v2",
"revision": "20150714",
"revision": "20151002",
"title": "Google OAuth2 API",
"description": "Lets you access OAuth2 protocol related APIs.",
"ownerDomain": "google.com",

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/I74wFQ2PdmMDOsAx2BuCGBOq9uQ\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/lgRkloFO1UVq7VPz42VZJlIBWaI\"",
"discoveryVersion": "v1",
"id": "plus:v1",
"name": "plus",
"version": "v1",
"revision": "20150719",
"revision": "20151014",
"title": "Google+ API",
"description": "The Google+ API enables developers to build on top of the Google+ platform.",
"ownerDomain": "google.com",
@@ -119,6 +119,22 @@
"type": "object",
"description": "The person who performed this activity.",
"properties": {
"clientSpecificActorInfo": {
"type": "object",
"description": "Actor info specific to particular clients.",
"properties": {
"youtubeActorInfo": {
"type": "object",
"description": "Actor info specific to YouTube clients.",
"properties": {
"channelId": {
"type": "string",
"description": "ID of the YouTube channel owned by the Actor."
}
}
}
}
},
"displayName": {
"type": "string",
"description": "The name of the actor, suitable for display."
@@ -154,6 +170,16 @@
"url": {
"type": "string",
"description": "The link to the actor's Google profile."
},
"verification": {
"type": "object",
"description": "Verification status of actor.",
"properties": {
"adHocVerified": {
"type": "string",
"description": "Verification for one-time or manual processes."
}
}
}
}
},
@@ -198,6 +224,22 @@
"type": "object",
"description": "If this activity's object is itself another activity, such as when a person reshares an activity, this property specifies the original activity's actor.",
"properties": {
"clientSpecificActorInfo": {
"type": "object",
"description": "Actor info specific to particular clients.",
"properties": {
"youtubeActorInfo": {
"type": "object",
"description": "Actor info specific to YouTube clients.",
"properties": {
"channelId": {
"type": "string",
"description": "ID of the YouTube channel owned by the Actor."
}
}
}
}
},
"displayName": {
"type": "string",
"description": "The original actor's name, which is suitable for display."
@@ -219,6 +261,16 @@
"url": {
"type": "string",
"description": "A link to the original actor's Google profile."
},
"verification": {
"type": "object",
"description": "Verification status of actor.",
"properties": {
"adHocVerified": {
"type": "string",
"description": "Verification for one-time or manual processes."
}
}
}
}
},
@@ -522,6 +574,22 @@
"type": "object",
"description": "The person who posted this comment.",
"properties": {
"clientSpecificActorInfo": {
"type": "object",
"description": "Actor info specific to particular clients.",
"properties": {
"youtubeActorInfo": {
"type": "object",
"description": "Actor info specific to YouTube clients.",
"properties": {
"channelId": {
"type": "string",
"description": "ID of the YouTube channel owned by the Actor."
}
}
}
}
},
"displayName": {
"type": "string",
"description": "The name of this actor, suitable for display."
@@ -543,6 +611,16 @@
"url": {
"type": "string",
"description": "A link to the Person resource for this actor."
},
"verification": {
"type": "object",
"description": "Verification status of actor.",
"properties": {
"adHocVerified": {
"type": "string",
"description": "Verification for one-time or manual processes."
}
}
}
}
},
@@ -1743,26 +1821,6 @@
"https://www.googleapis.com/auth/plus.login",
"https://www.googleapis.com/auth/plus.me"
]
},
"remove": {
"id": "plus.moments.remove",
"path": "moments/{id}",
"httpMethod": "DELETE",
"description": "Delete a moment.",
"parameters": {
"id": {
"type": "string",
"description": "The ID of the moment to delete.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"id"
],
"scopes": [
"https://www.googleapis.com/auth/plus.login"
]
}
}
},

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/HcXhUaCYj8k7XjNpIaT--1ZP6rY\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/JiNeLDZwZ4CDisO5kxxp-UNdJ28\"",
"discoveryVersion": "v1",
"id": "plusDomains:v1",
"name": "plusDomains",
"version": "v1",
"revision": "20150719",
"revision": "20151014",
"title": "Google+ Domains API",
"description": "The Google+ API enables developers to build on top of the Google+ platform.",
"ownerDomain": "google.com",
@@ -141,6 +141,22 @@
"type": "object",
"description": "The person who performed this activity.",
"properties": {
"clientSpecificActorInfo": {
"type": "object",
"description": "Actor info specific to particular clients.",
"properties": {
"youtubeActorInfo": {
"type": "object",
"description": "Actor info specific to YouTube clients.",
"properties": {
"channelId": {
"type": "string",
"description": "ID of the YouTube channel owned by the Actor."
}
}
}
}
},
"displayName": {
"type": "string",
"description": "The name of the actor, suitable for display."
@@ -176,6 +192,16 @@
"url": {
"type": "string",
"description": "The link to the actor's Google profile."
},
"verification": {
"type": "object",
"description": "Verification status of actor.",
"properties": {
"adHocVerified": {
"type": "string",
"description": "Verification for one-time or manual processes."
}
}
}
}
},
@@ -220,6 +246,22 @@
"type": "object",
"description": "If this activity's object is itself another activity, such as when a person reshares an activity, this property specifies the original activity's actor.",
"properties": {
"clientSpecificActorInfo": {
"type": "object",
"description": "Actor info specific to particular clients.",
"properties": {
"youtubeActorInfo": {
"type": "object",
"description": "Actor info specific to YouTube clients.",
"properties": {
"channelId": {
"type": "string",
"description": "ID of the YouTube channel owned by the Actor."
}
}
}
}
},
"displayName": {
"type": "string",
"description": "The original actor's name, which is suitable for display."
@@ -241,6 +283,16 @@
"url": {
"type": "string",
"description": "A link to the original actor's Google profile."
},
"verification": {
"type": "object",
"description": "Verification status of actor.",
"properties": {
"adHocVerified": {
"type": "string",
"description": "Verification for one-time or manual processes."
}
}
}
}
},
@@ -727,6 +779,22 @@
"type": "object",
"description": "The person who posted this comment.",
"properties": {
"clientSpecificActorInfo": {
"type": "object",
"description": "Actor info specific to particular clients.",
"properties": {
"youtubeActorInfo": {
"type": "object",
"description": "Actor info specific to YouTube clients.",
"properties": {
"channelId": {
"type": "string",
"description": "ID of the YouTube channel owned by the Actor."
}
}
}
}
},
"displayName": {
"type": "string",
"description": "The name of this actor, suitable for display."
@@ -748,6 +816,16 @@
"url": {
"type": "string",
"description": "A link to the Person resource for this actor."
},
"verification": {
"type": "object",
"description": "Verification status of actor.",
"properties": {
"adHocVerified": {
"type": "string",
"description": "Verification for one-time or manual processes."
}
}
}
}
},

View File

@@ -0,0 +1,822 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/qiwkKULZKsE5qLcb8g90X8kbnl8\"",
"discoveryVersion": "v1",
"id": "proximitybeacon:v1beta1",
"name": "proximitybeacon",
"version": "v1beta1",
"revision": "20150729",
"title": "Google Proximity Beacon API",
"description": "This API provides services to register, manage, index, and search beacons.",
"ownerDomain": "google.com",
"ownerName": "Google",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"documentationLink": "https://developers.google.com/beacons/proximity/",
"protocol": "rest",
"baseUrl": "https://proximitybeacon.googleapis.com/",
"basePath": "/",
"rootUrl": "https://proximitybeacon.googleapis.com/",
"servicePath": "",
"batchPath": "batch",
"parameters": {
"access_token": {
"type": "string",
"description": "OAuth access token.",
"location": "query"
},
"alt": {
"type": "string",
"description": "Data format for response.",
"default": "json",
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location": "query"
},
"bearer_token": {
"type": "string",
"description": "OAuth bearer token.",
"location": "query"
},
"callback": {
"type": "string",
"description": "JSONP",
"location": "query"
},
"fields": {
"type": "string",
"description": "Selector specifying which fields to include in a partial response.",
"location": "query"
},
"key": {
"type": "string",
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location": "query"
},
"oauth_token": {
"type": "string",
"description": "OAuth 2.0 token for the current user.",
"location": "query"
},
"pp": {
"type": "boolean",
"description": "Pretty-print response.",
"default": "true",
"location": "query"
},
"prettyPrint": {
"type": "boolean",
"description": "Returns response with indentations and line breaks.",
"default": "true",
"location": "query"
},
"quotaUser": {
"type": "string",
"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.",
"location": "query"
},
"upload_protocol": {
"type": "string",
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query"
},
"uploadType": {
"type": "string",
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query"
},
"$.xgafv": {
"type": "string",
"description": "V1 error format.",
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query"
}
},
"schemas": {
"Beacon": {
"id": "Beacon",
"type": "object",
"description": "Details of a beacon device.",
"properties": {
"beaconName": {
"type": "string",
"description": "Resource name of this beacon. A beacon name has the format \"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by the beacon and N is a code for the beacon's type. Possible values are `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon. This field must be left empty when registering. After reading a beacon, clients can use the name for future operations."
},
"advertisedId": {
"$ref": "AdvertisedId",
"description": "The identifier of a beacon as advertised by it. This field must be populated when registering. It may be empty when updating a beacon record because it is ignored in updates."
},
"status": {
"type": "string",
"description": "Current status of the beacon. Required.",
"enum": [
"STATUS_UNSPECIFIED",
"ACTIVE",
"DECOMMISSIONED",
"INACTIVE"
]
},
"placeId": {
"type": "string",
"description": "The [Google Places API](/places/place-id) Place ID of the place where the beacon is deployed. This is given when the beacon is registered or updated, not automatically detected in any way. Optional."
},
"latLng": {
"$ref": "LatLng",
"description": "The location of the beacon, expressed as a latitude and longitude pair. This location is given when the beacon is registered or updated. It does not necessarily indicate the actual current location of the beacon. Optional."
},
"indoorLevel": {
"$ref": "IndoorLevel",
"description": "The indoor level information for this beacon, if known. As returned by the Google Maps API. Optional."
},
"expectedStability": {
"type": "string",
"description": "Expected location stability. This is set when the beacon is registered or updated, not automatically detected in any way. Optional.",
"enum": [
"STABILITY_UNSPECIFIED",
"STABLE",
"PORTABLE",
"MOBILE",
"ROVING"
]
},
"description": {
"type": "string",
"description": "Free text used to identify and describe the beacon. Maximum length 140 characters. Optional."
},
"properties": {
"type": "object",
"description": "Properties of the beacon device, for example battery type or firmware version. Optional.",
"additionalProperties": {
"type": "string"
}
}
}
},
"AdvertisedId": {
"id": "AdvertisedId",
"type": "object",
"description": "Defines a unique identifier of a beacon as broadcast by the device.",
"properties": {
"type": {
"type": "string",
"description": "Specifies the identifier type. Required.",
"enum": [
"TYPE_UNSPECIFIED",
"EDDYSTONE",
"IBEACON",
"ALTBEACON"
]
},
"id": {
"type": "string",
"description": "The actual beacon identifier, as broadcast by the beacon hardware. Must be [base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP requests, and will be so encoded (with padding) in responses. The base64 encoding should be of the binary byte-stream and not any textual (such as hex) representation thereof. Required.",
"format": "byte"
}
}
},
"LatLng": {
"id": "LatLng",
"type": "object",
"description": "An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges. Example of normalization code in Python: def NormalizeLongitude(longitude): \"\"\"Wrapsdecimal degrees longitude to [-180.0, 180.0].\"\"\" q, r = divmod(longitude, 360.0) if r \u003e 180.0 or (r == 180.0 and q \u003c= -1.0): return r - 360.0 return r def NormalizeLatLng(latitude, longitude): \"\"\"Wraps decimal degrees latitude and longitude to [-180.0, 180.0] and [-90.0, 90.0], respectively.\"\"\" r = latitude % 360.0 if r = 270.0: return r - 360, NormalizeLongitude(longitude) else: return 180 - r, NormalizeLongitude(longitude + 180.0) assert 180.0 == NormalizeLongitude(180.0) assert -180.0 == NormalizeLongitude(-180.0) assert -179.0 == NormalizeLongitude(181.0) assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0) assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0) assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0) assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0) assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0) assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0) assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0) assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)",
"properties": {
"latitude": {
"type": "number",
"description": "The latitude in degrees. It must be in the range [-90.0, +90.0].",
"format": "double"
},
"longitude": {
"type": "number",
"description": "The longitude in degrees. It must be in the range [-180.0, +180.0].",
"format": "double"
}
}
},
"IndoorLevel": {
"id": "IndoorLevel",
"type": "object",
"description": "Indoor level, a human-readable string as returned by Google Maps APIs, useful to indicate which floor of a building a beacon is located on.",
"properties": {
"name": {
"type": "string",
"description": "The name of this level."
}
}
},
"Empty": {
"id": "Empty",
"type": "object",
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`."
},
"ListBeaconsResponse": {
"id": "ListBeaconsResponse",
"type": "object",
"description": "Response that contains list beacon results and pagination help.",
"properties": {
"beacons": {
"type": "array",
"description": "The beacons that matched the search criteria.",
"items": {
"$ref": "Beacon"
}
},
"nextPageToken": {
"type": "string",
"description": "An opaque pagination token that the client may provide in their next request to retrieve the next page of results."
},
"totalCount": {
"type": "string",
"description": "Estimate of the total number of beacons matched by the query. Higher values may be less accurate.",
"format": "int64"
}
}
},
"BeaconAttachment": {
"id": "BeaconAttachment",
"type": "object",
"description": "Project-specific data associated with a beacon.",
"properties": {
"attachmentName": {
"type": "string",
"description": "Resource name of this attachment. Attachment names have the format: beacons/beacon_id/attachments/attachment_id. Leave this empty on creation."
},
"namespacedType": {
"type": "string",
"description": "Specifies what kind of attachment this is. Tells a client how to interpret the `data` field. Format is namespace/type. Namespace provides type separation between clients. Type describes the type of `data`, for use by the client when parsing the `data` field. Required."
},
"data": {
"type": "string",
"description": "An opaque data container for client-provided data. Must be [base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP requests, and will be so encoded (with padding) in responses. Required.",
"format": "byte"
}
}
},
"ListBeaconAttachmentsResponse": {
"id": "ListBeaconAttachmentsResponse",
"type": "object",
"description": "Response to ListBeaconAttachments that contains the requested attachments.",
"properties": {
"attachments": {
"type": "array",
"description": "The attachments that corresponded to the request params.",
"items": {
"$ref": "BeaconAttachment"
}
}
}
},
"DeleteAttachmentsResponse": {
"id": "DeleteAttachmentsResponse",
"type": "object",
"description": "Response for a request to delete attachments.",
"properties": {
"numDeleted": {
"type": "integer",
"description": "The number of attachments that were deleted.",
"format": "int32"
}
}
},
"ListNamespacesResponse": {
"id": "ListNamespacesResponse",
"type": "object",
"description": "Response to ListNamespacesRequest that contains all the project's namespaces.",
"properties": {
"namespaces": {
"type": "array",
"description": "The attachments that corresponded to the request params.",
"items": {
"$ref": "Namespace"
}
}
}
},
"Namespace": {
"id": "Namespace",
"type": "object",
"description": "An attachment namespace defines read and write access for all the attachments created under it. Each namespace is globally unique, and owned by one project which is the only project that can create attachments under it.",
"properties": {
"namespaceName": {
"type": "string",
"description": "Resource name of this namespace. Namespaces names have the format: namespaces/namespace."
},
"servingVisibility": {
"type": "string",
"description": "Specifies what clients may receive attachments under this namespace via `beaconinfo.getforobserved`.",
"enum": [
"VISIBILITY_UNSPECIFIED",
"UNLISTED",
"PUBLIC"
]
}
}
},
"ListDiagnosticsResponse": {
"id": "ListDiagnosticsResponse",
"type": "object",
"description": "Response that contains the requested diagnostics.",
"properties": {
"diagnostics": {
"type": "array",
"description": "The diagnostics matching the given request.",
"items": {
"$ref": "Diagnostics"
}
},
"nextPageToken": {
"type": "string",
"description": "Token that can be used for pagination. Returned only if the request matches more beacons than can be returned in this response."
}
}
},
"Diagnostics": {
"id": "Diagnostics",
"type": "object",
"description": "Diagnostics for a single beacon.",
"properties": {
"beaconName": {
"type": "string",
"description": "Resource name of the beacon."
},
"estimatedLowBatteryDate": {
"$ref": "Date",
"description": "The date when the battery is expected to be low. If the value is missing then there is no estimate for when the battery will be low. This value is only an estimate, not an exact date."
},
"alerts": {
"type": "array",
"description": "An unordered list of Alerts that the beacon has.",
"enumDescriptions": [
"Invalid value. Should never appear.",
"The beacon has been reported in a location different than its registered location. This may indicate that the beacon has been moved. This signal is not 100% accurate, but indicates that further investigation is worth while.",
"The battery level for the beacon is low enough that, given the beacon's current use, its battery will run out with in the next 60 days. This indicates that the battery should be replaced soon."
],
"items": {
"type": "string",
"enum": [
"ALERT_UNSPECIFIED",
"WRONG_LOCATION",
"LOW_BATTERY"
]
}
}
}
},
"Date": {
"id": "Date",
"type": "object",
"description": "Represents a whole calendar date, e.g. date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a year and month where the day is not significant, e.g. credit card expiration date. The year may be 0 to represent a month and day independent of year, e.g. anniversary date. Related types are [google.type.TimeOfDay][] and `google.protobuf.Timestamp`.",
"properties": {
"year": {
"type": "integer",
"description": "Year of date. Must be from 1 to 9,999, or 0 if specifying a date without a year.",
"format": "int32"
},
"month": {
"type": "integer",
"description": "Month of year of date. Must be from 1 to 12.",
"format": "int32"
},
"day": {
"type": "integer",
"description": "Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year/month where the day is not sigificant.",
"format": "int32"
}
}
},
"GetInfoForObservedBeaconsRequest": {
"id": "GetInfoForObservedBeaconsRequest",
"type": "object",
"description": "Request for beacon and attachment information about beacons that a mobile client has encountered \"in the wild\".",
"properties": {
"observations": {
"type": "array",
"description": "The beacons that the client has encountered. At least one must be given.",
"items": {
"$ref": "Observation"
}
},
"namespacedTypes": {
"type": "array",
"description": "Specifies what kind of attachments to include in the response. When given, the response will include only attachments of the given types. When empty, no attachments will be returned. Must be in the format namespace/type. Accepts `*` to specify all types in all namespaces. Optional.",
"items": {
"type": "string"
}
}
}
},
"Observation": {
"id": "Observation",
"type": "object",
"description": "Represents one beacon observed once.",
"properties": {
"advertisedId": {
"$ref": "AdvertisedId",
"description": "The ID advertised by the beacon the client has encountered. Required."
},
"telemetry": {
"type": "string",
"description": "The array of telemetry bytes received from the beacon. The server is responsible for parsing it. This field may frequently be empty, as with a beacon that transmits telemetry only occasionally.",
"format": "byte"
},
"timestampMs": {
"type": "string",
"description": "Time when the beacon was observed. Being sourced from a mobile device, this time may be suspect."
}
}
},
"GetInfoForObservedBeaconsResponse": {
"id": "GetInfoForObservedBeaconsResponse",
"type": "object",
"description": "Information about the requested beacons, optionally including attachment data.",
"properties": {
"beacons": {
"type": "array",
"description": "Public information about beacons. May be empty if the request matched no beacons.",
"items": {
"$ref": "BeaconInfo"
}
}
}
},
"BeaconInfo": {
"id": "BeaconInfo",
"type": "object",
"description": "A subset of beacon information served via the `beaconinfo.getforobserved` method, which you call when users of your app encounter your beacons.",
"properties": {
"advertisedId": {
"$ref": "AdvertisedId",
"description": "The ID advertised by the beacon."
},
"beaconName": {
"type": "string",
"description": "The name under which the beacon is registered."
},
"description": {
"type": "string",
"description": "Free text used to identify or describe the beacon in a registered establishment. For example: \"entrance\", \"room 101\", etc. May be empty."
},
"attachments": {
"type": "array",
"description": "Attachments matching the type(s) requested. May be empty if no attachment types were requested, or if none matched.",
"items": {
"$ref": "AttachmentInfo"
}
}
}
},
"AttachmentInfo": {
"id": "AttachmentInfo",
"type": "object",
"description": "A subset of attachment information served via the `beaconinfo.getforobserved` method, used when your users encounter your beacons.",
"properties": {
"namespacedType": {
"type": "string",
"description": "Specifies what kind of attachment this is. Tells a client how to interpret the `data` field. Format is namespace/type, for example scrupulous-wombat-12345/welcome-message"
},
"data": {
"type": "string",
"description": "An opaque data container for client-provided data.",
"format": "byte"
}
}
}
},
"resources": {
"beacons": {
"methods": {
"register": {
"id": "proximitybeacon.beacons.register",
"path": "v1beta1/beacons:register",
"httpMethod": "POST",
"description": "Registers a previously unregistered beacon given its `advertisedId`. These IDs are unique within the system. An ID can be registered only once.",
"request": {
"$ref": "Beacon"
},
"response": {
"$ref": "Beacon"
}
},
"decommission": {
"id": "proximitybeacon.beacons.decommission",
"path": "v1beta1/{+beaconName}:decommission",
"httpMethod": "POST",
"description": "Decommissions the specified beacon in the service. This beacon will no longer be returned from `beaconinfo.getforobserved`. This operation is permanent -- you will not be able to re-register a beacon with this ID again.",
"parameters": {
"beaconName": {
"type": "string",
"description": "Beacon that should be decommissioned. Required.",
"required": true,
"pattern": "^beacons/[^/]*$",
"location": "path"
}
},
"parameterOrder": [
"beaconName"
],
"response": {
"$ref": "Empty"
}
},
"get": {
"id": "proximitybeacon.beacons.get",
"path": "v1beta1/{+beaconName}",
"httpMethod": "GET",
"description": "Returns detailed information about the specified beacon.",
"parameters": {
"beaconName": {
"type": "string",
"description": "Beacon that is requested.",
"required": true,
"pattern": "^beacons/[^/]*$",
"location": "path"
}
},
"parameterOrder": [
"beaconName"
],
"response": {
"$ref": "Beacon"
}
},
"list": {
"id": "proximitybeacon.beacons.list",
"path": "v1beta1/beacons",
"httpMethod": "GET",
"description": "Searches the beacon registry for beacons that match the given search criteria. Only those beacons that the client has permission to list will be returned.",
"parameters": {
"q": {
"type": "string",
"description": "Filter query string that supports the following field filters: * `description:\"\"` For example: `description:\"Room 3\"` Returns beacons whose description matches tokens in the string \"Room 3\" (not necessarily that exact string). The string must be double-quoted. * `status:` For example: `status:active` Returns beacons whose status matches the given value. Values must be one of the Beacon.Status enum values (case insensitive). Accepts multiple filters which will be combined with OR logic. * `stability:` For example: `stability:mobile` Returns beacons whose expected stability matches the given value. Values must be one of the Beacon.Stability enum values (case insensitive). Accepts multiple filters which will be combined with OR logic. * `place_id:\"\"` For example: `place_id:\"ChIJVSZzVR8FdkgRXGmmm6SslKw=\"` Returns beacons explicitly registered at the given place, expressed as a Place ID obtained from [Google Places API](/places/place-id). Does not match places inside the given place. Does not consider the beacon's actual location (which may be different from its registered place). Accepts multiple filters that will be combined with OR logic. The place ID must be double-quoted. * `registration_time[|=]` For example: `registration_time\u003e=1433116800` Returns beacons whose registration time matches the given filter. Supports the operators: , =. Timestamp must be expressed as an integer number of seconds since midnight January 1, 1970 UTC. Accepts at most two filters that will be combined with AND logic, to support \"between\" semantics. If more than two are supplied, the latter ones are ignored. * `lat: lng: radius:` For example: `lat:51.1232343 lng:-1.093852 radius:1000` Returns beacons whose registered location is within the given circle. When any of these fields are given, all are required. Latitude and longitude must be decimal degrees between -90.0 and 90.0 and between -180.0 and 180.0 respectively. Radius must be an integer number of meters less than 1,000,000 (1000 km). * `property:\"=\"` For example: `property:\"battery-type=CR2032\"` Returns beacons which have a property of the given name and value. Supports multiple filters which will be combined with OR logic. The entire name=value string must be double-quoted as one string. * `attachment_type:\"\"` For example: `attachment_type:\"my-namespace/my-type\"` Returns beacons having at least one attachment of the given namespaced type. Supports \"any within this namespace\" via the partial wildcard syntax: \"my-namespace/*\". Supports multiple filters which will be combined with OR logic. The string must be double-quoted. Multiple filters on the same field are combined with OR logic (except registration_time which is combined with AND logic). Multiple filters on different fields are combined with AND logic. Filters should be separated by spaces. As with any HTTP query string parameter, the whole filter expression must be URL-encoded. Example REST request: `GET /v1beta1/beacons?q=status:active%20lat:51.123%20lng:-1.095%20radius:1000`",
"location": "query"
},
"pageToken": {
"type": "string",
"description": "A pagination token obtained from a previous request to list beacons.",
"location": "query"
},
"pageSize": {
"type": "integer",
"description": "The maximum number of records to return for this request, up to a server-defined upper limit.",
"format": "int32",
"location": "query"
}
},
"response": {
"$ref": "ListBeaconsResponse"
}
},
"update": {
"id": "proximitybeacon.beacons.update",
"path": "v1beta1/{+beaconName}",
"httpMethod": "PUT",
"description": "Updates the information about the specified beacon. **Any field that you do not populate in the submitted beacon will be permanently erased**, so you should follow the \"read, modify, write\" pattern to avoid inadvertently destroying data. Changes to the beacon status via this method will be silently ignored. To update beacon status, use the separate methods on this API for (de)activation and decommissioning.",
"parameters": {
"beaconName": {
"type": "string",
"description": "Resource name of this beacon. A beacon name has the format \"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by the beacon and N is a code for the beacon's type. Possible values are `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon. This field must be left empty when registering. After reading a beacon, clients can use the name for future operations.",
"required": true,
"pattern": "^beacons/[^/]*$",
"location": "path"
}
},
"parameterOrder": [
"beaconName"
],
"request": {
"$ref": "Beacon"
},
"response": {
"$ref": "Beacon"
}
},
"activate": {
"id": "proximitybeacon.beacons.activate",
"path": "v1beta1/{+beaconName}:activate",
"httpMethod": "POST",
"description": "(Re)activates a beacon. A beacon that is active will return information and attachment data when queried via `beaconinfo.getforobserved`. Calling this method on an already active beacon will do nothing (but will return a successful response code).",
"parameters": {
"beaconName": {
"type": "string",
"description": "The beacon to activate. Required.",
"required": true,
"pattern": "^beacons/[^/]*$",
"location": "path"
}
},
"parameterOrder": [
"beaconName"
],
"response": {
"$ref": "Empty"
}
},
"deactivate": {
"id": "proximitybeacon.beacons.deactivate",
"path": "v1beta1/{+beaconName}:deactivate",
"httpMethod": "POST",
"description": "Deactivates a beacon. Once deactivated, the API will not return information nor attachment data for the beacon when queried via `beaconinfo.getforobserved`. Calling this method on an already inactive beacon will do nothing (but will return a successful response code).",
"parameters": {
"beaconName": {
"type": "string",
"description": "The beacon name of this beacon.",
"required": true,
"pattern": "^beacons/[^/]*$",
"location": "path"
}
},
"parameterOrder": [
"beaconName"
],
"response": {
"$ref": "Empty"
}
}
},
"resources": {
"attachments": {
"methods": {
"create": {
"id": "proximitybeacon.beacons.attachments.create",
"path": "v1beta1/{+beaconName}/attachments",
"httpMethod": "POST",
"description": "Associates the given data with the specified beacon. Attachment data must contain two parts: \n- A namespaced type. \n- The actual attachment data itself. The namespaced type consists of two parts, the namespace and the type. The namespace must be one of the values returned by the `namespaces` endpoint, while the type can be a string of any characters except for the forward slash (`/`) up to 100 characters in length. Attachment data can be up to 1024 bytes long.",
"parameters": {
"beaconName": {
"type": "string",
"description": "The beacon on which the attachment should be created. Required.",
"required": true,
"pattern": "^beacons/[^/]*$",
"location": "path"
}
},
"parameterOrder": [
"beaconName"
],
"request": {
"$ref": "BeaconAttachment"
},
"response": {
"$ref": "BeaconAttachment"
}
},
"list": {
"id": "proximitybeacon.beacons.attachments.list",
"path": "v1beta1/{+beaconName}/attachments",
"httpMethod": "GET",
"description": "Returns the attachments for the specified beacon that match the specified namespaced-type pattern. To control which namespaced types are returned, you add the `namespacedType` query parameter to the request. You must either use `*/*`, to return all attachments, or the namespace must be one of the ones returned from the `namespaces` endpoint.",
"parameters": {
"beaconName": {
"type": "string",
"description": "The beacon whose attachments are to be fetched. Required.",
"required": true,
"pattern": "^beacons/[^/]*$",
"location": "path"
},
"namespacedType": {
"type": "string",
"description": "Specifies the namespace and type of attachment to include in response in namespace/type format. Accepts `*/*` to specify \"all types in all namespaces\".",
"location": "query"
}
},
"parameterOrder": [
"beaconName"
],
"response": {
"$ref": "ListBeaconAttachmentsResponse"
}
},
"delete": {
"id": "proximitybeacon.beacons.attachments.delete",
"path": "v1beta1/{+attachmentName}",
"httpMethod": "DELETE",
"description": "Deletes the specified attachment for the given beacon. Each attachment has a unique attachment name (`attachmentName`) which is returned when you fetch the attachment data via this API. You specify this with the delete request to control which attachment is removed. This operation cannot be undone.",
"parameters": {
"attachmentName": {
"type": "string",
"description": "The attachment name (`attachmentName`) of the attachment to remove. For example: `beacons/3!893737abc9/attachments/c5e937-af0-494-959-ec49d12738` Required.",
"required": true,
"pattern": "^beacons/[^/]*/attachments/[^/]*$",
"location": "path"
}
},
"parameterOrder": [
"attachmentName"
],
"response": {
"$ref": "Empty"
}
},
"batchDelete": {
"id": "proximitybeacon.beacons.attachments.batchDelete",
"path": "v1beta1/{+beaconName}/attachments:batchDelete",
"httpMethod": "POST",
"description": "Deletes multiple attachments on a given beacon. This operation is permanent and cannot be undone. You can optionally specify `namespacedType` to choose which attachments should be deleted. If you do not specify `namespacedType`, all your attachments on the given beacon will be deleted. You also may explicitly specify `*/*` to delete all.",
"parameters": {
"beaconName": {
"type": "string",
"description": "The beacon whose attachments are to be deleted. Required.",
"required": true,
"pattern": "^beacons/[^/]*$",
"location": "path"
},
"namespacedType": {
"type": "string",
"description": "Specifies the namespace and type of attachments to delete in `namespace/type` format. Accepts `*/*` to specify \"all types in all namespaces\". Optional.",
"location": "query"
}
},
"parameterOrder": [
"beaconName"
],
"response": {
"$ref": "DeleteAttachmentsResponse"
}
}
}
},
"diagnostics": {
"methods": {
"list": {
"id": "proximitybeacon.beacons.diagnostics.list",
"path": "v1beta1/{+beaconName}/diagnostics",
"httpMethod": "GET",
"description": "List the diagnostics for a single beacon. You can also list diagnostics for all the beacons owned by your Google Developers Console project by using the beacon name `beacons/-`.",
"parameters": {
"beaconName": {
"type": "string",
"description": "Beacon that the diagnostics are for.",
"required": true,
"pattern": "^beacons/[^/]*$",
"location": "path"
},
"pageSize": {
"type": "integer",
"description": "Specifies the maximum number of results to return. Defaults to 10. Maximum 1000. Optional.",
"format": "int32",
"location": "query"
},
"pageToken": {
"type": "string",
"description": "Requests results that occur after the `page_token`, obtained from the response to a previous request. Optional.",
"location": "query"
},
"alertFilter": {
"type": "string",
"description": "Requests only beacons that have the given alert. For example, to find beacons that have low batteries use `alert_filter=LOW_BATTERY`.",
"enum": [
"ALERT_UNSPECIFIED",
"WRONG_LOCATION",
"LOW_BATTERY"
],
"location": "query"
}
},
"parameterOrder": [
"beaconName"
],
"response": {
"$ref": "ListDiagnosticsResponse"
}
}
}
}
}
},
"namespaces": {
"methods": {
"list": {
"id": "proximitybeacon.namespaces.list",
"path": "v1beta1/namespaces",
"httpMethod": "GET",
"description": "Lists all attachment namespaces owned by your Google Developers Console project. Attachment data associated with a beacon must include a namespaced type, and the namespace must be owned by your project.",
"response": {
"$ref": "ListNamespacesResponse"
}
}
}
},
"beaconinfo": {
"methods": {
"getforobserved": {
"id": "proximitybeacon.beaconinfo.getforobserved",
"path": "v1beta1/beaconinfo:getforobserved",
"httpMethod": "POST",
"description": "Given one or more beacon observations, returns any beacon information and attachments accessible to your application.",
"request": {
"$ref": "GetInfoForObservedBeaconsRequest"
},
"response": {
"$ref": "GetInfoForObservedBeaconsResponse"
}
}
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/GpjpDLvjZHTVKwwIavBHfgQL16c\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/WREiw9MY3aTruirkUtn50QBMhss\"",
"discoveryVersion": "v1",
"id": "pubsub:v1beta1",
"name": "pubsub",
"version": "v1beta1",
"revision": "20150326",
"revision": "20150813",
"title": "Google Cloud Pub/Sub API",
"description": "Provides reliable, many-to-many, asynchronous messaging between applications.",
"ownerDomain": "google.com",
@@ -172,7 +172,7 @@
},
"ackIds": {
"type": "array",
"description": "List of acknowledgment IDs. Either this field or ack_id should be populated, not both. TODO(handrei): mark the above field deprecated once it's not used internally.",
"description": "List of acknowledgment IDs. Either this field or ack_id should be populated, not both.",
"items": {
"type": "string"
}

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/qGYIx74Qi92EX9k6GZSlKoaG6o4\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/FIcTWYREiJfCFA5uZlDccoMTpeU\"",
"discoveryVersion": "v1",
"id": "pubsub:v1beta1a",
"name": "pubsub",
"version": "v1beta1a",
"revision": "20150604",
"revision": "20150526",
"title": "Google Cloud Pub/Sub API",
"description": "Provides reliable, many-to-many, asynchronous messaging between applications.",
"ownerDomain": "google.com",
@@ -17,7 +17,7 @@
"documentationLink": "https://cloud.google.com/pubsub/docs",
"protocol": "rest",
"baseUrl": "https://pubsub.googleapis.com/",
"basePath": "",
"basePath": "/",
"rootUrl": "https://pubsub.googleapis.com/",
"servicePath": "",
"batchPath": "batch",
@@ -407,7 +407,7 @@
},
"ackIds": {
"type": "array",
"description": "List of acknowledgment IDs. Either this field or ack_id should be populated, not both. TODO(handrei): mark the above field deprecated once it's not used internally.",
"description": "List of acknowledgment IDs. Either this field or ack_id should be populated, not both.",
"items": {
"type": "string"
}

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/jJarxdUjZcANpaMjt3kLHFRtpJA\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/bZNz6VUa9sqtr0UjT-GTq4xvg0E\"",
"discoveryVersion": "v1",
"id": "pubsub:v1beta2",
"name": "pubsub",
"version": "v1beta2",
"revision": "20150604",
"revision": "20150526",
"title": "Google Cloud Pub/Sub API",
"description": "Provides reliable, many-to-many, asynchronous messaging between applications.",
"ownerDomain": "google.com",
@@ -17,7 +17,7 @@
"documentationLink": "https://cloud.google.com/pubsub/docs",
"protocol": "rest",
"baseUrl": "https://pubsub.googleapis.com/",
"basePath": "",
"basePath": "/",
"rootUrl": "https://pubsub.googleapis.com/",
"servicePath": "",
"batchPath": "batch",
@@ -120,33 +120,27 @@
"properties": {
"policy": {
"$ref": "Policy",
"description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them."
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them."
}
}
},
"Policy": {
"id": "Policy",
"type": "object",
"description": "# Overview The `Policy` defines an access control policy language. It is used to define policies that are attached to resources like files, folders, VMs, etc. # Policy structure A `Policy` consists of a list of bindings. A `Binding` binds a set of members to a role, where the members include user accounts, user groups, user domains, and service accounts. A 'role' is a named set of permissions, defined by IAM. The definition of a role is outside the policy. A permission check first determines the roles that include the specified permission, and then determines if the principal specified is a member of a binding to at least one of these roles. The membership check is recursive when a group is bound to a role. Policy examples: ``` { \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:frontend@example.iam.gserviceaccounts.com\"] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] } ```",
"description": "Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **Example** { \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-other-app@appspot.gserviceaccount.com\"] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] } For a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam).",
"properties": {
"version": {
"type": "integer",
"description": "The policy language version. The version of the policy is represented by the etag. The default version is 0.",
"description": "Version of the `Policy`. The default version is 0.",
"format": "int32"
},
"bindings": {
"type": "array",
"description": "It is an error to specify multiple bindings for the same role. It is an error to specify a binding with no members.",
"description": "Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.",
"items": {
"$ref": "Binding"
}
},
"rules": {
"type": "array",
"items": {
"$ref": "Rule"
}
},
"etag": {
"type": "string",
"description": "Can be used to perform a read-modify-write.",
@@ -157,177 +151,21 @@
"Binding": {
"id": "Binding",
"type": "object",
"description": "Associates members with roles. See below for allowed formats of members.",
"description": "Associates `members` with a `role`.",
"properties": {
"role": {
"type": "string",
"description": "The name of the role to which the members should be bound. Examples: \"roles/viewer\", \"roles/editor\", \"roles/owner\". Required"
"description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required"
},
"members": {
"type": "array",
"description": "Format of member entries: 1. allUsers Matches any requesting principal (users, service accounts or anonymous). 2. allAuthenticatedUsers Matches any requesting authenticated principal (users or service accounts). 3. user:{emailid} A google user account using an email address. For example alice@gmail.com, joe@example.com 4. serviceAccount:{emailid} An service account email. 5. group:{emailid} A google group with an email address. For example auth-ti-cloud@google.com 6. domain:{domain} A Google Apps domain name. For example google.com, example.com",
"description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following formats: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.",
"items": {
"type": "string"
}
}
}
},
"Rule": {
"id": "Rule",
"type": "object",
"description": "A rule to be applied in a Policy.",
"properties": {
"description": {
"type": "string",
"description": "Human-readable description of the rule."
},
"permissions": {
"type": "array",
"description": "A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.",
"items": {
"type": "string"
}
},
"action": {
"type": "string",
"description": "Required",
"enum": [
"NO_ACTION",
"ALLOW",
"ALLOW_WITH_LOG",
"DENY",
"DENY_WITH_LOG",
"LOG"
]
},
"in": {
"type": "array",
"description": "The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in this set of entries.",
"items": {
"type": "string"
}
},
"notIn": {
"type": "array",
"description": "The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is not in this set of entries. The formation for in and not_in entries is the same as members in a Binding above.",
"items": {
"type": "string"
}
},
"conditions": {
"type": "array",
"description": "Additional restrictions that must be met",
"items": {
"$ref": "Condition"
}
},
"logConfig": {
"type": "array",
"description": "The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.",
"items": {
"$ref": "LogConfig"
}
}
}
},
"Condition": {
"id": "Condition",
"type": "object",
"description": "A condition to be met.",
"properties": {
"iam": {
"type": "string",
"description": "Trusted attributes supplied by the IAM system.",
"enum": [
"NO_ATTR",
"AUTHORITY",
"ATTRIBUTION"
]
},
"sys": {
"type": "string",
"description": "Trusted attributes supplied by any service that owns resources and uses the IAM system for access control.",
"enum": [
"NO_ATTR",
"REGION",
"SERVICE",
"NAME",
"IP"
]
},
"svc": {
"type": "string",
"description": "Trusted attributes discharged by the service."
},
"op": {
"type": "string",
"description": "An operator to apply the subject with.",
"enum": [
"NO_OP",
"EQUALS",
"NOT_EQUALS",
"IN",
"NOT_IN",
"DISCHARGED"
]
},
"value": {
"type": "string",
"description": "The object of the condition. Exactly one of these must be set."
},
"values": {
"type": "array",
"description": "The objects of the condition. This is mutually exclusive with 'value'.",
"items": {
"type": "string"
}
}
}
},
"LogConfig": {
"id": "LogConfig",
"type": "object",
"description": "Specifies what kind of log the caller must write Increment a streamz counter with the specified metric and field names. Metric names should start with a '/', generally be lowercase-only, and end in \"_count\". Field names should not contain an initial slash. The actual exported metric names will have \"/iam/policy\" prepended. Field names correspond to IAM request parameters and field values are their respective values. At present only \"iam_principal\", corresponding to IAMContext.principal, is supported. Examples: counter { metric: \"/debug_access_count\" field: \"iam_principal\" } ==\u003e increment counter /iam/policy/backend_debug_access_count {iam_principal=[value of IAMContext.principal]} At this time we do not support: * multiple field names (though this may be supported in the future) * decrementing the counter * incrementing it by anything other than 1",
"properties": {
"counter": {
"$ref": "CounterOptions",
"description": "Counter options."
},
"dataAccess": {
"$ref": "DataAccessOptions",
"description": "Data access options."
},
"cloudAudit": {
"$ref": "CloudAuditOptions",
"description": "Cloud audit options."
}
}
},
"CounterOptions": {
"id": "CounterOptions",
"type": "object",
"description": "Options for counters",
"properties": {
"metric": {
"type": "string",
"description": "The metric to update."
},
"field": {
"type": "string",
"description": "The field value to attribute."
}
}
},
"DataAccessOptions": {
"id": "DataAccessOptions",
"type": "object",
"description": "Write a Data Access (Gin) log"
},
"CloudAuditOptions": {
"id": "CloudAuditOptions",
"type": "object",
"description": "Write a Cloud Audit log"
},
"TestIamPermissionsRequest": {
"id": "TestIamPermissionsRequest",
"type": "object",
@@ -335,7 +173,7 @@
"properties": {
"permissions": {
"type": "array",
"description": "The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.",
"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.",
"items": {
"type": "string"
}
@@ -363,7 +201,7 @@
"properties": {
"name": {
"type": "string",
"description": "The name of the topic. It must have the format \"projects/{project}/topics/{topic}\" for Google Cloud Pub/Sub API v1 and v1beta2. {topic} must start with a letter, and contain only letters ([A-Za-z]), numbers ([0-9], dashes (-), underscores (_), periods (.), tildes (~), plus (+) or percent signs (%). It must be between 3 and 255 characters in length, and it must not start with \"goog\"."
"description": "The name of the topic. It must have the format `\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `\"goog\"`."
}
}
},
@@ -384,7 +222,7 @@
"PubsubMessage": {
"id": "PubsubMessage",
"type": "object",
"description": "A message data and its attributes.",
"description": "A message data and its attributes. The message payload must not be empty; it must contain either a non-empty data field, or at least one attribute.",
"properties": {
"data": {
"type": "string",
@@ -400,14 +238,14 @@
},
"messageId": {
"type": "string",
"description": "ID of this message assigned by the server at publication time. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a PubsubMessage via a Pull call or a push delivery. It must not be populated by a publisher in a Publish call."
"description": "ID of this message assigned by the server at publication time. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a `PubsubMessage` via a `Pull` call or a push delivery. It must not be populated by a publisher in a `Publish` call."
}
}
},
"PublishResponse": {
"id": "PublishResponse",
"type": "object",
"description": "Response for the Publish method.",
"description": "Response for the `Publish` method.",
"properties": {
"messageIds": {
"type": "array",
@@ -421,7 +259,7 @@
"ListTopicsResponse": {
"id": "ListTopicsResponse",
"type": "object",
"description": "Response for the ListTopics method.",
"description": "Response for the `ListTopics` method.",
"properties": {
"topics": {
"type": "array",
@@ -432,14 +270,14 @@
},
"nextPageToken": {
"type": "string",
"description": "If not empty, indicates that there may be more topics that match the request; this value should be passed in a new ListTopicsRequest."
"description": "If not empty, indicates that there may be more topics that match the request; this value should be passed in a new `ListTopicsRequest`."
}
}
},
"ListTopicSubscriptionsResponse": {
"id": "ListTopicSubscriptionsResponse",
"type": "object",
"description": "Response for the ListTopicSubscriptions method.",
"description": "Response for the `ListTopicSubscriptions` method.",
"properties": {
"subscriptions": {
"type": "array",
@@ -450,7 +288,7 @@
},
"nextPageToken": {
"type": "string",
"description": "If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new ListTopicSubscriptionsRequest to get more subscriptions."
"description": "If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListTopicSubscriptionsRequest` to get more subscriptions."
}
}
},
@@ -466,7 +304,7 @@
"properties": {
"name": {
"type": "string",
"description": "The name of the subscription. It must have the format \"projects/{project}/subscriptions/{subscription}\" for Google Cloud Pub/Sub API v1 and v1beta2. {subscription} must start with a letter, and contain only letters ([A-Za-z]), numbers ([0-9], dashes (-), underscores (_), periods (.), tildes (~), plus (+) or percent signs (%). It must be between 3 and 255 characters in length, and it must not start with \"goog\"."
"description": "The name of the subscription. It must have the format `\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `\"goog\"`."
},
"topic": {
"type": "string",
@@ -474,11 +312,11 @@
},
"pushConfig": {
"$ref": "PushConfig",
"description": "If push delivery is used with this subscription, this field is used to configure it. An empty pushConfig signifies that the subscriber will pull and ack messages using API methods."
"description": "If push delivery is used with this subscription, this field is used to configure it. An empty `pushConfig` signifies that the subscriber will pull and ack messages using API methods."
},
"ackDeadlineSeconds": {
"type": "integer",
"description": "This value is the maximum time after a subscriber receives a message before the subscriber should acknowledge the message. After message delivery but before the ack deadline expires and before the message is acknowledged, it is an outstanding message and will not be delivered again during that time (on a best-effort basis). For pull delivery this value is used as the initial value for the ack deadline. It may be overridden for each message using its corresponding ack_id by calling ModifyAckDeadline. For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message. If this parameter is not set, the default value of 60 seconds is used.",
"description": "This value is the maximum time after a subscriber receives a message before the subscriber should acknowledge the message. After message delivery but before the ack deadline expires and before the message is acknowledged, it is an outstanding message and will not be delivered again during that time (on a best-effort basis). For pull delivery this value is used as the initial value for the ack deadline. To override this value for a given message, call `ModifyAckDeadline` with the corresponding `ack_id`. For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message. If this parameter is not set, the default value of 10 seconds is used.",
"format": "int32"
}
}
@@ -494,7 +332,7 @@
},
"attributes": {
"type": "object",
"description": "Endpoint configuration attributes. Every endpoint has a set of API supported attributes that can be used to control different aspects of the message delivery. The currently supported attribute is `x-goog-version`, which you can use to change the format of the push message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the envelope (i.e. its fields and metadata). The endpoint version is based on the version of the Pub/Sub API. If not present during the CreateSubscription call, it will default to the version of the API used to make such call. If not present during a ModifyPushConfig call, its value will not be changed. GetSubscription calls will always return a valid version, even if the subscription was created without this attribute. The possible values for this attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.",
"description": "Endpoint configuration attributes. Every endpoint has a set of API supported attributes that can be used to control different aspects of the message delivery. The currently supported attribute is `x-goog-version`, which you can use to change the format of the push message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the envelope (i.e. its fields and metadata). The endpoint version is based on the version of the Pub/Sub API. If not present during the `CreateSubscription` call, it will default to the version of the API used to make such call. If not present during a `ModifyPushConfig` call, its value will not be changed. `GetSubscription` calls will always return a valid version, even if the subscription was created without this attribute. The possible values for this attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.",
"additionalProperties": {
"type": "string"
}
@@ -504,7 +342,7 @@
"ListSubscriptionsResponse": {
"id": "ListSubscriptionsResponse",
"type": "object",
"description": "Response for the ListSubscriptions method.",
"description": "Response for the `ListSubscriptions` method.",
"properties": {
"subscriptions": {
"type": "array",
@@ -515,7 +353,7 @@
},
"nextPageToken": {
"type": "string",
"description": "If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new ListSubscriptionsRequest to get more subscriptions."
"description": "If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListSubscriptionsRequest` to get more subscriptions."
}
}
},
@@ -537,7 +375,7 @@
},
"ackDeadlineSeconds": {
"type": "integer",
"description": "The new ack deadline with respect to the time this request was sent to the Pub/Sub system. Must be \u003e= 0. For example, if the value is 10, the new ack deadline will expire 10 seconds after the ModifyAckDeadline call was made. Specifying zero may immediately make the message available for another pull request.",
"description": "The new ack deadline with respect to the time this request was sent to the Pub/Sub system. Must be \u003e= 0. For example, if the value is 10, the new ack deadline will expire 10 seconds after the `ModifyAckDeadline` call was made. Specifying zero may immediately make the message available for another pull request.",
"format": "int32"
}
}
@@ -549,7 +387,7 @@
"properties": {
"ackIds": {
"type": "array",
"description": "The acknowledgment ID for the messages being acknowledged that was returned by the Pub/Sub system in the Pull response. Must not be empty.",
"description": "The acknowledgment ID for the messages being acknowledged that was returned by the Pub/Sub system in the `Pull` response. Must not be empty.",
"items": {
"type": "string"
}
@@ -559,11 +397,11 @@
"PullRequest": {
"id": "PullRequest",
"type": "object",
"description": "Request for the Pull method.",
"description": "Request for the `Pull` method.",
"properties": {
"returnImmediately": {
"type": "boolean",
"description": "If this is specified as true the system will respond immediately even if it is not able to return a message in the Pull response. Otherwise the system is allowed to wait until at least one message is available rather than returning no messages. The client may cancel the request if it does not wish to wait any longer for the response."
"description": "If this is specified as true the system will respond immediately even if it is not able to return a message in the `Pull` response. Otherwise the system is allowed to wait until at least one message is available rather than returning no messages. The client may cancel the request if it does not wish to wait any longer for the response."
},
"maxMessages": {
"type": "integer",
@@ -575,11 +413,11 @@
"PullResponse": {
"id": "PullResponse",
"type": "object",
"description": "Response for the Pull method.",
"description": "Response for the `Pull` method.",
"properties": {
"receivedMessages": {
"type": "array",
"description": "Received Pub/Sub messages. The Pub/Sub system will return zero messages if there are no more available in the backlog. The Pub/Sub system may return fewer than the maxMessages requested even if there are more messages available in the backlog.",
"description": "Received Pub/Sub messages. The Pub/Sub system will return zero messages if there are no more available in the backlog. The Pub/Sub system may return fewer than the `maxMessages` requested even if there are more messages available in the backlog.",
"items": {
"$ref": "ReceivedMessage"
}
@@ -608,7 +446,7 @@
"properties": {
"pushConfig": {
"$ref": "PushConfig",
"description": "The push configuration for future deliveries. An empty pushConfig indicates that the Pub/Sub system should stop pushing messages from the given subscription and allow messages to be pulled and acknowledged - effectively pausing the subscription if Pull is not called."
"description": "The push configuration for future deliveries. An empty `pushConfig` indicates that the Pub/Sub system should stop pushing messages from the given subscription and allow messages to be pulled and acknowledged - effectively pausing the subscription if `Pull` is not called."
}
}
}
@@ -626,7 +464,7 @@
"parameters": {
"resource": {
"type": "string",
"description": "REQUIRED: The resource for which policy is being specified. Resource is usually specified as a path, such as, projects/{project}/zones/{zone}/disks/{disk}.",
"description": "REQUIRED: The resource for which policy is being specified. `resource` is usually specified as a path, such as, `projects/{project}/zones/{zone}/disks/{disk}`.",
"required": true,
"pattern": "^projects/[^/]*/topics/[^/]*$",
"location": "path"
@@ -650,11 +488,11 @@
"id": "pubsub.projects.topics.getIamPolicy",
"path": "v1beta2/{+resource}:getIamPolicy",
"httpMethod": "GET",
"description": "Gets the access control policy for a resource. Is empty if the policy or the resource does not exist.",
"description": "Gets the access control policy for a `resource`. Is empty if the policy or the resource does not exist.",
"parameters": {
"resource": {
"type": "string",
"description": "REQUIRED: The resource for which policy is being requested. Resource is usually specified as a path, such as, projects/{project}.",
"description": "REQUIRED: The resource for which policy is being requested. Resource is usually specified as a path, such as, `projects/{project}`.",
"required": true,
"pattern": "^projects/[^/]*/topics/[^/]*$",
"location": "path"
@@ -679,7 +517,7 @@
"parameters": {
"resource": {
"type": "string",
"description": "REQUIRED: The resource for which policy detail is being requested. Resource is usually specified as a path, such as, projects/{project}.",
"description": "REQUIRED: The resource for which policy detail is being requested. `resource` is usually specified as a path, such as, `projects/{project}`.",
"required": true,
"pattern": "^projects/[^/]*/topics/[^/]*$",
"location": "path"
@@ -707,7 +545,7 @@
"parameters": {
"name": {
"type": "string",
"description": "The name of the topic. It must have the format \"projects/{project}/topics/{topic}\" for Google Cloud Pub/Sub API v1 and v1beta2. {topic} must start with a letter, and contain only letters ([A-Za-z]), numbers ([0-9], dashes (-), underscores (_), periods (.), tildes (~), plus (+) or percent signs (%). It must be between 3 and 255 characters in length, and it must not start with \"goog\".",
"description": "The name of the topic. It must have the format `\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `\"goog\"`.",
"required": true,
"pattern": "^projects/[^/]*/topics/[^/]*$",
"location": "path"
@@ -731,7 +569,7 @@
"id": "pubsub.projects.topics.publish",
"path": "v1beta2/{+topic}:publish",
"httpMethod": "POST",
"description": "Adds one or more messages to the topic. Returns NOT_FOUND if the topic does not exist.",
"description": "Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic does not exist. The message payload must not be empty; it must contain either a non-empty data field, or at least one attribute.",
"parameters": {
"topic": {
"type": "string",
@@ -801,7 +639,7 @@
},
"pageToken": {
"type": "string",
"description": "The value returned by the last ListTopicsResponse; indicates that this is a continuation of a prior ListTopics call, and that the system should return the next page of data.",
"description": "The value returned by the last `ListTopicsResponse`; indicates that this is a continuation of a prior `ListTopics` call, and that the system should return the next page of data.",
"location": "query"
}
},
@@ -820,7 +658,7 @@
"id": "pubsub.projects.topics.delete",
"path": "v1beta2/{+topic}",
"httpMethod": "DELETE",
"description": "Deletes the topic with the given name. Returns NOT_FOUND if the topic does not exist. After a topic is deleted, a new topic may be created with the same name; this is an entirely new topic with none of the old configuration or subscriptions. Existing subscriptions to this topic are not deleted, but their `topic` field is set to `_deleted-topic_`.",
"description": "Deletes the topic with the given name. Returns `NOT_FOUND` if the topic does not exist. After a topic is deleted, a new topic may be created with the same name; this is an entirely new topic with none of the old configuration or subscriptions. Existing subscriptions to this topic are not deleted, but their `topic` field is set to `_deleted-topic_`.",
"parameters": {
"topic": {
"type": "string",
@@ -866,7 +704,7 @@
},
"pageToken": {
"type": "string",
"description": "The value returned by the last ListTopicSubscriptionsResponse; indicates that this is a continuation of a prior ListTopicSubscriptions call, and that the system should return the next page of data.",
"description": "The value returned by the last `ListTopicSubscriptionsResponse`; indicates that this is a continuation of a prior `ListTopicSubscriptions` call, and that the system should return the next page of data.",
"location": "query"
}
},
@@ -895,7 +733,7 @@
"parameters": {
"resource": {
"type": "string",
"description": "REQUIRED: The resource for which policy is being specified. Resource is usually specified as a path, such as, projects/{project}/zones/{zone}/disks/{disk}.",
"description": "REQUIRED: The resource for which policy is being specified. `resource` is usually specified as a path, such as, `projects/{project}/zones/{zone}/disks/{disk}`.",
"required": true,
"pattern": "^projects/[^/]*/subscriptions/[^/]*$",
"location": "path"
@@ -919,11 +757,11 @@
"id": "pubsub.projects.subscriptions.getIamPolicy",
"path": "v1beta2/{+resource}:getIamPolicy",
"httpMethod": "GET",
"description": "Gets the access control policy for a resource. Is empty if the policy or the resource does not exist.",
"description": "Gets the access control policy for a `resource`. Is empty if the policy or the resource does not exist.",
"parameters": {
"resource": {
"type": "string",
"description": "REQUIRED: The resource for which policy is being requested. Resource is usually specified as a path, such as, projects/{project}.",
"description": "REQUIRED: The resource for which policy is being requested. Resource is usually specified as a path, such as, `projects/{project}`.",
"required": true,
"pattern": "^projects/[^/]*/subscriptions/[^/]*$",
"location": "path"
@@ -948,7 +786,7 @@
"parameters": {
"resource": {
"type": "string",
"description": "REQUIRED: The resource for which policy detail is being requested. Resource is usually specified as a path, such as, projects/{project}.",
"description": "REQUIRED: The resource for which policy detail is being requested. `resource` is usually specified as a path, such as, `projects/{project}`.",
"required": true,
"pattern": "^projects/[^/]*/subscriptions/[^/]*$",
"location": "path"
@@ -972,11 +810,11 @@
"id": "pubsub.projects.subscriptions.create",
"path": "v1beta2/{+name}",
"httpMethod": "PUT",
"description": "Creates a subscription to a given topic for a given subscriber. If the subscription already exists, returns ALREADY_EXISTS. If the corresponding topic doesn't exist, returns NOT_FOUND. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic.",
"description": "Creates a subscription to a given topic for a given subscriber. If the subscription already exists, returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns `NOT_FOUND`. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic.",
"parameters": {
"name": {
"type": "string",
"description": "The name of the subscription. It must have the format \"projects/{project}/subscriptions/{subscription}\" for Google Cloud Pub/Sub API v1 and v1beta2. {subscription} must start with a letter, and contain only letters ([A-Za-z]), numbers ([0-9], dashes (-), underscores (_), periods (.), tildes (~), plus (+) or percent signs (%). It must be between 3 and 255 characters in length, and it must not start with \"goog\".",
"description": "The name of the subscription. It must have the format `\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `\"goog\"`.",
"required": true,
"pattern": "^projects/[^/]*/subscriptions/[^/]*$",
"location": "path"
@@ -1042,7 +880,7 @@
},
"pageToken": {
"type": "string",
"description": "The value returned by the last ListSubscriptionsResponse; indicates that this is a continuation of a prior ListSubscriptions call, and that the system should return the next page of data.",
"description": "The value returned by the last `ListSubscriptionsResponse`; indicates that this is a continuation of a prior `ListSubscriptions` call, and that the system should return the next page of data.",
"location": "query"
}
},
@@ -1061,7 +899,7 @@
"id": "pubsub.projects.subscriptions.delete",
"path": "v1beta2/{+subscription}",
"httpMethod": "DELETE",
"description": "Deletes an existing subscription. All pending messages in the subscription are immediately dropped. Calls to Pull after deletion will return NOT_FOUND. After a subscription is deleted, a new one may be created with the same name, but the new one has no association with the old subscription, or its topic unless the same topic is specified.",
"description": "Deletes an existing subscription. All pending messages in the subscription are immediately dropped. Calls to `Pull` after deletion will return `NOT_FOUND`. After a subscription is deleted, a new one may be created with the same name, but the new one has no association with the old subscription, or its topic unless the same topic is specified.",
"parameters": {
"subscription": {
"type": "string",
@@ -1114,7 +952,7 @@
"id": "pubsub.projects.subscriptions.acknowledge",
"path": "v1beta2/{+subscription}:acknowledge",
"httpMethod": "POST",
"description": "Acknowledges the messages associated with the ack tokens in the AcknowledgeRequest. The Pub/Sub system can remove the relevant messages from the subscription. Acknowledging a message whose ack deadline has expired may succeed, but such a message may be redelivered later. Acknowledging a message more than once will not result in an error.",
"description": "Acknowledges the messages associated with the `ack_ids` in the `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages from the subscription. Acknowledging a message whose ack deadline has expired may succeed, but such a message may be redelivered later. Acknowledging a message more than once will not result in an error.",
"parameters": {
"subscription": {
"type": "string",
@@ -1142,7 +980,7 @@
"id": "pubsub.projects.subscriptions.pull",
"path": "v1beta2/{+subscription}:pull",
"httpMethod": "POST",
"description": "Pulls messages from the server. Returns an empty list if there are no messages available in the backlog. The server may return UNAVAILABLE if there are too many concurrent pull requests pending for the given subscription.",
"description": "Pulls messages from the server. Returns an empty list if there are no messages available in the backlog. The server may return `UNAVAILABLE` if there are too many concurrent pull requests pending for the given subscription.",
"parameters": {
"subscription": {
"type": "string",
@@ -1170,7 +1008,7 @@
"id": "pubsub.projects.subscriptions.modifyPushConfig",
"path": "v1beta2/{+subscription}:modifyPushConfig",
"httpMethod": "POST",
"description": "Modifies the PushConfig for a specified subscription. This may be used to change a push subscription to a pull one (signified by an empty PushConfig) or vice versa, or change the endpoint URL and other attributes of a push subscription. Messages will accumulate for delivery continuously through the call regardless of changes to the PushConfig.",
"description": "Modifies the `PushConfig` for a specified subscription. This may be used to change a push subscription to a pull one (signified by an empty `PushConfig`) or vice versa, or change the endpoint URL and other attributes of a push subscription. Messages will accumulate for delivery continuously through the call regardless of changes to the `PushConfig`.",
"parameters": {
"subscription": {
"type": "string",

View File

@@ -1,6 +1,6 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/bbBsSTsXQi92V3hzGiyxok5bZF0\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/3LBsJh0TU5kp5gt4okT0XAt0lsw\"",
"discoveryVersion": "v1",
"id": "replicapool:v1beta1",
"name": "replicapool",
@@ -75,6 +75,9 @@
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/cloud-platform.read-only": {
"description": "View your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/ndev.cloudman": {
"description": "View and manage your Google Cloud Platform management resources and deployment status information"
},
@@ -728,6 +731,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly",
"https://www.googleapis.com/auth/replicapool",
@@ -811,6 +815,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly",
"https://www.googleapis.com/auth/replicapool",
@@ -996,6 +1001,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly",
"https://www.googleapis.com/auth/replicapool",
@@ -1051,6 +1057,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly",
"https://www.googleapis.com/auth/replicapool",

View File

@@ -1,6 +1,6 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/QPdxF7lKZPugyM4sPnwbbuOltwY\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/67X4oa_z2X9akk2jDtoTiNGUkaE\"",
"discoveryVersion": "v1",
"id": "replicapool:v1beta2",
"name": "replicapool",
@@ -75,6 +75,9 @@
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/cloud-platform.read-only": {
"description": "View your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/compute": {
"description": "View and manage your Google Compute Engine resources"
},
@@ -672,6 +675,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly"
]
@@ -770,6 +774,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly"
]

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/VmJ_vmyXHKjcZlOaFyHKHkKE8I0\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/a9_NhKO1DW_f-K-sZ0-h8ToME8I\"",
"discoveryVersion": "v1",
"id": "replicapoolupdater:v1beta1",
"name": "replicapoolupdater",
"version": "v1beta1",
"revision": "20150326",
"revision": "20150904",
"title": "Google Compute Engine Instance Group Updater API",
"description": "The Google Compute Engine Instance Group Updater API provides services for updating groups of Compute Engine Instances.",
"ownerDomain": "google.com",
@@ -75,6 +75,9 @@
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/cloud-platform.read-only": {
"description": "View your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/replicapool": {
"description": "View and manage replica pools"
},
@@ -119,7 +122,7 @@
},
"instance": {
"type": "string",
"description": "URL of the instance being updated."
"description": "Fully-qualified URL of the instance being updated."
},
"status": {
"type": "string",
@@ -214,7 +217,7 @@
},
"kind": {
"type": "string",
"description": "[Output Only] Type of the resource. Always kind#operation for Operation resources.",
"description": "[Output Only] Type of the resource. Always replicapoolupdater#operation for Operation resources.",
"default": "replicapoolupdater#operation"
},
"name": {
@@ -299,6 +302,37 @@
}
}
},
"OperationList": {
"id": "OperationList",
"type": "object",
"description": "Contains a list of Operation resources.",
"properties": {
"id": {
"type": "string",
"description": "[Output Only] Unique identifier for the resource; defined by the server."
},
"items": {
"type": "array",
"description": "[Output Only] The Operation resources.",
"items": {
"$ref": "Operation"
}
},
"kind": {
"type": "string",
"description": "[Output Only] Type of resource. Always replicapoolupdater#operations for Operations resource.",
"default": "replicapoolupdater#operationList"
},
"nextPageToken": {
"type": "string",
"description": "[Output Only] A token used to continue a truncate."
},
"selfLink": {
"type": "string",
"description": "[Output Only] Server-defined URL for this resource."
}
}
},
"RollingUpdate": {
"id": "RollingUpdate",
"type": "object",
@@ -364,6 +398,10 @@
"description": "[Output Only] Type of the resource.",
"default": "replicapoolupdater#rollingUpdate"
},
"oldInstanceTemplate": {
"type": "string",
"description": "Fully-qualified URL of the instance template encountered while starting the update."
},
"policy": {
"type": "object",
"description": "Parameters of the update process.",
@@ -524,6 +562,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/replicapool",
"https://www.googleapis.com/auth/replicapool.readonly"
]
@@ -574,11 +613,6 @@
"description": "Optional. Filter expression for filtering listed resources.",
"location": "query"
},
"instanceGroupManager": {
"type": "string",
"description": "The name of the instance group manager. Use this parameter to return only updates to instances that are part of a specific instance group.",
"location": "query"
},
"maxResults": {
"type": "integer",
"description": "Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 500.",
@@ -616,6 +650,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/replicapool",
"https://www.googleapis.com/auth/replicapool.readonly"
]
@@ -675,6 +710,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/replicapool",
"https://www.googleapis.com/auth/replicapool.readonly"
]
@@ -838,6 +874,57 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/replicapool"
]
},
"list": {
"id": "replicapoolupdater.zoneOperations.list",
"path": "{project}/zones/{zone}/operations",
"httpMethod": "GET",
"description": "Retrieves the list of Operation resources contained within the specified zone.",
"parameters": {
"filter": {
"type": "string",
"description": "Optional. Filter expression for filtering listed resources.",
"location": "query"
},
"maxResults": {
"type": "integer",
"description": "Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 500.",
"default": "500",
"format": "uint32",
"minimum": "0",
"maximum": "500",
"location": "query"
},
"pageToken": {
"type": "string",
"description": "Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.",
"location": "query"
},
"project": {
"type": "string",
"description": "Name of the project scoping this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
},
"zone": {
"type": "string",
"description": "Name of the zone scoping this request.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"project",
"zone"
],
"response": {
"$ref": "OperationList"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/replicapool"
]
}
}
}

View File

@@ -1,6 +1,6 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/cQvoowMiSr7N8G8JWSVMnopHtSU\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/zGXHhFNf_BjX91GfOIqcxzMz9hQ\"",
"discoveryVersion": "v1",
"id": "resourceviews:v1beta1",
"name": "resourceviews",
@@ -75,6 +75,9 @@
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/cloud-platform.read-only": {
"description": "View your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/compute": {
"description": "View and manage your Google Compute Engine resources"
},
@@ -425,6 +428,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/ndev.cloudman",
@@ -508,6 +512,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/ndev.cloudman",
@@ -563,6 +568,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/ndev.cloudman",
@@ -722,6 +728,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/ndev.cloudman",
@@ -805,6 +812,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/ndev.cloudman",
@@ -860,6 +868,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/ndev.cloudman",

View File

@@ -1,6 +1,6 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Czl2mkcl-UOWxqwK4LFExYmF-RA\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Q2Fm4OHaHKaTfeWzlGIBAoc7BO8\"",
"discoveryVersion": "v1",
"id": "resourceviews:v1beta2",
"name": "resourceviews",
@@ -75,6 +75,9 @@
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/cloud-platform.read-only": {
"description": "View your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/compute": {
"description": "View and manage your Google Compute Engine resources"
},
@@ -551,6 +554,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/ndev.cloudman",
@@ -606,6 +610,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/ndev.cloudman",
@@ -732,6 +737,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/ndev.cloudman",
@@ -859,6 +865,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/ndev.cloudman",
@@ -948,6 +955,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/ndev.cloudman",

View File

@@ -0,0 +1,319 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/naX8yNJ_bY3dR5Ft8Kwm0spj_ao\"",
"discoveryVersion": "v1",
"id": "script:v1",
"name": "script",
"version": "v1",
"revision": "20150922",
"title": "Google Apps Script Execution API",
"description": "An API for executing Google Apps Script projects.",
"ownerDomain": "google.com",
"ownerName": "Google",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"documentationLink": "https://developers.google.com/apps-script/execution/rest/v1/run",
"protocol": "rest",
"baseUrl": "https://script.googleapis.com/",
"basePath": "/",
"rootUrl": "https://script.googleapis.com/",
"servicePath": "",
"batchPath": "batch",
"parameters": {
"access_token": {
"type": "string",
"description": "OAuth access token.",
"location": "query"
},
"alt": {
"type": "string",
"description": "Data format for response.",
"default": "json",
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location": "query"
},
"bearer_token": {
"type": "string",
"description": "OAuth bearer token.",
"location": "query"
},
"callback": {
"type": "string",
"description": "JSONP",
"location": "query"
},
"fields": {
"type": "string",
"description": "Selector specifying which fields to include in a partial response.",
"location": "query"
},
"key": {
"type": "string",
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location": "query"
},
"oauth_token": {
"type": "string",
"description": "OAuth 2.0 token for the current user.",
"location": "query"
},
"pp": {
"type": "boolean",
"description": "Pretty-print response.",
"default": "true",
"location": "query"
},
"prettyPrint": {
"type": "boolean",
"description": "Returns response with indentations and line breaks.",
"default": "true",
"location": "query"
},
"quotaUser": {
"type": "string",
"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.",
"location": "query"
},
"upload_protocol": {
"type": "string",
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query"
},
"uploadType": {
"type": "string",
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query"
},
"$.xgafv": {
"type": "string",
"description": "V1 error format.",
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query"
}
},
"auth": {
"oauth2": {
"scopes": {
"https://mail.google.com/": {
"description": "View and manage your mail"
},
"https://www.google.com/calendar/feeds": {
"description": "Manage your calendars"
},
"https://www.google.com/m8/feeds": {
"description": "Manage your contacts"
},
"https://www.googleapis.com/auth/admin.directory.group": {
"description": "View and manage the provisioning of groups on your domain"
},
"https://www.googleapis.com/auth/admin.directory.user": {
"description": "View and manage the provisioning of users on your domain"
},
"https://www.googleapis.com/auth/drive": {
"description": "View and manage the files in your Google Drive"
},
"https://www.googleapis.com/auth/forms": {
"description": "View and manage your forms in Google Drive"
},
"https://www.googleapis.com/auth/forms.currentonly": {
"description": "View and manage forms that this application has been installed in"
},
"https://www.googleapis.com/auth/groups": {
"description": "View and manage your Google Groups"
},
"https://www.googleapis.com/auth/userinfo.email": {
"description": "View your email address"
}
}
}
},
"schemas": {
"ExecutionRequest": {
"id": "ExecutionRequest",
"type": "object",
"description": "A request to run the function in a script. The script is identified by the specified `script_id`. Executing a function on a script will return results based on the implementation of the script.",
"properties": {
"function": {
"type": "string",
"description": "The name of the function to execute in the given script. The name does not include parentheses or parameters."
},
"parameters": {
"type": "array",
"description": "The parameters to be passed to the function being executed. The type for each parameter should match the expected type in Apps Script. Parameters cannot be Apps Script-specific objects (such as a `Document` or `Calendar`); they can only be primitive types such as a `string`, `number`, `array`, `object`, or `boolean`. Optional.",
"items": {
"type": "any"
}
},
"sessionState": {
"type": "string",
"description": "This field is not used."
},
"devMode": {
"type": "boolean",
"description": "If `true` and the user is an owner of the script, the script runs at the most recently saved version rather than the version deployed for use with the Execution API. Optional; default is `false`."
}
}
},
"Operation": {
"id": "Operation",
"type": "object",
"description": "The response will not arrive until the function finishes executing. The maximum runtime is listed in the guide to [limitations in Apps Script](https://developers.google.com/apps-script/guides/services/quotas#current_limitations).\nIf the script function returns successfully, the `response` field will contain an `ExecutionResponse` object with the function's return value in the object's `result` field.\n\nIf the script function (or Apps Script itself) throws an exception, the `error` field will contain a `Status` object. The `Status` object's `details` field will contain an array with a single `ExecutionError` object that provides information about the nature of the error.\n\nIf the `run` call itself fails (for example, because of a malformed request or an authorization error), the method will return an HTTP response code in the 4XX range with a different format for the response body. Client libraries will automatically convert a 4XX response into an exception class.",
"properties": {
"name": {
"type": "string",
"description": "This field is not used."
},
"metadata": {
"type": "object",
"description": "This field is not used.",
"additionalProperties": {
"type": "any",
"description": "Properties of the object. Contains field @ype with type URL."
}
},
"done": {
"type": "boolean",
"description": "This field is not used."
},
"error": {
"$ref": "Status",
"description": "If a `run` call succeeds but the script function (or Apps Script itself) throws an exception, this field will contain a `Status` object. The `Status` object's `details` field will contain an array with a single `ExecutionError` object that provides information about the nature of the error."
},
"response": {
"type": "object",
"description": "If the script function returns successfully, this field will contain an `ExecutionResponse` object with the function's return value as the object's `result` field.",
"additionalProperties": {
"type": "any",
"description": "Properties of the object. Contains field @ype with type URL."
}
}
}
},
"Status": {
"id": "Status",
"type": "object",
"description": "If a `run` call succeeds but the script function (or Apps Script itself) throws an exception, the response body's `error` field will contain this `Status` object.",
"properties": {
"code": {
"type": "integer",
"description": "The status code, which should be an enum value of google.rpc.Code.",
"format": "int32"
},
"message": {
"type": "string",
"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client."
},
"details": {
"type": "array",
"description": "An array that contains a single `ExecutionError` object that provides information about the nature of the error.",
"items": {
"type": "object",
"additionalProperties": {
"type": "any",
"description": "Properties of the object. Contains field @ype with type URL."
}
}
}
}
},
"ExecutionError": {
"id": "ExecutionError",
"type": "object",
"description": "An object that provides information about the nature of an error in the Apps Script Execution API. If an `run` call succeeds but the script function (or Apps Script itself) throws an exception, the response body's `error` field will contain a `Status` object. The `Status` object's `details` field will contain an array with a single one of these `ExecutionError` objects.",
"properties": {
"scriptStackTraceElements": {
"type": "array",
"description": "An array of objects that provide a stack trace through the script to show where the execution failed, with the deepest call first.",
"items": {
"$ref": "ScriptStackTraceElement"
}
},
"errorMessage": {
"type": "string",
"description": "The error message thrown by Apps Script, usually localized into the user's language."
},
"errorType": {
"type": "string",
"description": "The error type, for example `TypeError` or `ReferenceError`. If the error type is unavailable, this field is not included."
}
}
},
"ScriptStackTraceElement": {
"id": "ScriptStackTraceElement",
"type": "object",
"description": "A stack trace through the script that shows where the execution failed.",
"properties": {
"function": {
"type": "string",
"description": "The name of the function that failed."
},
"lineNumber": {
"type": "integer",
"description": "The line number where the script failed.",
"format": "int32"
}
}
},
"ExecutionResponse": {
"id": "ExecutionResponse",
"type": "object",
"description": "An object that provides the return value of a function executed through the Apps Script Execution API. If an `run` call succeeds and the script function returns successfully, the response body's `response` field will contain this `ExecutionResponse` object.",
"properties": {
"result": {
"type": "any",
"description": "The return value of the script function. The type will match the type returned in Apps Script. Functions called through the Execution API cannot return Apps Script-specific objects (such as a `Document` or `Calendar`); they can only return primitive types such as a `string`, `number`, `array`, `object`, or `boolean`."
}
}
}
},
"resources": {
"scripts": {
"methods": {
"run": {
"id": "script.scripts.run",
"path": "v1/scripts/{scriptId}:run",
"httpMethod": "POST",
"description": "Runs a function in an Apps Script project that has been deployed for use with the Apps Script Execution API. This method requires authorization with an OAuth 2.0 token that includes at least one of the scopes listed in the [Authentication](#authentication) section; script projects that do not require authorization cannot be executed through this API. To find the correct scopes to include in the authentication token, open the project in the script editor, then select **File \u003e Project properties** and click the **Scopes** tab.",
"parameters": {
"scriptId": {
"type": "string",
"description": "The project key of the script to be executed. To find the project key, open the project in the script editor, then select **File \u003e Project properties**.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"scriptId"
],
"request": {
"$ref": "ExecutionRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://mail.google.com/",
"https://www.google.com/calendar/feeds",
"https://www.google.com/m8/feeds",
"https://www.googleapis.com/auth/admin.directory.group",
"https://www.googleapis.com/auth/admin.directory.user",
"https://www.googleapis.com/auth/drive",
"https://www.googleapis.com/auth/forms",
"https://www.googleapis.com/auth/forms.currentonly",
"https://www.googleapis.com/auth/groups",
"https://www.googleapis.com/auth/userinfo.email"
]
}
}
}
}
}

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/RwYHc_wr_RI-M8LU9rCXtGC2FOg\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/IkolANVaIesVGlsS7q8ngexzb-M\"",
"discoveryVersion": "v1",
"id": "siteVerification:v1",
"name": "siteVerification",
"version": "v1",
"revision": "20131007",
"revision": "20151007",
"title": "Google Site Verification API",
"description": "Lets you programatically verify ownership of websites or domains with Google.",
"ownerDomain": "google.com",

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/MBdb_2wPLVZ-z9ZaAuo8xEjfMbY\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/wI-lQbcmt6LcF5eeoDCxDE3YWiw\"",
"discoveryVersion": "v1",
"id": "spectrum:v1explorer",
"name": "spectrum",
"version": "v1explorer",
"revision": "20150112",
"revision": "20150716",
"title": "Google Spectrum Database API",
"description": "API for spectrum-management functions.",
"ownerDomain": "google.com",

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/3wqGzGH7n55HIf3ZiG2TqGSB2lQ\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/5lmXP1mLMuGQWN_b7yMjJBScYec\"",
"discoveryVersion": "v1",
"id": "sqladmin:v1beta3",
"name": "sqladmin",
"canonicalName": "SQL Admin",
"version": "v1beta3",
"revision": "20150305",
"revision": "20151013",
"title": "Cloud SQL Administration API",
"description": "API for Cloud SQL database instance management.",
"ownerDomain": "google.com",

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/tWiKG-tAYUfQIEzSxsK_muuAjks\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/dmM5e1LsyAJYfrXQoy2C4h3tVuA\"",
"discoveryVersion": "v1",
"id": "sqladmin:v1beta4",
"name": "sqladmin",
"canonicalName": "SQL Admin",
"version": "v1beta4",
"revision": "20150305",
"revision": "20151013",
"title": "Cloud SQL Administration API",
"description": "API for Cloud SQL database instance management.",
"ownerDomain": "google.com",
@@ -477,6 +477,10 @@
"type": "object",
"description": "Options for exporting data as SQL statements.",
"properties": {
"schemaOnly": {
"type": "boolean",
"description": "Export only schemas."
},
"tables": {
"type": "array",
"description": "Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database.",
@@ -492,6 +496,23 @@
}
}
},
"FailoverContext": {
"id": "FailoverContext",
"type": "object",
"description": "Database instance failover context.",
"properties": {
"kind": {
"type": "string",
"description": "This is always sql#failoverContext.",
"default": "sql#failoverContext"
},
"settingsVersion": {
"type": "string",
"description": "The current settings version of this instance. Request will be rejected if this version doesn't match the current settings version.",
"format": "int64"
}
}
},
"Flag": {
"id": "Flag",
"type": "object",
@@ -506,7 +527,7 @@
},
"appliesTo": {
"type": "array",
"description": "The database version this flag applies to. Currently this can only be [MYSQL_5_5].",
"description": "The database version this flag applies to. Can be MYSQL_5_5, MYSQL_5_6, or both.",
"items": {
"type": "string"
}
@@ -618,6 +639,17 @@
}
}
},
"InstancesFailoverRequest": {
"id": "InstancesFailoverRequest",
"type": "object",
"description": "Instance failover request.",
"properties": {
"failoverContext": {
"$ref": "FailoverContext",
"description": "Failover Context."
}
}
},
"InstancesImportRequest": {
"id": "InstancesImportRequest",
"type": "object",
@@ -929,6 +961,10 @@
"type": "object",
"description": "Read-replica configuration for connecting to the master.",
"properties": {
"failoverTarget": {
"type": "boolean",
"description": "Specifies if the replica is the failover target. If the field is set to true the replica will be designated as a failover replica. In case the master instance fails, the replica instance will be promoted as the new master instance.\nOnly one replica can be specified as failover target, and the replica has to be in different zone with the master instance."
},
"kind": {
"type": "string",
"description": "This is always sql#replicaConfiguration.",
@@ -990,6 +1026,11 @@
"type": "boolean",
"description": "Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled."
},
"dataDiskSizeGb": {
"type": "string",
"description": "The size of data disk for the performance instance, specified in GB. Setting this value for non-performance instances will result in an error.",
"format": "int64"
},
"databaseFlags": {
"type": "array",
"description": "The database flags passed to the instance at startup.",
@@ -1105,6 +1146,17 @@
}
}
},
"SslCertsCreateEphemeralRequest": {
"id": "SslCertsCreateEphemeralRequest",
"type": "object",
"description": "SslCerts create ephemeral certificate request.",
"properties": {
"public_key": {
"type": "string",
"description": "PEM encoded public key to include in the signed certificate."
}
}
},
"SslCertsInsertRequest": {
"id": "SslCertsInsertRequest",
"type": "object",
@@ -1270,6 +1322,45 @@
"resources": {
"backupRuns": {
"methods": {
"delete": {
"id": "sql.backupRuns.delete",
"path": "projects/{project}/instances/{instance}/backupRuns/{id}",
"httpMethod": "DELETE",
"description": "Deletes the backup taken by a backup run.",
"parameters": {
"id": {
"type": "string",
"description": "The ID of the Backup Run to delete. To find a Backup Run ID, use the list method.",
"required": true,
"format": "int64",
"location": "path"
},
"instance": {
"type": "string",
"description": "Cloud SQL instance ID. This does not include the project ID.",
"required": true,
"location": "path"
},
"project": {
"type": "string",
"description": "Project ID of the project that contains the instance.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"project",
"instance",
"id"
],
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/sqlservice.admin"
]
},
"get": {
"id": "sql.backupRuns.get",
"path": "projects/{project}/instances/{instance}/backupRuns/{id}",
@@ -1697,6 +1788,40 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"failover": {
"id": "sql.instances.failover",
"path": "projects/{project}/instances/{instance}/failover",
"httpMethod": "POST",
"description": "Failover the instance to its failover replica instance.",
"parameters": {
"instance": {
"type": "string",
"description": "Cloud SQL instance ID. This does not include the project ID.",
"required": true,
"location": "path"
},
"project": {
"type": "string",
"description": "ID of the project that contains the read replica.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"project",
"instance"
],
"request": {
"$ref": "InstancesFailoverRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/sqlservice.admin"
]
},
"get": {
"id": "sql.instances.get",
"path": "projects/{project}/instances/{instance}",
@@ -2162,6 +2287,40 @@
},
"sslCerts": {
"methods": {
"createEphemeral": {
"id": "sql.sslCerts.createEphemeral",
"path": "projects/{project}/instances/{instance}/createEphemeral",
"httpMethod": "POST",
"description": "Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database.",
"parameters": {
"instance": {
"type": "string",
"description": "Cloud SQL instance ID. This does not include the project ID.",
"required": true,
"location": "path"
},
"project": {
"type": "string",
"description": "Project ID of the Cloud SQL project.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"project",
"instance"
],
"request": {
"$ref": "SslCertsCreateEphemeralRequest"
},
"response": {
"$ref": "SslCert"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/sqlservice.admin"
]
},
"delete": {
"id": "sql.sslCerts.delete",
"path": "projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}",

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/o6fIbxE4MR_Z46vbs1q1tFmo4DI\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/N6tKJW3LYMQm0Iy7CDmwkEgtf6o\"",
"discoveryVersion": "v1",
"id": "storage:v1",
"name": "storage",
"version": "v1",
"revision": "20150710",
"title": "Cloud Storage API",
"revision": "20151007",
"title": "Cloud Storage JSON API",
"description": "Lets you store and retrieve potentially-large, immutable data objects.",
"ownerDomain": "google.com",
"ownerName": "Google",
@@ -75,6 +75,9 @@
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/cloud-platform.read-only": {
"description": "View your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/devstorage.full_control": {
"description": "Manage your data and permissions in Google Cloud Storage"
},
@@ -271,7 +274,12 @@
},
"timeCreated": {
"type": "string",
"description": "Creation time of the bucket in RFC 3339 format.",
"description": "The creation time of the bucket in RFC 3339 format.",
"format": "date-time"
},
"updated": {
"type": "string",
"description": "The modification time of the bucket in RFC 3339 format.",
"format": "date-time"
},
"versioning": {
@@ -648,6 +656,11 @@
"type": "string",
"description": "Storage class of the object."
},
"timeCreated": {
"type": "string",
"description": "The creation time of the object in RFC 3339 format.",
"format": "date-time"
},
"timeDeleted": {
"type": "string",
"description": "The deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.",
@@ -655,7 +668,7 @@
},
"updated": {
"type": "string",
"description": "The creation or modification time of the object in RFC 3339 format. For buckets with versioning enabled, changing an object's metadata does not change this property.",
"description": "The modification time of the object metadata in RFC 3339 format.",
"format": "date-time"
}
}
@@ -1074,6 +1087,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/devstorage.full_control",
"https://www.googleapis.com/auth/devstorage.read_only",
"https://www.googleapis.com/auth/devstorage.read_write"
@@ -1211,6 +1225,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/devstorage.full_control",
"https://www.googleapis.com/auth/devstorage.read_only",
"https://www.googleapis.com/auth/devstorage.read_write"
@@ -1417,6 +1432,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/devstorage.full_control",
"https://www.googleapis.com/auth/devstorage.read_only",
"https://www.googleapis.com/auth/devstorage.read_write"
@@ -1640,7 +1656,7 @@
},
"object": {
"type": "string",
"description": "Name of the object.",
"description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
"required": true,
"location": "path"
}
@@ -1680,7 +1696,7 @@
},
"object": {
"type": "string",
"description": "Name of the object.",
"description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
"required": true,
"location": "path"
}
@@ -1717,7 +1733,7 @@
},
"object": {
"type": "string",
"description": "Name of the object.",
"description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
"required": true,
"location": "path"
}
@@ -1756,7 +1772,7 @@
},
"object": {
"type": "string",
"description": "Name of the object.",
"description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
"required": true,
"location": "path"
}
@@ -1798,7 +1814,7 @@
},
"object": {
"type": "string",
"description": "Name of the object.",
"description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
"required": true,
"location": "path"
}
@@ -1844,7 +1860,7 @@
},
"object": {
"type": "string",
"description": "Name of the object.",
"description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
"required": true,
"location": "path"
}
@@ -1882,7 +1898,7 @@
},
"destinationObject": {
"type": "string",
"description": "Name of the new object.",
"description": "Name of the new object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
"required": true,
"location": "path"
},
@@ -1945,7 +1961,7 @@
"parameters": {
"destinationBucket": {
"type": "string",
"description": "Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any.",
"description": "Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any.For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
"required": true,
"location": "path"
},
@@ -2051,7 +2067,7 @@
},
"sourceObject": {
"type": "string",
"description": "Name of the source object.",
"description": "Name of the source object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
"required": true,
"location": "path"
}
@@ -2119,7 +2135,7 @@
},
"object": {
"type": "string",
"description": "Name of the object.",
"description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
"required": true,
"location": "path"
}
@@ -2178,7 +2194,7 @@
},
"object": {
"type": "string",
"description": "Name of the object.",
"description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
"required": true,
"location": "path"
},
@@ -2205,6 +2221,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/devstorage.full_control",
"https://www.googleapis.com/auth/devstorage.read_only",
"https://www.googleapis.com/auth/devstorage.read_write"
@@ -2254,7 +2271,7 @@
},
"name": {
"type": "string",
"description": "Name of the object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any.",
"description": "Name of the object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
"location": "query"
},
"predefinedAcl": {
@@ -2385,6 +2402,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/devstorage.full_control",
"https://www.googleapis.com/auth/devstorage.read_only",
"https://www.googleapis.com/auth/devstorage.read_write"
@@ -2435,7 +2453,7 @@
},
"object": {
"type": "string",
"description": "Name of the object.",
"description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
"required": true,
"location": "path"
},
@@ -2504,7 +2522,7 @@
},
"destinationObject": {
"type": "string",
"description": "Name of the new object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any.",
"description": "Name of the new object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
"required": true,
"location": "path"
},
@@ -2615,7 +2633,7 @@
},
"sourceObject": {
"type": "string",
"description": "Name of the source object.",
"description": "Name of the source object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
"required": true,
"location": "path"
}
@@ -2682,7 +2700,7 @@
},
"object": {
"type": "string",
"description": "Name of the object.",
"description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
"required": true,
"location": "path"
},
@@ -2803,6 +2821,7 @@
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/devstorage.full_control",
"https://www.googleapis.com/auth/devstorage.read_only",
"https://www.googleapis.com/auth/devstorage.read_write"

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/y_eWUHoJ8dbmnSoSXc2EL0M3dbo\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/bTGfIvC19RkllzOnE1QWbh07cyk\"",
"discoveryVersion": "v1",
"id": "storage:v1beta1",
"name": "storage",
"version": "v1beta1",
"revision": "20150710",
"title": "Cloud Storage API",
"revision": "20151007",
"title": "Cloud Storage JSON API",
"description": "Lets you store and retrieve potentially-large, immutable data objects.",
"ownerDomain": "google.com",
"ownerName": "Google",

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/05UP-kVXwMzvJEtAas1m5IU3zdM\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/58I9am2CtsQcuFUTzCVHg3vRyjQ\"",
"discoveryVersion": "v1",
"id": "storage:v1beta2",
"name": "storage",
"version": "v1beta2",
"revision": "20150710",
"title": "Cloud Storage API",
"revision": "20151007",
"title": "Cloud Storage JSON API",
"description": "Lets you store and retrieve potentially-large, immutable data objects.",
"ownerDomain": "google.com",
"ownerName": "Google",

File diff suppressed because it is too large Load Diff

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/RYltSVORyo-2lH4YNllLHLLyJN4\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/-5hQwJsgwNQCq1DK1Ud7--ggMIg\"",
"discoveryVersion": "v1",
"id": "tagmanager:v1",
"name": "tagmanager",
"canonicalName": "Tag Manager",
"version": "v1",
"revision": "20150526",
"revision": "20151008",
"title": "Tag Manager API",
"description": "API for accessing Tag Manager accounts and containers.",
"ownerDomain": "google.com",
@@ -158,14 +158,14 @@
"properties": {
"parameter": {
"type": "array",
"description": "A list of named parameters (key/value), depending on the condition's type. Notes: \n- For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. \n- At this time, the left operand (arg0) must be a reference to a macro. \n- For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. \n- To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.",
"description": "A list of named parameters (key/value), depending on the condition's type. Notes: \n- For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. \n- At this time, the left operand (arg0) must be a reference to a variable. \n- For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. \n- To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.",
"items": {
"$ref": "Parameter"
},
"annotations": {
"required": [
"tagmanager.accounts.containers.rules.create",
"tagmanager.accounts.containers.rules.update"
"tagmanager.accounts.containers.triggers.create",
"tagmanager.accounts.containers.triggers.update"
]
}
},
@@ -182,7 +182,8 @@
"less",
"lessOrEquals",
"matchRegex",
"startsWith"
"startsWith",
"urlMatches"
],
"enumDescriptions": [
"",
@@ -194,12 +195,13 @@
"",
"",
"",
"",
""
],
"annotations": {
"required": [
"tagmanager.accounts.containers.rules.create",
"tagmanager.accounts.containers.rules.update"
"tagmanager.accounts.containers.triggers.create",
"tagmanager.accounts.containers.triggers.update"
]
}
}
@@ -258,6 +260,7 @@
"formText",
"formUrl",
"historySource",
"htmlId",
"language",
"newHistoryFragment",
"newHistoryState",
@@ -314,6 +317,7 @@
"",
"",
"",
"",
""
]
}
@@ -364,10 +368,14 @@
"type": "string",
"enum": [
"android",
"androidSdk5",
"ios",
"iosSdk5",
"web"
],
"enumDescriptions": [
"",
"",
"",
"",
""
@@ -442,6 +450,13 @@
"type": "string",
"description": "The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified."
},
"folder": {
"type": "array",
"description": "The folders in the container that this version was taken from.",
"items": {
"$ref": "Folder"
}
},
"macro": {
"type": "array",
"description": "The macros in the container that this version was taken from.",
@@ -568,6 +583,66 @@
}
}
},
"Folder": {
"id": "Folder",
"type": "object",
"description": "Represents a Google Tag Manager Folder.",
"properties": {
"accountId": {
"type": "string",
"description": "GTM Account ID."
},
"containerId": {
"type": "string",
"description": "GTM Container ID."
},
"fingerprint": {
"type": "string",
"description": "The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified."
},
"folderId": {
"type": "string",
"description": "The Folder ID uniquely identifies the GTM Folder."
},
"name": {
"type": "string",
"description": "Folder display name.",
"annotations": {
"required": [
"tagmanager.accounts.containers.folders.create"
]
}
}
}
},
"FolderEntities": {
"id": "FolderEntities",
"type": "object",
"description": "Represents a Google Tag Manager Folder's contents.",
"properties": {
"tag": {
"type": "array",
"description": "The list of tags inside the folder.",
"items": {
"$ref": "Tag"
}
},
"trigger": {
"type": "array",
"description": "The list of triggers inside the folder.",
"items": {
"$ref": "Trigger"
}
},
"variable": {
"type": "array",
"description": "The list of variables inside the folder.",
"items": {
"$ref": "Variable"
}
}
}
},
"ListAccountUsersResponse": {
"id": "ListAccountUsersResponse",
"type": "object",
@@ -631,30 +706,16 @@
}
}
},
"ListMacrosResponse": {
"id": "ListMacrosResponse",
"ListFoldersResponse": {
"id": "ListFoldersResponse",
"type": "object",
"description": "List Macros Response.",
"description": "List Folders Response.",
"properties": {
"macros": {
"folders": {
"type": "array",
"description": "All GTM Macros of a GTM Container.",
"description": "All GTM Folders of a GTM Container.",
"items": {
"$ref": "Macro"
}
}
}
},
"ListRulesResponse": {
"id": "ListRulesResponse",
"type": "object",
"description": "List Rules Response.",
"properties": {
"rules": {
"type": "array",
"description": "All GTM Rules of a GTM Container.",
"items": {
"$ref": "Rule"
"$ref": "Folder"
}
}
}
@@ -738,12 +799,7 @@
},
"name": {
"type": "string",
"description": "Macro display name.",
"annotations": {
"required": [
"tagmanager.accounts.containers.macros.create"
]
}
"description": "Macro display name."
},
"notes": {
"type": "string",
@@ -756,6 +812,10 @@
"$ref": "Parameter"
}
},
"parentFolderId": {
"type": "string",
"description": "Parent folder id."
},
"scheduleEndMs": {
"type": "string",
"description": "The end timestamp in milliseconds to schedule a macro.",
@@ -768,13 +828,7 @@
},
"type": {
"type": "string",
"description": "GTM Macro Type.",
"annotations": {
"required": [
"tagmanager.accounts.containers.macros.create",
"tagmanager.accounts.containers.macros.update"
]
}
"description": "GTM Macro Type."
}
}
},
@@ -803,7 +857,7 @@
},
"type": {
"type": "string",
"description": "The parameter type. Valid values are: \n- boolean: The value represents a boolean, represented as 'true' or 'false' \n- integer: The value represents a 64-bit signed integer value, in base 10 \n- list: A list of parameters should be specified \n- map: A map of parameters should be specified \n- template: The value represents any text; this can include macro references (even macro references that might return non-string types)",
"description": "The parameter type. Valid values are: \n- boolean: The value represents a boolean, represented as 'true' or 'false' \n- integer: The value represents a 64-bit signed integer value, in base 10 \n- list: A list of parameters should be specified \n- map: A map of parameters should be specified \n- template: The value represents any text; this can include variable references (even variable references that might return non-string types)",
"enum": [
"boolean",
"integer",
@@ -820,18 +874,18 @@
],
"annotations": {
"required": [
"tagmanager.accounts.containers.macros.create",
"tagmanager.accounts.containers.macros.update",
"tagmanager.accounts.containers.rules.create",
"tagmanager.accounts.containers.rules.update",
"tagmanager.accounts.containers.tags.create",
"tagmanager.accounts.containers.tags.update"
"tagmanager.accounts.containers.tags.update",
"tagmanager.accounts.containers.triggers.create",
"tagmanager.accounts.containers.triggers.update",
"tagmanager.accounts.containers.variables.create",
"tagmanager.accounts.containers.variables.update"
]
}
},
"value": {
"type": "string",
"description": "A parameter's value (may contain macro references such as \"{{myMacro}}\") as appropriate to the specified type."
"description": "A parameter's value (may contain variable references such as \"{{myVariable}}\") as appropriate to the specified type."
}
}
},
@@ -876,12 +930,7 @@
},
"name": {
"type": "string",
"description": "Rule display name.",
"annotations": {
"required": [
"tagmanager.accounts.containers.rules.create"
]
}
"description": "Rule display name."
},
"notes": {
"type": "string",
@@ -893,6 +942,20 @@
}
}
},
"SetupTag": {
"id": "SetupTag",
"type": "object",
"properties": {
"stopOnSetupFailure": {
"type": "boolean",
"description": "If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status."
},
"tagName": {
"type": "string",
"description": "The name of the setup tag."
}
}
},
"Tag": {
"id": "Tag",
"type": "object",
@@ -962,6 +1025,10 @@
"$ref": "Parameter"
}
},
"parentFolderId": {
"type": "string",
"description": "Parent folder id."
},
"priority": {
"$ref": "Parameter",
"description": "User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0."
@@ -976,10 +1043,38 @@
"description": "The start timestamp in milliseconds to schedule a tag.",
"format": "int64"
},
"setupTag": {
"type": "array",
"description": "The list of setup tags. Currently we only allow one.",
"items": {
"$ref": "SetupTag"
}
},
"tagFiringOption": {
"type": "string",
"description": "Option to fire this tag.",
"enum": [
"oncePerEvent",
"oncePerLoad",
"unlimited"
],
"enumDescriptions": [
"",
"",
""
]
},
"tagId": {
"type": "string",
"description": "The Tag ID uniquely identifies the GTM Tag."
},
"teardownTag": {
"type": "array",
"description": "The list of teardown tags. Currently we only allow one.",
"items": {
"$ref": "TeardownTag"
}
},
"type": {
"type": "string",
"description": "GTM Tag Type.",
@@ -991,6 +1086,20 @@
}
}
},
"TeardownTag": {
"id": "TeardownTag",
"type": "object",
"properties": {
"stopTeardownOnFailure": {
"type": "boolean",
"description": "If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status."
},
"tagName": {
"type": "string",
"description": "The name of the teardown tag."
}
}
},
"Trigger": {
"id": "Trigger",
"type": "object",
@@ -1058,6 +1167,10 @@
]
}
},
"parentFolderId": {
"type": "string",
"description": "Parent folder id."
},
"triggerId": {
"type": "string",
"description": "The Trigger ID uniquely identifies the GTM Trigger."
@@ -1210,6 +1323,10 @@
"$ref": "Parameter"
}
},
"parentFolderId": {
"type": "string",
"description": "Parent folder id."
},
"scheduleEndMs": {
"type": "string",
"description": "The end timestamp in milliseconds to schedule a variable.",
@@ -1462,13 +1579,13 @@
}
},
"resources": {
"macros": {
"folders": {
"methods": {
"create": {
"id": "tagmanager.accounts.containers.macros.create",
"path": "accounts/{accountId}/containers/{containerId}/macros",
"id": "tagmanager.accounts.containers.folders.create",
"path": "accounts/{accountId}/containers/{containerId}/folders",
"httpMethod": "POST",
"description": "Creates a GTM Macro.",
"description": "Creates a GTM Folder.",
"parameters": {
"accountId": {
"type": "string",
@@ -1488,20 +1605,20 @@
"containerId"
],
"request": {
"$ref": "Macro"
"$ref": "Folder"
},
"response": {
"$ref": "Macro"
"$ref": "Folder"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"delete": {
"id": "tagmanager.accounts.containers.macros.delete",
"path": "accounts/{accountId}/containers/{containerId}/macros/{macroId}",
"id": "tagmanager.accounts.containers.folders.delete",
"path": "accounts/{accountId}/containers/{containerId}/folders/{folderId}",
"httpMethod": "DELETE",
"description": "Deletes a GTM Macro.",
"description": "Deletes a GTM Folder.",
"parameters": {
"accountId": {
"type": "string",
@@ -1515,9 +1632,9 @@
"required": true,
"location": "path"
},
"macroId": {
"folderId": {
"type": "string",
"description": "The GTM Macro ID.",
"description": "The GTM Folder ID.",
"required": true,
"location": "path"
}
@@ -1525,17 +1642,17 @@
"parameterOrder": [
"accountId",
"containerId",
"macroId"
"folderId"
],
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"get": {
"id": "tagmanager.accounts.containers.macros.get",
"path": "accounts/{accountId}/containers/{containerId}/macros/{macroId}",
"id": "tagmanager.accounts.containers.folders.get",
"path": "accounts/{accountId}/containers/{containerId}/folders/{folderId}",
"httpMethod": "GET",
"description": "Gets a GTM Macro.",
"description": "Gets a GTM Folder.",
"parameters": {
"accountId": {
"type": "string",
@@ -1549,9 +1666,9 @@
"required": true,
"location": "path"
},
"macroId": {
"folderId": {
"type": "string",
"description": "The GTM Macro ID.",
"description": "The GTM Folder ID.",
"required": true,
"location": "path"
}
@@ -1559,10 +1676,10 @@
"parameterOrder": [
"accountId",
"containerId",
"macroId"
"folderId"
],
"response": {
"$ref": "Macro"
"$ref": "Folder"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
@@ -1570,10 +1687,10 @@
]
},
"list": {
"id": "tagmanager.accounts.containers.macros.list",
"path": "accounts/{accountId}/containers/{containerId}/macros",
"id": "tagmanager.accounts.containers.folders.list",
"path": "accounts/{accountId}/containers/{containerId}/folders",
"httpMethod": "GET",
"description": "Lists all GTM Macros of a Container.",
"description": "Lists all GTM Folders of a Container.",
"parameters": {
"accountId": {
"type": "string",
@@ -1593,7 +1710,7 @@
"containerId"
],
"response": {
"$ref": "ListMacrosResponse"
"$ref": "ListFoldersResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
@@ -1601,10 +1718,10 @@
]
},
"update": {
"id": "tagmanager.accounts.containers.macros.update",
"path": "accounts/{accountId}/containers/{containerId}/macros/{macroId}",
"id": "tagmanager.accounts.containers.folders.update",
"path": "accounts/{accountId}/containers/{containerId}/folders/{folderId}",
"httpMethod": "PUT",
"description": "Updates a GTM Macro.",
"description": "Updates a GTM Folder.",
"parameters": {
"accountId": {
"type": "string",
@@ -1620,12 +1737,12 @@
},
"fingerprint": {
"type": "string",
"description": "When provided, this fingerprint must match the fingerprint of the macro in storage.",
"description": "When provided, this fingerprint must match the fingerprint of the folder in storage.",
"location": "query"
},
"macroId": {
"folderId": {
"type": "string",
"description": "The GTM Macro ID.",
"description": "The GTM Folder ID.",
"required": true,
"location": "path"
}
@@ -1633,163 +1750,71 @@
"parameterOrder": [
"accountId",
"containerId",
"macroId"
"folderId"
],
"request": {
"$ref": "Macro"
"$ref": "Folder"
},
"response": {
"$ref": "Macro"
"$ref": "Folder"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
}
},
"resources": {
"entities": {
"methods": {
"list": {
"id": "tagmanager.accounts.containers.folders.entities.list",
"path": "accounts/{accountId}/containers/{containerId}/folders/{folderId}/entities",
"httpMethod": "GET",
"description": "List all entities in a GTM Folder.",
"parameters": {
"accountId": {
"type": "string",
"description": "The GTM Account ID.",
"required": true,
"location": "path"
},
"containerId": {
"type": "string",
"description": "The GTM Container ID.",
"required": true,
"location": "path"
},
"folderId": {
"type": "string",
"description": "The GTM Folder ID.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"accountId",
"containerId",
"folderId"
],
"response": {
"$ref": "FolderEntities"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
}
}
}
}
},
"rules": {
"move_folders": {
"methods": {
"create": {
"id": "tagmanager.accounts.containers.rules.create",
"path": "accounts/{accountId}/containers/{containerId}/rules",
"httpMethod": "POST",
"description": "Creates a GTM Rule.",
"parameters": {
"accountId": {
"type": "string",
"description": "The GTM Account ID.",
"required": true,
"location": "path"
},
"containerId": {
"type": "string",
"description": "The GTM Container ID.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"accountId",
"containerId"
],
"request": {
"$ref": "Rule"
},
"response": {
"$ref": "Rule"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"delete": {
"id": "tagmanager.accounts.containers.rules.delete",
"path": "accounts/{accountId}/containers/{containerId}/rules/{ruleId}",
"httpMethod": "DELETE",
"description": "Deletes a GTM Rule.",
"parameters": {
"accountId": {
"type": "string",
"description": "The GTM Account ID.",
"required": true,
"location": "path"
},
"containerId": {
"type": "string",
"description": "The GTM Container ID.",
"required": true,
"location": "path"
},
"ruleId": {
"type": "string",
"description": "The GTM Rule ID.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"accountId",
"containerId",
"ruleId"
],
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"get": {
"id": "tagmanager.accounts.containers.rules.get",
"path": "accounts/{accountId}/containers/{containerId}/rules/{ruleId}",
"httpMethod": "GET",
"description": "Gets a GTM Rule.",
"parameters": {
"accountId": {
"type": "string",
"description": "The GTM Account ID.",
"required": true,
"location": "path"
},
"containerId": {
"type": "string",
"description": "The GTM Container ID.",
"required": true,
"location": "path"
},
"ruleId": {
"type": "string",
"description": "The GTM Rule ID.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"accountId",
"containerId",
"ruleId"
],
"response": {
"$ref": "Rule"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"list": {
"id": "tagmanager.accounts.containers.rules.list",
"path": "accounts/{accountId}/containers/{containerId}/rules",
"httpMethod": "GET",
"description": "Lists all GTM Rules of a Container.",
"parameters": {
"accountId": {
"type": "string",
"description": "The GTM Account ID.",
"required": true,
"location": "path"
},
"containerId": {
"type": "string",
"description": "The GTM Container ID.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"accountId",
"containerId"
],
"response": {
"$ref": "ListRulesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"update": {
"id": "tagmanager.accounts.containers.rules.update",
"path": "accounts/{accountId}/containers/{containerId}/rules/{ruleId}",
"id": "tagmanager.accounts.containers.move_folders.update",
"path": "accounts/{accountId}/containers/{containerId}/move_folders/{folderId}",
"httpMethod": "PUT",
"description": "Updates a GTM Rule.",
"description": "Moves entities to a GTM Folder.",
"parameters": {
"accountId": {
"type": "string",
@@ -1803,31 +1828,35 @@
"required": true,
"location": "path"
},
"fingerprint": {
"folderId": {
"type": "string",
"description": "When provided, this fingerprint must match the fingerprint of the rule in storage.",
"description": "The GTM Folder ID.",
"required": true,
"location": "path"
},
"tagId": {
"type": "string",
"description": "The tags to be moved to the folder.",
"repeated": true,
"location": "query"
},
"ruleId": {
"triggerId": {
"type": "string",
"description": "The GTM Rule ID.",
"required": true,
"location": "path"
"description": "The triggers to be moved to the folder.",
"repeated": true,
"location": "query"
},
"variableId": {
"type": "string",
"description": "The variables to be moved to the folder.",
"repeated": true,
"location": "query"
}
},
"parameterOrder": [
"accountId",
"containerId",
"ruleId"
],
"request": {
"$ref": "Rule"
},
"response": {
"$ref": "Rule"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
"folderId"
]
}
}
@@ -2579,7 +2608,7 @@
"id": "tagmanager.accounts.containers.versions.restore",
"path": "accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/restore",
"httpMethod": "POST",
"description": "Restores a Container Version. This will overwrite the container's current configuration (including its macros, rules and tags). The operation will not have any effect on the version that is being served (i.e. the published version).",
"description": "Restores a Container Version. This will overwrite the container's current configuration (including its variables, triggers and tags). The operation will not have any effect on the version that is being served (i.e. the published version).",
"parameters": {
"accountId": {
"type": "string",

Some files were not shown because too many files have changed in this diff Show More