diff --git a/etc/api/abusiveexperiencereport/v1/abusiveexperiencereport-api.json b/etc/api/abusiveexperiencereport/v1/abusiveexperiencereport-api.json
index d05c80a1db..e3e3ad25fc 100644
--- a/etc/api/abusiveexperiencereport/v1/abusiveexperiencereport-api.json
+++ b/etc/api/abusiveexperiencereport/v1/abusiveexperiencereport-api.json
@@ -139,7 +139,7 @@
}
}
},
- "revision": "20200405",
+ "revision": "20200706",
"rootUrl": "https://abusiveexperiencereport.googleapis.com/",
"schemas": {
"SiteSummaryResponse": {
diff --git a/etc/api/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-api.json b/etc/api/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-api.json
index 9fff0a22b7..8c467c8263 100644
--- a/etc/api/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-api.json
+++ b/etc/api/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-api.json
@@ -115,7 +115,7 @@
}
}
},
- "revision": "20200409",
+ "revision": "20200708",
"rootUrl": "https://acceleratedmobilepageurl.googleapis.com/",
"schemas": {
"AmpUrl": {
diff --git a/etc/api/accessapproval/v1/accessapproval-api.json b/etc/api/accessapproval/v1/accessapproval-api.json
index d2605dcac1..d041492d1e 100644
--- a/etc/api/accessapproval/v1/accessapproval-api.json
+++ b/etc/api/accessapproval/v1/accessapproval-api.json
@@ -286,7 +286,7 @@
],
"parameters": {
"filter": {
- "description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n
\n
[not set]: Requests that are pending or have active approvals.
\n
ALL: All requests.
\n
PENDING: Only pending requests.
\n
ACTIVE: Only active (i.e. currently approved) requests.
\n
DISMISSED: Only dismissed (including expired) requests.
\n",
+ "description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n\n
[not set]: Requests that are pending or have active approvals.
\n
ALL: All requests.
\n
PENDING: Only pending requests.
\n
ACTIVE: Only active (i.e. currently approved) requests.
\n
DISMISSED: Only dismissed (including expired) requests.
\n
HISTORY: Active and dismissed (including expired) requests.
\n",
"location": "query",
"type": "string"
},
@@ -502,7 +502,7 @@
],
"parameters": {
"filter": {
- "description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n\n
[not set]: Requests that are pending or have active approvals.
\n
ALL: All requests.
\n
PENDING: Only pending requests.
\n
ACTIVE: Only active (i.e. currently approved) requests.
\n
DISMISSED: Only dismissed (including expired) requests.
\n",
+ "description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n\n
[not set]: Requests that are pending or have active approvals.
\n
ALL: All requests.
\n
PENDING: Only pending requests.
\n
ACTIVE: Only active (i.e. currently approved) requests.
\n
DISMISSED: Only dismissed (including expired) requests.
\n
HISTORY: Active and dismissed (including expired) requests.
\n",
"location": "query",
"type": "string"
},
@@ -718,7 +718,7 @@
],
"parameters": {
"filter": {
- "description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n\n
[not set]: Requests that are pending or have active approvals.
\n
ALL: All requests.
\n
PENDING: Only pending requests.
\n
ACTIVE: Only active (i.e. currently approved) requests.
\n
DISMISSED: Only dismissed (including expired) requests.
\n",
+ "description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n\n
[not set]: Requests that are pending or have active approvals.
\n
ALL: All requests.
\n
PENDING: Only pending requests.
\n
ACTIVE: Only active (i.e. currently approved) requests.
\n
DISMISSED: Only dismissed (including expired) requests.
\n
HISTORY: Active and dismissed (including expired) requests.
\n",
"location": "query",
"type": "string"
},
@@ -754,7 +754,7 @@
}
}
},
- "revision": "20200409",
+ "revision": "20200708",
"rootUrl": "https://accessapproval.googleapis.com/",
"schemas": {
"AccessApprovalSettings": {
diff --git a/etc/api/accessapproval/v1beta1/accessapproval-api.json b/etc/api/accessapproval/v1beta1/accessapproval-api.json
index 6387295f96..140f85119a 100644
--- a/etc/api/accessapproval/v1beta1/accessapproval-api.json
+++ b/etc/api/accessapproval/v1beta1/accessapproval-api.json
@@ -286,7 +286,7 @@
],
"parameters": {
"filter": {
- "description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n\n
[not set]: Requests that are pending or have active approvals.
\n
ALL: All requests.
\n
PENDING: Only pending requests.
\n
ACTIVE: Only active (i.e. currently approved) requests.
\n
DISMISSED: Only dismissed (including expired) requests.
\n",
+ "description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n\n
[not set]: Requests that are pending or have active approvals.
\n
ALL: All requests.
\n
PENDING: Only pending requests.
\n
ACTIVE: Only active (i.e. currently approved) requests.
\n
DISMISSED: Only dismissed (including expired) requests.
\n
HISTORY: Active and dismissed (including expired) requests.
\n",
"location": "query",
"type": "string"
},
@@ -502,7 +502,7 @@
],
"parameters": {
"filter": {
- "description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n\n
[not set]: Requests that are pending or have active approvals.
\n
ALL: All requests.
\n
PENDING: Only pending requests.
\n
ACTIVE: Only active (i.e. currently approved) requests.
\n
DISMISSED: Only dismissed (including expired) requests.
\n",
+ "description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n\n
[not set]: Requests that are pending or have active approvals.
\n
ALL: All requests.
\n
PENDING: Only pending requests.
\n
ACTIVE: Only active (i.e. currently approved) requests.
\n
DISMISSED: Only dismissed (including expired) requests.
\n
HISTORY: Active and dismissed (including expired) requests.
\n",
"location": "query",
"type": "string"
},
@@ -718,7 +718,7 @@
],
"parameters": {
"filter": {
- "description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n\n
[not set]: Requests that are pending or have active approvals.
\n
ALL: All requests.
\n
PENDING: Only pending requests.
\n
ACTIVE: Only active (i.e. currently approved) requests.
\n
DISMISSED: Only dismissed (including expired) requests.
\n",
+ "description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n\n
[not set]: Requests that are pending or have active approvals.
\n
ALL: All requests.
\n
PENDING: Only pending requests.
\n
ACTIVE: Only active (i.e. currently approved) requests.
\n
DISMISSED: Only dismissed (including expired) requests.
\n
HISTORY: Active and dismissed (including expired) requests.
\n",
"location": "query",
"type": "string"
},
@@ -754,7 +754,7 @@
}
}
},
- "revision": "20200409",
+ "revision": "20200708",
"rootUrl": "https://accessapproval.googleapis.com/",
"schemas": {
"AccessApprovalSettings": {
diff --git a/etc/api/accesscontextmanager/v1/accesscontextmanager-api.json b/etc/api/accesscontextmanager/v1/accesscontextmanager-api.json
index bfbb7b967d..31bc264e2a 100644
--- a/etc/api/accesscontextmanager/v1/accesscontextmanager-api.json
+++ b/etc/api/accesscontextmanager/v1/accesscontextmanager-api.json
@@ -777,7 +777,7 @@
}
}
},
- "revision": "20200405",
+ "revision": "20200619",
"rootUrl": "https://accesscontextmanager.googleapis.com/",
"schemas": {
"AccessLevel": {
diff --git a/etc/api/accesscontextmanager/v1beta/accesscontextmanager-api.json b/etc/api/accesscontextmanager/v1beta/accesscontextmanager-api.json
index b2286b24da..6b166227de 100644
--- a/etc/api/accesscontextmanager/v1beta/accesscontextmanager-api.json
+++ b/etc/api/accesscontextmanager/v1beta/accesscontextmanager-api.json
@@ -599,7 +599,7 @@
}
}
},
- "revision": "20200405",
+ "revision": "20200619",
"rootUrl": "https://accesscontextmanager.googleapis.com/",
"schemas": {
"AccessLevel": {
diff --git a/etc/api/adexchangebuyer/v1.2/adexchangebuyer-api.json b/etc/api/adexchangebuyer/v1.2/adexchangebuyer-api.json
index dff86593ab..fbe2fdf8c2 100644
--- a/etc/api/adexchangebuyer/v1.2/adexchangebuyer-api.json
+++ b/etc/api/adexchangebuyer/v1.2/adexchangebuyer-api.json
@@ -15,7 +15,7 @@
"description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/ad-exchange/buyer-rest",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/NqH-dIwRC63Jam7EMg3FwCUSX_o\"",
+ "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/NqH-dIwRC63Jam7EMg3FwCUSX_o\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/doubleclick-16.gif",
"x32": "https://www.google.com/images/icons/product/doubleclick-32.gif"
diff --git a/etc/api/adexchangebuyer/v1.3/adexchangebuyer-api.json b/etc/api/adexchangebuyer/v1.3/adexchangebuyer-api.json
index 85962790f0..4d35ce94e3 100644
--- a/etc/api/adexchangebuyer/v1.3/adexchangebuyer-api.json
+++ b/etc/api/adexchangebuyer/v1.3/adexchangebuyer-api.json
@@ -15,7 +15,7 @@
"description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/ad-exchange/buyer-rest",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/q3PXuYjke5DLC1iS16IMMN2X5Kc\"",
+ "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/q3PXuYjke5DLC1iS16IMMN2X5Kc\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/doubleclick-16.gif",
"x32": "https://www.google.com/images/icons/product/doubleclick-32.gif"
diff --git a/etc/api/adexchangebuyer/v1.4/adexchangebuyer-api.json b/etc/api/adexchangebuyer/v1.4/adexchangebuyer-api.json
index 52983c9be4..7abedb6071 100644
--- a/etc/api/adexchangebuyer/v1.4/adexchangebuyer-api.json
+++ b/etc/api/adexchangebuyer/v1.4/adexchangebuyer-api.json
@@ -15,7 +15,7 @@
"description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/ad-exchange/buyer-rest",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/jeeKbeKt3C57J6G4NBTg4KfprYo\"",
+ "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/jeeKbeKt3C57J6G4NBTg4KfprYo\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/doubleclick-16.gif",
"x32": "https://www.google.com/images/icons/product/doubleclick-32.gif"
diff --git a/etc/api/adexchangebuyer2/v2beta1/adexchangebuyer2-api.json b/etc/api/adexchangebuyer2/v2beta1/adexchangebuyer2-api.json
index cca867cd94..e76f0d7bf7 100644
--- a/etc/api/adexchangebuyer2/v2beta1/adexchangebuyer2-api.json
+++ b/etc/api/adexchangebuyer2/v2beta1/adexchangebuyer2-api.json
@@ -2486,7 +2486,7 @@
}
}
},
- "revision": "20200409",
+ "revision": "20200709",
"rootUrl": "https://adexchangebuyer.googleapis.com/",
"schemas": {
"AbsoluteDateRange": {
@@ -2660,6 +2660,10 @@
"$ref": "MetricValue",
"description": "The number of bids for which the corresponding impression was measurable\nfor viewability (as defined by Active View)."
},
+ "reachedQueries": {
+ "$ref": "MetricValue",
+ "description": "The number of bids that won the auction and also won the mediation\nwaterfall (if any)."
+ },
"rowDimensions": {
"$ref": "RowDimensions",
"description": "The values of all dimensions associated with metric values in this row."
@@ -2753,7 +2757,7 @@
"type": "string"
},
"entityId": {
- "description": "Numerical identifier of the client entity.\nThe entity can be an advertiser, a brand, or an agency.\nThis identifier is unique among all the entities with the same type.\n\nA list of all known advertisers with their identifiers is available in the\n[advertisers.txt](https://storage.googleapis.com/adx-rtb-dictionaries/advertisers.txt)\nfile.\n\nA list of all known brands with their identifiers is available in the\n[brands.txt](https://storage.googleapis.com/adx-rtb-dictionaries/brands.txt)\nfile.\n\nA list of all known agencies with their identifiers is available in the\n[agencies.txt](https://storage.googleapis.com/adx-rtb-dictionaries/agencies.txt)\nfile.",
+ "description": "Numerical identifier of the client entity.\nThe entity can be an advertiser, a brand, or an agency.\nThis identifier is unique among all the entities with the same type.\nThe value of this field is ignored if the entity type is not provided.\n\nA list of all known advertisers with their identifiers is available in the\n[advertisers.txt](https://storage.googleapis.com/adx-rtb-dictionaries/advertisers.txt)\nfile.\n\nA list of all known brands with their identifiers is available in the\n[brands.txt](https://storage.googleapis.com/adx-rtb-dictionaries/brands.txt)\nfile.\n\nA list of all known agencies with their identifiers is available in the\n[agencies.txt](https://storage.googleapis.com/adx-rtb-dictionaries/agencies.txt)\nfile.",
"format": "int64",
"type": "string"
},
@@ -2762,7 +2766,7 @@
"type": "string"
},
"entityType": {
- "description": "The type of the client entity: `ADVERTISER`, `BRAND`, or `AGENCY`.",
+ "description": "An optional field for specifying the type of the client entity:\n`ADVERTISER`, `BRAND`, or `AGENCY`.",
"enum": [
"ENTITY_TYPE_UNSPECIFIED",
"ADVERTISER",
@@ -4963,12 +4967,16 @@
"enum": [
"STATUS_UNSPECIFIED",
"AD_NOT_RENDERED",
- "INVALID_IMPRESSION"
+ "INVALID_IMPRESSION",
+ "FATAL_VAST_ERROR",
+ "LOST_IN_MEDIATION"
],
"enumDescriptions": [
"A placeholder for an undefined status.\nThis value will never be returned in responses.",
"The buyer was not billed because the ad was not rendered by the\npublisher.",
- "The buyer was not billed because the impression won by the bid was\ndetermined to be invalid."
+ "The buyer was not billed because the impression won by the bid was\ndetermined to be invalid.",
+ "A video impression was served but a fatal error was reported from the\nclient during playback.",
+ "The buyer was not billed because the ad was outplaced in the mediation\nwaterfall."
],
"type": "string"
}
@@ -5391,7 +5399,7 @@
"type": "object"
},
"PublisherProfile": {
- "description": "Note: this resource requires whitelisting for access. Please contact your\naccount manager for access to Marketplace resources.\n\nRepresents a publisher profile in Marketplace.\n\nAll fields are read only. All string fields are free-form text entered by the\npublisher unless noted otherwise.",
+ "description": "Note: this resource requires whitelisting for access. Please contact your\naccount manager for access to Marketplace resources.\n\nRepresents a publisher profile\n(https://support.google.com/admanager/answer/6035806?hl=en) in Marketplace.\n\nAll fields are read only. All string fields are free-form text entered by the\npublisher unless noted otherwise.",
"id": "PublisherProfile",
"properties": {
"audienceDescription": {
@@ -5421,6 +5429,10 @@
"description": "URL to publisher's Google+ page.",
"type": "string"
},
+ "isParent": {
+ "description": "Indicates if this profile is the parent profile of the seller. A parent\nprofile represents all the inventory from the seller, as opposed to child\nprofile that is created to brand a portion of inventory. One seller should\nhave only one parent publisher profile, and can have multiple child\nprofiles. Publisher profiles for the same seller will have same value of\nfield google.ads.adexchange.buyer.v2beta1.PublisherProfile.seller.\nSee https://support.google.com/admanager/answer/6035806?hl=en for details.",
+ "type": "boolean"
+ },
"logoUrl": {
"description": "A Google public URL to the logo for this publisher profile. The logo is\nstored as a PNG, JPG, or GIF image.",
"type": "string"
diff --git a/etc/api/adexperiencereport/v1/adexperiencereport-api.json b/etc/api/adexperiencereport/v1/adexperiencereport-api.json
index 030095dd71..39edf867d1 100644
--- a/etc/api/adexperiencereport/v1/adexperiencereport-api.json
+++ b/etc/api/adexperiencereport/v1/adexperiencereport-api.json
@@ -138,7 +138,7 @@
}
}
},
- "revision": "20200405",
+ "revision": "20200704",
"rootUrl": "https://adexperiencereport.googleapis.com/",
"schemas": {
"PlatformSummary": {
diff --git a/etc/api/admin/datatransfer_v1/admin-api.json b/etc/api/admin/datatransfer_v1/admin-api.json
deleted file mode 100644
index 82572213f4..0000000000
--- a/etc/api/admin/datatransfer_v1/admin-api.json
+++ /dev/null
@@ -1,411 +0,0 @@
-{
- "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"
- }
- }
- }
- },
- "basePath": "/admin/datatransfer/v1/",
- "baseUrl": "https://www.googleapis.com/admin/datatransfer/v1/",
- "batchPath": "batch/admin/datatransfer_v1",
- "canonicalName": "DataTransfer",
- "description": "Transfers user data from one user to another.",
- "discoveryVersion": "v1",
- "documentationLink": "https://developers.google.com/admin-sdk/data-transfer/",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/o-H78Id0Lcq1iHheSzpqURY4CLE\"",
- "icons": {
- "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
- "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
- },
- "id": "admin:datatransfer_v1",
- "kind": "discovery#restDescription",
- "name": "admin",
- "ownerDomain": "google.com",
- "ownerName": "Google",
- "packagePath": "admin",
- "parameters": {
- "alt": {
- "default": "json",
- "description": "Data format for the response.",
- "enum": [
- "json"
- ],
- "enumDescriptions": [
- "Responses with Content-Type of application/json"
- ],
- "location": "query",
- "type": "string"
- },
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
- "location": "query",
- "type": "string"
- },
- "key": {
- "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",
- "type": "string"
- },
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
- "location": "query",
- "type": "string"
- },
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
- "location": "query",
- "type": "boolean"
- },
- "quotaUser": {
- "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
- "location": "query",
- "type": "string"
- },
- "userIp": {
- "description": "Deprecated. Please use quotaUser instead.",
- "location": "query",
- "type": "string"
- }
- },
- "protocol": "rest",
- "resources": {
- "applications": {
- "methods": {
- "get": {
- "description": "Retrieves information about an application for the given application ID.",
- "httpMethod": "GET",
- "id": "datatransfer.applications.get",
- "parameterOrder": [
- "applicationId"
- ],
- "parameters": {
- "applicationId": {
- "description": "ID of the application resource to be retrieved.",
- "format": "int64",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "applications/{applicationId}",
- "response": {
- "$ref": "Application"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.datatransfer",
- "https://www.googleapis.com/auth/admin.datatransfer.readonly"
- ]
- },
- "list": {
- "description": "Lists the applications available for data transfer for a customer.",
- "httpMethod": "GET",
- "id": "datatransfer.applications.list",
- "parameters": {
- "customerId": {
- "description": "Immutable ID of the G Suite account.",
- "location": "query",
- "type": "string"
- },
- "maxResults": {
- "description": "Maximum number of results to return. Default is 100.",
- "format": "int32",
- "location": "query",
- "maximum": "500",
- "minimum": "1",
- "type": "integer"
- },
- "pageToken": {
- "description": "Token to specify next page in the list.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "applications",
- "response": {
- "$ref": "ApplicationsListResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.datatransfer",
- "https://www.googleapis.com/auth/admin.datatransfer.readonly"
- ]
- }
- }
- },
- "transfers": {
- "methods": {
- "get": {
- "description": "Retrieves a data transfer request by its resource ID.",
- "httpMethod": "GET",
- "id": "datatransfer.transfers.get",
- "parameterOrder": [
- "dataTransferId"
- ],
- "parameters": {
- "dataTransferId": {
- "description": "ID of the resource to be retrieved. This is returned in the response from the insert method.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "transfers/{dataTransferId}",
- "response": {
- "$ref": "DataTransfer"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.datatransfer",
- "https://www.googleapis.com/auth/admin.datatransfer.readonly"
- ]
- },
- "insert": {
- "description": "Inserts a data transfer request.",
- "httpMethod": "POST",
- "id": "datatransfer.transfers.insert",
- "path": "transfers",
- "request": {
- "$ref": "DataTransfer"
- },
- "response": {
- "$ref": "DataTransfer"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.datatransfer"
- ]
- },
- "list": {
- "description": "Lists the transfers for a customer by source user, destination user, or status.",
- "httpMethod": "GET",
- "id": "datatransfer.transfers.list",
- "parameters": {
- "customerId": {
- "description": "Immutable ID of the G Suite account.",
- "location": "query",
- "type": "string"
- },
- "maxResults": {
- "description": "Maximum number of results to return. Default is 100.",
- "format": "int32",
- "location": "query",
- "maximum": "500",
- "minimum": "1",
- "type": "integer"
- },
- "newOwnerUserId": {
- "description": "Destination user's profile ID.",
- "location": "query",
- "type": "string"
- },
- "oldOwnerUserId": {
- "description": "Source user's profile ID.",
- "location": "query",
- "type": "string"
- },
- "pageToken": {
- "description": "Token to specify the next page in the list.",
- "location": "query",
- "type": "string"
- },
- "status": {
- "description": "Status of the transfer.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "transfers",
- "response": {
- "$ref": "DataTransfersListResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.datatransfer",
- "https://www.googleapis.com/auth/admin.datatransfer.readonly"
- ]
- }
- }
- }
- },
- "revision": "20191105",
- "rootUrl": "https://www.googleapis.com/",
- "schemas": {
- "Application": {
- "description": "The JSON template for an Application resource.",
- "id": "Application",
- "properties": {
- "etag": {
- "description": "Etag of the resource.",
- "type": "string"
- },
- "id": {
- "description": "The application's ID.",
- "format": "int64",
- "type": "string"
- },
- "kind": {
- "default": "admin#datatransfer#ApplicationResource",
- "description": "Identifies the resource as a DataTransfer Application Resource.",
- "type": "string"
- },
- "name": {
- "description": "The application's name.",
- "type": "string"
- },
- "transferParams": {
- "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 transferred.",
- "items": {
- "$ref": "ApplicationTransferParam"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "ApplicationDataTransfer": {
- "description": "Template to map fields of ApplicationDataTransfer resource.",
- "id": "ApplicationDataTransfer",
- "properties": {
- "applicationId": {
- "description": "The application's ID.",
- "format": "int64",
- "type": "string"
- },
- "applicationTransferParams": {
- "description": "The transfer parameters for the application. These parameters are used to select the data which will get transferred in context of this application.",
- "items": {
- "$ref": "ApplicationTransferParam"
- },
- "type": "array"
- },
- "applicationTransferStatus": {
- "description": "Current status of transfer for this application. (Read-only)",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ApplicationTransferParam": {
- "description": "Template for application transfer parameters.",
- "id": "ApplicationTransferParam",
- "properties": {
- "key": {
- "description": "The type of the transfer parameter. eg: 'PRIVACY_LEVEL'",
- "type": "string"
- },
- "value": {
- "description": "The value of the corresponding transfer parameter. eg: 'PRIVATE' or 'SHARED'",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "ApplicationsListResponse": {
- "description": "Template for a collection of Applications.",
- "id": "ApplicationsListResponse",
- "properties": {
- "applications": {
- "description": "List of applications that support data transfer and are also installed for the customer.",
- "items": {
- "$ref": "Application"
- },
- "type": "array"
- },
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "kind": {
- "default": "admin#datatransfer#applicationsList",
- "description": "Identifies the resource as a collection of Applications.",
- "type": "string"
- },
- "nextPageToken": {
- "description": "Continuation token which will be used to specify next page in list API.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DataTransfer": {
- "description": "The JSON template for a DataTransfer resource.",
- "id": "DataTransfer",
- "properties": {
- "applicationDataTransfers": {
- "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"
- },
- "type": "array"
- },
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "id": {
- "description": "The transfer's ID (Read-only).",
- "type": "string"
- },
- "kind": {
- "default": "admin#datatransfer#DataTransfer",
- "description": "Identifies the resource as a DataTransfer request.",
- "type": "string"
- },
- "newOwnerUserId": {
- "description": "ID of the user to whom the data is being transferred.",
- "type": "string"
- },
- "oldOwnerUserId": {
- "description": "ID of the user whose data is being transferred.",
- "type": "string"
- },
- "overallTransferStatusCode": {
- "description": "Overall transfer status (Read-only).",
- "type": "string"
- },
- "requestTime": {
- "description": "The time at which the data transfer was requested (Read-only).",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DataTransfersListResponse": {
- "description": "Template for a collection of DataTransfer resources.",
- "id": "DataTransfersListResponse",
- "properties": {
- "dataTransfers": {
- "description": "List of data transfer requests.",
- "items": {
- "$ref": "DataTransfer"
- },
- "type": "array"
- },
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "kind": {
- "default": "admin#datatransfer#dataTransfersList",
- "description": "Identifies the resource as a collection of data transfer requests.",
- "type": "string"
- },
- "nextPageToken": {
- "description": "Continuation token which will be used to specify next page in list API.",
- "type": "string"
- }
- },
- "type": "object"
- }
- },
- "servicePath": "admin/datatransfer/v1/",
- "title": "Admin Data Transfer API",
- "version": "datatransfer_v1"
-}
\ No newline at end of file
diff --git a/etc/api/admin/directory_v1/admin-api.json b/etc/api/admin/directory_v1/admin-api.json
deleted file mode 100644
index 9c6e697185..0000000000
--- a/etc/api/admin/directory_v1/admin-api.json
+++ /dev/null
@@ -1,6921 +0,0 @@
-{
- "auth": {
- "oauth2": {
- "scopes": {
- "https://www.googleapis.com/auth/admin.directory.customer": {
- "description": "View and manage customer related information"
- },
- "https://www.googleapis.com/auth/admin.directory.customer.readonly": {
- "description": "View customer related information"
- },
- "https://www.googleapis.com/auth/admin.directory.device.chromeos": {
- "description": "View and manage your Chrome OS devices' metadata"
- },
- "https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly": {
- "description": "View your Chrome OS devices' metadata"
- },
- "https://www.googleapis.com/auth/admin.directory.device.mobile": {
- "description": "View and manage your mobile devices' metadata"
- },
- "https://www.googleapis.com/auth/admin.directory.device.mobile.action": {
- "description": "Manage your mobile devices by performing administrative tasks"
- },
- "https://www.googleapis.com/auth/admin.directory.device.mobile.readonly": {
- "description": "View your mobile devices' metadata"
- },
- "https://www.googleapis.com/auth/admin.directory.domain": {
- "description": "View and manage the provisioning of domains for your customers"
- },
- "https://www.googleapis.com/auth/admin.directory.domain.readonly": {
- "description": "View domains related to your customers"
- },
- "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.group.member": {
- "description": "View and manage group subscriptions on your domain"
- },
- "https://www.googleapis.com/auth/admin.directory.group.member.readonly": {
- "description": "View group subscriptions on your domain"
- },
- "https://www.googleapis.com/auth/admin.directory.group.readonly": {
- "description": "View groups on your domain"
- },
- "https://www.googleapis.com/auth/admin.directory.notifications": {
- "description": "View and manage notifications received on your domain"
- },
- "https://www.googleapis.com/auth/admin.directory.orgunit": {
- "description": "View and manage organization units on your domain"
- },
- "https://www.googleapis.com/auth/admin.directory.orgunit.readonly": {
- "description": "View organization units on your domain"
- },
- "https://www.googleapis.com/auth/admin.directory.resource.calendar": {
- "description": "View and manage the provisioning of calendar resources on your domain"
- },
- "https://www.googleapis.com/auth/admin.directory.resource.calendar.readonly": {
- "description": "View calendar resources on your domain"
- },
- "https://www.googleapis.com/auth/admin.directory.rolemanagement": {
- "description": "Manage delegated admin roles for your domain"
- },
- "https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly": {
- "description": "View delegated admin roles for 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/admin.directory.user.alias": {
- "description": "View and manage user aliases on your domain"
- },
- "https://www.googleapis.com/auth/admin.directory.user.alias.readonly": {
- "description": "View user aliases on your domain"
- },
- "https://www.googleapis.com/auth/admin.directory.user.readonly": {
- "description": "View users on your domain"
- },
- "https://www.googleapis.com/auth/admin.directory.user.security": {
- "description": "Manage data access permissions for users on your domain"
- },
- "https://www.googleapis.com/auth/admin.directory.userschema": {
- "description": "View and manage the provisioning of user schemas on your domain"
- },
- "https://www.googleapis.com/auth/admin.directory.userschema.readonly": {
- "description": "View user schemas on your domain"
- },
- "https://www.googleapis.com/auth/cloud-platform": {
- "description": "View and manage your data across Google Cloud Platform services"
- }
- }
- }
- },
- "basePath": "/admin/directory/v1/",
- "baseUrl": "https://www.googleapis.com/admin/directory/v1/",
- "batchPath": "batch/admin/directory_v1",
- "canonicalName": "directory",
- "description": "Manages enterprise resources such as users and groups, administrative notifications, security features, and more.",
- "discoveryVersion": "v1",
- "documentationLink": "https://developers.google.com/admin-sdk/directory/",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/Q_N7e9cs3A1-s8__TCCHlsbCI_c\"",
- "icons": {
- "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
- "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
- },
- "id": "admin:directory_v1",
- "kind": "discovery#restDescription",
- "name": "admin",
- "ownerDomain": "google.com",
- "ownerName": "Google",
- "packagePath": "admin",
- "parameters": {
- "alt": {
- "default": "json",
- "description": "Data format for the response.",
- "enum": [
- "json"
- ],
- "enumDescriptions": [
- "Responses with Content-Type of application/json"
- ],
- "location": "query",
- "type": "string"
- },
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
- "location": "query",
- "type": "string"
- },
- "key": {
- "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",
- "type": "string"
- },
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
- "location": "query",
- "type": "string"
- },
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
- "location": "query",
- "type": "boolean"
- },
- "quotaUser": {
- "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
- "location": "query",
- "type": "string"
- },
- "userIp": {
- "description": "Deprecated. Please use quotaUser instead.",
- "location": "query",
- "type": "string"
- }
- },
- "protocol": "rest",
- "resources": {
- "asps": {
- "methods": {
- "delete": {
- "description": "Delete an ASP issued by a user.",
- "httpMethod": "DELETE",
- "id": "directory.asps.delete",
- "parameterOrder": [
- "userKey",
- "codeId"
- ],
- "parameters": {
- "codeId": {
- "description": "The unique ID of the ASP to be deleted.",
- "format": "int32",
- "location": "path",
- "required": true,
- "type": "integer"
- },
- "userKey": {
- "description": "Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "users/{userKey}/asps/{codeId}",
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user.security"
- ]
- },
- "get": {
- "description": "Get information about an ASP issued by a user.",
- "httpMethod": "GET",
- "id": "directory.asps.get",
- "parameterOrder": [
- "userKey",
- "codeId"
- ],
- "parameters": {
- "codeId": {
- "description": "The unique ID of the ASP.",
- "format": "int32",
- "location": "path",
- "required": true,
- "type": "integer"
- },
- "userKey": {
- "description": "Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "users/{userKey}/asps/{codeId}",
- "response": {
- "$ref": "Asp"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user.security"
- ]
- },
- "list": {
- "description": "List the ASPs issued by a user.",
- "httpMethod": "GET",
- "id": "directory.asps.list",
- "parameterOrder": [
- "userKey"
- ],
- "parameters": {
- "userKey": {
- "description": "Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "users/{userKey}/asps",
- "response": {
- "$ref": "Asps"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user.security"
- ]
- }
- }
- },
- "channels": {
- "methods": {
- "stop": {
- "description": "Stop watching resources through this channel",
- "httpMethod": "POST",
- "id": "admin.channels.stop",
- "path": "/admin/directory_v1/channels/stop",
- "request": {
- "$ref": "Channel",
- "parameterName": "resource"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user",
- "https://www.googleapis.com/auth/admin.directory.user.alias",
- "https://www.googleapis.com/auth/admin.directory.user.alias.readonly",
- "https://www.googleapis.com/auth/admin.directory.user.readonly",
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- }
- }
- },
- "chromeosdevices": {
- "methods": {
- "action": {
- "description": "Take action on Chrome OS Device",
- "httpMethod": "POST",
- "id": "directory.chromeosdevices.action",
- "parameterOrder": [
- "customerId",
- "resourceId"
- ],
- "parameters": {
- "customerId": {
- "description": "Immutable ID of the G Suite account",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "resourceId": {
- "description": "Immutable ID of Chrome OS Device",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customerId}/devices/chromeos/{resourceId}/action",
- "request": {
- "$ref": "ChromeOsDeviceAction"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.device.chromeos"
- ]
- },
- "get": {
- "description": "Retrieve Chrome OS Device",
- "httpMethod": "GET",
- "id": "directory.chromeosdevices.get",
- "parameterOrder": [
- "customerId",
- "deviceId"
- ],
- "parameters": {
- "customerId": {
- "description": "Immutable ID of the G Suite account",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "deviceId": {
- "description": "Immutable ID of Chrome OS Device",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "projection": {
- "description": "Restrict information returned to a set of selected fields.",
- "enum": [
- "BASIC",
- "FULL"
- ],
- "enumDescriptions": [
- "Includes only the basic metadata fields (e.g., deviceId, serialNumber, status, and user)",
- "Includes all metadata fields"
- ],
- "location": "query",
- "type": "string"
- }
- },
- "path": "customer/{customerId}/devices/chromeos/{deviceId}",
- "response": {
- "$ref": "ChromeOsDevice"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.device.chromeos",
- "https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly"
- ]
- },
- "list": {
- "description": "Retrieve all Chrome OS Devices of a customer (paginated)",
- "httpMethod": "GET",
- "id": "directory.chromeosdevices.list",
- "parameterOrder": [
- "customerId"
- ],
- "parameters": {
- "customerId": {
- "description": "Immutable ID of the G Suite account",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "maxResults": {
- "default": "100",
- "description": "Maximum number of results to return. Max allowed value is 200.",
- "format": "int32",
- "location": "query",
- "minimum": "1",
- "type": "integer"
- },
- "orderBy": {
- "description": "Column to use for sorting results",
- "enum": [
- "annotatedLocation",
- "annotatedUser",
- "lastSync",
- "notes",
- "serialNumber",
- "status",
- "supportEndDate"
- ],
- "enumDescriptions": [
- "Chromebook location as annotated by the administrator.",
- "Chromebook user as annotated by administrator.",
- "Chromebook last sync.",
- "Chromebook notes as annotated by the administrator.",
- "Chromebook Serial Number.",
- "Chromebook status.",
- "Chromebook support end date."
- ],
- "location": "query",
- "type": "string"
- },
- "orgUnitPath": {
- "description": "Full path of the organizational unit or its ID",
- "location": "query",
- "type": "string"
- },
- "pageToken": {
- "description": "Token to specify next page in the list",
- "location": "query",
- "type": "string"
- },
- "projection": {
- "description": "Restrict information returned to a set of selected fields.",
- "enum": [
- "BASIC",
- "FULL"
- ],
- "enumDescriptions": [
- "Includes only the basic metadata fields (e.g., deviceId, serialNumber, status, and user)",
- "Includes all metadata fields"
- ],
- "location": "query",
- "type": "string"
- },
- "query": {
- "description": "Search string in the format given at http://support.google.com/chromeos/a/bin/answer.py?answer=1698333",
- "location": "query",
- "type": "string"
- },
- "sortOrder": {
- "description": "Whether to return results in ascending or descending order. Only of use when orderBy is also used",
- "enum": [
- "ASCENDING",
- "DESCENDING"
- ],
- "enumDescriptions": [
- "Ascending order.",
- "Descending order."
- ],
- "location": "query",
- "type": "string"
- }
- },
- "path": "customer/{customerId}/devices/chromeos",
- "response": {
- "$ref": "ChromeOsDevices"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.device.chromeos",
- "https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly"
- ]
- },
- "moveDevicesToOu": {
- "description": "Move or insert multiple Chrome OS Devices to organizational unit",
- "httpMethod": "POST",
- "id": "directory.chromeosdevices.moveDevicesToOu",
- "parameterOrder": [
- "customerId",
- "orgUnitPath"
- ],
- "parameters": {
- "customerId": {
- "description": "Immutable ID of the G Suite account",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "orgUnitPath": {
- "description": "Full path of the target organizational unit or its ID",
- "location": "query",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customerId}/devices/chromeos/moveDevicesToOu",
- "request": {
- "$ref": "ChromeOsMoveDevicesToOu"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.device.chromeos"
- ]
- },
- "patch": {
- "description": "Update Chrome OS Device. This method supports patch semantics.",
- "httpMethod": "PATCH",
- "id": "directory.chromeosdevices.patch",
- "parameterOrder": [
- "customerId",
- "deviceId"
- ],
- "parameters": {
- "customerId": {
- "description": "Immutable ID of the G Suite account",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "deviceId": {
- "description": "Immutable ID of Chrome OS Device",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "projection": {
- "description": "Restrict information returned to a set of selected fields.",
- "enum": [
- "BASIC",
- "FULL"
- ],
- "enumDescriptions": [
- "Includes only the basic metadata fields (e.g., deviceId, serialNumber, status, and user)",
- "Includes all metadata fields"
- ],
- "location": "query",
- "type": "string"
- }
- },
- "path": "customer/{customerId}/devices/chromeos/{deviceId}",
- "request": {
- "$ref": "ChromeOsDevice"
- },
- "response": {
- "$ref": "ChromeOsDevice"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.device.chromeos"
- ]
- },
- "update": {
- "description": "Update Chrome OS Device",
- "httpMethod": "PUT",
- "id": "directory.chromeosdevices.update",
- "parameterOrder": [
- "customerId",
- "deviceId"
- ],
- "parameters": {
- "customerId": {
- "description": "Immutable ID of the G Suite account",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "deviceId": {
- "description": "Immutable ID of Chrome OS Device",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "projection": {
- "description": "Restrict information returned to a set of selected fields.",
- "enum": [
- "BASIC",
- "FULL"
- ],
- "enumDescriptions": [
- "Includes only the basic metadata fields (e.g., deviceId, serialNumber, status, and user)",
- "Includes all metadata fields"
- ],
- "location": "query",
- "type": "string"
- }
- },
- "path": "customer/{customerId}/devices/chromeos/{deviceId}",
- "request": {
- "$ref": "ChromeOsDevice"
- },
- "response": {
- "$ref": "ChromeOsDevice"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.device.chromeos"
- ]
- }
- }
- },
- "customers": {
- "methods": {
- "get": {
- "description": "Retrieves a customer.",
- "httpMethod": "GET",
- "id": "directory.customers.get",
- "parameterOrder": [
- "customerKey"
- ],
- "parameters": {
- "customerKey": {
- "description": "Id of the customer to be retrieved",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customers/{customerKey}",
- "response": {
- "$ref": "Customer"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.customer",
- "https://www.googleapis.com/auth/admin.directory.customer.readonly"
- ]
- },
- "patch": {
- "description": "Updates a customer. This method supports patch semantics.",
- "httpMethod": "PATCH",
- "id": "directory.customers.patch",
- "parameterOrder": [
- "customerKey"
- ],
- "parameters": {
- "customerKey": {
- "description": "Id of the customer to be updated",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customers/{customerKey}",
- "request": {
- "$ref": "Customer"
- },
- "response": {
- "$ref": "Customer"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.customer"
- ]
- },
- "update": {
- "description": "Updates a customer.",
- "httpMethod": "PUT",
- "id": "directory.customers.update",
- "parameterOrder": [
- "customerKey"
- ],
- "parameters": {
- "customerKey": {
- "description": "Id of the customer to be updated",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customers/{customerKey}",
- "request": {
- "$ref": "Customer"
- },
- "response": {
- "$ref": "Customer"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.customer"
- ]
- }
- }
- },
- "domainAliases": {
- "methods": {
- "delete": {
- "description": "Deletes a Domain Alias of the customer.",
- "httpMethod": "DELETE",
- "id": "directory.domainAliases.delete",
- "parameterOrder": [
- "customer",
- "domainAliasName"
- ],
- "parameters": {
- "customer": {
- "description": "Immutable ID of the G Suite account.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "domainAliasName": {
- "description": "Name of domain alias to be retrieved.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/domainaliases/{domainAliasName}",
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.domain"
- ]
- },
- "get": {
- "description": "Retrieves a domain alias of the customer.",
- "httpMethod": "GET",
- "id": "directory.domainAliases.get",
- "parameterOrder": [
- "customer",
- "domainAliasName"
- ],
- "parameters": {
- "customer": {
- "description": "Immutable ID of the G Suite account.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "domainAliasName": {
- "description": "Name of domain alias to be retrieved.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/domainaliases/{domainAliasName}",
- "response": {
- "$ref": "DomainAlias"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.domain",
- "https://www.googleapis.com/auth/admin.directory.domain.readonly"
- ]
- },
- "insert": {
- "description": "Inserts a Domain alias of the customer.",
- "httpMethod": "POST",
- "id": "directory.domainAliases.insert",
- "parameterOrder": [
- "customer"
- ],
- "parameters": {
- "customer": {
- "description": "Immutable ID of the G Suite account.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/domainaliases",
- "request": {
- "$ref": "DomainAlias"
- },
- "response": {
- "$ref": "DomainAlias"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.domain"
- ]
- },
- "list": {
- "description": "Lists the domain aliases of the customer.",
- "httpMethod": "GET",
- "id": "directory.domainAliases.list",
- "parameterOrder": [
- "customer"
- ],
- "parameters": {
- "customer": {
- "description": "Immutable ID of the G Suite account.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "parentDomainName": {
- "description": "Name of the parent domain for which domain aliases are to be fetched.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "customer/{customer}/domainaliases",
- "response": {
- "$ref": "DomainAliases"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.domain",
- "https://www.googleapis.com/auth/admin.directory.domain.readonly"
- ]
- }
- }
- },
- "domains": {
- "methods": {
- "delete": {
- "description": "Deletes a domain of the customer.",
- "httpMethod": "DELETE",
- "id": "directory.domains.delete",
- "parameterOrder": [
- "customer",
- "domainName"
- ],
- "parameters": {
- "customer": {
- "description": "Immutable ID of the G Suite account.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "domainName": {
- "description": "Name of domain to be deleted",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/domains/{domainName}",
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.domain"
- ]
- },
- "get": {
- "description": "Retrieves a domain of the customer.",
- "httpMethod": "GET",
- "id": "directory.domains.get",
- "parameterOrder": [
- "customer",
- "domainName"
- ],
- "parameters": {
- "customer": {
- "description": "Immutable ID of the G Suite account.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "domainName": {
- "description": "Name of domain to be retrieved",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/domains/{domainName}",
- "response": {
- "$ref": "Domains"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.domain",
- "https://www.googleapis.com/auth/admin.directory.domain.readonly"
- ]
- },
- "insert": {
- "description": "Inserts a domain of the customer.",
- "httpMethod": "POST",
- "id": "directory.domains.insert",
- "parameterOrder": [
- "customer"
- ],
- "parameters": {
- "customer": {
- "description": "Immutable ID of the G Suite account.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/domains",
- "request": {
- "$ref": "Domains"
- },
- "response": {
- "$ref": "Domains"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.domain"
- ]
- },
- "list": {
- "description": "Lists the domains of the customer.",
- "httpMethod": "GET",
- "id": "directory.domains.list",
- "parameterOrder": [
- "customer"
- ],
- "parameters": {
- "customer": {
- "description": "Immutable ID of the G Suite account.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/domains",
- "response": {
- "$ref": "Domains2"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.domain",
- "https://www.googleapis.com/auth/admin.directory.domain.readonly"
- ]
- }
- }
- },
- "groups": {
- "methods": {
- "delete": {
- "description": "Delete Group",
- "httpMethod": "DELETE",
- "id": "directory.groups.delete",
- "parameterOrder": [
- "groupKey"
- ],
- "parameters": {
- "groupKey": {
- "description": "Email or immutable ID of the group",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "groups/{groupKey}",
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.group"
- ]
- },
- "get": {
- "description": "Retrieve Group",
- "httpMethod": "GET",
- "id": "directory.groups.get",
- "parameterOrder": [
- "groupKey"
- ],
- "parameters": {
- "groupKey": {
- "description": "Email or immutable ID of the group",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "groups/{groupKey}",
- "response": {
- "$ref": "Group"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.group",
- "https://www.googleapis.com/auth/admin.directory.group.readonly"
- ]
- },
- "insert": {
- "description": "Create Group",
- "httpMethod": "POST",
- "id": "directory.groups.insert",
- "path": "groups",
- "request": {
- "$ref": "Group"
- },
- "response": {
- "$ref": "Group"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.group"
- ]
- },
- "list": {
- "description": "Retrieve all groups of a domain or of a user given a userKey (paginated)",
- "httpMethod": "GET",
- "id": "directory.groups.list",
- "parameters": {
- "customer": {
- "description": "Immutable ID of the G Suite account. In case of multi-domain, to fetch all groups for a customer, fill this field instead of domain.",
- "location": "query",
- "type": "string"
- },
- "domain": {
- "description": "Name of the domain. Fill this field to get groups from only this domain. To return all groups in a multi-domain fill customer field instead.",
- "location": "query",
- "type": "string"
- },
- "maxResults": {
- "default": "200",
- "description": "Maximum number of results to return. Max allowed value is 200.",
- "format": "int32",
- "location": "query",
- "minimum": "1",
- "type": "integer"
- },
- "orderBy": {
- "description": "Column to use for sorting results",
- "enum": [
- "email"
- ],
- "enumDescriptions": [
- "Email of the group."
- ],
- "location": "query",
- "type": "string"
- },
- "pageToken": {
- "description": "Token to specify next page in the list",
- "location": "query",
- "type": "string"
- },
- "query": {
- "description": "Query string search. Should be of the form \"\". Complete documentation is at https://developers.google.com/admin-sdk/directory/v1/guides/search-groups",
- "location": "query",
- "type": "string"
- },
- "sortOrder": {
- "description": "Whether to return results in ascending or descending order. Only of use when orderBy is also used",
- "enum": [
- "ASCENDING",
- "DESCENDING"
- ],
- "enumDescriptions": [
- "Ascending order.",
- "Descending order."
- ],
- "location": "query",
- "type": "string"
- },
- "userKey": {
- "description": "Email or immutable ID of the user if only those groups are to be listed, the given user is a member of. If it's an ID, it should match with the ID of the user object.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "groups",
- "response": {
- "$ref": "Groups"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.group",
- "https://www.googleapis.com/auth/admin.directory.group.readonly"
- ]
- },
- "patch": {
- "description": "Update Group. This method supports patch semantics.",
- "httpMethod": "PATCH",
- "id": "directory.groups.patch",
- "parameterOrder": [
- "groupKey"
- ],
- "parameters": {
- "groupKey": {
- "description": "Email or immutable ID of the group. If ID, it should match with id of group object",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "groups/{groupKey}",
- "request": {
- "$ref": "Group"
- },
- "response": {
- "$ref": "Group"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.group"
- ]
- },
- "update": {
- "description": "Update Group",
- "httpMethod": "PUT",
- "id": "directory.groups.update",
- "parameterOrder": [
- "groupKey"
- ],
- "parameters": {
- "groupKey": {
- "description": "Email or immutable ID of the group. If ID, it should match with id of group object",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "groups/{groupKey}",
- "request": {
- "$ref": "Group"
- },
- "response": {
- "$ref": "Group"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.group"
- ]
- }
- },
- "resources": {
- "aliases": {
- "methods": {
- "delete": {
- "description": "Remove a alias for the group",
- "httpMethod": "DELETE",
- "id": "directory.groups.aliases.delete",
- "parameterOrder": [
- "groupKey",
- "alias"
- ],
- "parameters": {
- "alias": {
- "description": "The alias to be removed",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "groupKey": {
- "description": "Email or immutable ID of the group",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "groups/{groupKey}/aliases/{alias}",
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.group"
- ]
- },
- "insert": {
- "description": "Add a alias for the group",
- "httpMethod": "POST",
- "id": "directory.groups.aliases.insert",
- "parameterOrder": [
- "groupKey"
- ],
- "parameters": {
- "groupKey": {
- "description": "Email or immutable ID of the group",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "groups/{groupKey}/aliases",
- "request": {
- "$ref": "Alias"
- },
- "response": {
- "$ref": "Alias"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.group"
- ]
- },
- "list": {
- "description": "List all aliases for a group",
- "httpMethod": "GET",
- "id": "directory.groups.aliases.list",
- "parameterOrder": [
- "groupKey"
- ],
- "parameters": {
- "groupKey": {
- "description": "Email or immutable ID of the group",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "groups/{groupKey}/aliases",
- "response": {
- "$ref": "Aliases"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.group",
- "https://www.googleapis.com/auth/admin.directory.group.readonly"
- ],
- "supportsSubscription": true
- }
- }
- }
- }
- },
- "members": {
- "methods": {
- "delete": {
- "description": "Remove membership.",
- "httpMethod": "DELETE",
- "id": "directory.members.delete",
- "parameterOrder": [
- "groupKey",
- "memberKey"
- ],
- "parameters": {
- "groupKey": {
- "description": "Email or immutable ID of the group",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "memberKey": {
- "description": "Email or immutable ID of the member",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "groups/{groupKey}/members/{memberKey}",
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.group",
- "https://www.googleapis.com/auth/admin.directory.group.member"
- ]
- },
- "get": {
- "description": "Retrieve Group Member",
- "httpMethod": "GET",
- "id": "directory.members.get",
- "parameterOrder": [
- "groupKey",
- "memberKey"
- ],
- "parameters": {
- "groupKey": {
- "description": "Email or immutable ID of the group",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "memberKey": {
- "description": "Email or immutable ID of the member",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "groups/{groupKey}/members/{memberKey}",
- "response": {
- "$ref": "Member"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.group",
- "https://www.googleapis.com/auth/admin.directory.group.member",
- "https://www.googleapis.com/auth/admin.directory.group.member.readonly",
- "https://www.googleapis.com/auth/admin.directory.group.readonly"
- ]
- },
- "hasMember": {
- "description": "Checks whether the given user is a member of the group. Membership can be direct or nested.",
- "httpMethod": "GET",
- "id": "directory.members.hasMember",
- "parameterOrder": [
- "groupKey",
- "memberKey"
- ],
- "parameters": {
- "groupKey": {
- "description": "Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "memberKey": {
- "description": "Identifies the user member in the API request. The value can be the user's primary email address, alias, or unique ID.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "groups/{groupKey}/hasMember/{memberKey}",
- "response": {
- "$ref": "MembersHasMember"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.group",
- "https://www.googleapis.com/auth/admin.directory.group.member",
- "https://www.googleapis.com/auth/admin.directory.group.member.readonly",
- "https://www.googleapis.com/auth/admin.directory.group.readonly"
- ]
- },
- "insert": {
- "description": "Add user to the specified group.",
- "httpMethod": "POST",
- "id": "directory.members.insert",
- "parameterOrder": [
- "groupKey"
- ],
- "parameters": {
- "groupKey": {
- "description": "Email or immutable ID of the group",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "groups/{groupKey}/members",
- "request": {
- "$ref": "Member"
- },
- "response": {
- "$ref": "Member"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.group",
- "https://www.googleapis.com/auth/admin.directory.group.member"
- ]
- },
- "list": {
- "description": "Retrieve all members in a group (paginated)",
- "httpMethod": "GET",
- "id": "directory.members.list",
- "parameterOrder": [
- "groupKey"
- ],
- "parameters": {
- "groupKey": {
- "description": "Email or immutable ID of the group",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "includeDerivedMembership": {
- "description": "Whether to list indirect memberships. Default: false.",
- "location": "query",
- "type": "boolean"
- },
- "maxResults": {
- "default": "200",
- "description": "Maximum number of results to return. Max allowed value is 200.",
- "format": "int32",
- "location": "query",
- "minimum": "1",
- "type": "integer"
- },
- "pageToken": {
- "description": "Token to specify next page in the list",
- "location": "query",
- "type": "string"
- },
- "roles": {
- "description": "Comma separated role values to filter list results on.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "groups/{groupKey}/members",
- "response": {
- "$ref": "Members"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.group",
- "https://www.googleapis.com/auth/admin.directory.group.member",
- "https://www.googleapis.com/auth/admin.directory.group.member.readonly",
- "https://www.googleapis.com/auth/admin.directory.group.readonly"
- ]
- },
- "patch": {
- "description": "Update membership of a user in the specified group. This method supports patch semantics.",
- "httpMethod": "PATCH",
- "id": "directory.members.patch",
- "parameterOrder": [
- "groupKey",
- "memberKey"
- ],
- "parameters": {
- "groupKey": {
- "description": "Email or immutable ID of the group. If ID, it should match with id of group object",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "memberKey": {
- "description": "Email or immutable ID of the user. If ID, it should match with id of member object",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "groups/{groupKey}/members/{memberKey}",
- "request": {
- "$ref": "Member"
- },
- "response": {
- "$ref": "Member"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.group",
- "https://www.googleapis.com/auth/admin.directory.group.member"
- ]
- },
- "update": {
- "description": "Update membership of a user in the specified group.",
- "httpMethod": "PUT",
- "id": "directory.members.update",
- "parameterOrder": [
- "groupKey",
- "memberKey"
- ],
- "parameters": {
- "groupKey": {
- "description": "Email or immutable ID of the group. If ID, it should match with id of group object",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "memberKey": {
- "description": "Email or immutable ID of the user. If ID, it should match with id of member object",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "groups/{groupKey}/members/{memberKey}",
- "request": {
- "$ref": "Member"
- },
- "response": {
- "$ref": "Member"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.group",
- "https://www.googleapis.com/auth/admin.directory.group.member"
- ]
- }
- }
- },
- "mobiledevices": {
- "methods": {
- "action": {
- "description": "Take action on Mobile Device",
- "httpMethod": "POST",
- "id": "directory.mobiledevices.action",
- "parameterOrder": [
- "customerId",
- "resourceId"
- ],
- "parameters": {
- "customerId": {
- "description": "Immutable ID of the G Suite account",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "resourceId": {
- "description": "Immutable ID of Mobile Device",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customerId}/devices/mobile/{resourceId}/action",
- "request": {
- "$ref": "MobileDeviceAction"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.device.mobile",
- "https://www.googleapis.com/auth/admin.directory.device.mobile.action"
- ]
- },
- "delete": {
- "description": "Delete Mobile Device",
- "httpMethod": "DELETE",
- "id": "directory.mobiledevices.delete",
- "parameterOrder": [
- "customerId",
- "resourceId"
- ],
- "parameters": {
- "customerId": {
- "description": "Immutable ID of the G Suite account",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "resourceId": {
- "description": "Immutable ID of Mobile Device",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customerId}/devices/mobile/{resourceId}",
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.device.mobile"
- ]
- },
- "get": {
- "description": "Retrieve Mobile Device",
- "httpMethod": "GET",
- "id": "directory.mobiledevices.get",
- "parameterOrder": [
- "customerId",
- "resourceId"
- ],
- "parameters": {
- "customerId": {
- "description": "Immutable ID of the G Suite account",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "projection": {
- "description": "Restrict information returned to a set of selected fields.",
- "enum": [
- "BASIC",
- "FULL"
- ],
- "enumDescriptions": [
- "Includes only the basic metadata fields (e.g., deviceId, model, status, type, and status)",
- "Includes all metadata fields"
- ],
- "location": "query",
- "type": "string"
- },
- "resourceId": {
- "description": "Immutable ID of Mobile Device",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customerId}/devices/mobile/{resourceId}",
- "response": {
- "$ref": "MobileDevice"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.device.mobile",
- "https://www.googleapis.com/auth/admin.directory.device.mobile.action",
- "https://www.googleapis.com/auth/admin.directory.device.mobile.readonly"
- ]
- },
- "list": {
- "description": "Retrieve all Mobile Devices of a customer (paginated)",
- "httpMethod": "GET",
- "id": "directory.mobiledevices.list",
- "parameterOrder": [
- "customerId"
- ],
- "parameters": {
- "customerId": {
- "description": "Immutable ID of the G Suite account",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "maxResults": {
- "default": "100",
- "description": "Maximum number of results to return. Max allowed value is 100.",
- "format": "int32",
- "location": "query",
- "minimum": "1",
- "type": "integer"
- },
- "orderBy": {
- "description": "Column to use for sorting results",
- "enum": [
- "deviceId",
- "email",
- "lastSync",
- "model",
- "name",
- "os",
- "status",
- "type"
- ],
- "enumDescriptions": [
- "Mobile Device serial number.",
- "Owner user email.",
- "Last policy settings sync date time of the device.",
- "Mobile Device model.",
- "Owner user name.",
- "Mobile operating system.",
- "Status of the device.",
- "Type of the device."
- ],
- "location": "query",
- "type": "string"
- },
- "pageToken": {
- "description": "Token to specify next page in the list",
- "location": "query",
- "type": "string"
- },
- "projection": {
- "description": "Restrict information returned to a set of selected fields.",
- "enum": [
- "BASIC",
- "FULL"
- ],
- "enumDescriptions": [
- "Includes only the basic metadata fields (e.g., deviceId, model, status, type, and status)",
- "Includes all metadata fields"
- ],
- "location": "query",
- "type": "string"
- },
- "query": {
- "description": "Search string in the format given at http://support.google.com/a/bin/answer.py?answer=1408863#search",
- "location": "query",
- "type": "string"
- },
- "sortOrder": {
- "description": "Whether to return results in ascending or descending order. Only of use when orderBy is also used",
- "enum": [
- "ASCENDING",
- "DESCENDING"
- ],
- "enumDescriptions": [
- "Ascending order.",
- "Descending order."
- ],
- "location": "query",
- "type": "string"
- }
- },
- "path": "customer/{customerId}/devices/mobile",
- "response": {
- "$ref": "MobileDevices"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.device.mobile",
- "https://www.googleapis.com/auth/admin.directory.device.mobile.action",
- "https://www.googleapis.com/auth/admin.directory.device.mobile.readonly"
- ]
- }
- }
- },
- "notifications": {
- "methods": {
- "delete": {
- "description": "Deletes a notification",
- "httpMethod": "DELETE",
- "id": "directory.notifications.delete",
- "parameterOrder": [
- "customer",
- "notificationId"
- ],
- "parameters": {
- "customer": {
- "description": "The unique ID for the customer's G Suite account. The customerId is also returned as part of the Users resource.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "notificationId": {
- "description": "The unique ID of the notification.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/notifications/{notificationId}",
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.notifications"
- ]
- },
- "get": {
- "description": "Retrieves a notification.",
- "httpMethod": "GET",
- "id": "directory.notifications.get",
- "parameterOrder": [
- "customer",
- "notificationId"
- ],
- "parameters": {
- "customer": {
- "description": "The unique ID for the customer's G Suite account. The customerId is also returned as part of the Users resource.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "notificationId": {
- "description": "The unique ID of the notification.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/notifications/{notificationId}",
- "response": {
- "$ref": "Notification"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.notifications"
- ]
- },
- "list": {
- "description": "Retrieves a list of notifications.",
- "httpMethod": "GET",
- "id": "directory.notifications.list",
- "parameterOrder": [
- "customer"
- ],
- "parameters": {
- "customer": {
- "description": "The unique ID for the customer's G Suite account.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "language": {
- "description": "The ISO 639-1 code of the language notifications are returned in. The default is English (en).",
- "location": "query",
- "type": "string"
- },
- "maxResults": {
- "description": "Maximum number of notifications to return per page. The default is 100.",
- "format": "uint32",
- "location": "query",
- "type": "integer"
- },
- "pageToken": {
- "description": "The token to specify the page of results to retrieve.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "customer/{customer}/notifications",
- "response": {
- "$ref": "Notifications"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.notifications"
- ]
- },
- "patch": {
- "description": "Updates a notification. This method supports patch semantics.",
- "httpMethod": "PATCH",
- "id": "directory.notifications.patch",
- "parameterOrder": [
- "customer",
- "notificationId"
- ],
- "parameters": {
- "customer": {
- "description": "The unique ID for the customer's G Suite account.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "notificationId": {
- "description": "The unique ID of the notification.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/notifications/{notificationId}",
- "request": {
- "$ref": "Notification"
- },
- "response": {
- "$ref": "Notification"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.notifications"
- ]
- },
- "update": {
- "description": "Updates a notification.",
- "httpMethod": "PUT",
- "id": "directory.notifications.update",
- "parameterOrder": [
- "customer",
- "notificationId"
- ],
- "parameters": {
- "customer": {
- "description": "The unique ID for the customer's G Suite account.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "notificationId": {
- "description": "The unique ID of the notification.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/notifications/{notificationId}",
- "request": {
- "$ref": "Notification"
- },
- "response": {
- "$ref": "Notification"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.notifications"
- ]
- }
- }
- },
- "orgunits": {
- "methods": {
- "delete": {
- "description": "Remove organizational unit",
- "httpMethod": "DELETE",
- "id": "directory.orgunits.delete",
- "parameterOrder": [
- "customerId",
- "orgUnitPath"
- ],
- "parameters": {
- "customerId": {
- "description": "Immutable ID of the G Suite account",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "orgUnitPath": {
- "description": "Full path of the organizational unit or its ID",
- "location": "path",
- "repeated": true,
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customerId}/orgunits{/orgUnitPath*}",
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.orgunit"
- ]
- },
- "get": {
- "description": "Retrieve organizational unit",
- "httpMethod": "GET",
- "id": "directory.orgunits.get",
- "parameterOrder": [
- "customerId",
- "orgUnitPath"
- ],
- "parameters": {
- "customerId": {
- "description": "Immutable ID of the G Suite account",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "orgUnitPath": {
- "description": "Full path of the organizational unit or its ID",
- "location": "path",
- "repeated": true,
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customerId}/orgunits{/orgUnitPath*}",
- "response": {
- "$ref": "OrgUnit"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.orgunit",
- "https://www.googleapis.com/auth/admin.directory.orgunit.readonly"
- ]
- },
- "insert": {
- "description": "Add organizational unit",
- "httpMethod": "POST",
- "id": "directory.orgunits.insert",
- "parameterOrder": [
- "customerId"
- ],
- "parameters": {
- "customerId": {
- "description": "Immutable ID of the G Suite account",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customerId}/orgunits",
- "request": {
- "$ref": "OrgUnit"
- },
- "response": {
- "$ref": "OrgUnit"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.orgunit"
- ]
- },
- "list": {
- "description": "Retrieve all organizational units",
- "httpMethod": "GET",
- "id": "directory.orgunits.list",
- "parameterOrder": [
- "customerId"
- ],
- "parameters": {
- "customerId": {
- "description": "Immutable ID of the G Suite account",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "orgUnitPath": {
- "default": "",
- "description": "the URL-encoded organizational unit's path or its ID",
- "location": "query",
- "type": "string"
- },
- "type": {
- "description": "Whether to return all sub-organizations or just immediate children",
- "enum": [
- "all",
- "children"
- ],
- "enumDescriptions": [
- "All sub-organizational units.",
- "Immediate children only (default)."
- ],
- "location": "query",
- "type": "string"
- }
- },
- "path": "customer/{customerId}/orgunits",
- "response": {
- "$ref": "OrgUnits"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.orgunit",
- "https://www.googleapis.com/auth/admin.directory.orgunit.readonly"
- ]
- },
- "patch": {
- "description": "Update organizational unit. This method supports patch semantics.",
- "httpMethod": "PATCH",
- "id": "directory.orgunits.patch",
- "parameterOrder": [
- "customerId",
- "orgUnitPath"
- ],
- "parameters": {
- "customerId": {
- "description": "Immutable ID of the G Suite account",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "orgUnitPath": {
- "description": "Full path of the organizational unit or its ID",
- "location": "path",
- "repeated": true,
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customerId}/orgunits{/orgUnitPath*}",
- "request": {
- "$ref": "OrgUnit"
- },
- "response": {
- "$ref": "OrgUnit"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.orgunit"
- ]
- },
- "update": {
- "description": "Update organizational unit",
- "httpMethod": "PUT",
- "id": "directory.orgunits.update",
- "parameterOrder": [
- "customerId",
- "orgUnitPath"
- ],
- "parameters": {
- "customerId": {
- "description": "Immutable ID of the G Suite account",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "orgUnitPath": {
- "description": "Full path of the organizational unit or its ID",
- "location": "path",
- "repeated": true,
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customerId}/orgunits{/orgUnitPath*}",
- "request": {
- "$ref": "OrgUnit"
- },
- "response": {
- "$ref": "OrgUnit"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.orgunit"
- ]
- }
- }
- },
- "privileges": {
- "methods": {
- "list": {
- "description": "Retrieves a paginated list of all privileges for a customer.",
- "httpMethod": "GET",
- "id": "directory.privileges.list",
- "parameterOrder": [
- "customer"
- ],
- "parameters": {
- "customer": {
- "description": "Immutable ID of the G Suite account.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/roles/ALL/privileges",
- "response": {
- "$ref": "Privileges"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.rolemanagement",
- "https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly"
- ]
- }
- }
- },
- "resources": {
- "resources": {
- "buildings": {
- "methods": {
- "delete": {
- "description": "Deletes a building.",
- "httpMethod": "DELETE",
- "id": "directory.resources.buildings.delete",
- "parameterOrder": [
- "customer",
- "buildingId"
- ],
- "parameters": {
- "buildingId": {
- "description": "The ID of the building to delete.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "customer": {
- "description": "The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/resources/buildings/{buildingId}",
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.resource.calendar"
- ]
- },
- "get": {
- "description": "Retrieves a building.",
- "httpMethod": "GET",
- "id": "directory.resources.buildings.get",
- "parameterOrder": [
- "customer",
- "buildingId"
- ],
- "parameters": {
- "buildingId": {
- "description": "The unique ID of the building to retrieve.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "customer": {
- "description": "The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/resources/buildings/{buildingId}",
- "response": {
- "$ref": "Building"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.resource.calendar",
- "https://www.googleapis.com/auth/admin.directory.resource.calendar.readonly"
- ]
- },
- "insert": {
- "description": "Inserts a building.",
- "httpMethod": "POST",
- "id": "directory.resources.buildings.insert",
- "parameterOrder": [
- "customer"
- ],
- "parameters": {
- "coordinatesSource": {
- "default": "SOURCE_UNSPECIFIED",
- "description": "Source from which Building.coordinates are derived.",
- "enum": [
- "CLIENT_SPECIFIED",
- "RESOLVED_FROM_ADDRESS",
- "SOURCE_UNSPECIFIED"
- ],
- "enumDescriptions": [
- "Building.coordinates are set to the coordinates included in the request.",
- "Building.coordinates are automatically populated based on the postal address.",
- "Defaults to RESOLVED_FROM_ADDRESS if postal address is provided. Otherwise, defaults to CLIENT_SPECIFIED if coordinates are provided."
- ],
- "location": "query",
- "type": "string"
- },
- "customer": {
- "description": "The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/resources/buildings",
- "request": {
- "$ref": "Building"
- },
- "response": {
- "$ref": "Building"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.resource.calendar"
- ]
- },
- "list": {
- "description": "Retrieves a list of buildings for an account.",
- "httpMethod": "GET",
- "id": "directory.resources.buildings.list",
- "parameterOrder": [
- "customer"
- ],
- "parameters": {
- "customer": {
- "description": "The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "maxResults": {
- "description": "Maximum number of results to return.",
- "format": "int32",
- "location": "query",
- "maximum": "500",
- "minimum": "1",
- "type": "integer"
- },
- "pageToken": {
- "description": "Token to specify the next page in the list.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "customer/{customer}/resources/buildings",
- "response": {
- "$ref": "Buildings"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.resource.calendar",
- "https://www.googleapis.com/auth/admin.directory.resource.calendar.readonly"
- ]
- },
- "patch": {
- "description": "Updates a building. This method supports patch semantics.",
- "httpMethod": "PATCH",
- "id": "directory.resources.buildings.patch",
- "parameterOrder": [
- "customer",
- "buildingId"
- ],
- "parameters": {
- "buildingId": {
- "description": "The ID of the building to update.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "coordinatesSource": {
- "default": "SOURCE_UNSPECIFIED",
- "description": "Source from which Building.coordinates are derived.",
- "enum": [
- "CLIENT_SPECIFIED",
- "RESOLVED_FROM_ADDRESS",
- "SOURCE_UNSPECIFIED"
- ],
- "enumDescriptions": [
- "Building.coordinates are set to the coordinates included in the request.",
- "Building.coordinates are automatically populated based on the postal address.",
- "Defaults to RESOLVED_FROM_ADDRESS if postal address is provided. Otherwise, defaults to CLIENT_SPECIFIED if coordinates are provided."
- ],
- "location": "query",
- "type": "string"
- },
- "customer": {
- "description": "The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/resources/buildings/{buildingId}",
- "request": {
- "$ref": "Building"
- },
- "response": {
- "$ref": "Building"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.resource.calendar"
- ]
- },
- "update": {
- "description": "Updates a building.",
- "httpMethod": "PUT",
- "id": "directory.resources.buildings.update",
- "parameterOrder": [
- "customer",
- "buildingId"
- ],
- "parameters": {
- "buildingId": {
- "description": "The ID of the building to update.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "coordinatesSource": {
- "default": "SOURCE_UNSPECIFIED",
- "description": "Source from which Building.coordinates are derived.",
- "enum": [
- "CLIENT_SPECIFIED",
- "RESOLVED_FROM_ADDRESS",
- "SOURCE_UNSPECIFIED"
- ],
- "enumDescriptions": [
- "Building.coordinates are set to the coordinates included in the request.",
- "Building.coordinates are automatically populated based on the postal address.",
- "Defaults to RESOLVED_FROM_ADDRESS if postal address is provided. Otherwise, defaults to CLIENT_SPECIFIED if coordinates are provided."
- ],
- "location": "query",
- "type": "string"
- },
- "customer": {
- "description": "The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/resources/buildings/{buildingId}",
- "request": {
- "$ref": "Building"
- },
- "response": {
- "$ref": "Building"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.resource.calendar"
- ]
- }
- }
- },
- "calendars": {
- "methods": {
- "delete": {
- "description": "Deletes a calendar resource.",
- "httpMethod": "DELETE",
- "id": "directory.resources.calendars.delete",
- "parameterOrder": [
- "customer",
- "calendarResourceId"
- ],
- "parameters": {
- "calendarResourceId": {
- "description": "The unique ID of the calendar resource to delete.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "customer": {
- "description": "The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/resources/calendars/{calendarResourceId}",
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.resource.calendar"
- ]
- },
- "get": {
- "description": "Retrieves a calendar resource.",
- "httpMethod": "GET",
- "id": "directory.resources.calendars.get",
- "parameterOrder": [
- "customer",
- "calendarResourceId"
- ],
- "parameters": {
- "calendarResourceId": {
- "description": "The unique ID of the calendar resource to retrieve.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "customer": {
- "description": "The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/resources/calendars/{calendarResourceId}",
- "response": {
- "$ref": "CalendarResource"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.resource.calendar",
- "https://www.googleapis.com/auth/admin.directory.resource.calendar.readonly"
- ]
- },
- "insert": {
- "description": "Inserts a calendar resource.",
- "httpMethod": "POST",
- "id": "directory.resources.calendars.insert",
- "parameterOrder": [
- "customer"
- ],
- "parameters": {
- "customer": {
- "description": "The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/resources/calendars",
- "request": {
- "$ref": "CalendarResource"
- },
- "response": {
- "$ref": "CalendarResource"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.resource.calendar"
- ]
- },
- "list": {
- "description": "Retrieves a list of calendar resources for an account.",
- "httpMethod": "GET",
- "id": "directory.resources.calendars.list",
- "parameterOrder": [
- "customer"
- ],
- "parameters": {
- "customer": {
- "description": "The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "maxResults": {
- "description": "Maximum number of results to return.",
- "format": "int32",
- "location": "query",
- "maximum": "500",
- "minimum": "1",
- "type": "integer"
- },
- "orderBy": {
- "description": "Field(s) to sort results by in either ascending or descending order. Supported fields include resourceId, resourceName, capacity, buildingId, and floorName. If no order is specified, defaults to ascending. Should be of the form \"field [asc|desc], field [asc|desc], ...\". For example buildingId, capacity desc would return results sorted first by buildingId in ascending order then by capacity in descending order.",
- "location": "query",
- "type": "string"
- },
- "pageToken": {
- "description": "Token to specify the next page in the list.",
- "location": "query",
- "type": "string"
- },
- "query": {
- "description": "String query used to filter results. Should be of the form \"field operator value\" where field can be any of supported fields and operators can be any of supported operations. Operators include '=' for exact match and ':' for prefix match or HAS match where applicable. For prefix match, the value should always be followed by a *. Supported fields include generatedResourceName, name, buildingId, featureInstances.feature.name. For example buildingId=US-NYC-9TH AND featureInstances.feature.name:Phone.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "customer/{customer}/resources/calendars",
- "response": {
- "$ref": "CalendarResources"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.resource.calendar",
- "https://www.googleapis.com/auth/admin.directory.resource.calendar.readonly"
- ]
- },
- "patch": {
- "description": "Updates a calendar resource.\n\nThis method supports patch semantics, meaning you only need to include the fields you wish to update. Fields that are not present in the request will be preserved. This method supports patch semantics.",
- "httpMethod": "PATCH",
- "id": "directory.resources.calendars.patch",
- "parameterOrder": [
- "customer",
- "calendarResourceId"
- ],
- "parameters": {
- "calendarResourceId": {
- "description": "The unique ID of the calendar resource to update.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "customer": {
- "description": "The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/resources/calendars/{calendarResourceId}",
- "request": {
- "$ref": "CalendarResource"
- },
- "response": {
- "$ref": "CalendarResource"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.resource.calendar"
- ]
- },
- "update": {
- "description": "Updates a calendar resource.\n\nThis method supports patch semantics, meaning you only need to include the fields you wish to update. Fields that are not present in the request will be preserved.",
- "httpMethod": "PUT",
- "id": "directory.resources.calendars.update",
- "parameterOrder": [
- "customer",
- "calendarResourceId"
- ],
- "parameters": {
- "calendarResourceId": {
- "description": "The unique ID of the calendar resource to update.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "customer": {
- "description": "The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/resources/calendars/{calendarResourceId}",
- "request": {
- "$ref": "CalendarResource"
- },
- "response": {
- "$ref": "CalendarResource"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.resource.calendar"
- ]
- }
- }
- },
- "features": {
- "methods": {
- "delete": {
- "description": "Deletes a feature.",
- "httpMethod": "DELETE",
- "id": "directory.resources.features.delete",
- "parameterOrder": [
- "customer",
- "featureKey"
- ],
- "parameters": {
- "customer": {
- "description": "The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "featureKey": {
- "description": "The unique ID of the feature to delete.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/resources/features/{featureKey}",
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.resource.calendar"
- ]
- },
- "get": {
- "description": "Retrieves a feature.",
- "httpMethod": "GET",
- "id": "directory.resources.features.get",
- "parameterOrder": [
- "customer",
- "featureKey"
- ],
- "parameters": {
- "customer": {
- "description": "The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "featureKey": {
- "description": "The unique ID of the feature to retrieve.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/resources/features/{featureKey}",
- "response": {
- "$ref": "Feature"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.resource.calendar",
- "https://www.googleapis.com/auth/admin.directory.resource.calendar.readonly"
- ]
- },
- "insert": {
- "description": "Inserts a feature.",
- "httpMethod": "POST",
- "id": "directory.resources.features.insert",
- "parameterOrder": [
- "customer"
- ],
- "parameters": {
- "customer": {
- "description": "The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/resources/features",
- "request": {
- "$ref": "Feature"
- },
- "response": {
- "$ref": "Feature"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.resource.calendar"
- ]
- },
- "list": {
- "description": "Retrieves a list of features for an account.",
- "httpMethod": "GET",
- "id": "directory.resources.features.list",
- "parameterOrder": [
- "customer"
- ],
- "parameters": {
- "customer": {
- "description": "The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "maxResults": {
- "description": "Maximum number of results to return.",
- "format": "int32",
- "location": "query",
- "maximum": "500",
- "minimum": "1",
- "type": "integer"
- },
- "pageToken": {
- "description": "Token to specify the next page in the list.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "customer/{customer}/resources/features",
- "response": {
- "$ref": "Features"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.resource.calendar",
- "https://www.googleapis.com/auth/admin.directory.resource.calendar.readonly"
- ]
- },
- "patch": {
- "description": "Updates a feature. This method supports patch semantics.",
- "httpMethod": "PATCH",
- "id": "directory.resources.features.patch",
- "parameterOrder": [
- "customer",
- "featureKey"
- ],
- "parameters": {
- "customer": {
- "description": "The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "featureKey": {
- "description": "The unique ID of the feature to update.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/resources/features/{featureKey}",
- "request": {
- "$ref": "Feature"
- },
- "response": {
- "$ref": "Feature"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.resource.calendar"
- ]
- },
- "rename": {
- "description": "Renames a feature.",
- "httpMethod": "POST",
- "id": "directory.resources.features.rename",
- "parameterOrder": [
- "customer",
- "oldName"
- ],
- "parameters": {
- "customer": {
- "description": "The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "oldName": {
- "description": "The unique ID of the feature to rename.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/resources/features/{oldName}/rename",
- "request": {
- "$ref": "FeatureRename"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.resource.calendar"
- ]
- },
- "update": {
- "description": "Updates a feature.",
- "httpMethod": "PUT",
- "id": "directory.resources.features.update",
- "parameterOrder": [
- "customer",
- "featureKey"
- ],
- "parameters": {
- "customer": {
- "description": "The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "featureKey": {
- "description": "The unique ID of the feature to update.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/resources/features/{featureKey}",
- "request": {
- "$ref": "Feature"
- },
- "response": {
- "$ref": "Feature"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.resource.calendar"
- ]
- }
- }
- }
- }
- },
- "roleAssignments": {
- "methods": {
- "delete": {
- "description": "Deletes a role assignment.",
- "httpMethod": "DELETE",
- "id": "directory.roleAssignments.delete",
- "parameterOrder": [
- "customer",
- "roleAssignmentId"
- ],
- "parameters": {
- "customer": {
- "description": "Immutable ID of the G Suite account.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "roleAssignmentId": {
- "description": "Immutable ID of the role assignment.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/roleassignments/{roleAssignmentId}",
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.rolemanagement"
- ]
- },
- "get": {
- "description": "Retrieve a role assignment.",
- "httpMethod": "GET",
- "id": "directory.roleAssignments.get",
- "parameterOrder": [
- "customer",
- "roleAssignmentId"
- ],
- "parameters": {
- "customer": {
- "description": "Immutable ID of the G Suite account.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "roleAssignmentId": {
- "description": "Immutable ID of the role assignment.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/roleassignments/{roleAssignmentId}",
- "response": {
- "$ref": "RoleAssignment"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.rolemanagement",
- "https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly"
- ]
- },
- "insert": {
- "description": "Creates a role assignment.",
- "httpMethod": "POST",
- "id": "directory.roleAssignments.insert",
- "parameterOrder": [
- "customer"
- ],
- "parameters": {
- "customer": {
- "description": "Immutable ID of the G Suite account.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/roleassignments",
- "request": {
- "$ref": "RoleAssignment"
- },
- "response": {
- "$ref": "RoleAssignment"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.rolemanagement"
- ]
- },
- "list": {
- "description": "Retrieves a paginated list of all roleAssignments.",
- "httpMethod": "GET",
- "id": "directory.roleAssignments.list",
- "parameterOrder": [
- "customer"
- ],
- "parameters": {
- "customer": {
- "description": "Immutable ID of the G Suite account.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "maxResults": {
- "description": "Maximum number of results to return.",
- "format": "int32",
- "location": "query",
- "maximum": "200",
- "minimum": "1",
- "type": "integer"
- },
- "pageToken": {
- "description": "Token to specify the next page in the list.",
- "location": "query",
- "type": "string"
- },
- "roleId": {
- "description": "Immutable ID of a role. If included in the request, returns only role assignments containing this role ID.",
- "location": "query",
- "type": "string"
- },
- "userKey": {
- "description": "The user's primary email address, alias email address, or unique user ID. If included in the request, returns role assignments only for this user.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "customer/{customer}/roleassignments",
- "response": {
- "$ref": "RoleAssignments"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.rolemanagement",
- "https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly"
- ]
- }
- }
- },
- "roles": {
- "methods": {
- "delete": {
- "description": "Deletes a role.",
- "httpMethod": "DELETE",
- "id": "directory.roles.delete",
- "parameterOrder": [
- "customer",
- "roleId"
- ],
- "parameters": {
- "customer": {
- "description": "Immutable ID of the G Suite account.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "roleId": {
- "description": "Immutable ID of the role.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/roles/{roleId}",
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.rolemanagement"
- ]
- },
- "get": {
- "description": "Retrieves a role.",
- "httpMethod": "GET",
- "id": "directory.roles.get",
- "parameterOrder": [
- "customer",
- "roleId"
- ],
- "parameters": {
- "customer": {
- "description": "Immutable ID of the G Suite account.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "roleId": {
- "description": "Immutable ID of the role.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/roles/{roleId}",
- "response": {
- "$ref": "Role"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.rolemanagement",
- "https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly"
- ]
- },
- "insert": {
- "description": "Creates a role.",
- "httpMethod": "POST",
- "id": "directory.roles.insert",
- "parameterOrder": [
- "customer"
- ],
- "parameters": {
- "customer": {
- "description": "Immutable ID of the G Suite account.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/roles",
- "request": {
- "$ref": "Role"
- },
- "response": {
- "$ref": "Role"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.rolemanagement"
- ]
- },
- "list": {
- "description": "Retrieves a paginated list of all the roles in a domain.",
- "httpMethod": "GET",
- "id": "directory.roles.list",
- "parameterOrder": [
- "customer"
- ],
- "parameters": {
- "customer": {
- "description": "Immutable ID of the G Suite account.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "maxResults": {
- "description": "Maximum number of results to return.",
- "format": "int32",
- "location": "query",
- "maximum": "100",
- "minimum": "1",
- "type": "integer"
- },
- "pageToken": {
- "description": "Token to specify the next page in the list.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "customer/{customer}/roles",
- "response": {
- "$ref": "Roles"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.rolemanagement",
- "https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly"
- ]
- },
- "patch": {
- "description": "Updates a role. This method supports patch semantics.",
- "httpMethod": "PATCH",
- "id": "directory.roles.patch",
- "parameterOrder": [
- "customer",
- "roleId"
- ],
- "parameters": {
- "customer": {
- "description": "Immutable ID of the G Suite account.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "roleId": {
- "description": "Immutable ID of the role.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/roles/{roleId}",
- "request": {
- "$ref": "Role"
- },
- "response": {
- "$ref": "Role"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.rolemanagement"
- ]
- },
- "update": {
- "description": "Updates a role.",
- "httpMethod": "PUT",
- "id": "directory.roles.update",
- "parameterOrder": [
- "customer",
- "roleId"
- ],
- "parameters": {
- "customer": {
- "description": "Immutable ID of the G Suite account.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "roleId": {
- "description": "Immutable ID of the role.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customer}/roles/{roleId}",
- "request": {
- "$ref": "Role"
- },
- "response": {
- "$ref": "Role"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.rolemanagement"
- ]
- }
- }
- },
- "schemas": {
- "methods": {
- "delete": {
- "description": "Delete schema",
- "httpMethod": "DELETE",
- "id": "directory.schemas.delete",
- "parameterOrder": [
- "customerId",
- "schemaKey"
- ],
- "parameters": {
- "customerId": {
- "description": "Immutable ID of the G Suite account",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "schemaKey": {
- "description": "Name or immutable ID of the schema",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customerId}/schemas/{schemaKey}",
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.userschema"
- ]
- },
- "get": {
- "description": "Retrieve schema",
- "httpMethod": "GET",
- "id": "directory.schemas.get",
- "parameterOrder": [
- "customerId",
- "schemaKey"
- ],
- "parameters": {
- "customerId": {
- "description": "Immutable ID of the G Suite account",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "schemaKey": {
- "description": "Name or immutable ID of the schema",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customerId}/schemas/{schemaKey}",
- "response": {
- "$ref": "Schema"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.userschema",
- "https://www.googleapis.com/auth/admin.directory.userschema.readonly"
- ]
- },
- "insert": {
- "description": "Create schema.",
- "httpMethod": "POST",
- "id": "directory.schemas.insert",
- "parameterOrder": [
- "customerId"
- ],
- "parameters": {
- "customerId": {
- "description": "Immutable ID of the G Suite account",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customerId}/schemas",
- "request": {
- "$ref": "Schema"
- },
- "response": {
- "$ref": "Schema"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.userschema"
- ]
- },
- "list": {
- "description": "Retrieve all schemas for a customer",
- "httpMethod": "GET",
- "id": "directory.schemas.list",
- "parameterOrder": [
- "customerId"
- ],
- "parameters": {
- "customerId": {
- "description": "Immutable ID of the G Suite account",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customerId}/schemas",
- "response": {
- "$ref": "Schemas"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.userschema",
- "https://www.googleapis.com/auth/admin.directory.userschema.readonly"
- ]
- },
- "patch": {
- "description": "Update schema. This method supports patch semantics.",
- "httpMethod": "PATCH",
- "id": "directory.schemas.patch",
- "parameterOrder": [
- "customerId",
- "schemaKey"
- ],
- "parameters": {
- "customerId": {
- "description": "Immutable ID of the G Suite account",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "schemaKey": {
- "description": "Name or immutable ID of the schema.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customerId}/schemas/{schemaKey}",
- "request": {
- "$ref": "Schema"
- },
- "response": {
- "$ref": "Schema"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.userschema"
- ]
- },
- "update": {
- "description": "Update schema",
- "httpMethod": "PUT",
- "id": "directory.schemas.update",
- "parameterOrder": [
- "customerId",
- "schemaKey"
- ],
- "parameters": {
- "customerId": {
- "description": "Immutable ID of the G Suite account",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "schemaKey": {
- "description": "Name or immutable ID of the schema.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "customer/{customerId}/schemas/{schemaKey}",
- "request": {
- "$ref": "Schema"
- },
- "response": {
- "$ref": "Schema"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.userschema"
- ]
- }
- }
- },
- "tokens": {
- "methods": {
- "delete": {
- "description": "Delete all access tokens issued by a user for an application.",
- "httpMethod": "DELETE",
- "id": "directory.tokens.delete",
- "parameterOrder": [
- "userKey",
- "clientId"
- ],
- "parameters": {
- "clientId": {
- "description": "The Client ID of the application the token is issued to.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "userKey": {
- "description": "Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "users/{userKey}/tokens/{clientId}",
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user.security"
- ]
- },
- "get": {
- "description": "Get information about an access token issued by a user.",
- "httpMethod": "GET",
- "id": "directory.tokens.get",
- "parameterOrder": [
- "userKey",
- "clientId"
- ],
- "parameters": {
- "clientId": {
- "description": "The Client ID of the application the token is issued to.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "userKey": {
- "description": "Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "users/{userKey}/tokens/{clientId}",
- "response": {
- "$ref": "Token"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user.security"
- ]
- },
- "list": {
- "description": "Returns the set of tokens specified user has issued to 3rd party applications.",
- "httpMethod": "GET",
- "id": "directory.tokens.list",
- "parameterOrder": [
- "userKey"
- ],
- "parameters": {
- "userKey": {
- "description": "Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "users/{userKey}/tokens",
- "response": {
- "$ref": "Tokens"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user.security"
- ]
- }
- }
- },
- "users": {
- "methods": {
- "delete": {
- "description": "Delete user",
- "httpMethod": "DELETE",
- "id": "directory.users.delete",
- "parameterOrder": [
- "userKey"
- ],
- "parameters": {
- "userKey": {
- "description": "Email or immutable ID of the user",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "users/{userKey}",
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user"
- ]
- },
- "get": {
- "description": "retrieve user",
- "httpMethod": "GET",
- "id": "directory.users.get",
- "parameterOrder": [
- "userKey"
- ],
- "parameters": {
- "customFieldMask": {
- "description": "Comma-separated list of schema names. All fields from these schemas are fetched. This should only be set when projection=custom.",
- "location": "query",
- "type": "string"
- },
- "projection": {
- "default": "basic",
- "description": "What subset of fields to fetch for this user.",
- "enum": [
- "basic",
- "custom",
- "full"
- ],
- "enumDescriptions": [
- "Do not include any custom fields for the user.",
- "Include custom fields from schemas mentioned in customFieldMask.",
- "Include all fields associated with this user."
- ],
- "location": "query",
- "type": "string"
- },
- "userKey": {
- "description": "Email or immutable ID of the user",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "viewType": {
- "default": "admin_view",
- "description": "Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC view of the user.",
- "enum": [
- "admin_view",
- "domain_public"
- ],
- "enumDescriptions": [
- "Fetches the ADMIN_VIEW of the user.",
- "Fetches the DOMAIN_PUBLIC view of the user."
- ],
- "location": "query",
- "type": "string"
- }
- },
- "path": "users/{userKey}",
- "response": {
- "$ref": "User"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user",
- "https://www.googleapis.com/auth/admin.directory.user.readonly"
- ]
- },
- "insert": {
- "description": "create user.",
- "httpMethod": "POST",
- "id": "directory.users.insert",
- "path": "users",
- "request": {
- "$ref": "User"
- },
- "response": {
- "$ref": "User"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user"
- ]
- },
- "list": {
- "description": "Retrieve either deleted users or all users in a domain (paginated)",
- "httpMethod": "GET",
- "id": "directory.users.list",
- "parameters": {
- "customFieldMask": {
- "description": "Comma-separated list of schema names. All fields from these schemas are fetched. This should only be set when projection=custom.",
- "location": "query",
- "type": "string"
- },
- "customer": {
- "description": "Immutable ID of the G Suite account. In case of multi-domain, to fetch all users for a customer, fill this field instead of domain.",
- "location": "query",
- "type": "string"
- },
- "domain": {
- "description": "Name of the domain. Fill this field to get users from only this domain. To return all users in a multi-domain fill customer field instead.",
- "location": "query",
- "type": "string"
- },
- "event": {
- "description": "Event on which subscription is intended (if subscribing)",
- "enum": [
- "add",
- "delete",
- "makeAdmin",
- "undelete",
- "update"
- ],
- "enumDescriptions": [
- "User Created Event",
- "User Deleted Event",
- "User Admin Status Change Event",
- "User Undeleted Event",
- "User Updated Event"
- ],
- "location": "query",
- "type": "string"
- },
- "maxResults": {
- "default": "100",
- "description": "Maximum number of results to return.",
- "format": "int32",
- "location": "query",
- "maximum": "500",
- "minimum": "1",
- "type": "integer"
- },
- "orderBy": {
- "description": "Column to use for sorting results",
- "enum": [
- "email",
- "familyName",
- "givenName"
- ],
- "enumDescriptions": [
- "Primary email of the user.",
- "User's family name.",
- "User's given name."
- ],
- "location": "query",
- "type": "string"
- },
- "pageToken": {
- "description": "Token to specify next page in the list",
- "location": "query",
- "type": "string"
- },
- "projection": {
- "default": "basic",
- "description": "What subset of fields to fetch for this user.",
- "enum": [
- "basic",
- "custom",
- "full"
- ],
- "enumDescriptions": [
- "Do not include any custom fields for the user.",
- "Include custom fields from schemas mentioned in customFieldMask.",
- "Include all fields associated with this user."
- ],
- "location": "query",
- "type": "string"
- },
- "query": {
- "description": "Query string search. Should be of the form \"\". Complete documentation is at https://developers.google.com/admin-sdk/directory/v1/guides/search-users",
- "location": "query",
- "type": "string"
- },
- "showDeleted": {
- "description": "If set to true, retrieves the list of deleted users. (Default: false)",
- "location": "query",
- "type": "string"
- },
- "sortOrder": {
- "description": "Whether to return results in ascending or descending order.",
- "enum": [
- "ASCENDING",
- "DESCENDING"
- ],
- "enumDescriptions": [
- "Ascending order.",
- "Descending order."
- ],
- "location": "query",
- "type": "string"
- },
- "viewType": {
- "default": "admin_view",
- "description": "Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC view of the user.",
- "enum": [
- "admin_view",
- "domain_public"
- ],
- "enumDescriptions": [
- "Fetches the ADMIN_VIEW of the user.",
- "Fetches the DOMAIN_PUBLIC view of the user."
- ],
- "location": "query",
- "type": "string"
- }
- },
- "path": "users",
- "response": {
- "$ref": "Users"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user",
- "https://www.googleapis.com/auth/admin.directory.user.readonly",
- "https://www.googleapis.com/auth/cloud-platform"
- ],
- "supportsSubscription": true
- },
- "makeAdmin": {
- "description": "change admin status of a user",
- "httpMethod": "POST",
- "id": "directory.users.makeAdmin",
- "parameterOrder": [
- "userKey"
- ],
- "parameters": {
- "userKey": {
- "description": "Email or immutable ID of the user as admin",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "users/{userKey}/makeAdmin",
- "request": {
- "$ref": "UserMakeAdmin"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user"
- ]
- },
- "patch": {
- "description": "update user. This method supports patch semantics.",
- "httpMethod": "PATCH",
- "id": "directory.users.patch",
- "parameterOrder": [
- "userKey"
- ],
- "parameters": {
- "userKey": {
- "description": "Email or immutable ID of the user. If ID, it should match with id of user object",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "users/{userKey}",
- "request": {
- "$ref": "User"
- },
- "response": {
- "$ref": "User"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user"
- ]
- },
- "undelete": {
- "description": "Undelete a deleted user",
- "httpMethod": "POST",
- "id": "directory.users.undelete",
- "parameterOrder": [
- "userKey"
- ],
- "parameters": {
- "userKey": {
- "description": "The immutable id of the user",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "users/{userKey}/undelete",
- "request": {
- "$ref": "UserUndelete"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user"
- ]
- },
- "update": {
- "description": "update user",
- "httpMethod": "PUT",
- "id": "directory.users.update",
- "parameterOrder": [
- "userKey"
- ],
- "parameters": {
- "userKey": {
- "description": "Email or immutable ID of the user. If ID, it should match with id of user object",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "users/{userKey}",
- "request": {
- "$ref": "User"
- },
- "response": {
- "$ref": "User"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user"
- ]
- },
- "watch": {
- "description": "Watch for changes in users list",
- "httpMethod": "POST",
- "id": "directory.users.watch",
- "parameters": {
- "customFieldMask": {
- "description": "Comma-separated list of schema names. All fields from these schemas are fetched. This should only be set when projection=custom.",
- "location": "query",
- "type": "string"
- },
- "customer": {
- "description": "Immutable ID of the G Suite account. In case of multi-domain, to fetch all users for a customer, fill this field instead of domain.",
- "location": "query",
- "type": "string"
- },
- "domain": {
- "description": "Name of the domain. Fill this field to get users from only this domain. To return all users in a multi-domain fill customer field instead.",
- "location": "query",
- "type": "string"
- },
- "event": {
- "description": "Event on which subscription is intended (if subscribing)",
- "enum": [
- "add",
- "delete",
- "makeAdmin",
- "undelete",
- "update"
- ],
- "enumDescriptions": [
- "User Created Event",
- "User Deleted Event",
- "User Admin Status Change Event",
- "User Undeleted Event",
- "User Updated Event"
- ],
- "location": "query",
- "type": "string"
- },
- "maxResults": {
- "default": "100",
- "description": "Maximum number of results to return.",
- "format": "int32",
- "location": "query",
- "maximum": "500",
- "minimum": "1",
- "type": "integer"
- },
- "orderBy": {
- "description": "Column to use for sorting results",
- "enum": [
- "email",
- "familyName",
- "givenName"
- ],
- "enumDescriptions": [
- "Primary email of the user.",
- "User's family name.",
- "User's given name."
- ],
- "location": "query",
- "type": "string"
- },
- "pageToken": {
- "description": "Token to specify next page in the list",
- "location": "query",
- "type": "string"
- },
- "projection": {
- "default": "basic",
- "description": "What subset of fields to fetch for this user.",
- "enum": [
- "basic",
- "custom",
- "full"
- ],
- "enumDescriptions": [
- "Do not include any custom fields for the user.",
- "Include custom fields from schemas mentioned in customFieldMask.",
- "Include all fields associated with this user."
- ],
- "location": "query",
- "type": "string"
- },
- "query": {
- "description": "Query string search. Should be of the form \"\". Complete documentation is at https://developers.google.com/admin-sdk/directory/v1/guides/search-users",
- "location": "query",
- "type": "string"
- },
- "showDeleted": {
- "description": "If set to true, retrieves the list of deleted users. (Default: false)",
- "location": "query",
- "type": "string"
- },
- "sortOrder": {
- "description": "Whether to return results in ascending or descending order.",
- "enum": [
- "ASCENDING",
- "DESCENDING"
- ],
- "enumDescriptions": [
- "Ascending order.",
- "Descending order."
- ],
- "location": "query",
- "type": "string"
- },
- "viewType": {
- "default": "admin_view",
- "description": "Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC view of the user.",
- "enum": [
- "admin_view",
- "domain_public"
- ],
- "enumDescriptions": [
- "Fetches the ADMIN_VIEW of the user.",
- "Fetches the DOMAIN_PUBLIC view of the user."
- ],
- "location": "query",
- "type": "string"
- }
- },
- "path": "users/watch",
- "request": {
- "$ref": "Channel",
- "parameterName": "resource"
- },
- "response": {
- "$ref": "Channel"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user",
- "https://www.googleapis.com/auth/admin.directory.user.readonly",
- "https://www.googleapis.com/auth/cloud-platform"
- ],
- "supportsSubscription": true
- }
- },
- "resources": {
- "aliases": {
- "methods": {
- "delete": {
- "description": "Remove a alias for the user",
- "httpMethod": "DELETE",
- "id": "directory.users.aliases.delete",
- "parameterOrder": [
- "userKey",
- "alias"
- ],
- "parameters": {
- "alias": {
- "description": "The alias to be removed",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "userKey": {
- "description": "Email or immutable ID of the user",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "users/{userKey}/aliases/{alias}",
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user",
- "https://www.googleapis.com/auth/admin.directory.user.alias"
- ]
- },
- "insert": {
- "description": "Add a alias for the user",
- "httpMethod": "POST",
- "id": "directory.users.aliases.insert",
- "parameterOrder": [
- "userKey"
- ],
- "parameters": {
- "userKey": {
- "description": "Email or immutable ID of the user",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "users/{userKey}/aliases",
- "request": {
- "$ref": "Alias"
- },
- "response": {
- "$ref": "Alias"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user",
- "https://www.googleapis.com/auth/admin.directory.user.alias"
- ]
- },
- "list": {
- "description": "List all aliases for a user",
- "httpMethod": "GET",
- "id": "directory.users.aliases.list",
- "parameterOrder": [
- "userKey"
- ],
- "parameters": {
- "event": {
- "description": "Event on which subscription is intended (if subscribing)",
- "enum": [
- "add",
- "delete"
- ],
- "enumDescriptions": [
- "Alias Created Event",
- "Alias Deleted Event"
- ],
- "location": "query",
- "type": "string"
- },
- "userKey": {
- "description": "Email or immutable ID of the user",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "users/{userKey}/aliases",
- "response": {
- "$ref": "Aliases"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user",
- "https://www.googleapis.com/auth/admin.directory.user.alias",
- "https://www.googleapis.com/auth/admin.directory.user.alias.readonly",
- "https://www.googleapis.com/auth/admin.directory.user.readonly"
- ],
- "supportsSubscription": true
- },
- "watch": {
- "description": "Watch for changes in user aliases list",
- "httpMethod": "POST",
- "id": "directory.users.aliases.watch",
- "parameterOrder": [
- "userKey"
- ],
- "parameters": {
- "event": {
- "description": "Event on which subscription is intended (if subscribing)",
- "enum": [
- "add",
- "delete"
- ],
- "enumDescriptions": [
- "Alias Created Event",
- "Alias Deleted Event"
- ],
- "location": "query",
- "type": "string"
- },
- "userKey": {
- "description": "Email or immutable ID of the user",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "users/{userKey}/aliases/watch",
- "request": {
- "$ref": "Channel",
- "parameterName": "resource"
- },
- "response": {
- "$ref": "Channel"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user",
- "https://www.googleapis.com/auth/admin.directory.user.alias",
- "https://www.googleapis.com/auth/admin.directory.user.alias.readonly",
- "https://www.googleapis.com/auth/admin.directory.user.readonly"
- ],
- "supportsSubscription": true
- }
- }
- },
- "photos": {
- "methods": {
- "delete": {
- "description": "Remove photos for the user",
- "httpMethod": "DELETE",
- "id": "directory.users.photos.delete",
- "parameterOrder": [
- "userKey"
- ],
- "parameters": {
- "userKey": {
- "description": "Email or immutable ID of the user",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "users/{userKey}/photos/thumbnail",
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user"
- ]
- },
- "get": {
- "description": "Retrieve photo of a user",
- "httpMethod": "GET",
- "id": "directory.users.photos.get",
- "parameterOrder": [
- "userKey"
- ],
- "parameters": {
- "userKey": {
- "description": "Email or immutable ID of the user",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "users/{userKey}/photos/thumbnail",
- "response": {
- "$ref": "UserPhoto"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user",
- "https://www.googleapis.com/auth/admin.directory.user.readonly"
- ]
- },
- "patch": {
- "description": "Add a photo for the user. This method supports patch semantics.",
- "httpMethod": "PATCH",
- "id": "directory.users.photos.patch",
- "parameterOrder": [
- "userKey"
- ],
- "parameters": {
- "userKey": {
- "description": "Email or immutable ID of the user",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "users/{userKey}/photos/thumbnail",
- "request": {
- "$ref": "UserPhoto"
- },
- "response": {
- "$ref": "UserPhoto"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user"
- ]
- },
- "update": {
- "description": "Add a photo for the user",
- "httpMethod": "PUT",
- "id": "directory.users.photos.update",
- "parameterOrder": [
- "userKey"
- ],
- "parameters": {
- "userKey": {
- "description": "Email or immutable ID of the user",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "users/{userKey}/photos/thumbnail",
- "request": {
- "$ref": "UserPhoto"
- },
- "response": {
- "$ref": "UserPhoto"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user"
- ]
- }
- }
- }
- }
- },
- "verificationCodes": {
- "methods": {
- "generate": {
- "description": "Generate new backup verification codes for the user.",
- "httpMethod": "POST",
- "id": "directory.verificationCodes.generate",
- "parameterOrder": [
- "userKey"
- ],
- "parameters": {
- "userKey": {
- "description": "Email or immutable ID of the user",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "users/{userKey}/verificationCodes/generate",
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user.security"
- ]
- },
- "invalidate": {
- "description": "Invalidate the current backup verification codes for the user.",
- "httpMethod": "POST",
- "id": "directory.verificationCodes.invalidate",
- "parameterOrder": [
- "userKey"
- ],
- "parameters": {
- "userKey": {
- "description": "Email or immutable ID of the user",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "users/{userKey}/verificationCodes/invalidate",
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user.security"
- ]
- },
- "list": {
- "description": "Returns the current set of valid backup verification codes for the specified user.",
- "httpMethod": "GET",
- "id": "directory.verificationCodes.list",
- "parameterOrder": [
- "userKey"
- ],
- "parameters": {
- "userKey": {
- "description": "Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "users/{userKey}/verificationCodes",
- "response": {
- "$ref": "VerificationCodes"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.directory.user.security"
- ]
- }
- }
- }
- },
- "revision": "20200204",
- "rootUrl": "https://www.googleapis.com/",
- "schemas": {
- "Alias": {
- "description": "JSON template for Alias object in Directory API.",
- "id": "Alias",
- "properties": {
- "alias": {
- "description": "A alias email",
- "type": "string"
- },
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "id": {
- "description": "Unique id of the group (Read-only) Unique id of the user (Read-only)",
- "type": "string"
- },
- "kind": {
- "default": "admin#directory#alias",
- "description": "Kind of resource this is.",
- "type": "string"
- },
- "primaryEmail": {
- "description": "Group's primary email (Read-only) User's primary email (Read-only)",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Aliases": {
- "description": "JSON response template to list aliases in Directory API.",
- "id": "Aliases",
- "properties": {
- "aliases": {
- "description": "List of alias objects.",
- "items": {
- "type": "any"
- },
- "type": "array"
- },
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "kind": {
- "default": "admin#directory#aliases",
- "description": "Kind of resource this is.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Asp": {
- "description": "The template that returns individual ASP (Access Code) data.",
- "id": "Asp",
- "properties": {
- "codeId": {
- "description": "The unique ID of the ASP.",
- "format": "int32",
- "type": "integer"
- },
- "creationTime": {
- "description": "The time when the ASP was created. Expressed in Unix time format.",
- "format": "int64",
- "type": "string"
- },
- "etag": {
- "description": "ETag of the ASP.",
- "type": "string"
- },
- "kind": {
- "default": "admin#directory#asp",
- "description": "The type of the API resource. This is always admin#directory#asp.",
- "type": "string"
- },
- "lastTimeUsed": {
- "description": "The time when the ASP was last used. Expressed in Unix time format.",
- "format": "int64",
- "type": "string"
- },
- "name": {
- "description": "The name of the application that the user, represented by their userId, entered when the ASP was created.",
- "type": "string"
- },
- "userKey": {
- "description": "The unique ID of the user who issued the ASP.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Asps": {
- "id": "Asps",
- "properties": {
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "items": {
- "description": "A list of ASP resources.",
- "items": {
- "$ref": "Asp"
- },
- "type": "array"
- },
- "kind": {
- "default": "admin#directory#aspList",
- "description": "The type of the API resource. This is always admin#directory#aspList.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Building": {
- "description": "JSON template for Building object in Directory API.",
- "id": "Building",
- "properties": {
- "address": {
- "$ref": "BuildingAddress",
- "description": "The postal address of the building. See PostalAddress for details. Note that only a single address line and region code are required."
- },
- "buildingId": {
- "description": "Unique identifier for the building. The maximum length is 100 characters.",
- "type": "string"
- },
- "buildingName": {
- "description": "The building name as seen by users in Calendar. Must be unique for the customer. For example, \"NYC-CHEL\". The maximum length is 100 characters.",
- "type": "string"
- },
- "coordinates": {
- "$ref": "BuildingCoordinates",
- "description": "The geographic coordinates of the center of the building, expressed as latitude and longitude in decimal degrees."
- },
- "description": {
- "description": "A brief description of the building. For example, \"Chelsea Market\".",
- "type": "string"
- },
- "etags": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "floorNames": {
- "description": "The display names for all floors in this building. The floors are expected to be sorted in ascending order, from lowest floor to highest floor. For example, [\"B2\", \"B1\", \"L\", \"1\", \"2\", \"2M\", \"3\", \"PH\"] Must contain at least one entry.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "kind": {
- "default": "admin#directory#resources#buildings#Building",
- "description": "Kind of resource this is.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "BuildingAddress": {
- "description": "JSON template for the postal address of a building in Directory API.",
- "id": "BuildingAddress",
- "properties": {
- "addressLines": {
- "description": "Unstructured address lines describing the lower levels of an address.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "administrativeArea": {
- "description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region.",
- "type": "string"
- },
- "languageCode": {
- "description": "Optional. BCP-47 language code of the contents of this address (if known).",
- "type": "string"
- },
- "locality": {
- "description": "Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use addressLines.",
- "type": "string"
- },
- "postalCode": {
- "description": "Optional. Postal code of the address.",
- "type": "string"
- },
- "regionCode": {
- "description": "Required. CLDR region code of the country/region of the address.",
- "type": "string"
- },
- "sublocality": {
- "description": "Optional. Sublocality of the address.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "BuildingCoordinates": {
- "description": "JSON template for coordinates of a building in Directory API.",
- "id": "BuildingCoordinates",
- "properties": {
- "latitude": {
- "description": "Latitude in decimal degrees.",
- "format": "double",
- "type": "number"
- },
- "longitude": {
- "description": "Longitude in decimal degrees.",
- "format": "double",
- "type": "number"
- }
- },
- "type": "object"
- },
- "Buildings": {
- "description": "JSON template for Building List Response object in Directory API.",
- "id": "Buildings",
- "properties": {
- "buildings": {
- "description": "The Buildings in this page of results.",
- "items": {
- "$ref": "Building"
- },
- "type": "array"
- },
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "kind": {
- "default": "admin#directory#resources#buildings#buildingsList",
- "description": "Kind of resource this is.",
- "type": "string"
- },
- "nextPageToken": {
- "description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CalendarResource": {
- "description": "JSON template for Calendar Resource object in Directory API.",
- "id": "CalendarResource",
- "properties": {
- "buildingId": {
- "description": "Unique ID for the building a resource is located in.",
- "type": "string"
- },
- "capacity": {
- "description": "Capacity of a resource, number of seats in a room.",
- "format": "int32",
- "type": "integer"
- },
- "etags": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "featureInstances": {
- "type": "any"
- },
- "floorName": {
- "description": "Name of the floor a resource is located on.",
- "type": "string"
- },
- "floorSection": {
- "description": "Name of the section within a floor a resource is located in.",
- "type": "string"
- },
- "generatedResourceName": {
- "description": "The read-only auto-generated name of the calendar resource which includes metadata about the resource such as building name, floor, capacity, etc. For example, \"NYC-2-Training Room 1A (16)\".",
- "type": "string"
- },
- "kind": {
- "default": "admin#directory#resources#calendars#CalendarResource",
- "description": "The type of the resource. For calendar resources, the value is admin#directory#resources#calendars#CalendarResource.",
- "type": "string"
- },
- "resourceCategory": {
- "description": "The category of the calendar resource. Either CONFERENCE_ROOM or OTHER. Legacy data is set to CATEGORY_UNKNOWN.",
- "type": "string"
- },
- "resourceDescription": {
- "description": "Description of the resource, visible only to admins.",
- "type": "string"
- },
- "resourceEmail": {
- "description": "The read-only email for the calendar resource. Generated as part of creating a new calendar resource.",
- "type": "string"
- },
- "resourceId": {
- "annotations": {
- "required": [
- "directory.resources.calendars.insert"
- ]
- },
- "description": "The unique ID for the calendar resource.",
- "type": "string"
- },
- "resourceName": {
- "annotations": {
- "required": [
- "directory.resources.calendars.insert"
- ]
- },
- "description": "The name of the calendar resource. For example, \"Training Room 1A\".",
- "type": "string"
- },
- "resourceType": {
- "description": "The type of the calendar resource, intended for non-room resources.",
- "type": "string"
- },
- "userVisibleDescription": {
- "description": "Description of the resource, visible to users and admins.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CalendarResources": {
- "description": "JSON template for Calendar Resource List Response object in Directory API.",
- "id": "CalendarResources",
- "properties": {
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "items": {
- "description": "The CalendarResources in this page of results.",
- "items": {
- "$ref": "CalendarResource"
- },
- "type": "array"
- },
- "kind": {
- "default": "admin#directory#resources#calendars#calendarResourcesList",
- "description": "Identifies this as a collection of CalendarResources. This is always admin#directory#resources#calendars#calendarResourcesList.",
- "type": "string"
- },
- "nextPageToken": {
- "description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Channel": {
- "description": "An notification channel used to watch for resource changes.",
- "id": "Channel",
- "properties": {
- "address": {
- "description": "The address where notifications are delivered for this channel.",
- "type": "string"
- },
- "expiration": {
- "description": "Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.",
- "format": "int64",
- "type": "string"
- },
- "id": {
- "description": "A UUID or similar unique string that identifies this channel.",
- "type": "string"
- },
- "kind": {
- "default": "api#channel",
- "description": "Identifies this as a notification channel used to watch for changes to a resource, which is \"api#channel\".",
- "type": "string"
- },
- "params": {
- "additionalProperties": {
- "description": "Declares a new parameter by name.",
- "type": "string"
- },
- "description": "Additional parameters controlling delivery channel behavior. Optional.",
- "type": "object"
- },
- "payload": {
- "description": "A Boolean value to indicate whether payload is wanted. Optional.",
- "type": "boolean"
- },
- "resourceId": {
- "description": "An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.",
- "type": "string"
- },
- "resourceUri": {
- "description": "A version-specific identifier for the watched resource.",
- "type": "string"
- },
- "token": {
- "description": "An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.",
- "type": "string"
- },
- "type": {
- "description": "The type of delivery mechanism used for this channel.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ChromeOsDevice": {
- "description": "JSON template for Chrome Os Device resource in Directory API.",
- "id": "ChromeOsDevice",
- "properties": {
- "activeTimeRanges": {
- "description": "List of active time ranges (Read-only)",
- "items": {
- "properties": {
- "activeTime": {
- "description": "Duration in milliseconds",
- "format": "int32",
- "type": "integer"
- },
- "date": {
- "description": "Date of usage",
- "format": "date",
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "annotatedAssetId": {
- "description": "AssetId specified during enrollment or through later annotation",
- "type": "string"
- },
- "annotatedLocation": {
- "description": "Address or location of the device as noted by the administrator",
- "type": "string"
- },
- "annotatedUser": {
- "description": "User of the device",
- "type": "string"
- },
- "autoUpdateExpiration": {
- "description": "(Read-only) The timestamp after which the device will stop receiving Chrome updates or support",
- "format": "int64",
- "type": "string"
- },
- "bootMode": {
- "description": "Chromebook boot mode (Read-only)",
- "type": "string"
- },
- "cpuStatusReports": {
- "description": "Reports of CPU utilization and temperature (Read-only)",
- "items": {
- "properties": {
- "cpuTemperatureInfo": {
- "description": "List of CPU temperature samples.",
- "items": {
- "properties": {
- "label": {
- "description": "CPU label",
- "type": "string"
- },
- "temperature": {
- "description": "Temperature in Celsius degrees.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "cpuUtilizationPercentageInfo": {
- "items": {
- "format": "int32",
- "type": "integer"
- },
- "type": "array"
- },
- "reportTime": {
- "description": "Date and time the report was received.",
- "format": "date-time",
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "deviceFiles": {
- "description": "List of device files to download (Read-only)",
- "items": {
- "properties": {
- "createTime": {
- "description": "Date and time the file was created",
- "format": "date-time",
- "type": "string"
- },
- "downloadUrl": {
- "description": "File download URL",
- "type": "string"
- },
- "name": {
- "description": "File name",
- "type": "string"
- },
- "type": {
- "description": "File type",
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "deviceId": {
- "description": "Unique identifier of Chrome OS Device (Read-only)",
- "type": "string"
- },
- "diskVolumeReports": {
- "description": "Reports of disk space and other info about mounted/connected volumes.",
- "items": {
- "properties": {
- "volumeInfo": {
- "description": "Disk volumes",
- "items": {
- "properties": {
- "storageFree": {
- "description": "Free disk space [in bytes]",
- "format": "int64",
- "type": "string"
- },
- "storageTotal": {
- "description": "Total disk space [in bytes]",
- "format": "int64",
- "type": "string"
- },
- "volumeId": {
- "description": "Volume id",
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "dockMacAddress": {
- "description": "(Read-only) Built-in MAC address for the docking station that the device connected to. Factory sets Media access control address (MAC address) assigned for use by a dock. Currently this is only supported on the Dell Arcada / Sarien devices and the Dell WD19 / WD19TB Docking Station. It is reserved specifically for MAC pass through device policy. The format is twelve (12) hexadecimal digits without any delimiter (uppercase letters). This is only relevant for Dell devices.",
- "type": "string"
- },
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "ethernetMacAddress": {
- "description": "Chromebook Mac Address on ethernet network interface (Read-only)",
- "type": "string"
- },
- "ethernetMacAddress0": {
- "description": "(Read-only) MAC address used by the Chromebook\u2019s internal ethernet port, and for onboard network (ethernet) interface. The format is twelve (12) hexadecimal digits without any delimiter (uppercase letters). This is only relevant for some devices.",
- "type": "string"
- },
- "firmwareVersion": {
- "description": "Chromebook firmware version (Read-only)",
- "type": "string"
- },
- "kind": {
- "default": "admin#directory#chromeosdevice",
- "description": "Kind of resource this is.",
- "type": "string"
- },
- "lastEnrollmentTime": {
- "description": "Date and time the device was last enrolled (Read-only)",
- "format": "date-time",
- "type": "string"
- },
- "lastSync": {
- "description": "Date and time the device was last synchronized with the policy settings in the G Suite administrator control panel (Read-only)",
- "format": "date-time",
- "type": "string"
- },
- "macAddress": {
- "description": "Chromebook Mac Address on wifi network interface (Read-only)",
- "type": "string"
- },
- "manufactureDate": {
- "description": "(Read-only) The date the device was manufactured in yyyy-mm-dd format.",
- "type": "string"
- },
- "meid": {
- "description": "Contains either the Mobile Equipment identifier (MEID) or the International Mobile Equipment Identity (IMEI) for the 3G mobile card in the Chromebook (Read-only)",
- "type": "string"
- },
- "model": {
- "description": "Chromebook Model (Read-only)",
- "type": "string"
- },
- "notes": {
- "description": "Notes added by the administrator",
- "type": "string"
- },
- "orderNumber": {
- "description": "Chromebook order number (Read-only)",
- "type": "string"
- },
- "orgUnitPath": {
- "description": "OrgUnit of the device",
- "type": "string"
- },
- "osVersion": {
- "description": "Chromebook Os Version (Read-only)",
- "type": "string"
- },
- "platformVersion": {
- "description": "Chromebook platform version (Read-only)",
- "type": "string"
- },
- "recentUsers": {
- "description": "List of recent device users, in descending order by last login time (Read-only)",
- "items": {
- "properties": {
- "email": {
- "description": "Email address of the user. Present only if the user type is managed",
- "type": "string"
- },
- "type": {
- "description": "The type of the user",
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "serialNumber": {
- "description": "Chromebook serial number (Read-only)",
- "type": "string"
- },
- "status": {
- "description": "status of the device (Read-only)",
- "type": "string"
- },
- "supportEndDate": {
- "description": "Final date the device will be supported (Read-only)",
- "format": "date-time",
- "type": "string"
- },
- "systemRamFreeReports": {
- "description": "Reports of amounts of available RAM memory (Read-only)",
- "items": {
- "properties": {
- "reportTime": {
- "description": "Date and time the report was received.",
- "format": "date-time",
- "type": "string"
- },
- "systemRamFreeInfo": {
- "items": {
- "format": "int64",
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "systemRamTotal": {
- "description": "Total RAM on the device [in bytes] (Read-only)",
- "format": "int64",
- "type": "string"
- },
- "tpmVersionInfo": {
- "description": "Trusted Platform Module (TPM) (Read-only)",
- "properties": {
- "family": {
- "description": "TPM family.",
- "type": "string"
- },
- "firmwareVersion": {
- "description": "TPM firmware version.",
- "type": "string"
- },
- "manufacturer": {
- "description": "TPM manufacturer code.",
- "type": "string"
- },
- "specLevel": {
- "description": "TPM specification level.",
- "type": "string"
- },
- "tpmModel": {
- "description": "TPM model number.",
- "type": "string"
- },
- "vendorSpecific": {
- "description": "Vendor-specific information such as Vendor ID.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "willAutoRenew": {
- "description": "Will Chromebook auto renew after support end date (Read-only)",
- "type": "boolean"
- }
- },
- "type": "object"
- },
- "ChromeOsDeviceAction": {
- "description": "JSON request template for firing actions on ChromeOs Device in Directory Devices API.",
- "id": "ChromeOsDeviceAction",
- "properties": {
- "action": {
- "annotations": {
- "required": [
- "directory.chromeosdevices.action"
- ]
- },
- "description": "Action to be taken on the ChromeOs Device",
- "type": "string"
- },
- "deprovisionReason": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "ChromeOsDevices": {
- "description": "JSON response template for List Chrome OS Devices operation in Directory API.",
- "id": "ChromeOsDevices",
- "properties": {
- "chromeosdevices": {
- "description": "List of Chrome OS Device objects.",
- "items": {
- "$ref": "ChromeOsDevice"
- },
- "type": "array"
- },
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "kind": {
- "default": "admin#directory#chromeosdevices",
- "description": "Kind of resource this is.",
- "type": "string"
- },
- "nextPageToken": {
- "description": "Token used to access next page of this result.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ChromeOsMoveDevicesToOu": {
- "description": "JSON request template for moving ChromeOs Device to given OU in Directory Devices API.",
- "id": "ChromeOsMoveDevicesToOu",
- "properties": {
- "deviceIds": {
- "annotations": {
- "required": [
- "directory.chromeosdevices.moveDevicesToOu"
- ]
- },
- "description": "ChromeOs Devices to be moved to OU",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Customer": {
- "description": "JSON template for Customer Resource object in Directory API.",
- "id": "Customer",
- "properties": {
- "alternateEmail": {
- "description": "The customer's secondary contact email address. This email address cannot be on the same domain as the customerDomain",
- "type": "string"
- },
- "customerCreationTime": {
- "description": "The customer's creation time (Readonly)",
- "format": "date-time",
- "type": "string"
- },
- "customerDomain": {
- "description": "The customer's primary domain name string. Do not include the www prefix when creating a new customer.",
- "type": "string"
- },
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "id": {
- "description": "The unique ID for the customer's G Suite account. (Readonly)",
- "type": "string"
- },
- "kind": {
- "default": "admin#directory#customer",
- "description": "Identifies the resource as a customer. Value: admin#directory#customer",
- "type": "string"
- },
- "language": {
- "description": "The customer's ISO 639-2 language code. The default value is en-US",
- "type": "string"
- },
- "phoneNumber": {
- "description": "The customer's contact phone number in E.164 format.",
- "type": "string"
- },
- "postalAddress": {
- "$ref": "CustomerPostalAddress",
- "description": "The customer's postal address information."
- }
- },
- "type": "object"
- },
- "CustomerPostalAddress": {
- "description": "JSON template for postal address of a customer.",
- "id": "CustomerPostalAddress",
- "properties": {
- "addressLine1": {
- "description": "A customer's physical address. The address can be composed of one to three lines.",
- "type": "string"
- },
- "addressLine2": {
- "description": "Address line 2 of the address.",
- "type": "string"
- },
- "addressLine3": {
- "description": "Address line 3 of the address.",
- "type": "string"
- },
- "contactName": {
- "description": "The customer contact's name.",
- "type": "string"
- },
- "countryCode": {
- "description": "This is a required property. For countryCode information see the ISO 3166 country code elements.",
- "type": "string"
- },
- "locality": {
- "description": "Name of the locality. An example of a locality value is the city of San Francisco.",
- "type": "string"
- },
- "organizationName": {
- "description": "The company or company division name.",
- "type": "string"
- },
- "postalCode": {
- "description": "The postal code. A postalCode example is a postal zip code such as 10009. This is in accordance with - http://portablecontacts.net/draft-spec.html#address_element.",
- "type": "string"
- },
- "region": {
- "description": "Name of the region. An example of a region value is NY for the state of New York.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DomainAlias": {
- "description": "JSON template for Domain Alias object in Directory API.",
- "id": "DomainAlias",
- "properties": {
- "creationTime": {
- "description": "The creation time of the domain alias. (Read-only).",
- "format": "int64",
- "type": "string"
- },
- "domainAliasName": {
- "description": "The domain alias name.",
- "type": "string"
- },
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "kind": {
- "default": "admin#directory#domainAlias",
- "description": "Kind of resource this is.",
- "type": "string"
- },
- "parentDomainName": {
- "annotations": {
- "required": [
- "directory.domains.insert"
- ]
- },
- "description": "The parent domain name that the domain alias is associated with. This can either be a primary or secondary domain name within a customer.",
- "type": "string"
- },
- "verified": {
- "description": "Indicates the verification state of a domain alias. (Read-only)",
- "type": "boolean"
- }
- },
- "type": "object"
- },
- "DomainAliases": {
- "description": "JSON response template to list domain aliases in Directory API.",
- "id": "DomainAliases",
- "properties": {
- "domainAliases": {
- "description": "List of domain alias objects.",
- "items": {
- "$ref": "DomainAlias"
- },
- "type": "array"
- },
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "kind": {
- "default": "admin#directory#domainAliases",
- "description": "Kind of resource this is.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Domains": {
- "description": "JSON template for Domain object in Directory API.",
- "id": "Domains",
- "properties": {
- "creationTime": {
- "description": "Creation time of the domain. (Read-only).",
- "format": "int64",
- "type": "string"
- },
- "domainAliases": {
- "description": "List of domain alias objects. (Read-only)",
- "items": {
- "$ref": "DomainAlias"
- },
- "type": "array"
- },
- "domainName": {
- "annotations": {
- "required": [
- "directory.domains.insert"
- ]
- },
- "description": "The domain name of the customer.",
- "type": "string"
- },
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "isPrimary": {
- "description": "Indicates if the domain is a primary domain (Read-only).",
- "type": "boolean"
- },
- "kind": {
- "default": "admin#directory#domain",
- "description": "Kind of resource this is.",
- "type": "string"
- },
- "verified": {
- "description": "Indicates the verification state of a domain. (Read-only).",
- "type": "boolean"
- }
- },
- "type": "object"
- },
- "Domains2": {
- "description": "JSON response template to list Domains in Directory API.",
- "id": "Domains2",
- "properties": {
- "domains": {
- "description": "List of domain objects.",
- "items": {
- "$ref": "Domains"
- },
- "type": "array"
- },
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "kind": {
- "default": "admin#directory#domains",
- "description": "Kind of resource this is.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Feature": {
- "description": "JSON template for Feature object in Directory API.",
- "id": "Feature",
- "properties": {
- "etags": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "kind": {
- "default": "admin#directory#resources#features#Feature",
- "description": "Kind of resource this is.",
- "type": "string"
- },
- "name": {
- "annotations": {
- "required": [
- "directory.resources.features.insert"
- ]
- },
- "description": "The name of the feature.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "FeatureInstance": {
- "description": "JSON template for a \"feature instance\".",
- "id": "FeatureInstance",
- "properties": {
- "feature": {
- "$ref": "Feature",
- "description": "The feature that this is an instance of. A calendar resource may have multiple instances of a feature."
- }
- },
- "type": "object"
- },
- "FeatureRename": {
- "description": "JSON request template for renaming a feature.",
- "id": "FeatureRename",
- "properties": {
- "newName": {
- "annotations": {
- "required": [
- "directory.resources.features.rename"
- ]
- },
- "description": "New name of the feature.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Features": {
- "description": "JSON template for Feature List Response object in Directory API.",
- "id": "Features",
- "properties": {
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "features": {
- "description": "The Features in this page of results.",
- "items": {
- "$ref": "Feature"
- },
- "type": "array"
- },
- "kind": {
- "default": "admin#directory#resources#features#featuresList",
- "description": "Kind of resource this is.",
- "type": "string"
- },
- "nextPageToken": {
- "description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Group": {
- "description": "JSON template for Group resource in Directory API.",
- "id": "Group",
- "properties": {
- "adminCreated": {
- "description": "Is the group created by admin (Read-only) *",
- "type": "boolean"
- },
- "aliases": {
- "description": "List of aliases (Read-only)",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "description": {
- "description": "Description of the group",
- "type": "string"
- },
- "directMembersCount": {
- "description": "Group direct members count",
- "format": "int64",
- "type": "string"
- },
- "email": {
- "annotations": {
- "required": [
- "directory.groups.insert"
- ]
- },
- "description": "Email of Group",
- "type": "string"
- },
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "id": {
- "description": "Unique identifier of Group (Read-only)",
- "type": "string"
- },
- "kind": {
- "default": "admin#directory#group",
- "description": "Kind of resource this is.",
- "type": "string"
- },
- "name": {
- "description": "Group name",
- "type": "string"
- },
- "nonEditableAliases": {
- "description": "List of non editable aliases (Read-only)",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Groups": {
- "description": "JSON response template for List Groups operation in Directory API.",
- "id": "Groups",
- "properties": {
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "groups": {
- "description": "List of group objects.",
- "items": {
- "$ref": "Group"
- },
- "type": "array"
- },
- "kind": {
- "default": "admin#directory#groups",
- "description": "Kind of resource this is.",
- "type": "string"
- },
- "nextPageToken": {
- "description": "Token used to access next page of this result.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Member": {
- "description": "JSON template for Member resource in Directory API.",
- "id": "Member",
- "properties": {
- "delivery_settings": {
- "description": "Delivery settings of member",
- "type": "string"
- },
- "email": {
- "description": "Email of member (Read-only)",
- "type": "string"
- },
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "id": {
- "description": "The unique ID of the group member. A member id can be used as a member request URI's memberKey. Unique identifier of group (Read-only) Unique identifier of member (Read-only)",
- "type": "string"
- },
- "kind": {
- "default": "admin#directory#member",
- "description": "Kind of resource this is.",
- "type": "string"
- },
- "role": {
- "description": "Role of member",
- "type": "string"
- },
- "status": {
- "description": "Status of member (Immutable)",
- "type": "string"
- },
- "type": {
- "description": "Type of member (Immutable)",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Members": {
- "description": "JSON response template for List Members operation in Directory API.",
- "id": "Members",
- "properties": {
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "kind": {
- "default": "admin#directory#members",
- "description": "Kind of resource this is.",
- "type": "string"
- },
- "members": {
- "description": "List of member objects.",
- "items": {
- "$ref": "Member"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "Token used to access next page of this result.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "MembersHasMember": {
- "description": "JSON template for Has Member response in Directory API.",
- "id": "MembersHasMember",
- "properties": {
- "isMember": {
- "description": "Identifies whether the given user is a member of the group. Membership can be direct or nested.",
- "readOnly": true,
- "type": "boolean"
- }
- },
- "type": "object"
- },
- "MobileDevice": {
- "description": "JSON template for Mobile Device resource in Directory API.",
- "id": "MobileDevice",
- "properties": {
- "adbStatus": {
- "description": "Adb (USB debugging) enabled or disabled on device (Read-only)",
- "type": "boolean"
- },
- "applications": {
- "description": "List of applications installed on Mobile Device",
- "items": {
- "properties": {
- "displayName": {
- "description": "Display name of application",
- "type": "string"
- },
- "packageName": {
- "description": "Package name of application",
- "type": "string"
- },
- "permission": {
- "description": "List of Permissions for application",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "versionCode": {
- "description": "Version code of application",
- "format": "int32",
- "type": "integer"
- },
- "versionName": {
- "description": "Version name of application",
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "basebandVersion": {
- "description": "Mobile Device Baseband version (Read-only)",
- "type": "string"
- },
- "bootloaderVersion": {
- "description": "Mobile Device Bootloader version (Read-only)",
- "type": "string"
- },
- "brand": {
- "description": "Mobile Device Brand (Read-only)",
- "type": "string"
- },
- "buildNumber": {
- "description": "Mobile Device Build number (Read-only)",
- "type": "string"
- },
- "defaultLanguage": {
- "description": "The default locale used on the Mobile Device (Read-only)",
- "type": "string"
- },
- "developerOptionsStatus": {
- "description": "Developer options enabled or disabled on device (Read-only)",
- "type": "boolean"
- },
- "deviceCompromisedStatus": {
- "description": "Mobile Device compromised status (Read-only)",
- "type": "string"
- },
- "deviceId": {
- "description": "Mobile Device serial number (Read-only)",
- "type": "string"
- },
- "devicePasswordStatus": {
- "description": "DevicePasswordStatus (Read-only)",
- "type": "string"
- },
- "email": {
- "description": "List of owner user's email addresses (Read-only)",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "encryptionStatus": {
- "description": "Mobile Device Encryption Status (Read-only)",
- "type": "string"
- },
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "firstSync": {
- "description": "Date and time the device was first synchronized with the policy settings in the G Suite administrator control panel (Read-only)",
- "format": "date-time",
- "type": "string"
- },
- "hardware": {
- "description": "Mobile Device Hardware (Read-only)",
- "type": "string"
- },
- "hardwareId": {
- "description": "Mobile Device Hardware Id (Read-only)",
- "type": "string"
- },
- "imei": {
- "description": "Mobile Device IMEI number (Read-only)",
- "type": "string"
- },
- "kernelVersion": {
- "description": "Mobile Device Kernel version (Read-only)",
- "type": "string"
- },
- "kind": {
- "default": "admin#directory#mobiledevice",
- "description": "Kind of resource this is.",
- "type": "string"
- },
- "lastSync": {
- "description": "Date and time the device was last synchronized with the policy settings in the G Suite administrator control panel (Read-only)",
- "format": "date-time",
- "type": "string"
- },
- "managedAccountIsOnOwnerProfile": {
- "description": "Boolean indicating if this account is on owner/primary profile or not (Read-only)",
- "type": "boolean"
- },
- "manufacturer": {
- "description": "Mobile Device manufacturer (Read-only)",
- "type": "string"
- },
- "meid": {
- "description": "Mobile Device MEID number (Read-only)",
- "type": "string"
- },
- "model": {
- "description": "Name of the model of the device",
- "type": "string"
- },
- "name": {
- "description": "List of owner user's names (Read-only)",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "networkOperator": {
- "description": "Mobile Device mobile or network operator (if available) (Read-only)",
- "type": "string"
- },
- "os": {
- "description": "Name of the mobile operating system",
- "type": "string"
- },
- "otherAccountsInfo": {
- "description": "List of accounts added on device (Read-only)",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "privilege": {
- "description": "DMAgentPermission (Read-only)",
- "type": "string"
- },
- "releaseVersion": {
- "description": "Mobile Device release version version (Read-only)",
- "type": "string"
- },
- "resourceId": {
- "description": "Unique identifier of Mobile Device (Read-only)",
- "type": "string"
- },
- "securityPatchLevel": {
- "description": "Mobile Device Security patch level (Read-only)",
- "format": "int64",
- "type": "string"
- },
- "serialNumber": {
- "description": "Mobile Device SSN or Serial Number (Read-only)",
- "type": "string"
- },
- "status": {
- "description": "Status of the device (Read-only)",
- "type": "string"
- },
- "supportsWorkProfile": {
- "description": "Work profile supported on device (Read-only)",
- "type": "boolean"
- },
- "type": {
- "description": "The type of device (Read-only)",
- "type": "string"
- },
- "unknownSourcesStatus": {
- "description": "Unknown sources enabled or disabled on device (Read-only)",
- "type": "boolean"
- },
- "userAgent": {
- "description": "Mobile Device user agent",
- "type": "string"
- },
- "wifiMacAddress": {
- "description": "Mobile Device WiFi MAC address (Read-only)",
- "type": "string"
- }
- },
- "type": "object"
- },
- "MobileDeviceAction": {
- "description": "JSON request template for firing commands on Mobile Device in Directory Devices API.",
- "id": "MobileDeviceAction",
- "properties": {
- "action": {
- "annotations": {
- "required": [
- "directory.mobiledevices.action"
- ]
- },
- "description": "Action to be taken on the Mobile Device",
- "type": "string"
- }
- },
- "type": "object"
- },
- "MobileDevices": {
- "description": "JSON response template for List Mobile Devices operation in Directory API.",
- "id": "MobileDevices",
- "properties": {
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "kind": {
- "default": "admin#directory#mobiledevices",
- "description": "Kind of resource this is.",
- "type": "string"
- },
- "mobiledevices": {
- "description": "List of Mobile Device objects.",
- "items": {
- "$ref": "MobileDevice"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "Token used to access next page of this result.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Notification": {
- "description": "Template for a notification resource.",
- "id": "Notification",
- "properties": {
- "body": {
- "description": "Body of the notification (Read-only)",
- "type": "string"
- },
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "fromAddress": {
- "description": "Address from which the notification is received (Read-only)",
- "type": "string"
- },
- "isUnread": {
- "annotations": {
- "required": [
- "directory.notifications.patch",
- "directory.notifications.update"
- ]
- },
- "description": "Boolean indicating whether the notification is unread or not.",
- "type": "boolean"
- },
- "kind": {
- "default": "admin#directory#notification",
- "description": "The type of the resource.",
- "type": "string"
- },
- "notificationId": {
- "type": "string"
- },
- "sendTime": {
- "description": "Time at which notification was sent (Read-only)",
- "format": "date-time",
- "type": "string"
- },
- "subject": {
- "description": "Subject of the notification (Read-only)",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Notifications": {
- "description": "Template for notifications list response.",
- "id": "Notifications",
- "properties": {
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "items": {
- "description": "List of notifications in this page.",
- "items": {
- "$ref": "Notification"
- },
- "type": "array"
- },
- "kind": {
- "default": "admin#directory#notifications",
- "description": "The type of the resource.",
- "type": "string"
- },
- "nextPageToken": {
- "description": "Token for fetching the next page of notifications.",
- "type": "string"
- },
- "unreadNotificationsCount": {
- "description": "Number of unread notification for the domain.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "OrgUnit": {
- "description": "JSON template for Org Unit resource in Directory API.",
- "id": "OrgUnit",
- "properties": {
- "blockInheritance": {
- "description": "Should block inheritance",
- "type": "boolean"
- },
- "description": {
- "description": "Description of OrgUnit",
- "type": "string"
- },
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "kind": {
- "default": "admin#directory#orgUnit",
- "description": "Kind of resource this is.",
- "type": "string"
- },
- "name": {
- "annotations": {
- "required": [
- "directory.orgunits.insert"
- ]
- },
- "description": "Name of OrgUnit",
- "type": "string"
- },
- "orgUnitId": {
- "description": "Id of OrgUnit",
- "type": "string"
- },
- "orgUnitPath": {
- "description": "Path of OrgUnit",
- "type": "string"
- },
- "parentOrgUnitId": {
- "description": "Id of parent OrgUnit",
- "type": "string"
- },
- "parentOrgUnitPath": {
- "description": "Path of parent OrgUnit",
- "type": "string"
- }
- },
- "type": "object"
- },
- "OrgUnits": {
- "description": "JSON response template for List Organization Units operation in Directory API.",
- "id": "OrgUnits",
- "properties": {
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "kind": {
- "default": "admin#directory#orgUnits",
- "description": "Kind of resource this is.",
- "type": "string"
- },
- "organizationUnits": {
- "description": "List of user objects.",
- "items": {
- "$ref": "OrgUnit"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Privilege": {
- "description": "JSON template for privilege resource in Directory API.",
- "id": "Privilege",
- "properties": {
- "childPrivileges": {
- "description": "A list of child privileges. Privileges for a service form a tree. Each privilege can have a list of child privileges; this list is empty for a leaf privilege.",
- "items": {
- "$ref": "Privilege"
- },
- "type": "array"
- },
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "isOuScopable": {
- "description": "If the privilege can be restricted to an organization unit.",
- "type": "boolean"
- },
- "kind": {
- "default": "admin#directory#privilege",
- "description": "The type of the API resource. This is always admin#directory#privilege.",
- "type": "string"
- },
- "privilegeName": {
- "description": "The name of the privilege.",
- "type": "string"
- },
- "serviceId": {
- "description": "The obfuscated ID of the service this privilege is for. This value is returned with Privileges.list().",
- "type": "string"
- },
- "serviceName": {
- "description": "The name of the service this privilege is for.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Privileges": {
- "description": "JSON response template for List privileges operation in Directory API.",
- "id": "Privileges",
- "properties": {
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "items": {
- "description": "A list of Privilege resources.",
- "items": {
- "$ref": "Privilege"
- },
- "type": "array"
- },
- "kind": {
- "default": "admin#directory#privileges",
- "description": "The type of the API resource. This is always admin#directory#privileges.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Role": {
- "description": "JSON template for role resource in Directory API.",
- "id": "Role",
- "properties": {
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "isSuperAdminRole": {
- "description": "Returns true if the role is a super admin role.",
- "type": "boolean"
- },
- "isSystemRole": {
- "description": "Returns true if this is a pre-defined system role.",
- "type": "boolean"
- },
- "kind": {
- "default": "admin#directory#role",
- "description": "The type of the API resource. This is always admin#directory#role.",
- "type": "string"
- },
- "roleDescription": {
- "description": "A short description of the role.",
- "type": "string"
- },
- "roleId": {
- "description": "ID of the role.",
- "format": "int64",
- "type": "string"
- },
- "roleName": {
- "annotations": {
- "required": [
- "directory.roles.insert"
- ]
- },
- "description": "Name of the role.",
- "type": "string"
- },
- "rolePrivileges": {
- "annotations": {
- "required": [
- "directory.roles.insert"
- ]
- },
- "description": "The set of privileges that are granted to this role.",
- "items": {
- "properties": {
- "privilegeName": {
- "description": "The name of the privilege.",
- "type": "string"
- },
- "serviceId": {
- "description": "The obfuscated ID of the service this privilege is for. This value is returned with Privileges.list().",
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "RoleAssignment": {
- "description": "JSON template for roleAssignment resource in Directory API.",
- "id": "RoleAssignment",
- "properties": {
- "assignedTo": {
- "description": "The unique ID of the user this role is assigned to.",
- "type": "string"
- },
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "kind": {
- "default": "admin#directory#roleAssignment",
- "description": "The type of the API resource. This is always admin#directory#roleAssignment.",
- "type": "string"
- },
- "orgUnitId": {
- "description": "If the role is restricted to an organization unit, this contains the ID for the organization unit the exercise of this role is restricted to.",
- "type": "string"
- },
- "roleAssignmentId": {
- "description": "ID of this roleAssignment.",
- "format": "int64",
- "type": "string"
- },
- "roleId": {
- "description": "The ID of the role that is assigned.",
- "format": "int64",
- "type": "string"
- },
- "scopeType": {
- "description": "The scope in which this role is assigned. Possible values are: \n- CUSTOMER\n- ORG_UNIT",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RoleAssignments": {
- "description": "JSON response template for List roleAssignments operation in Directory API.",
- "id": "RoleAssignments",
- "properties": {
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "items": {
- "description": "A list of RoleAssignment resources.",
- "items": {
- "$ref": "RoleAssignment"
- },
- "type": "array"
- },
- "kind": {
- "default": "admin#directory#roleAssignments",
- "description": "The type of the API resource. This is always admin#directory#roleAssignments.",
- "type": "string"
- },
- "nextPageToken": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "Roles": {
- "description": "JSON response template for List roles operation in Directory API.",
- "id": "Roles",
- "properties": {
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "items": {
- "description": "A list of Role resources.",
- "items": {
- "$ref": "Role"
- },
- "type": "array"
- },
- "kind": {
- "default": "admin#directory#roles",
- "description": "The type of the API resource. This is always admin#directory#roles.",
- "type": "string"
- },
- "nextPageToken": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "Schema": {
- "description": "JSON template for Schema resource in Directory API.",
- "id": "Schema",
- "properties": {
- "displayName": {
- "annotations": {
- "required": [
- "directory.schemas.insert"
- ]
- },
- "description": "Display name for the schema.",
- "type": "string"
- },
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "fields": {
- "annotations": {
- "required": [
- "directory.schemas.insert",
- "directory.schemas.update"
- ]
- },
- "description": "Fields of Schema",
- "items": {
- "$ref": "SchemaFieldSpec"
- },
- "type": "array"
- },
- "kind": {
- "default": "admin#directory#schema",
- "description": "Kind of resource this is.",
- "type": "string"
- },
- "schemaId": {
- "description": "Unique identifier of Schema (Read-only)",
- "type": "string"
- },
- "schemaName": {
- "annotations": {
- "required": [
- "directory.schemas.insert"
- ]
- },
- "description": "Schema name",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SchemaFieldSpec": {
- "description": "JSON template for FieldSpec resource for Schemas in Directory API.",
- "id": "SchemaFieldSpec",
- "properties": {
- "displayName": {
- "annotations": {
- "required": [
- "directory.schemas.insert",
- "directory.schemas.update"
- ]
- },
- "description": "Display Name of the field.",
- "type": "string"
- },
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "fieldId": {
- "description": "Unique identifier of Field (Read-only)",
- "type": "string"
- },
- "fieldName": {
- "annotations": {
- "required": [
- "directory.schemas.insert",
- "directory.schemas.update"
- ]
- },
- "description": "Name of the field.",
- "type": "string"
- },
- "fieldType": {
- "annotations": {
- "required": [
- "directory.schemas.insert",
- "directory.schemas.update"
- ]
- },
- "description": "Type of the field.",
- "type": "string"
- },
- "indexed": {
- "default": "true",
- "description": "Boolean specifying whether the field is indexed or not.",
- "type": "boolean"
- },
- "kind": {
- "default": "admin#directory#schema#fieldspec",
- "description": "Kind of resource this is.",
- "type": "string"
- },
- "multiValued": {
- "description": "Boolean specifying whether this is a multi-valued field or not.",
- "type": "boolean"
- },
- "numericIndexingSpec": {
- "description": "Indexing spec for a numeric field. By default, only exact match queries will be supported for numeric fields. Setting the numericIndexingSpec allows range queries to be supported.",
- "properties": {
- "maxValue": {
- "description": "Maximum value of this field. This is meant to be indicative rather than enforced. Values outside this range will still be indexed, but search may not be as performant.",
- "format": "double",
- "type": "number"
- },
- "minValue": {
- "description": "Minimum value of this field. This is meant to be indicative rather than enforced. Values outside this range will still be indexed, but search may not be as performant.",
- "format": "double",
- "type": "number"
- }
- },
- "type": "object"
- },
- "readAccessType": {
- "default": "ALL_DOMAIN_USERS",
- "description": "Read ACLs on the field specifying who can view values of this field. Valid values are \"ALL_DOMAIN_USERS\" and \"ADMINS_AND_SELF\".",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Schemas": {
- "description": "JSON response template for List Schema operation in Directory API.",
- "id": "Schemas",
- "properties": {
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "kind": {
- "default": "admin#directory#schemas",
- "description": "Kind of resource this is.",
- "type": "string"
- },
- "schemas": {
- "description": "List of UserSchema objects.",
- "items": {
- "$ref": "Schema"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Token": {
- "description": "JSON template for token resource in Directory API.",
- "id": "Token",
- "properties": {
- "anonymous": {
- "description": "Whether the application is registered with Google. The value is true if the application has an anonymous Client ID.",
- "type": "boolean"
- },
- "clientId": {
- "description": "The Client ID of the application the token is issued to.",
- "type": "string"
- },
- "displayText": {
- "description": "The displayable name of the application the token is issued to.",
- "type": "string"
- },
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "kind": {
- "default": "admin#directory#token",
- "description": "The type of the API resource. This is always admin#directory#token.",
- "type": "string"
- },
- "nativeApp": {
- "description": "Whether the token is issued to an installed application. The value is true if the application is installed to a desktop or mobile device.",
- "type": "boolean"
- },
- "scopes": {
- "description": "A list of authorization scopes the application is granted.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "userKey": {
- "description": "The unique ID of the user that issued the token.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Tokens": {
- "description": "JSON response template for List tokens operation in Directory API.",
- "id": "Tokens",
- "properties": {
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "items": {
- "description": "A list of Token resources.",
- "items": {
- "$ref": "Token"
- },
- "type": "array"
- },
- "kind": {
- "default": "admin#directory#tokenList",
- "description": "The type of the API resource. This is always admin#directory#tokenList.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "User": {
- "description": "JSON template for User object in Directory API.",
- "id": "User",
- "properties": {
- "addresses": {
- "type": "any"
- },
- "agreedToTerms": {
- "description": "Indicates if user has agreed to terms (Read-only)",
- "readOnly": true,
- "type": "boolean"
- },
- "aliases": {
- "description": "List of aliases (Read-only)",
- "items": {
- "type": "string"
- },
- "readOnly": true,
- "type": "array"
- },
- "archived": {
- "description": "Indicates if user is archived.",
- "type": "boolean"
- },
- "changePasswordAtNextLogin": {
- "description": "Boolean indicating if the user should change password in next login",
- "type": "boolean"
- },
- "creationTime": {
- "description": "User's G Suite account creation time. (Read-only)",
- "format": "date-time",
- "readOnly": true,
- "type": "string"
- },
- "customSchemas": {
- "additionalProperties": {
- "$ref": "UserCustomProperties"
- },
- "description": "Custom fields of the user.",
- "type": "object"
- },
- "customerId": {
- "description": "CustomerId of User (Read-only)",
- "readOnly": true,
- "type": "string"
- },
- "deletionTime": {
- "format": "date-time",
- "readOnly": true,
- "type": "string"
- },
- "emails": {
- "type": "any"
- },
- "etag": {
- "description": "ETag of the resource.",
- "readOnly": true,
- "type": "string"
- },
- "externalIds": {
- "type": "any"
- },
- "gender": {
- "type": "any"
- },
- "hashFunction": {
- "description": "Hash function name for password. Supported are MD5, SHA-1 and crypt",
- "type": "string"
- },
- "id": {
- "description": "Unique identifier of User (Read-only)",
- "type": "string"
- },
- "ims": {
- "type": "any"
- },
- "includeInGlobalAddressList": {
- "description": "Boolean indicating if user is included in Global Address List",
- "type": "boolean"
- },
- "ipWhitelisted": {
- "description": "Boolean indicating if ip is whitelisted",
- "type": "boolean"
- },
- "isAdmin": {
- "description": "Boolean indicating if the user is admin (Read-only)",
- "readOnly": true,
- "type": "boolean"
- },
- "isDelegatedAdmin": {
- "description": "Boolean indicating if the user is delegated admin (Read-only)",
- "readOnly": true,
- "type": "boolean"
- },
- "isEnforcedIn2Sv": {
- "description": "Is 2-step verification enforced (Read-only)",
- "readOnly": true,
- "type": "boolean"
- },
- "isEnrolledIn2Sv": {
- "description": "Is enrolled in 2-step verification (Read-only)",
- "readOnly": true,
- "type": "boolean"
- },
- "isMailboxSetup": {
- "description": "Is mailbox setup (Read-only)",
- "readOnly": true,
- "type": "boolean"
- },
- "keywords": {
- "type": "any"
- },
- "kind": {
- "default": "admin#directory#user",
- "description": "Kind of resource this is.",
- "readOnly": true,
- "type": "string"
- },
- "languages": {
- "type": "any"
- },
- "lastLoginTime": {
- "description": "User's last login time. (Read-only)",
- "format": "date-time",
- "readOnly": true,
- "type": "string"
- },
- "locations": {
- "type": "any"
- },
- "name": {
- "$ref": "UserName",
- "annotations": {
- "required": [
- "directory.users.insert"
- ]
- },
- "description": "User's name"
- },
- "nonEditableAliases": {
- "description": "List of non editable aliases (Read-only)",
- "items": {
- "type": "string"
- },
- "readOnly": true,
- "type": "array"
- },
- "notes": {
- "type": "any"
- },
- "orgUnitPath": {
- "description": "OrgUnit of User",
- "type": "string"
- },
- "organizations": {
- "type": "any"
- },
- "password": {
- "annotations": {
- "required": [
- "directory.users.insert"
- ]
- },
- "description": "User's password",
- "type": "string"
- },
- "phones": {
- "type": "any"
- },
- "posixAccounts": {
- "type": "any"
- },
- "primaryEmail": {
- "annotations": {
- "required": [
- "directory.users.insert"
- ]
- },
- "description": "username of User",
- "type": "string"
- },
- "recoveryEmail": {
- "description": "Recovery email of the user.",
- "type": "string"
- },
- "recoveryPhone": {
- "description": "Recovery phone of the user. The phone number must be in the E.164 format, starting with the plus sign (+). Example: +16506661212.",
- "type": "string"
- },
- "relations": {
- "type": "any"
- },
- "sshPublicKeys": {
- "type": "any"
- },
- "suspended": {
- "description": "Indicates if user is suspended.",
- "type": "boolean"
- },
- "suspensionReason": {
- "description": "Suspension reason if user is suspended (Read-only)",
- "readOnly": true,
- "type": "string"
- },
- "thumbnailPhotoEtag": {
- "description": "ETag of the user's photo (Read-only)",
- "readOnly": true,
- "type": "string"
- },
- "thumbnailPhotoUrl": {
- "description": "Photo Url of the user (Read-only)",
- "readOnly": true,
- "type": "string"
- },
- "websites": {
- "type": "any"
- }
- },
- "type": "object"
- },
- "UserAbout": {
- "description": "JSON template for About (notes) of a user in Directory API.",
- "id": "UserAbout",
- "properties": {
- "contentType": {
- "description": "About entry can have a type which indicates the content type. It can either be plain or html. By default, notes contents are assumed to contain plain text.",
- "type": "string"
- },
- "value": {
- "description": "Actual value of notes.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UserAddress": {
- "description": "JSON template for address.",
- "id": "UserAddress",
- "properties": {
- "country": {
- "description": "Country.",
- "type": "string"
- },
- "countryCode": {
- "description": "Country code.",
- "type": "string"
- },
- "customType": {
- "description": "Custom type.",
- "type": "string"
- },
- "extendedAddress": {
- "description": "Extended Address.",
- "type": "string"
- },
- "formatted": {
- "description": "Formatted address.",
- "type": "string"
- },
- "locality": {
- "description": "Locality.",
- "type": "string"
- },
- "poBox": {
- "description": "Other parts of address.",
- "type": "string"
- },
- "postalCode": {
- "description": "Postal code.",
- "type": "string"
- },
- "primary": {
- "description": "If this is user's primary address. Only one entry could be marked as primary.",
- "type": "boolean"
- },
- "region": {
- "description": "Region.",
- "type": "string"
- },
- "sourceIsStructured": {
- "description": "User supplied address was structured. Structured addresses are NOT supported at this time. You might be able to write structured addresses, but any values will eventually be clobbered.",
- "type": "boolean"
- },
- "streetAddress": {
- "description": "Street.",
- "type": "string"
- },
- "type": {
- "description": "Each entry can have a type which indicates standard values of that entry. For example address could be of home, work etc. In addition to the standard type, an entry can have a custom type and can take any value. Such type should have the CUSTOM value as type and also have a customType value.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UserCustomProperties": {
- "additionalProperties": {
- "type": "any"
- },
- "description": "JSON template for a set of custom properties (i.e. all fields in a particular schema)",
- "id": "UserCustomProperties",
- "type": "object"
- },
- "UserEmail": {
- "description": "JSON template for an email.",
- "id": "UserEmail",
- "properties": {
- "address": {
- "description": "Email id of the user.",
- "type": "string"
- },
- "customType": {
- "description": "Custom Type.",
- "type": "string"
- },
- "primary": {
- "description": "If this is user's primary email. Only one entry could be marked as primary.",
- "type": "boolean"
- },
- "type": {
- "description": "Each entry can have a type which indicates standard types of that entry. For example email could be of home, work etc. In addition to the standard type, an entry can have a custom type and can take any value Such types should have the CUSTOM value as type and also have a customType value.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UserExternalId": {
- "description": "JSON template for an externalId entry.",
- "id": "UserExternalId",
- "properties": {
- "customType": {
- "description": "Custom type.",
- "type": "string"
- },
- "type": {
- "description": "The type of the Id.",
- "type": "string"
- },
- "value": {
- "description": "The value of the id.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UserGender": {
- "id": "UserGender",
- "properties": {
- "addressMeAs": {
- "description": "AddressMeAs. A human-readable string containing the proper way to refer to the profile owner by humans, for example \"he/him/his\" or \"they/them/their\".",
- "type": "string"
- },
- "customGender": {
- "description": "Custom gender.",
- "type": "string"
- },
- "type": {
- "description": "Gender.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UserIm": {
- "description": "JSON template for instant messenger of an user.",
- "id": "UserIm",
- "properties": {
- "customProtocol": {
- "description": "Custom protocol.",
- "type": "string"
- },
- "customType": {
- "description": "Custom type.",
- "type": "string"
- },
- "im": {
- "description": "Instant messenger id.",
- "type": "string"
- },
- "primary": {
- "description": "If this is user's primary im. Only one entry could be marked as primary.",
- "type": "boolean"
- },
- "protocol": {
- "description": "Protocol used in the instant messenger. It should be one of the values from ImProtocolTypes map. Similar to type, it can take a CUSTOM value and specify the custom name in customProtocol field.",
- "type": "string"
- },
- "type": {
- "description": "Each entry can have a type which indicates standard types of that entry. For example instant messengers could be of home, work etc. In addition to the standard type, an entry can have a custom type and can take any value. Such types should have the CUSTOM value as type and also have a customType value.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UserKeyword": {
- "description": "JSON template for a keyword entry.",
- "id": "UserKeyword",
- "properties": {
- "customType": {
- "description": "Custom Type.",
- "type": "string"
- },
- "type": {
- "description": "Each entry can have a type which indicates standard type of that entry. For example, keyword could be of type occupation or outlook. In addition to the standard type, an entry can have a custom type and can give it any name. Such types should have the CUSTOM value as type and also have a customType value.",
- "type": "string"
- },
- "value": {
- "description": "Keyword.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UserLanguage": {
- "description": "JSON template for a language entry.",
- "id": "UserLanguage",
- "properties": {
- "customLanguage": {
- "description": "Other language. User can provide own language name if there is no corresponding Google III language code. If this is set LanguageCode can't be set",
- "type": "string"
- },
- "languageCode": {
- "description": "Language Code. Should be used for storing Google III LanguageCode string representation for language. Illegal values cause SchemaException.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UserLocation": {
- "description": "JSON template for a location entry.",
- "id": "UserLocation",
- "properties": {
- "area": {
- "description": "Textual location. This is most useful for display purposes to concisely describe the location. For example, \"Mountain View, CA\", \"Near Seattle\", \"US-NYC-9TH 9A209A\".",
- "type": "string"
- },
- "buildingId": {
- "description": "Building Identifier.",
- "type": "string"
- },
- "customType": {
- "description": "Custom Type.",
- "type": "string"
- },
- "deskCode": {
- "description": "Most specific textual code of individual desk location.",
- "type": "string"
- },
- "floorName": {
- "description": "Floor name/number.",
- "type": "string"
- },
- "floorSection": {
- "description": "Floor section. More specific location within the floor. For example, if a floor is divided into sections \"A\", \"B\", and \"C\", this field would identify one of those values.",
- "type": "string"
- },
- "type": {
- "description": "Each entry can have a type which indicates standard types of that entry. For example location could be of types default and desk. In addition to standard type, an entry can have a custom type and can give it any name. Such types should have \"custom\" as type and also have a customType value.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UserMakeAdmin": {
- "description": "JSON request template for setting/revoking admin status of a user in Directory API.",
- "id": "UserMakeAdmin",
- "properties": {
- "status": {
- "annotations": {
- "required": [
- "directory.users.makeAdmin"
- ]
- },
- "description": "Boolean indicating new admin status of the user",
- "type": "boolean"
- }
- },
- "type": "object"
- },
- "UserName": {
- "description": "JSON template for name of a user in Directory API.",
- "id": "UserName",
- "properties": {
- "familyName": {
- "annotations": {
- "required": [
- "directory.users.insert"
- ]
- },
- "description": "Last Name",
- "type": "string"
- },
- "fullName": {
- "description": "Full Name",
- "type": "string"
- },
- "givenName": {
- "annotations": {
- "required": [
- "directory.users.insert"
- ]
- },
- "description": "First Name",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UserOrganization": {
- "description": "JSON template for an organization entry.",
- "id": "UserOrganization",
- "properties": {
- "costCenter": {
- "description": "The cost center of the users department.",
- "type": "string"
- },
- "customType": {
- "description": "Custom type.",
- "type": "string"
- },
- "department": {
- "description": "Department within the organization.",
- "type": "string"
- },
- "description": {
- "description": "Description of the organization.",
- "type": "string"
- },
- "domain": {
- "description": "The domain to which the organization belongs to.",
- "type": "string"
- },
- "fullTimeEquivalent": {
- "description": "The full-time equivalent millipercent within the organization (100000 = 100%).",
- "format": "int32",
- "type": "integer"
- },
- "location": {
- "description": "Location of the organization. This need not be fully qualified address.",
- "type": "string"
- },
- "name": {
- "description": "Name of the organization",
- "type": "string"
- },
- "primary": {
- "description": "If it user's primary organization.",
- "type": "boolean"
- },
- "symbol": {
- "description": "Symbol of the organization.",
- "type": "string"
- },
- "title": {
- "description": "Title (designation) of the user in the organization.",
- "type": "string"
- },
- "type": {
- "description": "Each entry can have a type which indicates standard types of that entry. For example organization could be of school, work etc. In addition to the standard type, an entry can have a custom type and can give it any name. Such types should have the CUSTOM value as type and also have a CustomType value.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UserPhone": {
- "description": "JSON template for a phone entry.",
- "id": "UserPhone",
- "properties": {
- "customType": {
- "description": "Custom Type.",
- "type": "string"
- },
- "primary": {
- "description": "If this is user's primary phone or not.",
- "type": "boolean"
- },
- "type": {
- "description": "Each entry can have a type which indicates standard types of that entry. For example phone could be of home_fax, work, mobile etc. In addition to the standard type, an entry can have a custom type and can give it any name. Such types should have the CUSTOM value as type and also have a customType value.",
- "type": "string"
- },
- "value": {
- "description": "Phone number.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UserPhoto": {
- "description": "JSON template for Photo object in Directory API.",
- "id": "UserPhoto",
- "properties": {
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "height": {
- "description": "Height in pixels of the photo",
- "format": "int32",
- "type": "integer"
- },
- "id": {
- "description": "Unique identifier of User (Read-only)",
- "type": "string"
- },
- "kind": {
- "default": "admin#directory#user#photo",
- "description": "Kind of resource this is.",
- "type": "string"
- },
- "mimeType": {
- "description": "Mime Type of the photo",
- "type": "string"
- },
- "photoData": {
- "annotations": {
- "required": [
- "directory.users.photos.update"
- ]
- },
- "description": "Base64 encoded photo data",
- "format": "byte",
- "type": "string"
- },
- "primaryEmail": {
- "description": "Primary email of User (Read-only)",
- "type": "string"
- },
- "width": {
- "description": "Width in pixels of the photo",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "UserPosixAccount": {
- "description": "JSON template for a POSIX account entry. Description of the field family: go/fbs-posix.",
- "id": "UserPosixAccount",
- "properties": {
- "accountId": {
- "description": "A POSIX account field identifier.",
- "type": "string"
- },
- "gecos": {
- "description": "The GECOS (user information) for this account.",
- "type": "string"
- },
- "gid": {
- "description": "The default group ID.",
- "format": "uint64",
- "type": "string"
- },
- "homeDirectory": {
- "description": "The path to the home directory for this account.",
- "type": "string"
- },
- "operatingSystemType": {
- "description": "The operating system type for this account.",
- "type": "string"
- },
- "primary": {
- "description": "If this is user's primary account within the SystemId.",
- "type": "boolean"
- },
- "shell": {
- "description": "The path to the login shell for this account.",
- "type": "string"
- },
- "systemId": {
- "description": "System identifier for which account Username or Uid apply to.",
- "type": "string"
- },
- "uid": {
- "description": "The POSIX compliant user ID.",
- "format": "uint64",
- "type": "string"
- },
- "username": {
- "description": "The username of the account.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UserRelation": {
- "description": "JSON template for a relation entry.",
- "id": "UserRelation",
- "properties": {
- "customType": {
- "description": "Custom Type.",
- "type": "string"
- },
- "type": {
- "description": "The relation of the user. Some of the possible values are mother, father, sister, brother, manager, assistant, partner.",
- "type": "string"
- },
- "value": {
- "description": "The name of the relation.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UserSshPublicKey": {
- "description": "JSON template for a POSIX account entry.",
- "id": "UserSshPublicKey",
- "properties": {
- "expirationTimeUsec": {
- "description": "An expiration time in microseconds since epoch.",
- "format": "int64",
- "type": "string"
- },
- "fingerprint": {
- "description": "A SHA-256 fingerprint of the SSH public key. (Read-only)",
- "readOnly": true,
- "type": "string"
- },
- "key": {
- "description": "An SSH public key.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UserUndelete": {
- "description": "JSON request template to undelete a user in Directory API.",
- "id": "UserUndelete",
- "properties": {
- "orgUnitPath": {
- "description": "OrgUnit of User",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UserWebsite": {
- "description": "JSON template for a website entry.",
- "id": "UserWebsite",
- "properties": {
- "customType": {
- "description": "Custom Type.",
- "type": "string"
- },
- "primary": {
- "description": "If this is user's primary website or not.",
- "type": "boolean"
- },
- "type": {
- "description": "Each entry can have a type which indicates standard types of that entry. For example website could be of home, work, blog etc. In addition to the standard type, an entry can have a custom type and can give it any name. Such types should have the CUSTOM value as type and also have a customType value.",
- "type": "string"
- },
- "value": {
- "description": "Website.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Users": {
- "description": "JSON response template for List Users operation in Apps Directory API.",
- "id": "Users",
- "properties": {
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "kind": {
- "default": "admin#directory#users",
- "description": "Kind of resource this is.",
- "type": "string"
- },
- "nextPageToken": {
- "description": "Token used to access next page of this result.",
- "type": "string"
- },
- "trigger_event": {
- "description": "Event that triggered this response (only used in case of Push Response)",
- "type": "string"
- },
- "users": {
- "description": "List of user objects.",
- "items": {
- "$ref": "User"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VerificationCode": {
- "description": "JSON template for verification codes in Directory API.",
- "id": "VerificationCode",
- "properties": {
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "kind": {
- "default": "admin#directory#verificationCode",
- "description": "The type of the resource. This is always admin#directory#verificationCode.",
- "type": "string"
- },
- "userId": {
- "description": "The obfuscated unique ID of the user.",
- "type": "string"
- },
- "verificationCode": {
- "description": "A current verification code for the user. Invalidated or used verification codes are not returned as part of the result.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "VerificationCodes": {
- "description": "JSON response template for List verification codes operation in Directory API.",
- "id": "VerificationCodes",
- "properties": {
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "items": {
- "description": "A list of verification code resources.",
- "items": {
- "$ref": "VerificationCode"
- },
- "type": "array"
- },
- "kind": {
- "default": "admin#directory#verificationCodesList",
- "description": "The type of the resource. This is always admin#directory#verificationCodesList.",
- "type": "string"
- }
- },
- "type": "object"
- }
- },
- "servicePath": "admin/directory/v1/",
- "title": "Admin Directory API",
- "version": "directory_v1"
-}
\ No newline at end of file
diff --git a/etc/api/admin/reports_v1/admin-api.json b/etc/api/admin/reports_v1/admin-api.json
deleted file mode 100644
index a8c0cf1695..0000000000
--- a/etc/api/admin/reports_v1/admin-api.json
+++ /dev/null
@@ -1,1012 +0,0 @@
-{
- "auth": {
- "oauth2": {
- "scopes": {
- "https://www.googleapis.com/auth/admin.reports.audit.readonly": {
- "description": "View audit reports for your G Suite domain"
- },
- "https://www.googleapis.com/auth/admin.reports.usage.readonly": {
- "description": "View usage reports for your G Suite domain"
- }
- }
- }
- },
- "basePath": "/admin/reports/v1/",
- "baseUrl": "https://www.googleapis.com/admin/reports/v1/",
- "batchPath": "batch/admin/reports_v1",
- "canonicalName": "reports",
- "description": "Fetches reports for the administrators of G Suite customers about the usage, collaboration, security, and risk for their users.",
- "discoveryVersion": "v1",
- "documentationLink": "/admin-sdk/reports/",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/cjy_qN1sx94qX1efDr-Kt6Rsqlk\"",
- "icons": {
- "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
- "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
- },
- "id": "admin:reports_v1",
- "kind": "discovery#restDescription",
- "name": "admin",
- "ownerDomain": "google.com",
- "ownerName": "Google",
- "packagePath": "admin",
- "parameters": {
- "alt": {
- "default": "json",
- "description": "Data format for the response.",
- "enum": [
- "json"
- ],
- "enumDescriptions": [
- "Responses with Content-Type of application/json"
- ],
- "location": "query",
- "type": "string"
- },
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
- "location": "query",
- "type": "string"
- },
- "key": {
- "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",
- "type": "string"
- },
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
- "location": "query",
- "type": "string"
- },
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
- "location": "query",
- "type": "boolean"
- },
- "quotaUser": {
- "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
- "location": "query",
- "type": "string"
- },
- "userIp": {
- "description": "Deprecated. Please use quotaUser instead.",
- "location": "query",
- "type": "string"
- }
- },
- "protocol": "rest",
- "resources": {
- "activities": {
- "methods": {
- "list": {
- "description": "Retrieves a list of activities for a specific customer's account and application such as the Admin console application or the Google Drive application. For more information, see the guides for administrator and Google Drive activity reports. For more information about the activity report's parameters, see the activity parameters reference guides.",
- "httpMethod": "GET",
- "id": "reports.activities.list",
- "parameterOrder": [
- "userKey",
- "applicationName"
- ],
- "parameters": {
- "actorIpAddress": {
- "description": "The Internet Protocol (IP) Address of host where the event was performed. This is an additional way to filter a report's summary using the IP address of the user whose activity is being reported. This IP address may or may not reflect the user's physical location. For example, the IP address can be the user's proxy server's address or a virtual private network (VPN) address. This parameter supports both IPv4 and IPv6 address versions.",
- "location": "query",
- "type": "string"
- },
- "applicationName": {
- "description": "Application name for which the events are to be retrieved.",
- "enum": [
- "access_transparency",
- "admin",
- "calendar",
- "chat",
- "drive",
- "gcp",
- "gplus",
- "groups",
- "groups_enterprise",
- "jamboard",
- "login",
- "meet",
- "mobile",
- "rules",
- "saml",
- "token",
- "user_accounts"
- ],
- "enumDescriptions": [
- "The G Suite Access Transparency activity reports return information about different types of Access Transparency activity events.",
- "The Admin console application's activity reports return account information about different types of administrator activity events.",
- "The G Suite Calendar application's activity reports return information about various Calendar activity events.",
- "The Chat activity reports return information about various Chat activity events.",
- "The Google Drive application's activity reports return information about various Google Drive activity events. The Drive activity report is only available for G Suite Business customers.",
- "The Google Cloud Platform application's activity reports return information about various GCP activity events.",
- "The Google+ application's activity reports return information about various Google+ activity events.",
- "The Google Groups application's activity reports return information about various Groups activity events.",
- "The Enterprise Groups activity reports return information about various Enterprise group activity events.",
- "The Jamboard activity reports return information about various Jamboard activity events.",
- "The Login application's activity reports return account information about different types of Login activity events.",
- "The Meet Audit activity report return information about different types of Meet Audit activity events.",
- "The Mobile Audit activity report return information about different types of Mobile Audit activity events.",
- "The Rules activity report return information about different types of Rules activity events.",
- "The SAML activity report return information about different types of SAML activity events.",
- "The Token application's activity reports return account information about different types of Token activity events.",
- "The User Accounts application's activity reports return account information about different types of User Accounts activity events."
- ],
- "location": "path",
- "pattern": "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)|(chat)|(gplus)|(rules)|(jamboard)|(meet)|(user_accounts)|(access_transparency)|(groups_enterprise)|(gcp)",
- "required": true,
- "type": "string"
- },
- "customerId": {
- "description": "The unique ID of the customer to retrieve data for.",
- "location": "query",
- "pattern": "C.+",
- "type": "string"
- },
- "endTime": {
- "description": "Sets the end of the range of time shown in the report. The date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The default value is the approximate time of the API request. An API report has three basic time concepts: \n- Date of the API's request for a report: When the API created and retrieved the report. \n- Report's start time: The beginning of the timespan shown in the report. The startTime must be before the endTime (if specified) and the current time when the request is made, or the API returns an error. \n- Report's end time: The end of the timespan shown in the report. For example, the timespan of events summarized in a report can start in April and end in May. The report itself can be requested in August. If the endTime is not specified, the report returns all activities from the startTime until the current time or the most recent 180 days if the startTime is more than 180 days in the past.",
- "location": "query",
- "pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))",
- "type": "string"
- },
- "eventName": {
- "description": "The name of the event being queried by the API. Each eventName is related to a specific G Suite service or feature which the API organizes into types of events. An example is the Google Calendar events in the Admin console application's reports. The Calendar Settings type structure has all of the Calendar eventName activities reported by the API. When an administrator changes a Calendar setting, the API reports this activity in the Calendar Settings type and eventName parameters. For more information about eventName query strings and parameters, see the list of event names for various applications above in applicationName.",
- "location": "query",
- "type": "string"
- },
- "filters": {
- "description": "The filters query string is a comma-separated list. The list is composed of event parameters that are manipulated by relational operators. Event parameters are in the form [parameter1 name][relational operator][parameter1 value],[parameter2 name][relational operator][parameter2 value],... \nThese event parameters are associated with a specific eventName. An empty report is returned if the filtered request's parameter does not belong to the eventName. For more information about eventName parameters, see the list of event names for various applications above in applicationName.\n\nIn the following Admin Activity example, the <> operator is URL-encoded in the request's query string (%3C%3E):\nGET...&eventName=CHANGE_CALENDAR_SETTING &filters=NEW_VALUE%3C%3EREAD_ONLY_ACCESS\n\nIn the following Drive example, the list can be a view or edit event's doc_id parameter with a value that is manipulated by an 'equal to' (==) or 'not equal to' (<>) relational operator. In the first example, the report returns each edited document's doc_id. In the second example, the report returns each viewed document's doc_id that equals the value 12345 and does not return any viewed document's which have a doc_id value of 98765. The <> operator is URL-encoded in the request's query string (%3C%3E):\n\nGET...&eventName=edit&filters=doc_id GET...&eventName=view&filters=doc_id==12345,doc_id%3C%3E98765\n\nThe relational operators include: \n- == - 'equal to'. \n- <> - 'not equal to'. It is URL-encoded (%3C%3E). \n- < - 'less than'. It is URL-encoded (%3C). \n- <= - 'less than or equal to'. It is URL-encoded (%3C=). \n- > - 'greater than'. It is URL-encoded (%3E). \n- >= - 'greater than or equal to'. It is URL-encoded (%3E=). \nNote: The API doesn't accept multiple values of a parameter. If a particular parameter is supplied more than once in the API request, the API only accepts the last value of that request parameter.\nIn addition, if an invalid request parameter is supplied in the API request, the API ignores that request parameter and returns the response corresponding to the remaining valid request parameters. If no parameters are requested, all parameters are returned.",
- "location": "query",
- "pattern": "(.+[<,<=,==,>=,>,<>].+,)*(.+[<,<=,==,>=,>,<>].+)",
- "type": "string"
- },
- "maxResults": {
- "default": "1000",
- "description": "Determines how many activity records are shown on each response page. For example, if the request sets maxResults=1 and the report has two activities, the report has two pages. The response's nextPageToken property has the token to the second page. The maxResults query string is optional in the request. The default value is 1000.",
- "format": "int32",
- "location": "query",
- "maximum": "1000",
- "minimum": "1",
- "type": "integer"
- },
- "orgUnitID": {
- "default": "",
- "description": "ID of the organizational unit to report on. Activity records will be shown only for users who belong to the specified organizational unit. Data before Dec 17, 2018 doesn't appear in the filtered results.",
- "location": "query",
- "pattern": "(id:[a-z0-9]+)",
- "type": "string"
- },
- "pageToken": {
- "description": "The token to specify next page. A report with multiple pages has a nextPageToken property in the response. In your follow-on request getting the next page of the report, enter the nextPageToken value in the pageToken query string.",
- "location": "query",
- "type": "string"
- },
- "startTime": {
- "description": "Sets the beginning of the range of time shown in the report. The date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The report returns all activities from startTime until endTime. The startTime must be before the endTime (if specified) and the current time when the request is made, or the API returns an error.",
- "location": "query",
- "pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))",
- "type": "string"
- },
- "userKey": {
- "description": "Represents the profile ID or the user email for which the data should be filtered. Can be all for all information, or userKey for a user's unique G Suite profile ID or their primary email address.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "activity/users/{userKey}/applications/{applicationName}",
- "response": {
- "$ref": "Activities"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.reports.audit.readonly"
- ],
- "supportsSubscription": true
- },
- "watch": {
- "description": "Start receiving notifications for account activities. For more information, see Receiving Push Notifications.",
- "httpMethod": "POST",
- "id": "reports.activities.watch",
- "parameterOrder": [
- "userKey",
- "applicationName"
- ],
- "parameters": {
- "actorIpAddress": {
- "description": "The Internet Protocol (IP) Address of host where the event was performed. This is an additional way to filter a report's summary using the IP address of the user whose activity is being reported. This IP address may or may not reflect the user's physical location. For example, the IP address can be the user's proxy server's address or a virtual private network (VPN) address. This parameter supports both IPv4 and IPv6 address versions.",
- "location": "query",
- "type": "string"
- },
- "applicationName": {
- "description": "Application name for which the events are to be retrieved.",
- "enum": [
- "access_transparency",
- "admin",
- "calendar",
- "chat",
- "drive",
- "gcp",
- "gplus",
- "groups",
- "groups_enterprise",
- "jamboard",
- "login",
- "meet",
- "mobile",
- "rules",
- "saml",
- "token",
- "user_accounts"
- ],
- "enumDescriptions": [
- "The G Suite Access Transparency activity reports return information about different types of Access Transparency activity events.",
- "The Admin console application's activity reports return account information about different types of administrator activity events.",
- "The G Suite Calendar application's activity reports return information about various Calendar activity events.",
- "The Chat activity reports return information about various Chat activity events.",
- "The Google Drive application's activity reports return information about various Google Drive activity events. The Drive activity report is only available for G Suite Business customers.",
- "The Google Cloud Platform application's activity reports return information about various GCP activity events.",
- "The Google+ application's activity reports return information about various Google+ activity events.",
- "The Google Groups application's activity reports return information about various Groups activity events.",
- "The Enterprise Groups activity reports return information about various Enterprise group activity events.",
- "The Jamboard activity reports return information about various Jamboard activity events.",
- "The Login application's activity reports return account information about different types of Login activity events.",
- "The Meet Audit activity report return information about different types of Meet Audit activity events.",
- "The Mobile Audit activity report return information about different types of Mobile Audit activity events.",
- "The Rules activity report return information about different types of Rules activity events.",
- "The SAML activity report return information about different types of SAML activity events.",
- "The Token application's activity reports return account information about different types of Token activity events.",
- "The User Accounts application's activity reports return account information about different types of User Accounts activity events."
- ],
- "location": "path",
- "pattern": "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)|(chat)|(gplus)|(rules)|(jamboard)|(meet)|(user_accounts)|(access_transparency)|(groups_enterprise)|(gcp)",
- "required": true,
- "type": "string"
- },
- "customerId": {
- "description": "The unique ID of the customer to retrieve data for.",
- "location": "query",
- "pattern": "C.+",
- "type": "string"
- },
- "endTime": {
- "description": "Sets the end of the range of time shown in the report. The date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The default value is the approximate time of the API request. An API report has three basic time concepts: \n- Date of the API's request for a report: When the API created and retrieved the report. \n- Report's start time: The beginning of the timespan shown in the report. The startTime must be before the endTime (if specified) and the current time when the request is made, or the API returns an error. \n- Report's end time: The end of the timespan shown in the report. For example, the timespan of events summarized in a report can start in April and end in May. The report itself can be requested in August. If the endTime is not specified, the report returns all activities from the startTime until the current time or the most recent 180 days if the startTime is more than 180 days in the past.",
- "location": "query",
- "pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))",
- "type": "string"
- },
- "eventName": {
- "description": "The name of the event being queried by the API. Each eventName is related to a specific G Suite service or feature which the API organizes into types of events. An example is the Google Calendar events in the Admin console application's reports. The Calendar Settings type structure has all of the Calendar eventName activities reported by the API. When an administrator changes a Calendar setting, the API reports this activity in the Calendar Settings type and eventName parameters. For more information about eventName query strings and parameters, see the list of event names for various applications above in applicationName.",
- "location": "query",
- "type": "string"
- },
- "filters": {
- "description": "The filters query string is a comma-separated list. The list is composed of event parameters that are manipulated by relational operators. Event parameters are in the form [parameter1 name][relational operator][parameter1 value],[parameter2 name][relational operator][parameter2 value],... \nThese event parameters are associated with a specific eventName. An empty report is returned if the filtered request's parameter does not belong to the eventName. For more information about eventName parameters, see the list of event names for various applications above in applicationName.\n\nIn the following Admin Activity example, the <> operator is URL-encoded in the request's query string (%3C%3E):\nGET...&eventName=CHANGE_CALENDAR_SETTING &filters=NEW_VALUE%3C%3EREAD_ONLY_ACCESS\n\nIn the following Drive example, the list can be a view or edit event's doc_id parameter with a value that is manipulated by an 'equal to' (==) or 'not equal to' (<>) relational operator. In the first example, the report returns each edited document's doc_id. In the second example, the report returns each viewed document's doc_id that equals the value 12345 and does not return any viewed document's which have a doc_id value of 98765. The <> operator is URL-encoded in the request's query string (%3C%3E):\n\nGET...&eventName=edit&filters=doc_id GET...&eventName=view&filters=doc_id==12345,doc_id%3C%3E98765\n\nThe relational operators include: \n- == - 'equal to'. \n- <> - 'not equal to'. It is URL-encoded (%3C%3E). \n- < - 'less than'. It is URL-encoded (%3C). \n- <= - 'less than or equal to'. It is URL-encoded (%3C=). \n- > - 'greater than'. It is URL-encoded (%3E). \n- >= - 'greater than or equal to'. It is URL-encoded (%3E=). \nNote: The API doesn't accept multiple values of a parameter. If a particular parameter is supplied more than once in the API request, the API only accepts the last value of that request parameter.\nIn addition, if an invalid request parameter is supplied in the API request, the API ignores that request parameter and returns the response corresponding to the remaining valid request parameters. If no parameters are requested, all parameters are returned.",
- "location": "query",
- "pattern": "(.+[<,<=,==,>=,>,<>].+,)*(.+[<,<=,==,>=,>,<>].+)",
- "type": "string"
- },
- "maxResults": {
- "default": "1000",
- "description": "Determines how many activity records are shown on each response page. For example, if the request sets maxResults=1 and the report has two activities, the report has two pages. The response's nextPageToken property has the token to the second page. The maxResults query string is optional in the request. The default value is 1000.",
- "format": "int32",
- "location": "query",
- "maximum": "1000",
- "minimum": "1",
- "type": "integer"
- },
- "orgUnitID": {
- "default": "",
- "description": "ID of the organizational unit to report on. Activity records will be shown only for users who belong to the specified organizational unit. Data before Dec 17, 2018 doesn't appear in the filtered results.",
- "location": "query",
- "pattern": "(id:[a-z0-9]+)",
- "type": "string"
- },
- "pageToken": {
- "description": "The token to specify next page. A report with multiple pages has a nextPageToken property in the response. In your follow-on request getting the next page of the report, enter the nextPageToken value in the pageToken query string.",
- "location": "query",
- "type": "string"
- },
- "startTime": {
- "description": "Sets the beginning of the range of time shown in the report. The date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The report returns all activities from startTime until endTime. The startTime must be before the endTime (if specified) and the current time when the request is made, or the API returns an error.",
- "location": "query",
- "pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))",
- "type": "string"
- },
- "userKey": {
- "description": "Represents the profile ID or the user email for which the data should be filtered. Can be all for all information, or userKey for a user's unique G Suite profile ID or their primary email address.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "activity/users/{userKey}/applications/{applicationName}/watch",
- "request": {
- "$ref": "Channel",
- "parameterName": "resource"
- },
- "response": {
- "$ref": "Channel"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.reports.audit.readonly"
- ],
- "supportsSubscription": true
- }
- }
- },
- "channels": {
- "methods": {
- "stop": {
- "description": "Stop watching resources through this channel",
- "httpMethod": "POST",
- "id": "admin.channels.stop",
- "path": "/admin/reports_v1/channels/stop",
- "request": {
- "$ref": "Channel",
- "parameterName": "resource"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.reports.audit.readonly"
- ]
- }
- }
- },
- "customerUsageReports": {
- "methods": {
- "get": {
- "description": "Retrieves a report which is a collection of properties and statistics for a specific customer's account. For more information, see the Customers Usage Report guide. For more information about the customer report's parameters, see the Customers Usage parameters reference guides.",
- "httpMethod": "GET",
- "id": "reports.customerUsageReports.get",
- "parameterOrder": [
- "date"
- ],
- "parameters": {
- "customerId": {
- "description": "The unique ID of the customer to retrieve data for.",
- "location": "query",
- "pattern": "C.+",
- "type": "string"
- },
- "date": {
- "description": "Represents the date the usage occurred. The timestamp is in the ISO 8601 format, yyyy-mm-dd. We recommend you use your account's time zone for this.",
- "location": "path",
- "pattern": "(\\d){4}-(\\d){2}-(\\d){2}",
- "required": true,
- "type": "string"
- },
- "pageToken": {
- "description": "Token to specify next page. A report with multiple pages has a nextPageToken property in the response. For your follow-on requests getting all of the report's pages, enter the nextPageToken value in the pageToken query string.",
- "location": "query",
- "type": "string"
- },
- "parameters": {
- "description": "The parameters query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated with a specific application. The application values for the Customers usage report include accounts, app_maker, apps_scripts, calendar, classroom, cros, docs, gmail, gplus, device_management, meet, and sites.\nA parameters query string is in the CSV form of app_name1:param_name1, app_name2:param_name2.\nNote: The API doesn't accept multiple values of a parameter. If a particular parameter is supplied more than once in the API request, the API only accepts the last value of that request parameter.\nIn addition, if an invalid request parameter is supplied in the API request, the API ignores that request parameter and returns the response corresponding to the remaining valid request parameters.\n\nAn example of an invalid request parameter is one that does not belong to the application. If no parameters are requested, all parameters are returned.",
- "location": "query",
- "pattern": "(((accounts)|(app_maker)|(apps_scripts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)|(meet)):[^,]+,)*(((accounts)|(app_maker)|(apps_scripts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)|(meet)):[^,]+)",
- "type": "string"
- }
- },
- "path": "usage/dates/{date}",
- "response": {
- "$ref": "UsageReports"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.reports.usage.readonly"
- ]
- }
- }
- },
- "entityUsageReports": {
- "methods": {
- "get": {
- "description": "Retrieves a report which is a collection of properties and statistics for entities used by users within the account. For more information, see the Entities Usage Report guide. For more information about the entities report's parameters, see the Entities Usage parameters reference guides.",
- "httpMethod": "GET",
- "id": "reports.entityUsageReports.get",
- "parameterOrder": [
- "entityType",
- "entityKey",
- "date"
- ],
- "parameters": {
- "customerId": {
- "description": "The unique ID of the customer to retrieve data for.",
- "location": "query",
- "pattern": "C.+",
- "type": "string"
- },
- "date": {
- "description": "Represents the date the usage occurred. The timestamp is in the ISO 8601 format, yyyy-mm-dd. We recommend you use your account's time zone for this.",
- "location": "path",
- "pattern": "(\\d){4}-(\\d){2}-(\\d){2}",
- "required": true,
- "type": "string"
- },
- "entityKey": {
- "description": "Represents the key of the object to filter the data with.",
- "enum": [
- "all",
- "entityKey"
- ],
- "enumDescriptions": [
- "Returns activity events for all users.",
- "Represents an app-specific identifier for the entity. For details on how to obtain the entityKey for a particular entityType, see the Entities Usage parameters reference guides."
- ],
- "location": "path",
- "required": true,
- "type": "string"
- },
- "entityType": {
- "description": "Represents the type of entity for the report.",
- "enum": [
- "gplus_communities"
- ],
- "enumDescriptions": [
- "Returns a report on Google+ communities."
- ],
- "location": "path",
- "pattern": "(gplus_communities)",
- "required": true,
- "type": "string"
- },
- "filters": {
- "description": "The filters query string is a comma-separated list of an application's event parameters where the parameter's value is manipulated by a relational operator. The filters query string includes the name of the application whose usage is returned in the report. The application values for the Entities usage report include accounts, docs, and gmail.\nFilters are in the form [application name]:[parameter name][relational operator][parameter value],....\n\nIn this example, the <> 'not equal to' operator is URL-encoded in the request's query string (%3C%3E):\nGET https://www.googleapis.com/admin/reports/v1/usage/gplus_communities/all/dates/2017-12-01 ?parameters=gplus:community_name,gplus:num_total_members &filters=gplus:num_total_members>0\n\n\nThe relational operators include: \n- == - 'equal to'. \n- <> - 'not equal to'. It is URL-encoded (%3C%3E). \n- < - 'less than'. It is URL-encoded (%3C). \n- <= - 'less than or equal to'. It is URL-encoded (%3C=). \n- > - 'greater than'. It is URL-encoded (%3E). \n- >= - 'greater than or equal to'. It is URL-encoded (%3E=). Filters can only be applied to numeric parameters.",
- "location": "query",
- "pattern": "(((gplus)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+,)*(((gplus)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+)",
- "type": "string"
- },
- "maxResults": {
- "default": "1000",
- "description": "Determines how many activity records are shown on each response page. For example, if the request sets maxResults=1 and the report has two activities, the report has two pages. The response's nextPageToken property has the token to the second page.",
- "format": "uint32",
- "location": "query",
- "maximum": "1000",
- "minimum": "1",
- "type": "integer"
- },
- "pageToken": {
- "description": "Token to specify next page. A report with multiple pages has a nextPageToken property in the response. In your follow-on request getting the next page of the report, enter the nextPageToken value in the pageToken query string.",
- "location": "query",
- "type": "string"
- },
- "parameters": {
- "description": "The parameters query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated with a specific application. The application values for the Entities usage report are only gplus.\nA parameter query string is in the CSV form of [app_name1:param_name1], [app_name2:param_name2]....\nNote: The API doesn't accept multiple values of a parameter. If a particular parameter is supplied more than once in the API request, the API only accepts the last value of that request parameter.\nIn addition, if an invalid request parameter is supplied in the API request, the API ignores that request parameter and returns the response corresponding to the remaining valid request parameters.\n\nAn example of an invalid request parameter is one that does not belong to the application. If no parameters are requested, all parameters are returned.",
- "location": "query",
- "pattern": "(((gplus)):[^,]+,)*(((gplus)):[^,]+)",
- "type": "string"
- }
- },
- "path": "usage/{entityType}/{entityKey}/dates/{date}",
- "response": {
- "$ref": "UsageReports"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.reports.usage.readonly"
- ]
- }
- }
- },
- "userUsageReport": {
- "methods": {
- "get": {
- "description": "Retrieves a report which is a collection of properties and statistics for a set of users with the account. For more information, see the User Usage Report guide. For more information about the user report's parameters, see the Users Usage parameters reference guides.",
- "httpMethod": "GET",
- "id": "reports.userUsageReport.get",
- "parameterOrder": [
- "userKey",
- "date"
- ],
- "parameters": {
- "customerId": {
- "description": "The unique ID of the customer to retrieve data for.",
- "location": "query",
- "pattern": "C.+",
- "type": "string"
- },
- "date": {
- "description": "Represents the date the usage occurred. The timestamp is in the ISO 8601 format, yyyy-mm-dd. We recommend you use your account's time zone for this.",
- "location": "path",
- "pattern": "(\\d){4}-(\\d){2}-(\\d){2}",
- "required": true,
- "type": "string"
- },
- "filters": {
- "description": "The filters query string is a comma-separated list of an application's event parameters where the parameter's value is manipulated by a relational operator. The filters query string includes the name of the application whose usage is returned in the report. The application values for the Users Usage Report include accounts, docs, and gmail.\nFilters are in the form [application name]:[parameter name][relational operator][parameter value],....\n\nIn this example, the <> 'not equal to' operator is URL-encoded in the request's query string (%3C%3E):\nGET https://www.googleapis.com/admin/reports/v1/usage/users/all/dates/2013-03-03 ?parameters=accounts:last_login_time &filters=accounts:last_login_time>2010-10-28T10:26:35.000Z\n\n\nThe relational operators include: \n- == - 'equal to'. \n- <> - 'not equal to'. It is URL-encoded (%3C%3E). \n- < - 'less than'. It is URL-encoded (%3C). \n- <= - 'less than or equal to'. It is URL-encoded (%3C=). \n- > - 'greater than'. It is URL-encoded (%3E). \n- >= - 'greater than or equal to'. It is URL-encoded (%3E=).",
- "location": "query",
- "pattern": "(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+,)*(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+)",
- "type": "string"
- },
- "maxResults": {
- "default": "1000",
- "description": "Determines how many activity records are shown on each response page. For example, if the request sets maxResults=1 and the report has two activities, the report has two pages. The response's nextPageToken property has the token to the second page.\nThe maxResults query string is optional.",
- "format": "uint32",
- "location": "query",
- "maximum": "1000",
- "minimum": "1",
- "type": "integer"
- },
- "orgUnitID": {
- "default": "",
- "description": "ID of the organizational unit to report on. User activity will be shown only for users who belong to the specified organizational unit. Data before Dec 17, 2018 doesn't appear in the filtered results.",
- "location": "query",
- "pattern": "(id:[a-z0-9]+)",
- "type": "string"
- },
- "pageToken": {
- "description": "Token to specify next page. A report with multiple pages has a nextPageToken property in the response. In your follow-on request getting the next page of the report, enter the nextPageToken value in the pageToken query string.",
- "location": "query",
- "type": "string"
- },
- "parameters": {
- "description": "The parameters query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated with a specific application. The application values for the Customers usage report include accounts, app_maker, apps_scripts, calendar, classroom, cros, docs, gmail, gplus, device_management, meet, and sites.\nA parameters query string is in the CSV form of app_name1:param_name1, app_name2:param_name2.\nNote: The API doesn't accept multiple values of a parameter.\nIf a particular parameter is supplied more than once in the API request, the API only accepts the last value of that request parameter. In addition, if an invalid request parameter is supplied in the API request, the API ignores that request parameter and returns the response corresponding to the remaining valid request parameters.\n\nAn example of an invalid request parameter is one that does not belong to the application. If no parameters are requested, all parameters are returned.",
- "location": "query",
- "pattern": "(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)",
- "type": "string"
- },
- "userKey": {
- "description": "Represents the profile ID or the user email for which the data should be filtered. Can be all for all information, or userKey for a user's unique G Suite profile ID or their primary email address.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "usage/users/{userKey}/dates/{date}",
- "response": {
- "$ref": "UsageReports"
- },
- "scopes": [
- "https://www.googleapis.com/auth/admin.reports.usage.readonly"
- ]
- }
- }
- }
- },
- "revision": "20191014",
- "rootUrl": "https://www.googleapis.com/",
- "schemas": {
- "Activities": {
- "description": "JSON template for a collection of activites.",
- "id": "Activities",
- "properties": {
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "items": {
- "description": "Each activity record in the response.",
- "items": {
- "$ref": "Activity"
- },
- "type": "array"
- },
- "kind": {
- "default": "admin#reports#activities",
- "description": "The type of API resource. For an activity report, the value is reports#activities.",
- "type": "string"
- },
- "nextPageToken": {
- "description": "Token for retrieving the follow-on next page of the report. The nextPageToken value is used in the request's pageToken query string.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Activity": {
- "description": "JSON template for the activity resource.",
- "id": "Activity",
- "properties": {
- "actor": {
- "description": "User doing the action.",
- "properties": {
- "callerType": {
- "description": "The type of actor.",
- "type": "string"
- },
- "email": {
- "description": "The primary email address of the actor. May be absent if there is no email address associated with the actor.",
- "type": "string"
- },
- "key": {
- "description": "Only present when callerType is KEY. Can be the consumer_key of the requestor for OAuth 2LO API requests or an identifier for robot accounts.",
- "type": "string"
- },
- "profileId": {
- "description": "The unique G Suite profile ID of the actor. May be absent if the actor is not a G Suite user.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "etag": {
- "description": "ETag of the entry.",
- "type": "string"
- },
- "events": {
- "description": "Activity events in the report.",
- "items": {
- "properties": {
- "name": {
- "description": "Name of the event. This is the specific name of the activity reported by the API. And each eventName is related to a specific G Suite service or feature which the API organizes into types of events.\nFor eventName request parameters in general: \n- If no eventName is given, the report returns all possible instances of an eventName. \n- When you request an eventName, the API's response returns all activities which contain that eventName. It is possible that the returned activities will have other eventName properties in addition to the one requested. \nFor more information about eventName properties, see the list of event names for various applications above in applicationName.",
- "type": "string"
- },
- "parameters": {
- "description": "Parameter value pairs for various applications. For more information about eventName parameters, see the list of event names for various applications above in applicationName.",
- "items": {
- "properties": {
- "boolValue": {
- "description": "Boolean value of the parameter.",
- "type": "boolean"
- },
- "intValue": {
- "description": "Integer value of the parameter.",
- "format": "int64",
- "type": "string"
- },
- "messageValue": {
- "description": "Nested parameter value pairs associated with this parameter. Complex value type for a parameter are returned as a list of parameter values. For example, the address parameter may have a value as [{parameter: [{name: city, value: abc}]}]",
- "properties": {
- "parameter": {
- "description": "Parameter values",
- "items": {
- "$ref": "NestedParameter"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "multiIntValue": {
- "description": "Integer values of the parameter.",
- "items": {
- "format": "int64",
- "type": "string"
- },
- "type": "array"
- },
- "multiMessageValue": {
- "description": "List of messageValue objects.",
- "items": {
- "properties": {
- "parameter": {
- "description": "Parameter values",
- "items": {
- "$ref": "NestedParameter"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "multiValue": {
- "description": "String values of the parameter.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "name": {
- "description": "The name of the parameter.",
- "type": "string"
- },
- "value": {
- "description": "String value of the parameter.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "type": {
- "description": "Type of event. The G Suite service or feature that an administrator changes is identified in the type property which identifies an event using the eventName property. For a full list of the API's type categories, see the list of event names for various applications above in applicationName.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "id": {
- "description": "Unique identifier for each activity record.",
- "properties": {
- "applicationName": {
- "description": "Application name to which the event belongs. For possible values see the list of applications above in applicationName.",
- "type": "string"
- },
- "customerId": {
- "description": "The unique identifier for a G suite account.",
- "type": "string"
- },
- "time": {
- "description": "Time of occurrence of the activity. This is in UNIX epoch time in seconds.",
- "format": "date-time",
- "type": "string"
- },
- "uniqueQualifier": {
- "description": "Unique qualifier if multiple events have the same time.",
- "format": "int64",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ipAddress": {
- "description": "IP address of the user doing the action. This is the Internet Protocol (IP) address of the user when logging into G Suite which may or may not reflect the user's physical location. For example, the IP address can be the user's proxy server's address or a virtual private network (VPN) address. The API supports IPv4 and IPv6.",
- "type": "string"
- },
- "kind": {
- "default": "admin#reports#activity",
- "description": "The type of API resource. For an activity report, the value is audit#activity.",
- "type": "string"
- },
- "ownerDomain": {
- "description": "This is the domain that is affected by the report's event. For example domain of Admin console or the Drive application's document owner.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Channel": {
- "description": "An notification channel used to watch for resource changes.",
- "id": "Channel",
- "properties": {
- "address": {
- "description": "The address where notifications are delivered for this channel.",
- "type": "string"
- },
- "expiration": {
- "description": "Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.",
- "format": "int64",
- "type": "string"
- },
- "id": {
- "description": "A UUID or similar unique string that identifies this channel.",
- "type": "string"
- },
- "kind": {
- "default": "api#channel",
- "description": "Identifies this as a notification channel used to watch for changes to a resource, which is \"api#channel\".",
- "type": "string"
- },
- "params": {
- "additionalProperties": {
- "description": "Declares a new parameter by name.",
- "type": "string"
- },
- "description": "Additional parameters controlling delivery channel behavior. Optional.",
- "type": "object"
- },
- "payload": {
- "description": "A Boolean value to indicate whether payload is wanted. Optional.",
- "type": "boolean"
- },
- "resourceId": {
- "description": "An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.",
- "type": "string"
- },
- "resourceUri": {
- "description": "A version-specific identifier for the watched resource.",
- "type": "string"
- },
- "token": {
- "description": "An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.",
- "type": "string"
- },
- "type": {
- "description": "The type of delivery mechanism used for this channel.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "NestedParameter": {
- "description": "JSON template for a parameter used in various reports.",
- "id": "NestedParameter",
- "properties": {
- "boolValue": {
- "description": "Boolean value of the parameter.",
- "type": "boolean"
- },
- "intValue": {
- "description": "Integer value of the parameter.",
- "format": "int64",
- "type": "string"
- },
- "multiBoolValue": {
- "description": "Multiple boolean values of the parameter.",
- "items": {
- "type": "boolean"
- },
- "type": "array"
- },
- "multiIntValue": {
- "description": "Multiple integer values of the parameter.",
- "items": {
- "format": "int64",
- "type": "string"
- },
- "type": "array"
- },
- "multiValue": {
- "description": "Multiple string values of the parameter.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "name": {
- "description": "The name of the parameter.",
- "type": "string"
- },
- "value": {
- "description": "String value of the parameter.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UsageReport": {
- "description": "JSON template for a usage report.",
- "id": "UsageReport",
- "properties": {
- "date": {
- "description": "The date of the report request.",
- "readOnly": true,
- "type": "string"
- },
- "entity": {
- "description": "Information about the type of the item.",
- "properties": {
- "customerId": {
- "description": "The unique identifier of the customer's account.",
- "readOnly": true,
- "type": "string"
- },
- "entityId": {
- "description": "Object key. Only relevant if entity.type = \"OBJECT\" Note: external-facing name of report is \"Entities\" rather than \"Objects\".",
- "readOnly": true,
- "type": "string"
- },
- "profileId": {
- "description": "The user's immutable G Suite profile identifier.",
- "readOnly": true,
- "type": "string"
- },
- "type": {
- "description": "The type of item. The value is customer.",
- "readOnly": true,
- "type": "string"
- },
- "userEmail": {
- "description": "The user's email address. Only relevant if entity.type = \"USER\"",
- "readOnly": true,
- "type": "string"
- }
- },
- "readOnly": true,
- "type": "object"
- },
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "kind": {
- "default": "admin#reports#usageReport",
- "description": "The type of API resource. For a usage report, the value is admin#reports#usageReport.",
- "type": "string"
- },
- "parameters": {
- "description": "Parameter value pairs for various applications. For the Customers usage report parameters and values, see the customer usage parameters reference.",
- "items": {
- "properties": {
- "boolValue": {
- "description": "Boolean value of the parameter.",
- "readOnly": true,
- "type": "boolean"
- },
- "datetimeValue": {
- "description": "The RFC 3339 formatted value of the parameter, for example 2010-10-28T10:26:35.000Z.",
- "format": "date-time",
- "readOnly": true,
- "type": "string"
- },
- "intValue": {
- "description": "Integer value of the parameter.",
- "format": "int64",
- "readOnly": true,
- "type": "string"
- },
- "msgValue": {
- "description": "Nested message value of the parameter.",
- "items": {
- "additionalProperties": {
- "type": "any"
- },
- "type": "object"
- },
- "readOnly": true,
- "type": "array"
- },
- "name": {
- "type": "string"
- },
- "stringValue": {
- "description": "String value of the parameter.",
- "readOnly": true,
- "type": "string"
- }
- },
- "type": "object"
- },
- "readOnly": true,
- "type": "array"
- }
- },
- "type": "object"
- },
- "UsageReports": {
- "id": "UsageReports",
- "properties": {
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "kind": {
- "default": "admin#reports#usageReports",
- "description": "The type of API resource. For a usage report, the value is admin#reports#usageReports.",
- "type": "string"
- },
- "nextPageToken": {
- "description": "Token to specify next page. A report with multiple pages has a nextPageToken property in the response. For your follow-on requests getting all of the report's pages, enter the nextPageToken value in the pageToken query string.",
- "type": "string"
- },
- "usageReports": {
- "description": "Various application parameter records.",
- "items": {
- "$ref": "UsageReport"
- },
- "type": "array"
- },
- "warnings": {
- "description": "Warnings, if any.",
- "items": {
- "properties": {
- "code": {
- "description": "Machine readable code or warning type. The warning code value is 200.",
- "type": "string"
- },
- "data": {
- "description": "Key-value pairs to give detailed information on the warning.",
- "items": {
- "properties": {
- "key": {
- "description": "Key associated with a key-value pair to give detailed information on the warning.",
- "type": "string"
- },
- "value": {
- "description": "Value associated with a key-value pair to give detailed information on the warning.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "message": {
- "description": "The human readable messages for a warning are: \n- Data is not available warning - Sorry, data for date yyyy-mm-dd for application \"application name\" is not available. \n- Partial data is available warning - Data for date yyyy-mm-dd for application \"application name\" is not available right now, please try again after a few hours.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- }
- },
- "type": "object"
- }
- },
- "servicePath": "admin/reports/v1/",
- "title": "Admin Reports API",
- "version": "reports_v1"
-}
\ No newline at end of file
diff --git a/etc/api/admob/v1/admob-api.json b/etc/api/admob/v1/admob-api.json
index b4e9049c93..1eb4bf2561 100644
--- a/etc/api/admob/v1/admob-api.json
+++ b/etc/api/admob/v1/admob-api.json
@@ -108,7 +108,7 @@
],
"parameters": {
"name": {
- "description": "Resource name of the publisher account to retrieve.\nExample: accounts/pub-9876543210987654",
+ "description": "Required. Resource name of the publisher account to retrieve.\nExample: accounts/pub-9876543210987654",
"location": "path",
"pattern": "^accounts/[^/]+$",
"required": true,
@@ -207,7 +207,7 @@
}
}
},
- "revision": "20200409",
+ "revision": "20200709",
"rootUrl": "https://admob.googleapis.com/",
"schemas": {
"Date": {
@@ -259,7 +259,7 @@
"type": "object"
},
"GenerateMediationReportResponse": {
- "description": "The streaming response for the AdMob Mediation report where the first\nresponse contains the report header, then a stream of row responses, and\nfinally a footer as the last response message.\n\nFor example:\n\n [{\n \"header\": {\n \"date_range\": {\n \"start_date\": {\"year\": 2018, \"month\": 9, \"day\": 1},\n \"end_date\": {\"year\": 2018, \"month\": 9, \"day\": 30}\n }\n \"localization_settings\": {\n \"currency_code\": \"USD\",\n \"language_code\": \"en-US\"\n }\n }\n },\n {\n \"row\": {\n \"dimension_values\": {\n \"DATE\": {\"value\": \"20180918\"},\n \"APP\": {\n \"value\": \"ca-app-pub-8123415297019784~1001342552\",\n \"display_label\": \"My app name!\"\n }\n },\n \"metric_values\": {\n \"ESTIMATED_EARNINGS\": {\"decimal_value\": \"1324746\"}\n }\n }\n },\n {\n \"footer\": {\"matching_row_count\": 1}\n }]",
+ "description": "The streaming response for the AdMob Mediation report where the first\nresponse contains the report header, then a stream of row responses, and\nfinally a footer as the last response message.\n\nFor example:\n\n [{\n \"header\": {\n \"date_range\": {\n \"start_date\": {\"year\": 2018, \"month\": 9, \"day\": 1},\n \"end_date\": {\"year\": 2018, \"month\": 9, \"day\": 1}\n },\n \"localization_settings\": {\n \"currency_code\": \"USD\",\n \"language_code\": \"en-US\"\n }\n }\n },\n {\n \"row\": {\n \"dimension_values\": {\n \"DATE\": {\"value\": \"20180918\"},\n \"APP\": {\n \"value\": \"ca-app-pub-8123415297019784~1001342552\",\n \"display_label\": \"My app name!\"\n }\n },\n \"metric_values\": {\n \"ESTIMATED_EARNINGS\": {\"decimal_value\": \"1324746\"}\n }\n }\n },\n {\n \"footer\": {\"matching_row_count\": 1}\n }]",
"id": "GenerateMediationReportResponse",
"properties": {
"footer": {
@@ -289,7 +289,7 @@
"type": "object"
},
"GenerateNetworkReportResponse": {
- "description": "The streaming response for the AdMob Network report where the first response\ncontains the report header, then a stream of row responses, and finally a\nfooter as the last response message.\n\nFor example:\n\n [{\n \"header\": {\n \"dateRange\": {\n \"startDate\": {\"year\": 2018, \"month\": 9, \"day\": 1},\n \"endDate\": {\"year\": 2018, \"month\": 9, \"day\": 30}\n }\n \"localizationSettings\": {\n \"currencyCode\": \"USD\",\n \"languageCode\": \"en-US\"\n }\n }\n },\n {\n \"row\": {\n \"dimensionValues\": {\n \"DATE\": {\"value\": \"20180918\"},\n \"APP\": {\n \"value\": \"ca-app-pub-8123415297019784~1001342552\",\n displayLabel: \"My app name!\"\n }\n },\n \"metricValues\": {\n \"ESTIMATED_EARNINGS\": {\"microsValue\": 6500000}\n }\n }\n },\n ...\n {\n \"footer\": {\"matchingRowCount\": 5}\n }]",
+ "description": "The streaming response for the AdMob Network report where the first response\ncontains the report header, then a stream of row responses, and finally a\nfooter as the last response message.\n\nFor example:\n\n [{\n \"header\": {\n \"dateRange\": {\n \"startDate\": {\"year\": 2018, \"month\": 9, \"day\": 1},\n \"endDate\": {\"year\": 2018, \"month\": 9, \"day\": 1}\n },\n \"localizationSettings\": {\n \"currencyCode\": \"USD\",\n \"languageCode\": \"en-US\"\n }\n }\n },\n {\n \"row\": {\n \"dimensionValues\": {\n \"DATE\": {\"value\": \"20180918\"},\n \"APP\": {\n \"value\": \"ca-app-pub-8123415297019784~1001342552\",\n displayLabel: \"My app name!\"\n }\n },\n \"metricValues\": {\n \"ESTIMATED_EARNINGS\": {\"microsValue\": 6500000}\n }\n }\n },\n {\n \"footer\": {\"matchingRowCount\": 1}\n }]",
"id": "GenerateNetworkReportResponse",
"properties": {
"footer": {
diff --git a/etc/api/adsense/v1.4/adsense-api.json b/etc/api/adsense/v1.4/adsense-api.json
index 1eb3c90ffd..d255db19c3 100644
--- a/etc/api/adsense/v1.4/adsense-api.json
+++ b/etc/api/adsense/v1.4/adsense-api.json
@@ -1654,7 +1654,7 @@
}
}
},
- "revision": "20200407",
+ "revision": "20200708",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Account": {
diff --git a/etc/api/adsensehost/v4.1/adsensehost-api.json b/etc/api/adsensehost/v4.1/adsensehost-api.json
index 2f2af365f0..edb3a58ab5 100644
--- a/etc/api/adsensehost/v4.1/adsensehost-api.json
+++ b/etc/api/adsensehost/v4.1/adsensehost-api.json
@@ -1076,7 +1076,7 @@
}
}
},
- "revision": "20200407",
+ "revision": "20200709",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Account": {
diff --git a/etc/api/alertcenter/v1beta1/alertcenter-api.json b/etc/api/alertcenter/v1beta1/alertcenter-api.json
index d482c973b7..19f625c967 100644
--- a/etc/api/alertcenter/v1beta1/alertcenter-api.json
+++ b/etc/api/alertcenter/v1beta1/alertcenter-api.json
@@ -423,7 +423,7 @@
}
}
},
- "revision": "20200406",
+ "revision": "20200704",
"rootUrl": "https://alertcenter.googleapis.com/",
"schemas": {
"AccountWarning": {
diff --git a/etc/api/analyticsreporting/v4/analyticsreporting-api.json b/etc/api/analyticsreporting/v4/analyticsreporting-api.json
index 1a58edc83f..42f2448daa 100644
--- a/etc/api/analyticsreporting/v4/analyticsreporting-api.json
+++ b/etc/api/analyticsreporting/v4/analyticsreporting-api.json
@@ -155,7 +155,7 @@
}
}
},
- "revision": "20200405",
+ "revision": "20200707",
"rootUrl": "https://analyticsreporting.googleapis.com/",
"schemas": {
"Activity": {
diff --git a/etc/api/androiddeviceprovisioning/v1/androiddeviceprovisioning-api.json b/etc/api/androiddeviceprovisioning/v1/androiddeviceprovisioning-api.json
index a162a3a400..42ed2aa028 100644
--- a/etc/api/androiddeviceprovisioning/v1/androiddeviceprovisioning-api.json
+++ b/etc/api/androiddeviceprovisioning/v1/androiddeviceprovisioning-api.json
@@ -825,7 +825,7 @@
}
}
},
- "revision": "20200408",
+ "revision": "20200708",
"rootUrl": "https://androiddeviceprovisioning.googleapis.com/",
"schemas": {
"ClaimDeviceRequest": {
@@ -839,7 +839,7 @@
},
"deviceIdentifier": {
"$ref": "DeviceIdentifier",
- "description": "Required. The device identifier of the device to claim."
+ "description": "Required. Required. The device identifier of the device to claim."
},
"deviceMetadata": {
"$ref": "DeviceMetadata",
@@ -897,7 +897,7 @@
"id": "Company",
"properties": {
"adminEmails": {
- "description": "Optional. Input only. Email address of customer's users in the admin role.\nEach email address must be associated with a Google Account.",
+ "description": "Optional. Email address of customer's users in the admin role.\nEach email address must be associated with a Google Account.",
"items": {
"type": "string"
},
@@ -917,7 +917,7 @@
"type": "string"
},
"ownerEmails": {
- "description": "Input only. Email address of customer's users in the owner role. At least\none `owner_email` is required. Each email address must be associated with a\nGoogle Account. Owners share the same access as admins but can also add,\ndelete, and edit your organization's portal users.",
+ "description": "Required. Input only. Email address of customer's users in the owner role. At least\none `owner_email` is required. Each email address must be associated with a\nGoogle Account. Owners share the same access as admins but can also add,\ndelete, and edit your organization's portal users.",
"items": {
"type": "string"
},
@@ -1124,11 +1124,11 @@
},
"deviceIdentifier": {
"$ref": "DeviceIdentifier",
- "description": "The hardware IDs that identify a manufactured device. To learn more, read\n[Identifiers](/zero-touch/guides/identifiers)."
+ "description": "The hardware IDs that identify a manufactured device. To learn more, read\n[Identifiers](https://developers.google.com/zero-touch/guides/identifiers)."
},
"deviceMetadata": {
"$ref": "DeviceMetadata",
- "description": "The metadata attached to the device. Structured as key-value pairs. To\nlearn more, read [Device metadata](/zero-touch/guides/metadata)."
+ "description": "The metadata attached to the device. Structured as key-value pairs. To\nlearn more, read [Device\nmetadata](https://developers.google.com/zero-touch/guides/metadata)."
},
"name": {
"description": "Output only. The API resource name in the format\n`partners/[PARTNER_ID]/devices/[DEVICE_ID]`. Assigned by the server.",
@@ -1179,7 +1179,7 @@
"type": "object"
},
"DeviceIdentifier": {
- "description": "Encapsulates hardware and product IDs to identify a manufactured device.\nTo understand requirements on identifier sets, read\n[Identifiers](/zero-touch/guides/identifiers).",
+ "description": "Encapsulates hardware and product IDs to identify a manufactured device.\nTo understand requirements on identifier sets, read\n[Identifiers](https://developers.google.com/zero-touch/guides/identifiers).",
"id": "DeviceIdentifier",
"properties": {
"imei": {
@@ -1206,7 +1206,7 @@
"type": "object"
},
"DeviceMetadata": {
- "description": "Metadata entries that can be attached to a `Device`. To learn more, read\n[Device metadata](/zero-touch/guides/metadata).",
+ "description": "Metadata entries that can be attached to a `Device`. To learn more, read\n[Device metadata](https://developers.google.com/zero-touch/guides/metadata).",
"id": "DeviceMetadata",
"properties": {
"entries": {
@@ -1220,7 +1220,7 @@
"type": "object"
},
"DeviceReference": {
- "description": "A `DeviceReference` is an API abstraction that lets you supply a _device_\nargument to a method using one of the following identifier types:\n\n* A numeric API resource ID.\n* Real-world hardware IDs, such as IMEI number, belonging to the manufactured\n device.\n\nMethods that operate on devices take a `DeviceReference` as a parameter type\nbecause it's more flexible for the caller. To learn more about device\nidentifiers, read [Identifiers](/zero-touch/guides/identifiers).",
+ "description": "A `DeviceReference` is an API abstraction that lets you supply a _device_\nargument to a method using one of the following identifier types:\n\n* A numeric API resource ID.\n* Real-world hardware IDs, such as IMEI number, belonging to the manufactured\n device.\n\nMethods that operate on devices take a `DeviceReference` as a parameter type\nbecause it's more flexible for the caller. To learn more about device\nidentifiers, read\n[Identifiers](https://developers.google.com/zero-touch/guides/identifiers).",
"id": "DeviceReference",
"properties": {
"deviceId": {
@@ -1318,7 +1318,7 @@
"properties": {
"deviceIdentifier": {
"$ref": "DeviceIdentifier",
- "description": "Required. The device identifier to search for."
+ "description": "Required. Required. The device identifier to search for."
},
"limit": {
"description": "Required. The maximum number of devices to show in a page of results. Must\nbe between 1 and 100 inclusive.",
@@ -1554,7 +1554,7 @@
},
"deviceIdentifier": {
"$ref": "DeviceIdentifier",
- "description": "Required. Device identifier of the device."
+ "description": "Required. Required. Device identifier of the device."
},
"deviceMetadata": {
"$ref": "DeviceMetadata",
@@ -1582,13 +1582,13 @@
"id": "PartnerUnclaim",
"properties": {
"deviceId": {
- "description": "Device ID of the device.",
+ "description": "Required. Device ID of the device.",
"format": "int64",
"type": "string"
},
"deviceIdentifier": {
"$ref": "DeviceIdentifier",
- "description": "Device identifier of the device."
+ "description": "Required. Device identifier of the device."
},
"sectionType": {
"description": "Required. The section type of the device's provisioning record.",
@@ -1605,12 +1605,12 @@
"type": "string"
},
"vacationModeDays": {
- "description": "The duration of the vacation unlock starting from when the request is\nprocessed. (1 day is treated as 24 hours)",
+ "description": "Optional. The duration of the vacation unlock starting from when the request is\nprocessed. (1 day is treated as 24 hours)",
"format": "int32",
"type": "integer"
},
"vacationModeExpireTime": {
- "description": "The expiration time of the vacation unlock.",
+ "description": "Optional. The expiration time of the vacation unlock.",
"format": "google-datetime",
"type": "string"
}
@@ -1693,13 +1693,13 @@
"id": "UnclaimDeviceRequest",
"properties": {
"deviceId": {
- "description": "The device ID returned by `ClaimDevice`.",
+ "description": "Required. The device ID returned by `ClaimDevice`.",
"format": "int64",
"type": "string"
},
"deviceIdentifier": {
"$ref": "DeviceIdentifier",
- "description": "The device identifier you used when you claimed this device."
+ "description": "Required. The device identifier you used when you claimed this device."
},
"sectionType": {
"description": "Required. The section type of the device's provisioning record.",
@@ -1772,13 +1772,13 @@
"id": "UpdateMetadataArguments",
"properties": {
"deviceId": {
- "description": "Device ID of the device.",
+ "description": "Required. Device ID of the device.",
"format": "int64",
"type": "string"
},
"deviceIdentifier": {
"$ref": "DeviceIdentifier",
- "description": "Device identifier."
+ "description": "Required. Device identifier."
},
"deviceMetadata": {
"$ref": "DeviceMetadata",
diff --git a/etc/api/androidenterprise/v1/androidenterprise-api.json b/etc/api/androidenterprise/v1/androidenterprise-api.json
index ff9d4ec6f5..aea63a8115 100644
--- a/etc/api/androidenterprise/v1/androidenterprise-api.json
+++ b/etc/api/androidenterprise/v1/androidenterprise-api.json
@@ -8,36 +8,63 @@
}
}
},
- "basePath": "/androidenterprise/v1/",
- "baseUrl": "https://www.googleapis.com/androidenterprise/v1/",
+ "basePath": "",
+ "baseUrl": "https://www.googleapis.com/",
"batchPath": "batch/androidenterprise/v1",
"canonicalName": "Android Enterprise",
- "description": "Manages the deployment of apps to Android for Work users.",
+ "description": "Manages the deployment of apps to Android Enterprise devices.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/android/work/play/emm-api",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/dchEQv1fOU-CrzLmTHLQqSguxQA\"",
"icons": {
- "x16": "https://www.google.com/images/icons/product/android-16.png",
- "x32": "https://www.google.com/images/icons/product/android-32.png"
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"id": "androidenterprise:v1",
"kind": "discovery#restDescription",
+ "mtlsRootUrl": "https://www.mtls.googleapis.com/",
"name": "androidenterprise",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "alt": {
- "default": "json",
- "description": "Data format for the response.",
+ "$.xgafv": {
+ "description": "V1 error format.",
"enum": [
- "json"
+ "1",
+ "2"
],
"enumDescriptions": [
- "Responses with Content-Type of application/json"
+ "v1 error format",
+ "v2 error format"
],
"location": "query",
"type": "string"
},
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "alt": {
+ "default": "json",
+ "description": "Data format for response.",
+ "enum": [
+ "json",
+ "media",
+ "proto"
+ ],
+ "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",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
@@ -60,12 +87,17 @@
"type": "boolean"
},
"quotaUser": {
- "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
+ "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",
"type": "string"
},
- "userIp": {
- "description": "Deprecated. Please use quotaUser instead.",
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
}
@@ -75,7 +107,8 @@
"devices": {
"methods": {
"forceReportUpload": {
- "description": "Uploads a report containing any changes in app states on the device since the last report was generated. You can call this method up to 3 times every 24 hours for a given device.",
+ "description": "Uploads a report containing any changes in app states on the device since\nthe last report was generated. You can call this method up to 3 times every\n24 hours for a given device.\nIf you exceed the quota, then the Google Play EMM API returns HTTP\n429 Too Many Requests.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/forceReportUpload",
"httpMethod": "POST",
"id": "androidenterprise.devices.forceReportUpload",
"parameterOrder": [
@@ -103,13 +136,14 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/forceReportUpload",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/forceReportUpload",
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
},
"get": {
"description": "Retrieves the details of a device.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}",
"httpMethod": "GET",
"id": "androidenterprise.devices.get",
"parameterOrder": [
@@ -137,7 +171,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}",
"response": {
"$ref": "Device"
},
@@ -146,7 +180,8 @@
]
},
"getState": {
- "description": "Retrieves whether a device's access to Google services is enabled or disabled. The device state takes effect only if enforcing EMM policies on Android devices is enabled in the Google Admin Console. Otherwise, the device state is ignored and all devices are allowed access to Google services. This is only supported for Google-managed users.",
+ "description": "Retrieves whether a device's access to Google services is enabled or\ndisabled.\nThe device state takes effect only if enforcing EMM policies on Android\ndevices is enabled in the Google Admin Console.\nOtherwise, the device state is ignored and all devices are allowed access\nto Google services.\nThis is only supported for Google-managed users.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state",
"httpMethod": "GET",
"id": "androidenterprise.devices.getState",
"parameterOrder": [
@@ -174,7 +209,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state",
"response": {
"$ref": "DeviceState"
},
@@ -184,6 +219,7 @@
},
"list": {
"description": "Retrieves the IDs of all of a user's devices.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices",
"httpMethod": "GET",
"id": "androidenterprise.devices.list",
"parameterOrder": [
@@ -204,7 +240,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/devices",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices",
"response": {
"$ref": "DevicesListResponse"
},
@@ -213,7 +249,8 @@
]
},
"setState": {
- "description": "Sets whether a device's access to Google services is enabled or disabled. The device state takes effect only if enforcing EMM policies on Android devices is enabled in the Google Admin Console. Otherwise, the device state is ignored and all devices are allowed access to Google services. This is only supported for Google-managed users.",
+ "description": "Sets whether a device's access to Google services is enabled or disabled.\nThe device state takes effect only if enforcing EMM policies on Android\ndevices is enabled in the Google Admin Console.\nOtherwise, the device state is ignored and all devices are allowed access\nto Google services.\nThis is only supported for Google-managed users.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state",
"httpMethod": "PUT",
"id": "androidenterprise.devices.setState",
"parameterOrder": [
@@ -241,7 +278,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state",
"request": {
"$ref": "DeviceState"
},
@@ -254,6 +291,7 @@
},
"update": {
"description": "Updates the device policy",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}",
"httpMethod": "PUT",
"id": "androidenterprise.devices.update",
"parameterOrder": [
@@ -275,7 +313,7 @@
"type": "string"
},
"updateMask": {
- "description": "Mask that identifies which fields to update. If not set, all modifiable fields will be modified.\n\nWhen set in a query parameter, this field should be specified as updateMask=,,...",
+ "description": "Mask that identifies which fields to update. If not set, all modifiable\nfields will be modified.\n\nWhen set in a query parameter, this field should be specified as\nupdateMask=<field1>,<field2>,...",
"location": "query",
"type": "string"
},
@@ -286,7 +324,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}",
"request": {
"$ref": "Device"
},
@@ -302,25 +340,29 @@
"enterprises": {
"methods": {
"acknowledgeNotificationSet": {
- "description": "Acknowledges notifications that were received from Enterprises.PullNotificationSet to prevent subsequent calls from returning the same notifications.",
+ "description": "Acknowledges notifications that were received from\nEnterprises.PullNotificationSet to prevent subsequent calls from returning\nthe same notifications.",
+ "flatPath": "androidenterprise/v1/enterprises/acknowledgeNotificationSet",
"httpMethod": "POST",
"id": "androidenterprise.enterprises.acknowledgeNotificationSet",
+ "parameterOrder": [],
"parameters": {
"notificationSetId": {
- "description": "The notification set ID as returned by Enterprises.PullNotificationSet. This must be provided.",
+ "description": "The notification set ID as returned by Enterprises.PullNotificationSet.\nThis must be provided.",
"location": "query",
"type": "string"
}
},
- "path": "enterprises/acknowledgeNotificationSet",
+ "path": "androidenterprise/v1/enterprises/acknowledgeNotificationSet",
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
},
"completeSignup": {
- "description": "Completes the signup flow, by specifying the Completion token and Enterprise token. This request must not be called multiple times for a given Enterprise Token.",
+ "description": "Completes the signup flow, by specifying the Completion token and\nEnterprise token.\nThis request must not be called multiple times for a given Enterprise\nToken.",
+ "flatPath": "androidenterprise/v1/enterprises/completeSignup",
"httpMethod": "POST",
"id": "androidenterprise.enterprises.completeSignup",
+ "parameterOrder": [],
"parameters": {
"completionToken": {
"description": "The Completion token initially returned by GenerateSignupUrl.",
@@ -333,7 +375,7 @@
"type": "string"
}
},
- "path": "enterprises/completeSignup",
+ "path": "androidenterprise/v1/enterprises/completeSignup",
"response": {
"$ref": "Enterprise"
},
@@ -342,7 +384,8 @@
]
},
"createWebToken": {
- "description": "Returns a unique token to access an embeddable UI. To generate a web UI, pass the generated token into the managed Google Play javascript API. Each token may only be used to start one UI session. See the javascript API documentation for further information.",
+ "description": "Returns a unique token to access an embeddable UI. To generate a\nweb UI, pass the generated token into the managed Google Play javascript\nAPI. Each token may only be used to start one UI session. See the\njavascript API documentation for further information.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/createWebToken",
"httpMethod": "POST",
"id": "androidenterprise.enterprises.createWebToken",
"parameterOrder": [
@@ -356,7 +399,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/createWebToken",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/createWebToken",
"request": {
"$ref": "AdministratorWebTokenSpec"
},
@@ -369,6 +412,7 @@
},
"enroll": {
"description": "Enrolls an enterprise with the calling EMM.",
+ "flatPath": "androidenterprise/v1/enterprises/enroll",
"httpMethod": "POST",
"id": "androidenterprise.enterprises.enroll",
"parameterOrder": [
@@ -376,13 +420,13 @@
],
"parameters": {
"token": {
- "description": "The token provided by the enterprise to register the EMM.",
+ "description": "Required. The token provided by the enterprise to register the EMM.",
"location": "query",
"required": true,
"type": "string"
}
},
- "path": "enterprises/enroll",
+ "path": "androidenterprise/v1/enterprises/enroll",
"request": {
"$ref": "Enterprise"
},
@@ -395,16 +439,18 @@
},
"generateSignupUrl": {
"description": "Generates a sign-up URL.",
+ "flatPath": "androidenterprise/v1/enterprises/signupUrl",
"httpMethod": "POST",
"id": "androidenterprise.enterprises.generateSignupUrl",
+ "parameterOrder": [],
"parameters": {
"callbackUrl": {
- "description": "The callback URL to which the Admin will be redirected after successfully creating an enterprise. Before redirecting there the system will add a single query parameter to this URL named \"enterpriseToken\" which will contain an opaque token to be used for the CompleteSignup request.\nBeware that this means that the URL will be parsed, the parameter added and then a new URL formatted, i.e. there may be some minor formatting changes and, more importantly, the URL must be well-formed so that it can be parsed.",
+ "description": "The callback URL to which the Admin will be redirected after successfully\ncreating an enterprise. Before redirecting there the system will add a\nsingle query parameter to this URL named \"enterpriseToken\" which will\ncontain an opaque token to be used for the CompleteSignup request. \nBeware that this means that the URL will be parsed, the parameter added\nand then a new URL formatted, i.e. there may be some minor formatting\nchanges and, more importantly, the URL must be well-formed so that it can\nbe parsed.",
"location": "query",
"type": "string"
}
},
- "path": "enterprises/signupUrl",
+ "path": "androidenterprise/v1/enterprises/signupUrl",
"response": {
"$ref": "SignupInfo"
},
@@ -414,6 +460,7 @@
},
"get": {
"description": "Retrieves the name and domain of an enterprise.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}",
"httpMethod": "GET",
"id": "androidenterprise.enterprises.get",
"parameterOrder": [
@@ -427,7 +474,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}",
"response": {
"$ref": "Enterprise"
},
@@ -436,7 +483,8 @@
]
},
"getServiceAccount": {
- "description": "Returns a service account and credentials. The service account can be bound to the enterprise by calling setAccount. The service account is unique to this enterprise and EMM, and will be deleted if the enterprise is unbound. The credentials contain private key data and are not stored server-side.\n\nThis method can only be called after calling Enterprises.Enroll or Enterprises.CompleteSignup, and before Enterprises.SetAccount; at other times it will return an error.\n\nSubsequent calls after the first will generate a new, unique set of credentials, and invalidate the previously generated credentials.\n\nOnce the service account is bound to the enterprise, it can be managed using the serviceAccountKeys resource.",
+ "description": "Returns a service account and credentials. The service account\ncan be bound to the enterprise by calling setAccount. The service account\nis unique to this enterprise and EMM, and will be deleted if the enterprise\nis unbound. The credentials contain private key data and are not stored\nserver-side.\n
\nThis method can only be called after calling\nEnterprises.Enroll or Enterprises.CompleteSignup, and before\nEnterprises.SetAccount; at other times it will return an error.\n
\nSubsequent calls after the first will generate a new, unique set of\ncredentials, and invalidate the previously generated credentials.\n
\nOnce the service account is bound to the enterprise, it can be managed\nusing the serviceAccountKeys resource.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/serviceAccount",
"httpMethod": "GET",
"id": "androidenterprise.enterprises.getServiceAccount",
"parameterOrder": [
@@ -455,15 +503,11 @@
"googleCredentials",
"pkcs12"
],
- "enumDescriptions": [
- "",
- ""
- ],
"location": "query",
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/serviceAccount",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/serviceAccount",
"response": {
"$ref": "ServiceAccount"
},
@@ -472,7 +516,8 @@
]
},
"getStoreLayout": {
- "description": "Returns the store layout for the enterprise. If the store layout has not been set, returns \"basic\" as the store layout type and no homepage.",
+ "description": "Returns the store layout for the enterprise. If the store layout\nhas not been set, returns \"basic\" as the store layout type and no\nhomepage.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/storeLayout",
"httpMethod": "GET",
"id": "androidenterprise.enterprises.getStoreLayout",
"parameterOrder": [
@@ -486,7 +531,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/storeLayout",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/storeLayout",
"response": {
"$ref": "StoreLayout"
},
@@ -495,7 +540,8 @@
]
},
"list": {
- "description": "Looks up an enterprise by domain name. This is only supported for enterprises created via the Google-initiated creation flow. Lookup of the id is not needed for enterprises created via the EMM-initiated flow since the EMM learns the enterprise ID in the callback specified in the Enterprises.generateSignupUrl call.",
+ "description": "Looks up an enterprise by domain name.\nThis is only supported for enterprises created via the Google-initiated\ncreation flow. Lookup of the id is not needed for enterprises created via\nthe EMM-initiated flow since the EMM learns the enterprise ID in the\ncallback specified in the Enterprises.generateSignupUrl call.",
+ "flatPath": "androidenterprise/v1/enterprises",
"httpMethod": "GET",
"id": "androidenterprise.enterprises.list",
"parameterOrder": [
@@ -503,13 +549,13 @@
],
"parameters": {
"domain": {
- "description": "The exact primary domain name of the enterprise to look up.",
+ "description": "Required. The exact primary domain name of the enterprise to look up.",
"location": "query",
"required": true,
"type": "string"
}
},
- "path": "enterprises",
+ "path": "androidenterprise/v1/enterprises",
"response": {
"$ref": "EnterprisesListResponse"
},
@@ -518,25 +564,23 @@
]
},
"pullNotificationSet": {
- "description": "Pulls and returns a notification set for the enterprises associated with the service account authenticated for the request. The notification set may be empty if no notification are pending.\nA notification set returned needs to be acknowledged within 20 seconds by calling Enterprises.AcknowledgeNotificationSet, unless the notification set is empty.\nNotifications that are not acknowledged within the 20 seconds will eventually be included again in the response to another PullNotificationSet request, and those that are never acknowledged will ultimately be deleted according to the Google Cloud Platform Pub/Sub system policy.\nMultiple requests might be performed concurrently to retrieve notifications, in which case the pending notifications (if any) will be split among each caller, if any are pending.\nIf no notifications are present, an empty notification list is returned. Subsequent requests may return more notifications once they become available.",
+ "description": "Pulls and returns a notification set for the enterprises associated with\nthe service account authenticated for the request. The notification set may\nbe empty if no notification are pending.\n \nA notification set returned needs to be acknowledged within 20 seconds\nby calling Enterprises.AcknowledgeNotificationSet, unless the\nnotification set is empty.\n \nNotifications that are not acknowledged within the 20 seconds will\neventually be included again in the response to another PullNotificationSet\nrequest, and those that are never acknowledged will ultimately be deleted\naccording to the Google Cloud Platform Pub/Sub system policy.\n \nMultiple requests might be performed concurrently to retrieve\nnotifications, in which case the pending notifications (if any) will be\nsplit among each caller, if any are pending.\n \nIf no notifications are present, an empty notification list is returned.\nSubsequent requests may return more notifications once they become\navailable.",
+ "flatPath": "androidenterprise/v1/enterprises/pullNotificationSet",
"httpMethod": "POST",
"id": "androidenterprise.enterprises.pullNotificationSet",
+ "parameterOrder": [],
"parameters": {
"requestMode": {
- "description": "The request mode for pulling notifications.\nSpecifying waitForNotifications will cause the request to block and wait until one or more notifications are present, or return an empty notification list if no notifications are present after some time.\nSpeciying returnImmediately will cause the request to immediately return the pending notifications, or an empty list if no notifications are present.\nIf omitted, defaults to waitForNotifications.",
+ "description": "The request mode for pulling notifications.\n \nSpecifying waitForNotifications will cause the request to\nblock and wait until one or more notifications are present, or return an\nempty notification list if no notifications are present after some time.\n \nSpeciying returnImmediately will cause the request to\nimmediately return the pending notifications, or an empty list if no\nnotifications are present.\n \nIf omitted, defaults to waitForNotifications.",
"enum": [
- "returnImmediately",
- "waitForNotifications"
- ],
- "enumDescriptions": [
- "",
- ""
+ "waitForNotifications",
+ "returnImmediately"
],
"location": "query",
"type": "string"
}
},
- "path": "enterprises/pullNotificationSet",
+ "path": "androidenterprise/v1/enterprises/pullNotificationSet",
"response": {
"$ref": "NotificationSet"
},
@@ -545,7 +589,8 @@
]
},
"sendTestPushNotification": {
- "description": "Sends a test notification to validate the EMM integration with the Google Cloud Pub/Sub service for this enterprise.",
+ "description": "Sends a test notification to validate the EMM integration with\nthe Google Cloud Pub/Sub service for this enterprise.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/sendTestPushNotification",
"httpMethod": "POST",
"id": "androidenterprise.enterprises.sendTestPushNotification",
"parameterOrder": [
@@ -559,7 +604,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/sendTestPushNotification",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/sendTestPushNotification",
"response": {
"$ref": "EnterprisesSendTestPushNotificationResponse"
},
@@ -568,7 +613,8 @@
]
},
"setAccount": {
- "description": "Sets the account that will be used to authenticate to the API as the enterprise.",
+ "description": "Sets the account that will be used to authenticate to the API as the\nenterprise.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/account",
"httpMethod": "PUT",
"id": "androidenterprise.enterprises.setAccount",
"parameterOrder": [
@@ -582,7 +628,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/account",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/account",
"request": {
"$ref": "EnterpriseAccount"
},
@@ -594,7 +640,8 @@
]
},
"setStoreLayout": {
- "description": "Sets the store layout for the enterprise. By default, storeLayoutType is set to \"basic\" and the basic store layout is enabled. The basic layout only contains apps approved by the admin, and that have been added to the available product set for a user (using the setAvailableProductSet call). Apps on the page are sorted in order of their product ID value. If you create a custom store layout (by setting storeLayoutType = \"custom\" and setting a homepage), the basic store layout is disabled.",
+ "description": "Sets the store layout for the enterprise. By default, storeLayoutType\nis set to \"basic\" and the basic store layout is enabled. The basic\nlayout only contains apps approved by the admin, and that have\nbeen added to the available product set for a user (using the\n\nsetAvailableProductSet call). Apps on the page are sorted in order of\ntheir product ID value. If you create a custom store layout (by setting\nstoreLayoutType = \"custom\" and setting a homepage), the basic store\nlayout is disabled.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/storeLayout",
"httpMethod": "PUT",
"id": "androidenterprise.enterprises.setStoreLayout",
"parameterOrder": [
@@ -608,7 +655,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/storeLayout",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/storeLayout",
"request": {
"$ref": "StoreLayout"
},
@@ -621,6 +668,7 @@
},
"unenroll": {
"description": "Unenrolls an enterprise from the calling EMM.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/unenroll",
"httpMethod": "POST",
"id": "androidenterprise.enterprises.unenroll",
"parameterOrder": [
@@ -634,7 +682,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/unenroll",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/unenroll",
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
@@ -645,6 +693,7 @@
"methods": {
"delete": {
"description": "Removes an entitlement to an app for a user.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}",
"httpMethod": "DELETE",
"id": "androidenterprise.entitlements.delete",
"parameterOrder": [
@@ -672,13 +721,14 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}",
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
},
"get": {
"description": "Retrieves details of an entitlement.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}",
"httpMethod": "GET",
"id": "androidenterprise.entitlements.get",
"parameterOrder": [
@@ -706,7 +756,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}",
"response": {
"$ref": "Entitlement"
},
@@ -716,6 +766,7 @@
},
"list": {
"description": "Lists all entitlements for the specified user. Only the ID is set.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements",
"httpMethod": "GET",
"id": "androidenterprise.entitlements.list",
"parameterOrder": [
@@ -736,7 +787,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/entitlements",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements",
"response": {
"$ref": "EntitlementsListResponse"
},
@@ -746,6 +797,7 @@
},
"update": {
"description": "Adds or updates an entitlement to an app for a user.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}",
"httpMethod": "PUT",
"id": "androidenterprise.entitlements.update",
"parameterOrder": [
@@ -767,7 +819,7 @@
"type": "string"
},
"install": {
- "description": "Set to true to also install the product on all the user's devices where possible. Failure to install on one or more devices will not prevent this operation from returning successfully, as long as the entitlement was successfully assigned to the user.",
+ "description": "Set to true to also install the product on all the user's devices where\npossible. Failure to install on one or more devices will not prevent\nthis operation from returning successfully, as long as the entitlement\nwas successfully assigned to the user.",
"location": "query",
"type": "boolean"
},
@@ -778,7 +830,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}",
"request": {
"$ref": "Entitlement"
},
@@ -795,6 +847,7 @@
"methods": {
"get": {
"description": "Retrieves details of an enterprise's group license for a product.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}",
"httpMethod": "GET",
"id": "androidenterprise.grouplicenses.get",
"parameterOrder": [
@@ -809,13 +862,13 @@
"type": "string"
},
"groupLicenseId": {
- "description": "The ID of the product the group license is for, e.g. \"app:com.google.android.gm\".",
+ "description": "The ID of the product the group license is for, e.g.\n\"app:com.google.android.gm\".",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}",
"response": {
"$ref": "GroupLicense"
},
@@ -825,6 +878,7 @@
},
"list": {
"description": "Retrieves IDs of all products for which the enterprise has a group license.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/groupLicenses",
"httpMethod": "GET",
"id": "androidenterprise.grouplicenses.list",
"parameterOrder": [
@@ -838,7 +892,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/groupLicenses",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/groupLicenses",
"response": {
"$ref": "GroupLicensesListResponse"
},
@@ -851,7 +905,8 @@
"grouplicenseusers": {
"methods": {
"list": {
- "description": "Retrieves the IDs of the users who have been granted entitlements under the license.",
+ "description": "Retrieves the IDs of the users who have been granted entitlements\nunder the license.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}/users",
"httpMethod": "GET",
"id": "androidenterprise.grouplicenseusers.list",
"parameterOrder": [
@@ -866,13 +921,13 @@
"type": "string"
},
"groupLicenseId": {
- "description": "The ID of the product the group license is for, e.g. \"app:com.google.android.gm\".",
+ "description": "The ID of the product the group license is for, e.g.\n\"app:com.google.android.gm\".",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}/users",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}/users",
"response": {
"$ref": "GroupLicenseUsersListResponse"
},
@@ -885,7 +940,8 @@
"installs": {
"methods": {
"delete": {
- "description": "Requests to remove an app from a device. A call to get or list will still show the app as installed on the device until it is actually removed.",
+ "description": "Requests to remove an app from a device. A call to get or\nlist will still show the app as installed on the device until\nit is actually removed.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}",
"httpMethod": "DELETE",
"id": "androidenterprise.installs.delete",
"parameterOrder": [
@@ -908,7 +964,7 @@
"type": "string"
},
"installId": {
- "description": "The ID of the product represented by the install, e.g. \"app:com.google.android.gm\".",
+ "description": "The ID of the product represented by the install, e.g.\n\"app:com.google.android.gm\".",
"location": "path",
"required": true,
"type": "string"
@@ -920,13 +976,14 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}",
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
},
"get": {
"description": "Retrieves details of an installation of an app on a device.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}",
"httpMethod": "GET",
"id": "androidenterprise.installs.get",
"parameterOrder": [
@@ -949,7 +1006,7 @@
"type": "string"
},
"installId": {
- "description": "The ID of the product represented by the install, e.g. \"app:com.google.android.gm\".",
+ "description": "The ID of the product represented by the install, e.g.\n\"app:com.google.android.gm\".",
"location": "path",
"required": true,
"type": "string"
@@ -961,7 +1018,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}",
"response": {
"$ref": "Install"
},
@@ -971,6 +1028,7 @@
},
"list": {
"description": "Retrieves the details of all apps installed on the specified device.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs",
"httpMethod": "GET",
"id": "androidenterprise.installs.list",
"parameterOrder": [
@@ -998,7 +1056,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs",
"response": {
"$ref": "InstallsListResponse"
},
@@ -1007,7 +1065,8 @@
]
},
"update": {
- "description": "Requests to install the latest version of an app to a device. If the app is already installed, then it is updated to the latest version if necessary.",
+ "description": "Requests to install the latest version of an app to a device. If the app\nis already installed, then it is updated to the latest version if\nnecessary.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}",
"httpMethod": "PUT",
"id": "androidenterprise.installs.update",
"parameterOrder": [
@@ -1030,7 +1089,7 @@
"type": "string"
},
"installId": {
- "description": "The ID of the product represented by the install, e.g. \"app:com.google.android.gm\".",
+ "description": "The ID of the product represented by the install, e.g.\n\"app:com.google.android.gm\".",
"location": "path",
"required": true,
"type": "string"
@@ -1042,7 +1101,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}",
"request": {
"$ref": "Install"
},
@@ -1058,7 +1117,8 @@
"managedconfigurationsfordevice": {
"methods": {
"delete": {
- "description": "Removes a per-device managed configuration for an app for the specified device.",
+ "description": "Removes a per-device managed configuration for an app for the specified\ndevice.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}",
"httpMethod": "DELETE",
"id": "androidenterprise.managedconfigurationsfordevice.delete",
"parameterOrder": [
@@ -1081,7 +1141,7 @@
"type": "string"
},
"managedConfigurationForDeviceId": {
- "description": "The ID of the managed configuration (a product ID), e.g. \"app:com.google.android.gm\".",
+ "description": "The ID of the managed configuration (a product ID), e.g.\n\"app:com.google.android.gm\".",
"location": "path",
"required": true,
"type": "string"
@@ -1093,13 +1153,14 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}",
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
},
"get": {
"description": "Retrieves details of a per-device managed configuration.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}",
"httpMethod": "GET",
"id": "androidenterprise.managedconfigurationsfordevice.get",
"parameterOrder": [
@@ -1122,7 +1183,7 @@
"type": "string"
},
"managedConfigurationForDeviceId": {
- "description": "The ID of the managed configuration (a product ID), e.g. \"app:com.google.android.gm\".",
+ "description": "The ID of the managed configuration (a product ID), e.g.\n\"app:com.google.android.gm\".",
"location": "path",
"required": true,
"type": "string"
@@ -1134,7 +1195,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}",
"response": {
"$ref": "ManagedConfiguration"
},
@@ -1143,7 +1204,8 @@
]
},
"list": {
- "description": "Lists all the per-device managed configurations for the specified device. Only the ID is set.",
+ "description": "Lists all the per-device managed configurations for the specified device.\nOnly the ID is set.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice",
"httpMethod": "GET",
"id": "androidenterprise.managedconfigurationsfordevice.list",
"parameterOrder": [
@@ -1171,7 +1233,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice",
"response": {
"$ref": "ManagedConfigurationsForDeviceListResponse"
},
@@ -1180,7 +1242,8 @@
]
},
"update": {
- "description": "Adds or updates a per-device managed configuration for an app for the specified device.",
+ "description": "Adds or updates a per-device managed configuration for an app for the\nspecified device.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}",
"httpMethod": "PUT",
"id": "androidenterprise.managedconfigurationsfordevice.update",
"parameterOrder": [
@@ -1203,7 +1266,7 @@
"type": "string"
},
"managedConfigurationForDeviceId": {
- "description": "The ID of the managed configuration (a product ID), e.g. \"app:com.google.android.gm\".",
+ "description": "The ID of the managed configuration (a product ID), e.g.\n\"app:com.google.android.gm\".",
"location": "path",
"required": true,
"type": "string"
@@ -1215,7 +1278,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}",
"request": {
"$ref": "ManagedConfiguration"
},
@@ -1232,6 +1295,7 @@
"methods": {
"delete": {
"description": "Removes a per-user managed configuration for an app for the specified user.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}",
"httpMethod": "DELETE",
"id": "androidenterprise.managedconfigurationsforuser.delete",
"parameterOrder": [
@@ -1247,7 +1311,7 @@
"type": "string"
},
"managedConfigurationForUserId": {
- "description": "The ID of the managed configuration (a product ID), e.g. \"app:com.google.android.gm\".",
+ "description": "The ID of the managed configuration (a product ID), e.g.\n\"app:com.google.android.gm\".",
"location": "path",
"required": true,
"type": "string"
@@ -1259,13 +1323,14 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}",
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
},
"get": {
- "description": "Retrieves details of a per-user managed configuration for an app for the specified user.",
+ "description": "Retrieves details of a per-user managed configuration for an app for the\nspecified user.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}",
"httpMethod": "GET",
"id": "androidenterprise.managedconfigurationsforuser.get",
"parameterOrder": [
@@ -1281,7 +1346,7 @@
"type": "string"
},
"managedConfigurationForUserId": {
- "description": "The ID of the managed configuration (a product ID), e.g. \"app:com.google.android.gm\".",
+ "description": "The ID of the managed configuration (a product ID), e.g.\n\"app:com.google.android.gm\".",
"location": "path",
"required": true,
"type": "string"
@@ -1293,7 +1358,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}",
"response": {
"$ref": "ManagedConfiguration"
},
@@ -1302,7 +1367,8 @@
]
},
"list": {
- "description": "Lists all the per-user managed configurations for the specified user. Only the ID is set.",
+ "description": "Lists all the per-user managed configurations for the specified user. Only\nthe ID is set.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser",
"httpMethod": "GET",
"id": "androidenterprise.managedconfigurationsforuser.list",
"parameterOrder": [
@@ -1323,7 +1389,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser",
"response": {
"$ref": "ManagedConfigurationsForUserListResponse"
},
@@ -1332,7 +1398,8 @@
]
},
"update": {
- "description": "Adds or updates the managed configuration settings for an app for the specified user. If you support the Managed configurations iframe, you can apply managed configurations to a user by specifying an mcmId and its associated configuration variables (if any) in the request. Alternatively, all EMMs can apply managed configurations by passing a list of managed properties.",
+ "description": "Adds or updates the managed configuration settings for an app for the\nspecified user.\nIf you support the Managed\nconfigurations iframe,\nyou can apply managed configurations to a user by specifying an\nmcmId\nand its associated configuration variables (if any) in the request.\nAlternatively,\nall EMMs can apply managed configurations by passing a list of managed\nproperties.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}",
"httpMethod": "PUT",
"id": "androidenterprise.managedconfigurationsforuser.update",
"parameterOrder": [
@@ -1348,7 +1415,7 @@
"type": "string"
},
"managedConfigurationForUserId": {
- "description": "The ID of the managed configuration (a product ID), e.g. \"app:com.google.android.gm\".",
+ "description": "The ID of the managed configuration (a product ID), e.g.\n\"app:com.google.android.gm\".",
"location": "path",
"required": true,
"type": "string"
@@ -1360,7 +1427,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}",
"request": {
"$ref": "ManagedConfiguration"
},
@@ -1377,6 +1444,7 @@
"methods": {
"list": {
"description": "Lists all the managed configurations settings for the specified app.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/managedConfigurationsSettings",
"httpMethod": "GET",
"id": "androidenterprise.managedconfigurationssettings.list",
"parameterOrder": [
@@ -1391,13 +1459,13 @@
"type": "string"
},
"productId": {
- "description": "The ID of the product for which the managed configurations settings applies to.",
+ "description": "The ID of the product for which the managed configurations settings applies\nto.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/products/{productId}/managedConfigurationsSettings",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/managedConfigurationsSettings",
"response": {
"$ref": "ManagedConfigurationsSettingsListResponse"
},
@@ -1410,7 +1478,8 @@
"permissions": {
"methods": {
"get": {
- "description": "Retrieves details of an Android app permission for display to an enterprise admin.",
+ "description": "Retrieves details of an Android app permission for display to an enterprise\nadmin.",
+ "flatPath": "androidenterprise/v1/permissions/{permissionId}",
"httpMethod": "GET",
"id": "androidenterprise.permissions.get",
"parameterOrder": [
@@ -1429,7 +1498,7 @@
"type": "string"
}
},
- "path": "permissions/{permissionId}",
+ "path": "androidenterprise/v1/permissions/{permissionId}",
"response": {
"$ref": "Permission"
},
@@ -1442,7 +1511,8 @@
"products": {
"methods": {
"approve": {
- "description": "Approves the specified product and the relevant app permissions, if any. The maximum number of products that you can approve per enterprise customer is 1,000.\n\nTo learn how to use managed Google Play to design and create a store layout to display approved products to your users, see Store Layout Design.",
+ "description": "
Approves the specified product and the relevant app permissions, if any.\nThe maximum number of products that you can approve per enterprise customer\nis 1,000.
\n
To learn how to use managed Google Play to design and create a store\nlayout to display approved products to your users,\nsee Store Layout\nDesign.
",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/approve",
"httpMethod": "POST",
"id": "androidenterprise.products.approve",
"parameterOrder": [
@@ -1463,7 +1533,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/products/{productId}/approve",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/approve",
"request": {
"$ref": "ProductsApproveRequest"
},
@@ -1472,7 +1542,8 @@
]
},
"generateApprovalUrl": {
- "description": "Generates a URL that can be rendered in an iframe to display the permissions (if any) of a product. An enterprise admin must view these permissions and accept them on behalf of their organization in order to approve that product.\n\nAdmins should accept the displayed permissions by interacting with a separate UI element in the EMM console, which in turn should trigger the use of this URL as the approvalUrlInfo.approvalUrl property in a Products.approve call to approve the product. This URL can only be used to display permissions for up to 1 day.",
+ "description": "Generates a URL that can be rendered in an iframe to display the\npermissions (if any) of a product. An enterprise admin must view these\npermissions and accept them on behalf of their organization in order to\napprove that product.
\nAdmins should accept the displayed permissions by\ninteracting with a separate UI element in the EMM console, which in turn\nshould trigger the use of this URL as the\napprovalUrlInfo.approvalUrl property in a\nProducts.approve call to approve the product.\nThis URL can only be used to display permissions for up to 1 day.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/generateApprovalUrl",
"httpMethod": "POST",
"id": "androidenterprise.products.generateApprovalUrl",
"parameterOrder": [
@@ -1487,7 +1558,7 @@
"type": "string"
},
"languageCode": {
- "description": "The BCP 47 language code used for permission names and descriptions in the returned iframe, for instance \"en-US\".",
+ "description": "The BCP 47 language code used for permission names and descriptions in\nthe returned iframe, for instance \"en-US\".",
"location": "query",
"type": "string"
},
@@ -1498,7 +1569,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/products/{productId}/generateApprovalUrl",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/generateApprovalUrl",
"response": {
"$ref": "ProductsGenerateApprovalUrlResponse"
},
@@ -1508,6 +1579,7 @@
},
"get": {
"description": "Retrieves details of a product for display to an enterprise admin.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}",
"httpMethod": "GET",
"id": "androidenterprise.products.get",
"parameterOrder": [
@@ -1533,7 +1605,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/products/{productId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}",
"response": {
"$ref": "Product"
},
@@ -1542,7 +1614,8 @@
]
},
"getAppRestrictionsSchema": {
- "description": "Retrieves the schema that defines the configurable properties for this product. All products have a schema, but this schema may be empty if no managed configurations have been defined. This schema can be used to populate a UI that allows an admin to configure the product. To apply a managed configuration based on the schema obtained using this API, see Managed Configurations through Play.",
+ "description": "Retrieves the schema that defines the configurable properties for this\nproduct. All products have a schema, but this schema may be empty if no\nmanaged configurations have been defined. This schema can be used to\npopulate a UI that allows an admin to configure the product.\nTo apply a managed configuration based on the schema obtained using this\nAPI, see\nManaged\nConfigurations through Play.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/appRestrictionsSchema",
"httpMethod": "GET",
"id": "androidenterprise.products.getAppRestrictionsSchema",
"parameterOrder": [
@@ -1568,7 +1641,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/products/{productId}/appRestrictionsSchema",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/appRestrictionsSchema",
"response": {
"$ref": "AppRestrictionsSchema"
},
@@ -1578,6 +1651,7 @@
},
"getPermissions": {
"description": "Retrieves the Android app permissions required by this app.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/permissions",
"httpMethod": "GET",
"id": "androidenterprise.products.getPermissions",
"parameterOrder": [
@@ -1598,7 +1672,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/products/{productId}/permissions",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/permissions",
"response": {
"$ref": "ProductPermissions"
},
@@ -1607,7 +1681,8 @@
]
},
"list": {
- "description": "Finds approved products that match a query, or all approved products if there is no query.",
+ "description": "Finds approved products that match a query, or all approved products\nif there is no query.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/products",
"httpMethod": "GET",
"id": "androidenterprise.products.list",
"parameterOrder": [
@@ -1615,7 +1690,7 @@
],
"parameters": {
"approved": {
- "description": "Specifies whether to search among all products (false) or among only products that have been approved (true). Only \"true\" is supported, and should be specified.",
+ "description": "Specifies whether to search among all products (false) or among\nonly products that have been approved (true). Only \"true\" is\nsupported, and should be specified.",
"location": "query",
"type": "boolean"
},
@@ -1626,28 +1701,28 @@
"type": "string"
},
"language": {
- "description": "The BCP47 tag for the user's preferred language (e.g. \"en-US\", \"de\"). Results are returned in the language best matching the preferred language.",
+ "description": "The BCP47 tag for the user's preferred language (e.g. \"en-US\", \"de\").\nResults are returned in the language best matching the preferred\nlanguage.",
"location": "query",
"type": "string"
},
"maxResults": {
- "description": "Specifies the maximum number of products that can be returned per request. If not specified, uses a default value of 100, which is also the maximum retrievable within a single response.",
+ "description": "Defines how many results the list operation should return.\nThe default number depends on the resource collection.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"query": {
- "description": "The search query as typed in the Google Play store search box. If omitted, all approved apps will be returned (using the pagination parameters), including apps that are not available in the store (e.g. unpublished apps).",
+ "description": "The search query as typed in the Google Play store search box.\nIf omitted, all approved apps will be returned (using the pagination\nparameters), including apps that are not available in the store\n(e.g. unpublished apps).",
"location": "query",
"type": "string"
},
"token": {
- "description": "A pagination token is contained in a request's response when there are more products. The token can be used in a subsequent request to obtain more products, and so forth. This parameter cannot be used in the initial request.",
+ "description": "Defines the token of the page to return, usually taken from\nTokenPagination.\nThis can only be used if token paging is enabled.",
"location": "query",
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/products",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/products",
"response": {
"$ref": "ProductsListResponse"
},
@@ -1657,6 +1732,7 @@
},
"unapprove": {
"description": "Unapproves the specified product (and the relevant app permissions, if any)",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/unapprove",
"httpMethod": "POST",
"id": "androidenterprise.products.unapprove",
"parameterOrder": [
@@ -1677,7 +1753,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/products/{productId}/unapprove",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/unapprove",
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
@@ -1687,7 +1763,8 @@
"serviceaccountkeys": {
"methods": {
"delete": {
- "description": "Removes and invalidates the specified credentials for the service account associated with this enterprise. The calling service account must have been retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount.",
+ "description": "Removes and invalidates the specified credentials for the service account\nassociated with this enterprise. The calling service account must have been\nretrieved by calling Enterprises.GetServiceAccount and must have been set\nas the enterprise service account by calling Enterprises.SetAccount.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/serviceAccountKeys/{keyId}",
"httpMethod": "DELETE",
"id": "androidenterprise.serviceaccountkeys.delete",
"parameterOrder": [
@@ -1708,13 +1785,14 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/serviceAccountKeys/{keyId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/serviceAccountKeys/{keyId}",
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
},
"insert": {
- "description": "Generates new credentials for the service account associated with this enterprise. The calling service account must have been retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount.\n\nOnly the type of the key should be populated in the resource to be inserted.",
+ "description": "Generates new credentials for the service account associated with this\nenterprise. The calling service account must have been retrieved by calling\nEnterprises.GetServiceAccount and must have been set as the enterprise\nservice account by calling Enterprises.SetAccount.
\nOnly the type of the key should be populated in the resource to be\ninserted.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/serviceAccountKeys",
"httpMethod": "POST",
"id": "androidenterprise.serviceaccountkeys.insert",
"parameterOrder": [
@@ -1728,7 +1806,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/serviceAccountKeys",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/serviceAccountKeys",
"request": {
"$ref": "ServiceAccountKey"
},
@@ -1740,7 +1818,8 @@
]
},
"list": {
- "description": "Lists all active credentials for the service account associated with this enterprise. Only the ID and key type are returned. The calling service account must have been retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount.",
+ "description": "Lists all active credentials for the service account associated with this\nenterprise. Only the ID and key type are returned. The calling service\naccount must have been retrieved by calling Enterprises.GetServiceAccount\nand must have been set as the enterprise service account by calling\nEnterprises.SetAccount.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/serviceAccountKeys",
"httpMethod": "GET",
"id": "androidenterprise.serviceaccountkeys.list",
"parameterOrder": [
@@ -1754,7 +1833,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/serviceAccountKeys",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/serviceAccountKeys",
"response": {
"$ref": "ServiceAccountKeysListResponse"
},
@@ -1768,6 +1847,7 @@
"methods": {
"delete": {
"description": "Deletes a cluster.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}",
"httpMethod": "DELETE",
"id": "androidenterprise.storelayoutclusters.delete",
"parameterOrder": [
@@ -1795,13 +1875,14 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}",
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
},
"get": {
"description": "Retrieves details of a cluster.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}",
"httpMethod": "GET",
"id": "androidenterprise.storelayoutclusters.get",
"parameterOrder": [
@@ -1829,7 +1910,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}",
"response": {
"$ref": "StoreCluster"
},
@@ -1839,6 +1920,7 @@
},
"insert": {
"description": "Inserts a new cluster in a page.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters",
"httpMethod": "POST",
"id": "androidenterprise.storelayoutclusters.insert",
"parameterOrder": [
@@ -1859,7 +1941,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters",
"request": {
"$ref": "StoreCluster"
},
@@ -1872,6 +1954,7 @@
},
"list": {
"description": "Retrieves the details of all clusters on the specified page.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters",
"httpMethod": "GET",
"id": "androidenterprise.storelayoutclusters.list",
"parameterOrder": [
@@ -1892,7 +1975,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters",
"response": {
"$ref": "StoreLayoutClustersListResponse"
},
@@ -1902,6 +1985,7 @@
},
"update": {
"description": "Updates a cluster.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}",
"httpMethod": "PUT",
"id": "androidenterprise.storelayoutclusters.update",
"parameterOrder": [
@@ -1929,7 +2013,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}",
"request": {
"$ref": "StoreCluster"
},
@@ -1946,6 +2030,7 @@
"methods": {
"delete": {
"description": "Deletes a store page.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}",
"httpMethod": "DELETE",
"id": "androidenterprise.storelayoutpages.delete",
"parameterOrder": [
@@ -1966,13 +2051,14 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/storeLayout/pages/{pageId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}",
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
},
"get": {
"description": "Retrieves details of a store page.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}",
"httpMethod": "GET",
"id": "androidenterprise.storelayoutpages.get",
"parameterOrder": [
@@ -1993,7 +2079,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/storeLayout/pages/{pageId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}",
"response": {
"$ref": "StorePage"
},
@@ -2003,6 +2089,7 @@
},
"insert": {
"description": "Inserts a new store page.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages",
"httpMethod": "POST",
"id": "androidenterprise.storelayoutpages.insert",
"parameterOrder": [
@@ -2016,7 +2103,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/storeLayout/pages",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages",
"request": {
"$ref": "StorePage"
},
@@ -2029,6 +2116,7 @@
},
"list": {
"description": "Retrieves the details of all pages in the store.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages",
"httpMethod": "GET",
"id": "androidenterprise.storelayoutpages.list",
"parameterOrder": [
@@ -2042,7 +2130,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/storeLayout/pages",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages",
"response": {
"$ref": "StoreLayoutPagesListResponse"
},
@@ -2052,6 +2140,7 @@
},
"update": {
"description": "Updates the content of a store page.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}",
"httpMethod": "PUT",
"id": "androidenterprise.storelayoutpages.update",
"parameterOrder": [
@@ -2072,7 +2161,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/storeLayout/pages/{pageId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}",
"request": {
"$ref": "StorePage"
},
@@ -2089,6 +2178,7 @@
"methods": {
"delete": {
"description": "Deleted an EMM-managed user.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}",
"httpMethod": "DELETE",
"id": "androidenterprise.users.delete",
"parameterOrder": [
@@ -2109,13 +2199,14 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}",
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
},
"generateAuthenticationToken": {
- "description": "Generates an authentication token which the device policy client can use to provision the given EMM-managed user account on a device. The generated token is single-use and expires after a few minutes.\n\nYou can provision a maximum of 10 devices per user.\n\nThis call only works with EMM-managed accounts.",
+ "description": "Generates an authentication token which the device policy client can use to\nprovision the given EMM-managed user account on a device.\nThe generated token is single-use and expires after a few minutes.\n\nYou can provision a maximum of 10 devices per user.\n\nThis call only works with EMM-managed accounts.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/authenticationToken",
"httpMethod": "POST",
"id": "androidenterprise.users.generateAuthenticationToken",
"parameterOrder": [
@@ -2136,7 +2227,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/authenticationToken",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/authenticationToken",
"response": {
"$ref": "AuthenticationToken"
},
@@ -2144,38 +2235,9 @@
"https://www.googleapis.com/auth/androidenterprise"
]
},
- "generateToken": {
- "description": "Generates a token (activation code) to allow this user to configure their managed account in the Android Setup Wizard. Revokes any previously generated token.\n\nThis call only works with Google managed accounts.",
- "httpMethod": "POST",
- "id": "androidenterprise.users.generateToken",
- "parameterOrder": [
- "enterpriseId",
- "userId"
- ],
- "parameters": {
- "enterpriseId": {
- "description": "The ID of the enterprise.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "userId": {
- "description": "The ID of the user.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "enterprises/{enterpriseId}/users/{userId}/token",
- "response": {
- "$ref": "UserToken"
- },
- "scopes": [
- "https://www.googleapis.com/auth/androidenterprise"
- ]
- },
"get": {
"description": "Retrieves a user's details.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}",
"httpMethod": "GET",
"id": "androidenterprise.users.get",
"parameterOrder": [
@@ -2196,7 +2258,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}",
"response": {
"$ref": "User"
},
@@ -2206,6 +2268,7 @@
},
"getAvailableProductSet": {
"description": "Retrieves the set of products a user is entitled to access.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/availableProductSet",
"httpMethod": "GET",
"id": "androidenterprise.users.getAvailableProductSet",
"parameterOrder": [
@@ -2226,7 +2289,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/availableProductSet",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/availableProductSet",
"response": {
"$ref": "ProductSet"
},
@@ -2235,7 +2298,8 @@
]
},
"insert": {
- "description": "Creates a new EMM-managed user.\n\nThe Users resource passed in the body of the request should include an accountIdentifier and an accountType.\nIf a corresponding user already exists with the same account identifier, the user will be updated with the resource. In this case only the displayName field can be changed.",
+ "description": "Creates a new EMM-managed user.\n\nThe Users resource\npassed in the body of the request should include an\naccountIdentifier and an accountType.\n
If a corresponding user already exists with the same account identifier,\nthe user will be updated with the resource. In this case only the\ndisplayName field can be changed.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users",
"httpMethod": "POST",
"id": "androidenterprise.users.insert",
"parameterOrder": [
@@ -2249,7 +2313,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users",
"request": {
"$ref": "User"
},
@@ -2261,7 +2325,8 @@
]
},
"list": {
- "description": "Looks up a user by primary email address. This is only supported for Google-managed users. Lookup of the id is not needed for EMM-managed users because the id is already returned in the result of the Users.insert call.",
+ "description": "Looks up a user by primary email address.\nThis is only supported for Google-managed users. Lookup of the id is not\nneeded for EMM-managed users because the id is already returned in the\nresult of the Users.insert call.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users",
"httpMethod": "GET",
"id": "androidenterprise.users.list",
"parameterOrder": [
@@ -2270,7 +2335,7 @@
],
"parameters": {
"email": {
- "description": "The exact primary email address of the user to look up.",
+ "description": "Required. The exact primary email address of the user to look up.",
"location": "query",
"required": true,
"type": "string"
@@ -2282,7 +2347,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users",
"response": {
"$ref": "UsersListResponse"
},
@@ -2291,7 +2356,8 @@
]
},
"revokeDeviceAccess": {
- "description": "Revokes access to all devices currently provisioned to the user. The user will no longer be able to use the managed Play store on any of their managed devices.\n\nThis call only works with EMM-managed accounts.",
+ "description": "Revokes access to all devices currently provisioned to the user. The user\nwill no longer be able to use the managed Play store on any of their\nmanaged devices.\n\nThis call only works with EMM-managed accounts.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/deviceAccess",
"httpMethod": "DELETE",
"id": "androidenterprise.users.revokeDeviceAccess",
"parameterOrder": [
@@ -2312,40 +2378,14 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/deviceAccess",
- "scopes": [
- "https://www.googleapis.com/auth/androidenterprise"
- ]
- },
- "revokeToken": {
- "description": "Revokes a previously generated token (activation code) for the user.",
- "httpMethod": "DELETE",
- "id": "androidenterprise.users.revokeToken",
- "parameterOrder": [
- "enterpriseId",
- "userId"
- ],
- "parameters": {
- "enterpriseId": {
- "description": "The ID of the enterprise.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "userId": {
- "description": "The ID of the user.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "enterprises/{enterpriseId}/users/{userId}/token",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/deviceAccess",
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
},
"setAvailableProductSet": {
- "description": "Modifies the set of products that a user is entitled to access (referred to as whitelisted products). Only products that are approved or products that were previously approved (products with revoked approval) can be whitelisted.",
+ "description": "Modifies the set of products that a user is entitled to access (referred to\nas whitelisted products). Only products that are\napproved\nor products that were previously approved (products with revoked approval)\ncan be whitelisted.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/availableProductSet",
"httpMethod": "PUT",
"id": "androidenterprise.users.setAvailableProductSet",
"parameterOrder": [
@@ -2366,7 +2406,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}/availableProductSet",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/availableProductSet",
"request": {
"$ref": "ProductSet"
},
@@ -2378,7 +2418,8 @@
]
},
"update": {
- "description": "Updates the details of an EMM-managed user.\n\nCan be used with EMM-managed users only (not Google managed users). Pass the new details in the Users resource in the request body. Only the displayName field can be changed. Other fields must either be unset or have the currently active value.",
+ "description": "Updates the details of an EMM-managed user.\n\nCan be used with EMM-managed users only (not Google managed users).\nPass the new details in the\nUsers\nresource in the request body. Only the displayName field\ncan be changed. Other fields must either be unset or have the\ncurrently active value.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}",
"httpMethod": "PUT",
"id": "androidenterprise.users.update",
"parameterOrder": [
@@ -2399,7 +2440,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/users/{userId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}",
"request": {
"$ref": "User"
},
@@ -2416,6 +2457,7 @@
"methods": {
"delete": {
"description": "Deletes an existing web app.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/webApps/{webAppId}",
"httpMethod": "DELETE",
"id": "androidenterprise.webapps.delete",
"parameterOrder": [
@@ -2436,13 +2478,14 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/webApps/{webAppId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/webApps/{webAppId}",
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
},
"get": {
"description": "Gets an existing web app.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/webApps/{webAppId}",
"httpMethod": "GET",
"id": "androidenterprise.webapps.get",
"parameterOrder": [
@@ -2463,7 +2506,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/webApps/{webAppId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/webApps/{webAppId}",
"response": {
"$ref": "WebApp"
},
@@ -2473,6 +2516,7 @@
},
"insert": {
"description": "Creates a new web app for the enterprise.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/webApps",
"httpMethod": "POST",
"id": "androidenterprise.webapps.insert",
"parameterOrder": [
@@ -2486,7 +2530,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/webApps",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/webApps",
"request": {
"$ref": "WebApp"
},
@@ -2499,6 +2543,7 @@
},
"list": {
"description": "Retrieves the details of all web apps for a given enterprise.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/webApps",
"httpMethod": "GET",
"id": "androidenterprise.webapps.list",
"parameterOrder": [
@@ -2512,7 +2557,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/webApps",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/webApps",
"response": {
"$ref": "WebAppsListResponse"
},
@@ -2522,6 +2567,7 @@
},
"update": {
"description": "Updates an existing web app.",
+ "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/webApps/{webAppId}",
"httpMethod": "PUT",
"id": "androidenterprise.webapps.update",
"parameterOrder": [
@@ -2542,7 +2588,7 @@
"type": "string"
}
},
- "path": "enterprises/{enterpriseId}/webApps/{webAppId}",
+ "path": "androidenterprise/v1/enterprises/{enterpriseId}/webApps/{webAppId}",
"request": {
"$ref": "WebApp"
},
@@ -2556,11 +2602,11 @@
}
}
},
- "revision": "20200325",
+ "revision": "20200707",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Administrator": {
- "description": "This represents an enterprise admin who can manage the enterprise in the managed Google Play store.",
+ "description": "This represents an enterprise admin who can manage the enterprise\nin the managed Google Play store.",
"id": "Administrator",
"properties": {
"email": {
@@ -2574,10 +2620,6 @@
"description": "A token authorizing an admin to access an iframe.",
"id": "AdministratorWebToken",
"properties": {
- "kind": {
- "default": "androidenterprise#administratorWebToken",
- "type": "string"
- },
"token": {
"description": "An opaque token to be passed to the Play front-end to generate an iframe.",
"type": "string"
@@ -2586,24 +2628,30 @@
"type": "object"
},
"AdministratorWebTokenSpec": {
- "description": "Specification for a token used to generate iframes. The token specifies what data the admin is allowed to modify and the URI the iframe is allowed to communiate with.",
+ "description": "Specification for a token used to generate iframes. The token specifies\nwhat data the admin is allowed to modify and the URI the iframe is\nallowed to communiate with.",
"id": "AdministratorWebTokenSpec",
"properties": {
- "kind": {
- "default": "androidenterprise#administratorWebTokenSpec",
- "type": "string"
- },
"managedConfigurations": {
"$ref": "AdministratorWebTokenSpecManagedConfigurations",
"description": "Options for displaying the Managed Configuration page."
},
"parent": {
- "description": "The URI of the parent frame hosting the iframe. To prevent XSS, the iframe may not be hosted at other URIs. This URI must be https. Use whitespaces to separate multiple parent URIs.",
+ "description": "The URI of the parent frame hosting the iframe. To prevent XSS, the iframe\nmay not be hosted at other URIs. This URI must be https.\nUse whitespaces to separate multiple parent URIs.",
"type": "string"
},
"permission": {
- "description": "Deprecated. Use PlaySearch.approveApps.",
+ "description": "Deprecated. Use PlaySearch.approveApps.",
+ "enumDescriptions": [
+ "Unknown permission.",
+ "Permission to approve and unapprove apps.",
+ "Permission to manage app restrictions."
+ ],
"items": {
+ "enum": [
+ "unknown",
+ "approveApps",
+ "manageMcm"
+ ],
"type": "string"
},
"type": "array"
@@ -2641,7 +2689,7 @@
"id": "AdministratorWebTokenSpecPlaySearch",
"properties": {
"approveApps": {
- "description": "Allow access to the iframe in approve mode. Default is false.",
+ "description": "Allow access to the iframe in approve\nmode. Default is false.",
"type": "boolean"
},
"enabled": {
@@ -2682,7 +2730,7 @@
"type": "object"
},
"AppRestrictionsSchema": {
- "description": "Represents the list of app restrictions available to be pre-configured for the product.",
+ "description": "Represents the list of app restrictions available to be pre-configured for\nthe product.",
"id": "AppRestrictionsSchema",
"properties": {
"kind": {
@@ -2700,48 +2748,48 @@
"type": "object"
},
"AppRestrictionsSchemaChangeEvent": {
- "description": "An event generated when a new app version is uploaded to Google Play and its app restrictions schema changed. To fetch the app restrictions schema for an app, use Products.getAppRestrictionsSchema on the EMM API.",
+ "description": "An event generated when a new app version is uploaded to Google Play and its\napp restrictions schema changed.\nTo fetch the app restrictions schema for an app, use\nProducts.getAppRestrictionsSchema on the EMM API.",
"id": "AppRestrictionsSchemaChangeEvent",
"properties": {
"productId": {
- "description": "The id of the product (e.g. \"app:com.google.android.gm\") for which the app restriction schema changed. This field will always be present.",
+ "description": "The id of the product (e.g. \"app:com.google.android.gm\") for which the\napp restriction schema changed. This field will always be present.",
"type": "string"
}
},
"type": "object"
},
"AppRestrictionsSchemaRestriction": {
- "description": "A restriction in the App Restriction Schema represents a piece of configuration that may be pre-applied.",
+ "description": "A restriction in the App Restriction Schema represents a piece of\nconfiguration that may be pre-applied.",
"id": "AppRestrictionsSchemaRestriction",
"properties": {
"defaultValue": {
"$ref": "AppRestrictionsSchemaRestrictionRestrictionValue",
- "description": "The default value of the restriction. bundle and bundleArray restrictions never have a default value."
+ "description": "The default value of the restriction. bundle and\nbundleArray restrictions never have a default value."
},
"description": {
- "description": "A longer description of the restriction, giving more detail of what it affects.",
+ "description": "A longer description of the restriction, giving more detail of what it\naffects.",
"type": "string"
},
"entry": {
- "description": "For choice or multiselect restrictions, the list of possible entries' human-readable names.",
+ "description": "For choice or multiselect restrictions, the list\nof possible entries' human-readable names.",
"items": {
"type": "string"
},
"type": "array"
},
"entryValue": {
- "description": "For choice or multiselect restrictions, the list of possible entries' machine-readable values. These values should be used in the configuration, either as a single string value for a choice restriction or in a stringArray for a multiselect restriction.",
+ "description": "For choice or multiselect restrictions, the list\nof possible entries' machine-readable values. These values should be used\nin the configuration, either as a single string value for a\nchoice restriction or in a stringArray for a\nmultiselect restriction.",
"items": {
"type": "string"
},
"type": "array"
},
"key": {
- "description": "The unique key that the product uses to identify the restriction, e.g. \"com.google.android.gm.fieldname\".",
+ "description": "The unique key that the product uses to identify the restriction,\ne.g. \"com.google.android.gm.fieldname\".",
"type": "string"
},
"nestedRestriction": {
- "description": "For bundle or bundleArray restrictions, the list of nested restrictions. A bundle restriction is always nested within a bundleArray restriction, and a bundleArray restriction is at most two levels deep.",
+ "description": "For bundle or bundleArray restrictions, the list\nof nested restrictions. A bundle restriction is always nested\nwithin a bundleArray restriction, and a\nbundleArray restriction is at most two levels deep.",
"items": {
"$ref": "AppRestrictionsSchemaRestriction"
},
@@ -2749,6 +2797,26 @@
},
"restrictionType": {
"description": "The type of the restriction.",
+ "enum": [
+ "bool",
+ "string",
+ "integer",
+ "choice",
+ "multiselect",
+ "hidden",
+ "bundle",
+ "bundleArray"
+ ],
+ "enumDescriptions": [
+ "A restriction of boolean type.",
+ "A restriction of string type.",
+ "A restriction of integer type.",
+ "A choice of one item from a set.",
+ "A choice of multiple items from a set.",
+ "A hidden restriction of string type (the default value can be used\nto pass along information that cannot be modified, such as a version\ncode).",
+ "[M+ devices only] A bundle of restrictions",
+ "[M+ devices only] An array of restriction bundles"
+ ],
"type": "string"
},
"title": {
@@ -2764,6 +2832,26 @@
"properties": {
"type": {
"description": "The type of the value being provided.",
+ "enum": [
+ "bool",
+ "string",
+ "integer",
+ "choice",
+ "multiselect",
+ "hidden",
+ "bundle",
+ "bundleArray"
+ ],
+ "enumDescriptions": [
+ "A restriction of boolean type.",
+ "A restriction of string type.",
+ "A restriction of integer type.",
+ "A choice of one item from a set.",
+ "A choice of multiple items from a set.",
+ "A hidden restriction of string type (the default value can be used\nto pass along information that cannot be modified, such as a version\ncode).",
+ "[M+ devices only] A bundle of restrictions",
+ "[M+ devices only] An array of restriction bundles"
+ ],
"type": "string"
},
"valueBool": {
@@ -2776,14 +2864,14 @@
"type": "integer"
},
"valueMultiselect": {
- "description": "The list of string values - this will only be present if type is multiselect.",
+ "description": "The list of string values - this will only be present if type is\nmultiselect.",
"items": {
"type": "string"
},
"type": "array"
},
"valueString": {
- "description": "The string value - this will be present for types string, choice and hidden.",
+ "description": "The string value - this will be present for types string, choice and\nhidden.",
"type": "string"
}
},
@@ -2794,25 +2882,25 @@
"id": "AppState",
"properties": {
"keyedAppState": {
- "description": "List of keyed app states. This field will always be present.",
+ "description": "List of keyed app states.\nThis field will always be present.",
"items": {
"$ref": "KeyedAppState"
},
"type": "array"
},
"packageName": {
- "description": "The package name of the app. This field will always be present.",
+ "description": "The package name of the app.\nThis field will always be present.",
"type": "string"
}
},
"type": "object"
},
"AppUpdateEvent": {
- "description": "An event generated when a new version of an app is uploaded to Google Play. Notifications are sent for new public versions only: alpha, beta, or canary versions do not generate this event. To fetch up-to-date version history for an app, use Products.Get on the EMM API.",
+ "description": "An event generated when a new version of an app is uploaded to Google Play.\nNotifications are sent for new public versions only: alpha, beta, or canary\nversions do not generate this event. To fetch up-to-date version history for\nan app, use Products.Get on the EMM API.",
"id": "AppUpdateEvent",
"properties": {
"productId": {
- "description": "The id of the product (e.g. \"app:com.google.android.gm\") that was updated. This field will always be present.",
+ "description": "The id of the product (e.g. \"app:com.google.android.gm\") that was updated.\nThis field will always be present.",
"type": "string"
}
},
@@ -2827,11 +2915,23 @@
"type": "boolean"
},
"track": {
- "description": "Deprecated, use trackId instead.",
+ "description": "Deprecated, use trackId instead.",
+ "enum": [
+ "appTrackUnspecified",
+ "production",
+ "beta",
+ "alpha"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ ""
+ ],
"type": "string"
},
"trackId": {
- "description": "Track ids that the app version is published in. Replaces the track field (deprecated), but doesn't include the production track (see isProduction instead).",
+ "description": "Track ids that the app version is published in. Replaces the\ntrack field (deprecated), but doesn't include the production\ntrack (see isProduction instead).",
"items": {
"type": "string"
},
@@ -2843,7 +2943,7 @@
"type": "integer"
},
"versionString": {
- "description": "The string used in the Play store by the app developer to identify the version. The string is not necessarily unique or localized (for example, the string could be \"1.4\").",
+ "description": "The string used in the Play store by the app developer to identify\nthe version.\nThe string is not necessarily unique or localized (for example, the string\ncould be \"1.4\").",
"type": "string"
}
},
@@ -2854,45 +2954,67 @@
"id": "ApprovalUrlInfo",
"properties": {
"approvalUrl": {
- "description": "A URL that displays a product's permissions and that can also be used to approve the product with the Products.approve call.",
- "type": "string"
- },
- "kind": {
- "default": "androidenterprise#approvalUrlInfo",
+ "description": "A URL that displays a product's permissions and that can also be used to\napprove the product with the Products.approve call.",
"type": "string"
}
},
"type": "object"
},
"AuthenticationToken": {
- "description": "An AuthenticationToken is used by the EMM's device policy client on a device to provision the given EMM-managed user on that device.",
+ "description": "An AuthenticationToken is used by the EMM's device policy client on a device\nto provision the given EMM-managed user on that device.",
"id": "AuthenticationToken",
"properties": {
- "kind": {
- "default": "androidenterprise#authenticationToken",
- "type": "string"
- },
"token": {
- "description": "The authentication token to be passed to the device policy client on the device where it can be used to provision the account for which this token was generated.",
+ "description": "The authentication token to be passed to the device policy client on the\ndevice where it can be used to provision the account for which this token\nwas generated.",
"type": "string"
}
},
"type": "object"
},
"AutoInstallConstraint": {
- "description": "The auto-install constraint. Defines a set of restrictions for installation. At least one of the fields must be set.",
+ "description": "The auto-install constraint. Defines a set of restrictions for installation.\nAt least one of the fields must be set.",
"id": "AutoInstallConstraint",
"properties": {
"chargingStateConstraint": {
"description": "Charging state constraint.",
+ "enum": [
+ "chargingStateConstraintUnspecified",
+ "chargingNotRequired",
+ "chargingRequired"
+ ],
+ "enumDescriptions": [
+ "",
+ "Device doesn't have to be charging.",
+ "Device has to be charging."
+ ],
"type": "string"
},
"deviceIdleStateConstraint": {
"description": "Device idle state constraint.",
+ "enum": [
+ "deviceIdleStateConstraintUnspecified",
+ "deviceIdleNotRequired",
+ "deviceIdleRequired"
+ ],
+ "enumDescriptions": [
+ "",
+ "Device doesn't have to be idle, app can be installed while the user is\ninteracting with the device.",
+ "Device has to be idle."
+ ],
"type": "string"
},
"networkTypeConstraint": {
"description": "Network type constraint.",
+ "enum": [
+ "networkTypeConstraintUnspecified",
+ "anyNetwork",
+ "unmeteredNetwork"
+ ],
+ "enumDescriptions": [
+ "",
+ "Any active networks (Wi-Fi, cellular, etc.).",
+ "Any unmetered network (e.g. Wi-FI)."
+ ],
"type": "string"
}
},
@@ -2902,7 +3024,7 @@
"id": "AutoInstallPolicy",
"properties": {
"autoInstallConstraint": {
- "description": "The constraints for auto-installing the app. You can specify a maximum of one constraint.",
+ "description": "The constraints for auto-installing the app. You can specify a maximum of\none constraint.",
"items": {
"$ref": "AutoInstallConstraint"
},
@@ -2910,15 +3032,27 @@
},
"autoInstallMode": {
"description": "The auto-install mode. If unset defaults to \"doNotAutoInstall\".",
+ "enum": [
+ "autoInstallModeUnspecified",
+ "doNotAutoInstall",
+ "autoInstallOnce",
+ "forceAutoInstall"
+ ],
+ "enumDescriptions": [
+ "",
+ "The product is not installed automatically, the user needs to install it\nfrom the Play Store.",
+ "The product is automatically installed once, if the user uninstalls the\nproduct it will not be installed again.",
+ "The product is automatically installed, if the user uninstalls the\nproduct it will be installed again. On managed devices the DPC should\nblock uninstall."
+ ],
"type": "string"
},
"autoInstallPriority": {
- "description": "The priority of the install, as an unsigned integer. A lower number means higher priority.",
+ "description": "The priority of the install, as an unsigned integer. A lower number means\nhigher priority.",
"format": "int32",
"type": "integer"
},
"minimumVersionCode": {
- "description": "The minimum version of the app. If a lower version of the app is installed, then the app will be auto-updated according to the auto-install constraints, instead of waiting for the regular auto-update. You can set a minimum version code for at most 20 apps per device.",
+ "description": "The minimum version of the app. If a lower version of the app is installed,\nthen the app will be auto-updated according to the auto-install\nconstraints, instead of waiting for the regular auto-update. You can set a\nminimum version code for at most 20 apps per device.",
"format": "int32",
"type": "integer"
}
@@ -2926,13 +3060,9 @@
"type": "object"
},
"ConfigurationVariables": {
- "description": "A configuration variables resource contains the managed configuration settings ID to be applied to a single user, as well as the variable set that is attributed to the user. The variable set will be used to replace placeholders in the managed configuration settings.",
+ "description": "A configuration variables resource contains the managed configuration\nsettings ID to be applied to a single user, as well as the variable set that\nis attributed to the user. The variable set will be used to replace\nplaceholders in the managed configuration settings.",
"id": "ConfigurationVariables",
"properties": {
- "kind": {
- "default": "androidenterprise#configurationVariables",
- "type": "string"
- },
"mcmId": {
"description": "The ID of the managed configurations settings.",
"type": "string"
@@ -2948,19 +3078,27 @@
"type": "object"
},
"Device": {
- "description": "A Devices resource represents a mobile device managed by the EMM and belonging to a specific enterprise user.",
+ "description": "A Devices resource represents a mobile device managed by the EMM and\nbelonging to a specific enterprise user.",
"id": "Device",
"properties": {
"androidId": {
- "description": "The Google Play Services Android ID for the device encoded as a lowercase hex string. For example, \"123456789abcdef0\".",
- "type": "string"
- },
- "kind": {
- "default": "androidenterprise#device",
+ "description": "The Google Play Services Android ID for the device encoded as\na lowercase hex string. For example,\n"123456789abcdef0".",
"type": "string"
},
"managementType": {
- "description": "Identifies the extent to which the device is controlled by a managed Google Play EMM in various deployment configurations.\n\nPossible values include: \n- \"managedDevice\", a device that has the EMM's device policy controller (DPC) as the device owner. \n- \"managedProfile\", a device that has a profile managed by the DPC (DPC is profile owner) in addition to a separate, personal profile that is unavailable to the DPC. \n- \"containerApp\", no longer used (deprecated). \n- \"unmanagedProfile\", a device that has been allowed (by the domain's admin, using the Admin Console to enable the privilege) to use managed Google Play, but the profile is itself not owned by a DPC.",
+ "description": "Identifies the extent to which the device is controlled by a managed\nGoogle Play EMM in various deployment configurations.
\nPossible values include:\n
\"managedDevice\", a device that has the EMM's device\npolicy controller (DPC) as the device owner.
\n
\"managedProfile\", a device that has a profile managed\nby the DPC (DPC is profile owner) in addition to a separate, personal\nprofile that is unavailable to the DPC.
\n
\"containerApp\", no longer used (deprecated).
\n
\"unmanagedProfile\", a device that has been allowed (by the\ndomain's admin, using the Admin Console to enable the privilege) to use\nmanaged Google Play, but the profile is itself\nnot owned by a DPC.
",
+ "enum": [
+ "managedDevice",
+ "managedProfile",
+ "containerApp",
+ "unmanagedProfile"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ ""
+ ],
"type": "string"
},
"policy": {
@@ -2975,18 +3113,18 @@
"type": "object"
},
"DeviceReport": {
- "description": "Device report updated with the latest app states for managed apps on the device.",
+ "description": "Device report updated with the latest app states for managed apps on the\ndevice.",
"id": "DeviceReport",
"properties": {
"appState": {
- "description": "List of app states set by managed apps on the device. App states are defined by the app's developers. This field will always be present.",
+ "description": "List of app states set by managed apps on the device. App states are\ndefined by the app's developers.\nThis field will always be present.",
"items": {
"$ref": "AppState"
},
"type": "array"
},
"lastUpdatedTimestampMillis": {
- "description": "The timestamp of the last report update in milliseconds since epoch. This field will always be present.",
+ "description": "The timestamp of the last report update in milliseconds since epoch.\nThis field will always be present.",
"format": "int64",
"type": "string"
}
@@ -2998,37 +3136,40 @@
"id": "DeviceReportUpdateEvent",
"properties": {
"deviceId": {
- "description": "The Android ID of the device. This field will always be present.",
+ "description": "The Android ID of the device.\nThis field will always be present.",
"type": "string"
},
"report": {
"$ref": "DeviceReport",
- "description": "The device report updated with the latest app states. This field will always be present."
+ "description": "The device report updated with the latest app states.\nThis field will always be present."
},
"userId": {
- "description": "The ID of the user. This field will always be present.",
+ "description": "The ID of the user.\nThis field will always be present.",
"type": "string"
}
},
"type": "object"
},
"DeviceState": {
- "description": "The state of a user's device, as accessed by the getState and setState methods on device resources.",
+ "description": "The state of a user's device, as accessed by the getState and setState\nmethods on device resources.",
"id": "DeviceState",
"properties": {
"accountState": {
- "description": "The state of the Google account on the device. \"enabled\" indicates that the Google account on the device can be used to access Google services (including Google Play), while \"disabled\" means that it cannot. A new device is initially in the \"disabled\" state.",
- "type": "string"
- },
- "kind": {
- "default": "androidenterprise#deviceState",
+ "description": "The state of the Google account on the device. \"enabled\" indicates that\nthe Google account on the device can be used to access Google services\n(including Google Play), while \"disabled\" means that it cannot.\nA new device is initially in the \"disabled\" state.",
+ "enum": [
+ "enabled",
+ "disabled"
+ ],
+ "enumDescriptions": [
+ "",
+ ""
+ ],
"type": "string"
}
},
"type": "object"
},
"DevicesListResponse": {
- "description": "The device resources for the user.",
"id": "DevicesListResponse",
"properties": {
"device": {
@@ -3037,21 +3178,16 @@
"$ref": "Device"
},
"type": "array"
- },
- "kind": {
- "default": "androidenterprise#devicesListResponse",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#devicesListResponse\".",
- "type": "string"
}
},
"type": "object"
},
"Enterprise": {
- "description": "An Enterprises resource represents the binding between an EMM and a specific organization. That binding can be instantiated in one of two different ways using this API as follows: \n- For Google managed domain customers, the process involves using Enterprises.enroll and Enterprises.setAccount (in conjunction with artifacts obtained from the Admin console and the Google API Console) and submitted to the EMM through a more-or-less manual process. \n- For managed Google Play Accounts customers, the process involves using Enterprises.generateSignupUrl and Enterprises.completeSignup in conjunction with the managed Google Play sign-up UI (Google-provided mechanism) to create the binding without manual steps. As an EMM, you can support either or both approaches in your EMM console. See Create an Enterprise for details.",
+ "description": "An Enterprises resource represents the binding between an EMM and a\nspecific organization. That binding can be instantiated in one of two\ndifferent ways using this API as follows:\n
For Google managed domain customers, the process involves using\nEnterprises.enroll and Enterprises.setAccount (in\nconjunction with artifacts obtained from the Admin console and the Google\nAPI Console) and submitted to the EMM through a more-or-less manual\nprocess.
\n
For managed Google Play Accounts customers, the process involves using\nEnterprises.generateSignupUrl and\nEnterprises.completeSignup in conjunction with the managed\nGoogle Play sign-up UI (Google-provided mechanism) to create the binding\nwithout manual steps.
As an EMM, you can support either or both\napproaches in your EMM console. See Create an Enterprise\nfor details.",
"id": "Enterprise",
"properties": {
"administrator": {
- "description": "Admins of the enterprise. This is only supported for enterprises created via the EMM-initiated flow.",
+ "description": "Admins of the enterprise. This is only supported for enterprises\ncreated via the EMM-initiated flow.",
"items": {
"$ref": "Administrator"
},
@@ -3061,10 +3197,6 @@
"description": "The unique ID for the enterprise.",
"type": "string"
},
- "kind": {
- "default": "androidenterprise#enterprise",
- "type": "string"
- },
"name": {
"description": "The name of the enterprise, for example, \"Example, Inc\".",
"type": "string"
@@ -3077,22 +3209,17 @@
"type": "object"
},
"EnterpriseAccount": {
- "description": "A service account that can be used to authenticate as the enterprise to API calls that require such authentication.",
+ "description": "A service account that can be used to authenticate as the enterprise to\nAPI calls that require such authentication.",
"id": "EnterpriseAccount",
"properties": {
"accountEmail": {
"description": "The email address of the service account.",
"type": "string"
- },
- "kind": {
- "default": "androidenterprise#enterpriseAccount",
- "type": "string"
}
},
"type": "object"
},
"EnterprisesListResponse": {
- "description": "The matching enterprise resources.",
"id": "EnterprisesListResponse",
"properties": {
"enterprise": {
@@ -3101,11 +3228,6 @@
"$ref": "Enterprise"
},
"type": "array"
- },
- "kind": {
- "default": "androidenterprise#enterprisesListResponse",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#enterprisesListResponse\".",
- "type": "string"
}
},
"type": "object"
@@ -3118,96 +3240,112 @@
"type": "string"
},
"topicName": {
- "description": "The name of the Cloud Pub/Sub topic to which notifications for this enterprise's enrolled account will be sent.",
+ "description": "The name of the Cloud Pub/Sub topic to which notifications for this\nenterprise's enrolled account will be sent.",
"type": "string"
}
},
"type": "object"
},
"Entitlement": {
- "description": "The presence of an Entitlements resource indicates that a user has the right to use a particular app. Entitlements are user specific, not device specific. This allows a user with an entitlement to an app to install the app on all their devices. It's also possible for a user to hold an entitlement to an app without installing the app on any device.\n\nThe API can be used to create an entitlement. As an option, you can also use the API to trigger the installation of an app on all a user's managed devices at the same time the entitlement is created.\n\nIf the app is free, creating the entitlement also creates a group license for that app. For paid apps, creating the entitlement consumes one license, and that license remains consumed until the entitlement is removed. If the enterprise hasn't purchased enough licenses, then no entitlement is created and the installation fails. An entitlement is also not created for an app if the app requires permissions that the enterprise hasn't accepted.\n\nIf an entitlement is deleted, the app may be uninstalled from a user's device. As a best practice, uninstall the app by calling Installs.delete() before deleting the entitlement.\n\nEntitlements for apps that a user pays for on an unmanaged profile have \"userPurchase\" as the entitlement reason. These entitlements cannot be removed via the API.",
+ "description": "The presence of an Entitlements resource indicates that a user has the right\nto use a particular app. Entitlements are user specific, not device specific.\nThis allows a user with an entitlement to an app to install the app on all\ntheir devices. It's also possible for a user to hold an entitlement to an app\nwithout installing the app on any device.\n\nThe API can be used to create an entitlement. As an option, you can also use\nthe API to trigger the installation of an app on all a user's managed devices\nat the same time the entitlement is created.\n\nIf the app is free, creating the entitlement also creates a group license\nfor that app. For paid apps, creating the entitlement consumes one license,\nand that license remains consumed until the entitlement is removed. If the\nenterprise hasn't purchased enough licenses, then no entitlement is created\nand the installation fails. An entitlement is also not created for an app if\nthe app requires permissions that the enterprise hasn't accepted.\n\nIf an entitlement is deleted, the app may be uninstalled from a user's\ndevice. As a best practice, uninstall the app by calling\n\nInstalls.delete() before deleting the entitlement.\n\nEntitlements for apps that a user pays for on an unmanaged profile have\n\"userPurchase\" as the entitlement reason. These\nentitlements cannot be removed via the API.",
"id": "Entitlement",
"properties": {
- "kind": {
- "default": "androidenterprise#entitlement",
- "type": "string"
- },
"productId": {
- "description": "The ID of the product that the entitlement is for. For example, \"app:com.google.android.gm\".",
+ "description": "The ID of the product that the entitlement is for. For example,\n"app:com.google.android.gm".",
"type": "string"
},
"reason": {
- "description": "The reason for the entitlement. For example, \"free\" for free apps. This property is temporary: it will be replaced by the acquisition kind field of group licenses.",
+ "description": "The reason for the entitlement. For example, \"free\"\nfor free apps. This property is temporary: it will be replaced by the acquisition kind field of group licenses.",
+ "enum": [
+ "free",
+ "groupLicense",
+ "userPurchase"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ ""
+ ],
"type": "string"
}
},
"type": "object"
},
"EntitlementsListResponse": {
- "description": "The entitlement resources for the user.",
"id": "EntitlementsListResponse",
"properties": {
"entitlement": {
- "description": "An entitlement of a user to a product (e.g. an app). For example, a free app that they have installed, or a paid app that they have been allocated a license to.",
+ "description": "An entitlement of a user to a product (e.g. an app).\nFor example, a free app that they have installed, or a paid app that they\nhave been allocated a license to.",
"items": {
"$ref": "Entitlement"
},
"type": "array"
- },
- "kind": {
- "default": "androidenterprise#entitlementsListResponse",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#entitlementsListResponse\".",
- "type": "string"
}
},
"type": "object"
},
"GroupLicense": {
- "description": "Group license objects allow you to keep track of licenses (called entitlements) for both free and paid apps. For a free app, a group license is created when an enterprise admin first approves the product in Google Play or when the first entitlement for the product is created for a user via the API. For a paid app, a group license object is only created when an enterprise admin purchases the product in Google Play for the first time.\n\nUse the API to query group licenses. A Grouplicenses resource includes the total number of licenses purchased (paid apps only) and the total number of licenses currently in use. In other words, the total number of Entitlements that exist for the product.\n\nOnly one group license object is created per product and group license objects are never deleted. If a product is unapproved, its group license remains. This allows enterprise admins to keep track of any remaining entitlements for the product.",
+ "description": "Group license objects allow you to keep track of licenses (called\nentitlements)\nfor both free and paid apps. For a free app, a group license is created when\nan enterprise admin first approves the product in Google Play or when the\nfirst entitlement for the product is created for a user via the API. For a\npaid app, a group license object is only created when an enterprise admin\npurchases the product in Google Play for the first time.\n\nUse the API to query group licenses. A Grouplicenses resource\nincludes the total number of licenses purchased (paid apps only) and the\ntotal number of licenses currently in use. In other words, the total number\nof Entitlements that exist for the product.\n\nOnly one group license object is created per product and group license\nobjects are never deleted. If a product is unapproved, its group license\nremains. This allows enterprise admins to keep track of any remaining\nentitlements for the product.",
"id": "GroupLicense",
"properties": {
"acquisitionKind": {
- "description": "How this group license was acquired. \"bulkPurchase\" means that this Grouplicenses resource was created because the enterprise purchased licenses for this product; otherwise, the value is \"free\" (for free products).",
+ "description": "How this group license was acquired. "bulkPurchase"\nmeans that this Grouplicenses resource was created because the enterprise\npurchased licenses for this product; otherwise, the value is\n"free" (for free products).",
+ "enum": [
+ "free",
+ "bulkPurchase"
+ ],
+ "enumDescriptions": [
+ "",
+ ""
+ ],
"type": "string"
},
"approval": {
- "description": "Whether the product to which this group license relates is currently approved by the enterprise. Products are approved when a group license is first created, but this approval may be revoked by an enterprise admin via Google Play. Unapproved products will not be visible to end users in collections, and new entitlements to them should not normally be created.",
- "type": "string"
- },
- "kind": {
- "default": "androidenterprise#groupLicense",
+ "description": "Whether the product to which this group license relates is currently\napproved by the enterprise. Products are approved when a group license is\nfirst created, but this approval may be revoked by an enterprise admin via\nGoogle Play. Unapproved products will not be visible to end users in\ncollections, and new entitlements to them should not normally be created.",
+ "enum": [
+ "approved",
+ "unapproved"
+ ],
+ "enumDescriptions": [
+ "",
+ ""
+ ],
"type": "string"
},
"numProvisioned": {
- "description": "The total number of provisioned licenses for this product. Returned by read operations, but ignored in write operations.",
+ "description": "The total number of provisioned licenses for this product.\nReturned by read operations, but ignored in write operations.",
"format": "int32",
"type": "integer"
},
"numPurchased": {
- "description": "The number of purchased licenses (possibly in multiple purchases). If this field is omitted, then there is no limit on the number of licenses that can be provisioned (for example, if the acquisition kind is \"free\").",
+ "description": "The number of purchased licenses (possibly in multiple purchases).\nIf this field is omitted, then there is no limit on the number of licenses\nthat can be provisioned (for example, if the acquisition kind is\n"free").",
"format": "int32",
"type": "integer"
},
"permissions": {
- "description": "The permission approval status of the product. This field is only set if the product is approved. Possible states are: \n- \"currentApproved\", the current set of permissions is approved, but additional permissions will require the administrator to reapprove the product (If the product was approved without specifying the approved permissions setting, then this is the default behavior.), \n- \"needsReapproval\", the product has unapproved permissions. No additional product licenses can be assigned until the product is reapproved, \n- \"allCurrentAndFutureApproved\", the current permissions are approved and any future permission updates will be automatically approved without administrator review.",
+ "description": "The permission approval status of the product. This field\nis only set if the product is approved. Possible states are:
\n
\"currentApproved\", the current set\nof permissions is approved, but additional permissions will require the\nadministrator to reapprove the product (If the product was approved\nwithout specifying the approved permissions setting, then this is the\ndefault behavior.),
\n
\"needsReapproval\", the product has unapproved permissions.\nNo additional product licenses can be assigned until the product is\nreapproved,
\n
\"allCurrentAndFutureApproved\",\nthe current permissions are approved and any future permission updates\nwill be automatically approved without administrator review.
",
+ "enum": [
+ "currentApproved",
+ "needsReapproval",
+ "allCurrentAndFutureApproved"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ ""
+ ],
"type": "string"
},
"productId": {
- "description": "The ID of the product that the license is for. For example, \"app:com.google.android.gm\".",
+ "description": "The ID of the product that the license is for. For example,\n"app:com.google.android.gm".",
"type": "string"
}
},
"type": "object"
},
"GroupLicenseUsersListResponse": {
- "description": "The user resources for the group license.",
"id": "GroupLicenseUsersListResponse",
"properties": {
- "kind": {
- "default": "androidenterprise#groupLicenseUsersListResponse",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#groupLicenseUsersListResponse\".",
- "type": "string"
- },
"user": {
"description": "A user of an enterprise.",
"items": {
@@ -3219,7 +3357,6 @@
"type": "object"
},
"GroupLicensesListResponse": {
- "description": "The grouplicense resources for the enterprise.",
"id": "GroupLicensesListResponse",
"properties": {
"groupLicense": {
@@ -3228,33 +3365,32 @@
"$ref": "GroupLicense"
},
"type": "array"
- },
- "kind": {
- "default": "androidenterprise#groupLicensesListResponse",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#groupLicensesListResponse\".",
- "type": "string"
}
},
"type": "object"
},
"Install": {
- "description": "The existence of an Installs resource indicates that an app is installed on a particular device (or that an install is pending).\n\nThe API can be used to create an install resource using the update method. This triggers the actual install of the app on the device. If the user does not already have an entitlement for the app, then an attempt is made to create one. If this fails (for example, because the app is not free and there is no available license), then the creation of the install fails.\n\nThe API can also be used to update an installed app. If the\u00a0update\u00a0method is used on an existing install, then the app will be updated to the latest available version.\n\nNote that it is not possible to force the installation of a specific version of an app: the version code is read-only.\n\nIf a user installs an app themselves (as permitted by the enterprise), then again an install resource and possibly an entitlement resource are automatically created.\n\nThe API can also be used to delete an install resource, which triggers the removal of the app from the device. Note that deleting an install does not automatically remove the corresponding entitlement, even if there are no remaining installs. The install resource will also be deleted if the user uninstalls the app themselves.",
+ "description": "The existence of an Installs resource indicates that an app is\ninstalled on a particular device (or that an install is pending).\n\nThe API can be used to create an install resource using the\nupdate\nmethod. This triggers the actual install of the app on the device. If the\nuser does not already have an entitlement for the app, then an attempt is\nmade to create one. If this fails (for example, because the app is not free\nand there is no available license), then the creation of the install fails.\n\nThe API can also be used to update an installed app. If\nthe update method is\nused on an existing install, then the app will be updated to the latest\navailable version.\n\nNote that it is not possible to force the installation of a specific version\nof an app: the version code is read-only.\n\nIf a user installs an app themselves (as permitted by the enterprise), then\nagain an install resource and possibly an entitlement resource are\nautomatically created.\n\nThe API can also be used to delete an install resource, which triggers the\nremoval of the app from the device. Note that deleting an install does not\nautomatically remove the corresponding entitlement, even if there are no\nremaining installs. The install resource will also be deleted if the user\nuninstalls the app themselves.",
"id": "Install",
"properties": {
"installState": {
- "description": "Install state. The state \"installPending\" means that an install request has recently been made and download to the device is in progress. The state \"installed\" means that the app has been installed. This field is read-only.",
- "type": "string"
- },
- "kind": {
- "default": "androidenterprise#install",
+ "description": "Install state. The state "installPending"\nmeans that an install request has recently been made and download to the\ndevice is in progress. The state "installed"\nmeans that the app has been installed. This field is read-only.",
+ "enum": [
+ "installed",
+ "installPending"
+ ],
+ "enumDescriptions": [
+ "",
+ ""
+ ],
"type": "string"
},
"productId": {
- "description": "The ID of the product that the install is for. For example, \"app:com.google.android.gm\".",
+ "description": "The ID of the product that the install is for. For example,\n"app:com.google.android.gm".",
"type": "string"
},
"versionCode": {
- "description": "The version of the installed product. Guaranteed to be set only if the install state is \"installed\".",
+ "description": "The version of the installed product. Guaranteed to be set only if the\ninstall state is "installed".",
"format": "int32",
"type": "integer"
}
@@ -3266,7 +3402,7 @@
"id": "InstallFailureEvent",
"properties": {
"deviceId": {
- "description": "The Android ID of the device. This field will always be present.",
+ "description": "The Android ID of the device.\nThis field will always be present.",
"type": "string"
},
"failureDetails": {
@@ -3274,61 +3410,73 @@
"type": "string"
},
"failureReason": {
- "description": "The reason for the installation failure. This field will always be present.",
+ "description": "The reason for the installation failure.\nThis field will always be present.",
+ "enum": [
+ "unknown",
+ "timeout"
+ ],
+ "enumDescriptions": [
+ "Used whenever no better reason for failure can be provided.",
+ "Used when the installation timed out. This can cover a number of\nsituations, for example when the device did not have connectivity\nat any point during the retry period, or if the device is OOM."
+ ],
"type": "string"
},
"productId": {
- "description": "The id of the product (e.g. \"app:com.google.android.gm\") for which the install failure event occured. This field will always be present.",
+ "description": "The id of the product (e.g. \"app:com.google.android.gm\") for which the\ninstall failure event occured. This field will always be present.",
"type": "string"
},
"userId": {
- "description": "The ID of the user. This field will always be present.",
+ "description": "The ID of the user.\nThis field will always be present.",
"type": "string"
}
},
"type": "object"
},
"InstallsListResponse": {
- "description": "The install resources for the device.",
"id": "InstallsListResponse",
"properties": {
"install": {
- "description": "An installation of an app for a user on a specific device. The existence of an install implies that the user must have an entitlement to the app.",
+ "description": "An installation of an app for a user on a specific device.\nThe existence of an install implies that the user must have an\nentitlement to the app.",
"items": {
"$ref": "Install"
},
"type": "array"
- },
- "kind": {
- "default": "androidenterprise#installsListResponse",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#installsListResponse\".",
- "type": "string"
}
},
"type": "object"
},
"KeyedAppState": {
- "description": "Represents a keyed app state containing a key, timestamp, severity level, optional description, and optional data.",
+ "description": "Represents a keyed app state containing a key, timestamp, severity level,\noptional description, and optional data.",
"id": "KeyedAppState",
"properties": {
"data": {
- "description": "Additional field intended for machine-readable data. For example, a number or JSON object. To prevent XSS, we recommend removing any HTML from the data before displaying it.",
+ "description": "Additional field intended for machine-readable data. For example, a number\nor JSON object. To prevent XSS, we recommend removing any HTML from the\ndata before displaying it.",
"type": "string"
},
"key": {
- "description": "Key indicating what the app is providing a state for. The content of the key is set by the app's developer. To prevent XSS, we recommend removing any HTML from the key before displaying it. This field will always be present.",
+ "description": "Key indicating what the app is providing a state for. The content of the\nkey is set by the app's developer. To prevent XSS, we recommend removing\nany HTML from the key before displaying it.\nThis field will always be present.",
"type": "string"
},
"message": {
- "description": "Free-form, human-readable message describing the app state. For example, an error message. To prevent XSS, we recommend removing any HTML from the message before displaying it.",
+ "description": "Free-form, human-readable message describing the app state. For example,\nan error message. To prevent XSS, we recommend removing any HTML from the\nmessage before displaying it.",
"type": "string"
},
"severity": {
- "description": "Severity of the app state. This field will always be present.",
+ "description": "Severity of the app state.\nThis field will always be present.",
+ "enum": [
+ "severityUnknown",
+ "severityInfo",
+ "severityError"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ ""
+ ],
"type": "string"
},
"stateTimestampMillis": {
- "description": "Timestamp of when the app set the state in milliseconds since epoch. This field will always be present.",
+ "description": "Timestamp of when the app set the state in milliseconds since epoch.\nThis field will always be present.",
"format": "int64",
"type": "string"
}
@@ -3351,16 +3499,16 @@
"type": "object"
},
"MaintenanceWindow": {
- "description": "Maintenance window for managed Google Play Accounts. This allows Play store to update the apps on the foreground in the designated window.",
+ "description": "Maintenance window for managed Google Play Accounts.\nThis allows Play store to update the apps on the foreground in the designated\nwindow.",
"id": "MaintenanceWindow",
"properties": {
"durationMs": {
- "description": "Duration of the maintenance window, in milliseconds. The duration must be between 30 minutes and 24 hours (inclusive).",
+ "description": "Duration of the maintenance window, in milliseconds. The duration must be\nbetween 30 minutes and 24 hours (inclusive).",
"format": "int64",
"type": "string"
},
"startTimeAfterMidnightMs": {
- "description": "Start time of the maintenance window, in milliseconds after midnight on the device. Windows can span midnight.",
+ "description": "Start time of the maintenance window, in milliseconds after midnight on the\ndevice. Windows can span midnight.",
"format": "int64",
"type": "string"
}
@@ -3368,12 +3516,12 @@
"type": "object"
},
"ManagedConfiguration": {
- "description": "A managed configuration resource contains the set of managed properties defined by the app developer in the app's managed configurations schema, as well as any configuration variables defined for the user.",
+ "description": "A managed configuration resource contains the set of managed properties\ndefined by the app developer in the app's managed configurations schema,\nas well as any configuration variables defined for the user.",
"id": "ManagedConfiguration",
"properties": {
"configurationVariables": {
"$ref": "ConfigurationVariables",
- "description": "Contains the ID of the managed configuration profile and the set of configuration variables (if any) defined for the user."
+ "description": "Contains the ID of the managed configuration profile and the set of\nconfiguration variables (if any) defined for the user."
},
"kind": {
"description": "Deprecated.",
@@ -3387,21 +3535,15 @@
"type": "array"
},
"productId": {
- "description": "The ID of the product that the managed configuration is for, e.g. \"app:com.google.android.gm\".",
+ "description": "The ID of the product that the managed configuration is for, e.g.\n\"app:com.google.android.gm\".",
"type": "string"
}
},
"type": "object"
},
"ManagedConfigurationsForDeviceListResponse": {
- "description": "The managed configuration resources for the device.",
"id": "ManagedConfigurationsForDeviceListResponse",
"properties": {
- "kind": {
- "default": "androidenterprise#managedConfigurationsForDeviceListResponse",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#managedConfigurationsForDeviceListResponse\".",
- "type": "string"
- },
"managedConfigurationForDevice": {
"description": "A managed configuration for an app on a specific device.",
"items": {
@@ -3413,14 +3555,8 @@
"type": "object"
},
"ManagedConfigurationsForUserListResponse": {
- "description": "The managed configuration resources for the user.",
"id": "ManagedConfigurationsForUserListResponse",
"properties": {
- "kind": {
- "default": "androidenterprise#managedConfigurationsForUserListResponse",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#managedConfigurationsForUserListResponse\".",
- "type": "string"
- },
"managedConfigurationForUser": {
"description": "A managed configuration for an app for a specific user.",
"items": {
@@ -3432,15 +3568,11 @@
"type": "object"
},
"ManagedConfigurationsSettings": {
- "description": "A managed configurations settings resource contains the set of managed properties that have been configured for an Android app to be applied to a set of users. The app's developer would have defined configurable properties in the managed configurations schema.",
+ "description": "A managed configurations settings resource contains the set of\nmanaged properties that have been configured for an Android app to be applied\nto a set of users. The app's developer would have\ndefined configurable properties in the managed configurations schema.",
"id": "ManagedConfigurationsSettings",
"properties": {
- "kind": {
- "default": "androidenterprise#managedConfigurationsSettings",
- "type": "string"
- },
"lastUpdatedTimestampMillis": {
- "description": "The last updated time of the managed configuration settings in milliseconds since 1970-01-01T00:00:00Z.",
+ "description": "The last updated time of the managed configuration settings in\nmilliseconds since 1970-01-01T00:00:00Z.",
"format": "int64",
"type": "string"
},
@@ -3456,16 +3588,10 @@
"type": "object"
},
"ManagedConfigurationsSettingsListResponse": {
- "description": "The managed configurations settings for a product.",
"id": "ManagedConfigurationsSettingsListResponse",
"properties": {
- "kind": {
- "default": "androidenterprise#managedConfigurationsSettingsListResponse",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#managedConfigurationsSettingsListResponse\".",
- "type": "string"
- },
"managedConfigurationsSettings": {
- "description": "A managed configurations settings for an app that may be assigned to a group of users in an enterprise.",
+ "description": "A managed configurations settings for an app that may be assigned to a\ngroup of users in an enterprise.",
"items": {
"$ref": "ManagedConfigurationsSettings"
},
@@ -3475,7 +3601,7 @@
"type": "object"
},
"ManagedProperty": {
- "description": "A managed property of a managed configuration. The property must match one of the properties in the app restrictions schema of the product. Exactly one of the value fields must be populated, and it must match the property's type in the app restrictions schema.",
+ "description": "A managed property of a managed configuration. The property must match one of\nthe properties in the app restrictions schema of the product. Exactly one of\nthe value fields must be populated, and it must match the property's type in\nthe app restrictions schema.",
"id": "ManagedProperty",
"properties": {
"key": {
@@ -3483,31 +3609,31 @@
"type": "string"
},
"valueBool": {
- "description": "The boolean value - this will only be present if type of the property is bool.",
+ "description": "The boolean value - this will only be present if type of the property is\nbool.",
"type": "boolean"
},
"valueBundle": {
"$ref": "ManagedPropertyBundle",
- "description": "The bundle of managed properties - this will only be present if type of the property is bundle."
+ "description": "The bundle of managed properties - this will only be present if type of the\nproperty is bundle."
},
"valueBundleArray": {
- "description": "The list of bundles of properties - this will only be present if type of the property is bundle_array.",
+ "description": "The list of bundles of properties - this will only be present if type of\nthe property is bundle_array.",
"items": {
"$ref": "ManagedPropertyBundle"
},
"type": "array"
},
"valueInteger": {
- "description": "The integer value - this will only be present if type of the property is integer.",
+ "description": "The integer value - this will only be present if type of the property is\ninteger.",
"format": "int32",
"type": "integer"
},
"valueString": {
- "description": "The string value - this will only be present if type of the property is string, choice or hidden.",
+ "description": "The string value - this will only be present if type of the property is\nstring, choice or hidden.",
"type": "string"
},
"valueStringArray": {
- "description": "The list of string values - this will only be present if type of the property is multiselect.",
+ "description": "The list of string values - this will only be present if type of the\nproperty is multiselect.",
"items": {
"type": "string"
},
@@ -3535,7 +3661,7 @@
"id": "NewDeviceEvent",
"properties": {
"deviceId": {
- "description": "The Android ID of the device. This field will always be present.",
+ "description": "The Android ID of the device.\nThis field will always be present.",
"type": "string"
},
"dpcPackageName": {
@@ -3543,11 +3669,19 @@
"type": "string"
},
"managementType": {
- "description": "Identifies the extent to which the device is controlled by an Android EMM in various deployment configurations.\n\nPossible values include: \n- \"managedDevice\", a device where the DPC is set as device owner, \n- \"managedProfile\", a device where the DPC is set as profile owner.",
+ "description": "Identifies the extent to which the device is controlled by an Android\nEMM in various deployment configurations.
\nPossible values include:\n
\"managedDevice\", a device where the DPC is set as\ndevice owner,
\n
\"managedProfile\", a device where the DPC is set as profile\nowner.
",
+ "enum": [
+ "managedDevice",
+ "managedProfile"
+ ],
+ "enumDescriptions": [
+ "",
+ ""
+ ],
"type": "string"
},
"userId": {
- "description": "The ID of the user. This field will always be present.",
+ "description": "The ID of the user.\nThis field will always be present.",
"type": "string"
}
},
@@ -3558,18 +3692,18 @@
"id": "NewPermissionsEvent",
"properties": {
"approvedPermissions": {
- "description": "The set of permissions that the enterprise admin has already approved for this application. Use Permissions.Get on the EMM API to retrieve details about these permissions.",
+ "description": "The set of permissions that the enterprise admin has already approved for\nthis application.\nUse Permissions.Get on the EMM API to retrieve details about these\npermissions.",
"items": {
"type": "string"
},
"type": "array"
},
"productId": {
- "description": "The id of the product (e.g. \"app:com.google.android.gm\") for which new permissions were added. This field will always be present.",
+ "description": "The id of the product (e.g. \"app:com.google.android.gm\") for which new\npermissions were added. This field will always be present.",
"type": "string"
},
"requestedPermissions": {
- "description": "The set of permissions that the app is currently requesting. Use Permissions.Get on the EMM API to retrieve details about these permissions.",
+ "description": "The set of permissions that the app is currently requesting.\nUse Permissions.Get on the EMM API to retrieve details about these\npermissions.",
"items": {
"type": "string"
},
@@ -3595,7 +3729,7 @@
"description": "Notifications about device report updates."
},
"enterpriseId": {
- "description": "The ID of the enterprise for which the notification is sent. This will always be present.",
+ "description": "The ID of the enterprise for which the notification is sent.\nThis will always be present.",
"type": "string"
},
"installFailureEvent": {
@@ -3612,6 +3746,30 @@
},
"notificationType": {
"description": "Type of the notification.",
+ "enum": [
+ "unknown",
+ "testNotification",
+ "productApproval",
+ "installFailure",
+ "appUpdate",
+ "newPermissions",
+ "appRestricionsSchemaChange",
+ "productAvailabilityChange",
+ "newDevice",
+ "deviceReportUpdate"
+ ],
+ "enumDescriptions": [
+ "",
+ "A test push notification.",
+ "Notification about change to a product's approval status.",
+ "Notification about an app installation failure.",
+ "Notification about app update.",
+ "Notification about new app permissions.",
+ "Notification about new app restrictions schema change.",
+ "Notification about product availability change.",
+ "Notification about a new device.",
+ "Notification about an updated device report."
+ ],
"type": "string"
},
"productApprovalEvent": {
@@ -3623,7 +3781,7 @@
"description": "Notifications about product availability changes."
},
"timestampMillis": {
- "description": "The time when the notification was published in milliseconds since 1970-01-01T00:00:00Z. This will always be present.",
+ "description": "The time when the notification was published in\nmilliseconds since 1970-01-01T00:00:00Z.\nThis will always be present.",
"format": "int64",
"type": "string"
}
@@ -3631,13 +3789,9 @@
"type": "object"
},
"NotificationSet": {
- "description": "A resource returned by the PullNotificationSet API, which contains a collection of notifications for enterprises associated with the service account authenticated for the request.",
+ "description": "A resource returned by the PullNotificationSet API, which contains\na collection of notifications for enterprises associated with the service\naccount authenticated for the request.",
"id": "NotificationSet",
"properties": {
- "kind": {
- "default": "androidenterprise#notificationSet",
- "type": "string"
- },
"notification": {
"description": "The notifications received, or empty if no notifications are present.",
"items": {
@@ -3646,24 +3800,28 @@
"type": "array"
},
"notificationSetId": {
- "description": "The notification set ID, required to mark the notification as received with the Enterprises.AcknowledgeNotification API. This will be omitted if no notifications are present.",
+ "description": "The notification set ID, required to mark the notification as\nreceived with the Enterprises.AcknowledgeNotification API.\nThis will be omitted if no notifications are present.",
"type": "string"
}
},
"type": "object"
},
"PageInfo": {
+ "description": "Information about the current page.\n\nList operations that supports paging return only one \"page\" of results. This\nprotocol buffer message describes the page that has been returned.",
"id": "PageInfo",
"properties": {
"resultPerPage": {
+ "description": "Maximum number of results returned in one page.\n! The number of results included in the API response.",
"format": "int32",
"type": "integer"
},
"startIndex": {
+ "description": "Index of the first result returned in the current page.",
"format": "int32",
"type": "integer"
},
"totalResults": {
+ "description": "Total number of results available on the backend\n! The total number of results in the result set.",
"format": "int32",
"type": "integer"
}
@@ -3671,15 +3829,11 @@
"type": "object"
},
"Permission": {
- "description": "A Permissions resource represents some extra capability, to be granted to an Android app, which requires explicit consent. An enterprise admin must consent to these permissions on behalf of their users before an entitlement for the app can be created.\n\nThe permissions collection is read-only. The information provided for each permission (localized name and description) is intended to be used in the MDM user interface when obtaining consent from the enterprise.",
+ "description": "A Permissions resource represents some extra capability, to be granted to an\nAndroid app, which requires explicit consent. An enterprise admin must\nconsent to these permissions on behalf of their users before an\nentitlement for the app can be created.\n\nThe permissions collection is read-only. The information provided for\neach permission (localized name and description) is intended to be\nused in the MDM user interface when obtaining consent from the\nenterprise.",
"id": "Permission",
"properties": {
"description": {
- "description": "A longer description of the Permissions resource, giving more details of what it affects.",
- "type": "string"
- },
- "kind": {
- "default": "androidenterprise#permission",
+ "description": "A longer description of the Permissions resource, giving more details of\nwhat it affects.",
"type": "string"
},
"name": {
@@ -3698,23 +3852,57 @@
"id": "Policy",
"properties": {
"autoUpdatePolicy": {
- "description": "The auto-update policy for apps installed on the device. \"choiceToTheUser\" allows the device's user to configure the app update policy. \"always\" enables auto updates. \"never\" disables auto updates. \"wifiOnly\" enables auto updates only when the device is connected to wifi.",
+ "description": "The auto-update policy for apps installed on the device. \"choiceToTheUser\"\nallows the device's user to configure the app update policy. \"always\"\nenables auto updates. \"never\" disables auto updates. \"wifiOnly\" enables\nauto updates only when the device is connected to wifi.",
+ "enum": [
+ "autoUpdatePolicyUnspecified",
+ "choiceToTheUser",
+ "never",
+ "wifiOnly",
+ "always"
+ ],
+ "enumDescriptions": [
+ "The auto update policy is not set.",
+ "The user can control auto-updates.",
+ "Apps are never auto-updated.",
+ "Apps are auto-updated over WiFi only.",
+ "Apps are auto-updated at any time. Data charges may apply."
+ ],
"type": "string"
},
"deviceReportPolicy": {
- "description": "Whether the device reports app states to the EMM. The default value is \"deviceReportDisabled\".",
+ "description": "Whether the device reports app states to the EMM. The default value is\n\"deviceReportDisabled\".",
+ "enum": [
+ "deviceReportPolicyUnspecified",
+ "deviceReportDisabled",
+ "deviceReportEnabled"
+ ],
+ "enumDescriptions": [
+ "The device report policy is not set.",
+ "Device reports are disabled.",
+ "Device reports are enabled."
+ ],
"type": "string"
},
"maintenanceWindow": {
"$ref": "MaintenanceWindow",
- "description": "The maintenance window defining when apps running in the foreground should be updated."
+ "description": "The maintenance window defining when apps running in the foreground should\nbe updated."
},
"productAvailabilityPolicy": {
- "description": "The availability granted to the device for the specified products. \"all\" gives the device access to all products, regardless of approval status. \"all\" does not enable automatic visibility of \"alpha\" or \"beta\" tracks. \"whitelist\" grants the device access the products specified in productPolicy[]. Only products that are approved or products that were previously approved (products with revoked approval) by the enterprise can be whitelisted. If no value is provided, the availability set at the user level is applied by default.",
+ "description": "The availability granted to the device for the specified products. \"all\"\ngives the device access to all products, regardless of approval status.\n\"all\" does not enable automatic visibility of \"alpha\" or \"beta\" tracks.\n\"whitelist\" grants the device access the products specified in\nproductPolicy[]. Only products that are approved or products that were\npreviously approved (products with revoked approval) by the enterprise can\nbe whitelisted. If no value is provided, the availability set at the user\nlevel is applied by default.",
+ "enum": [
+ "productAvailabilityPolicyUnspecified",
+ "whitelist",
+ "all"
+ ],
+ "enumDescriptions": [
+ "Unspecified, applies the user available product set by default.",
+ "The approved products with product availability set to AVAILABLE\nin the product policy are available.",
+ "All products are available except those explicitly marked as\nunavailable in the product availability policy."
+ ],
"type": "string"
},
"productPolicy": {
- "description": "The list of product policies.",
+ "description": "The list of product policies. The productAvailabilityPolicy\nneeds to be set to WHITELIST or ALL for the\nproduct policies to be applied.",
"items": {
"$ref": "ProductPolicy"
},
@@ -3724,7 +3912,7 @@
"type": "object"
},
"Product": {
- "description": "A Products resource represents an app in the Google Play store that is available to at least some users in the enterprise. (Some apps are restricted to a single enterprise, and no information about them is made available outside that enterprise.)\n\nThe information provided for each product (localized name, icon, link to the full Google Play details page) is intended to allow a basic representation of the product within an EMM user interface.",
+ "description": "A Products resource represents an app in the Google Play store that is\navailable to at least some users in the enterprise. (Some apps are restricted\nto a single enterprise, and no information about them is made available\noutside that enterprise.)\n\nThe information provided for each product (localized name, icon, link\nto the full Google Play details page) is intended to allow a basic\nrepresentation of the product within an EMM user interface.",
"id": "Product",
"properties": {
"appTracks": {
@@ -3753,8 +3941,20 @@
"type": "array"
},
"availableTracks": {
- "description": "Deprecated, use appTracks instead.",
+ "description": "Deprecated, use appTracks instead.",
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ ""
+ ],
"items": {
+ "enum": [
+ "appTrackUnspecified",
+ "production",
+ "beta",
+ "alpha"
+ ],
"type": "string"
},
"type": "array"
@@ -3765,6 +3965,20 @@
},
"contentRating": {
"description": "The content rating for this app.",
+ "enum": [
+ "ratingUnknown",
+ "all",
+ "preTeen",
+ "teen",
+ "mature"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
"type": "string"
},
"description": {
@@ -3776,26 +3990,40 @@
"type": "string"
},
"distributionChannel": {
- "description": "How and to whom the package is made available. The value publicGoogleHosted means that the package is available through the Play store and not restricted to a specific enterprise. The value privateGoogleHosted means that the package is a private app (restricted to an enterprise) but hosted by Google. The value privateSelfHosted means that the package is a private app (restricted to an enterprise) and is privately hosted.",
+ "description": "How and to whom the package is made available.\nThe value publicGoogleHosted means that the package is\navailable through the Play store and not restricted to a specific\nenterprise. The value privateGoogleHosted means that the\npackage is a private app (restricted to an enterprise) but hosted by\nGoogle. The value privateSelfHosted means that the package is\na private app (restricted to an enterprise) and is privately hosted.",
+ "enum": [
+ "publicGoogleHosted",
+ "privateGoogleHosted",
+ "privateSelfHosted"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ ""
+ ],
"type": "string"
},
"features": {
"description": "Noteworthy features (if any) of this product.",
+ "enumDescriptions": [
+ "",
+ "The app is a VPN."
+ ],
"items": {
+ "enum": [
+ "featureUnknown",
+ "vpnApp"
+ ],
"type": "string"
},
"type": "array"
},
"iconUrl": {
- "description": "A link to an image that can be used as an icon for the product. This image is suitable for use at up to 512px x 512px.",
- "type": "string"
- },
- "kind": {
- "default": "androidenterprise#product",
+ "description": "A link to an image that can be used as an icon for the product.\nThis image is suitable for use at up to 512px x 512px.",
"type": "string"
},
"lastUpdatedTimestampMillis": {
- "description": "The approximate time (within 7 days) the app was last published, expressed in milliseconds since epoch.",
+ "description": "The approximate time (within 7 days) the app was last published, expressed\nin milliseconds since epoch.",
"format": "int64",
"type": "string"
},
@@ -3812,11 +4040,23 @@
"type": "array"
},
"productId": {
- "description": "A string of the form app:. For example, app:com.google.android.gm represents the Gmail app.",
+ "description": "A string of the form app:<package name>. For\nexample, app:com.google.android.gm represents the Gmail app.",
"type": "string"
},
"productPricing": {
- "description": "Whether this product is free, free with in-app purchases, or paid. If the pricing is unknown, this means the product is not generally available anymore (even though it might still be available to people who own it).",
+ "description": "Whether this product is free, free with in-app purchases, or paid.\nIf the pricing is unknown, this means the product is not generally\navailable anymore (even though it might still be available to\npeople who own it).",
+ "enum": [
+ "unknown",
+ "free",
+ "freeWithInAppPurchase",
+ "paid"
+ ],
+ "enumDescriptions": [
+ "Unknown pricing, used to denote an approved product that is not\ngenerally available.",
+ "The product is free.",
+ "The product is free, but offers in-app purchases.",
+ "The product is paid."
+ ],
"type": "string"
},
"recentChanges": {
@@ -3839,7 +4079,7 @@
"description": "The certificate used to sign this product."
},
"smallIconUrl": {
- "description": "A link to a smaller image that can be used as an icon for the product. This image is suitable for use at up to 128px x 128px.",
+ "description": "A link to a smaller image that can be used as an icon for the product.\nThis image is suitable for use at up to 128px x 128px.",
"type": "string"
},
"title": {
@@ -3847,7 +4087,7 @@
"type": "string"
},
"workDetailsUrl": {
- "description": "A link to the managed Google Play details page for the product, for use by an Enterprise admin.",
+ "description": "A link to the managed Google Play details page for the product,\nfor use by an Enterprise admin.",
"type": "string"
}
},
@@ -3858,11 +4098,21 @@
"id": "ProductApprovalEvent",
"properties": {
"approved": {
- "description": "Whether the product was approved or unapproved. This field will always be present.",
+ "description": "Whether the product was approved or unapproved.\nThis field will always be present.",
+ "enum": [
+ "unknown",
+ "approved",
+ "unapproved"
+ ],
+ "enumDescriptions": [
+ "Conveys no information.",
+ "The product was approved.",
+ "The product was unapproved."
+ ],
"type": "string"
},
"productId": {
- "description": "The id of the product (e.g. \"app:com.google.android.gm\") for which the approval status has changed. This field will always be present.",
+ "description": "The id of the product (e.g. \"app:com.google.android.gm\") for which the\napproval status has changed. This field will always be present.",
"type": "string"
}
},
@@ -3873,18 +4123,30 @@
"id": "ProductAvailabilityChangeEvent",
"properties": {
"availabilityStatus": {
- "description": "The new state of the product. This field will always be present.",
+ "description": "The new state of the product.\nThis field will always be present.",
+ "enum": [
+ "unknown",
+ "available",
+ "removed",
+ "unpublished"
+ ],
+ "enumDescriptions": [
+ "Conveys no information.",
+ "The previously unavailable product is again available on Google Play.",
+ "The product was removed from Google Play.",
+ "The product was unpublished by the developer."
+ ],
"type": "string"
},
"productId": {
- "description": "The id of the product (e.g. \"app:com.google.android.gm\") for which the product availability changed. This field will always be present.",
+ "description": "The id of the product (e.g. \"app:com.google.android.gm\") for which the\nproduct availability changed. This field will always be present.",
"type": "string"
}
},
"type": "object"
},
"ProductPermission": {
- "description": "A product permissions resource represents the set of permissions required by a specific app and whether or not they have been accepted by an enterprise admin.\n\nThe API can be used to read the set of permissions, and also to update the set to indicate that permissions have been accepted.",
+ "description": "A product permissions resource represents the set of permissions\nrequired by a specific app and whether or not they have been accepted\nby an enterprise admin.\n\nThe API can be used to read the set of permissions, and also to update\nthe set to indicate that permissions have been accepted.",
"id": "ProductPermission",
"properties": {
"permissionId": {
@@ -3893,19 +4155,23 @@
},
"state": {
"description": "Whether the permission has been accepted or not.",
+ "enum": [
+ "required",
+ "accepted"
+ ],
+ "enumDescriptions": [
+ "The permission is required by the app but has not yet been accepted by\nthe enterprise.",
+ "The permission has been accepted by the enterprise."
+ ],
"type": "string"
}
},
"type": "object"
},
"ProductPermissions": {
- "description": "Information about the permissions required by a specific app and whether they have been accepted by the enterprise.",
+ "description": "Information about the permissions required by a specific app and\nwhether they have been accepted by the enterprise.",
"id": "ProductPermissions",
"properties": {
- "kind": {
- "default": "androidenterprise#productPermissions",
- "type": "string"
- },
"permission": {
"description": "The permissions required by the app.",
"items": {
@@ -3914,7 +4180,7 @@
"type": "array"
},
"productId": {
- "description": "The ID of the app that the permissions relate to, e.g. \"app:com.google.android.gm\".",
+ "description": "The ID of the app that the permissions relate to, e.g.\n\"app:com.google.android.gm\".",
"type": "string"
}
},
@@ -3933,19 +4199,31 @@
"description": "The managed configuration for the product."
},
"productId": {
- "description": "The ID of the product. For example, \"app:com.google.android.gm\".",
+ "description": "The ID of the product. For example,\n"app:com.google.android.gm".",
"type": "string"
},
"trackIds": {
- "description": "Grants the device visibility to the specified product release track(s), identified by trackIds. The list of release tracks of a product can be obtained by calling Products.Get.",
+ "description": "Grants the device visibility to the specified product release track(s),\nidentified by trackIds. The list of release tracks of a\nproduct can be obtained by calling Products.Get.",
"items": {
"type": "string"
},
"type": "array"
},
"tracks": {
- "description": "Deprecated. Use trackIds instead.",
+ "description": "Deprecated. Use trackIds instead.",
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ ""
+ ],
"items": {
+ "enum": [
+ "appTrackUnspecified",
+ "production",
+ "beta",
+ "alpha"
+ ],
"type": "string"
},
"type": "array"
@@ -3957,10 +4235,6 @@
"description": "A set of products.",
"id": "ProductSet",
"properties": {
- "kind": {
- "default": "androidenterprise#productSet",
- "type": "string"
- },
"productId": {
"description": "The list of product IDs making up the set of products.",
"items": {
@@ -3969,11 +4243,23 @@
"type": "array"
},
"productSetBehavior": {
- "description": "The interpretation of this product set. \"unknown\" should never be sent and is ignored if received. \"whitelist\" means that the user is entitled to access the product set. \"includeAll\" means that all products are accessible, including products that are approved, products with revoked approval, and products that have never been approved. \"allApproved\" means that the user is entitled to access all products that are approved for the enterprise. If the value is \"allApproved\" or \"includeAll\", the productId field is ignored. If no value is provided, it is interpreted as \"whitelist\" for backwards compatibility. Further \"allApproved\" or \"includeAll\" does not enable automatic visibility of \"alpha\" or \"beta\" tracks for Android app. Use ProductVisibility to enable \"alpha\" or \"beta\" tracks per user.",
+ "description": "The interpretation of this product set. \"unknown\" should never be sent and\nis ignored if received. \"whitelist\" means that the user is entitled to\naccess the product set. \"includeAll\" means that all products are\naccessible, including products that are approved, products with revoked\napproval, and products that have never been approved. \"allApproved\" means\nthat the user is entitled to access all products that are approved for the\nenterprise. If the value is \"allApproved\" or \"includeAll\", the productId\nfield is ignored. If no value is provided, it is interpreted as\n\"whitelist\" for backwards compatibility.\nFurther \"allApproved\" or \"includeAll\" does not enable automatic\nvisibility of \"alpha\" or \"beta\" tracks for Android app. Use\nProductVisibility to enable \"alpha\" or \"beta\" tracks per user.",
+ "enum": [
+ "unknown",
+ "whitelist",
+ "includeAll",
+ "allApproved"
+ ],
+ "enumDescriptions": [
+ "This value should never be sent and ignored if received.",
+ "This product set constitutes a whitelist.",
+ "This product set represents all products.\nFor Android app it represents only \"production\" track.\n(The value of the productId field is therefore ignored).",
+ "This product set represents all approved products.\nFor Android app it represents only \"production\" track.\n(The value of the product_id field is therefore ignored)."
+ ],
"type": "string"
},
"productVisibility": {
- "description": "Additional list of product IDs making up the product set. Unlike the productID array, in this list It's possible to specify which tracks (alpha, beta, production) of a product are visible to the user. See ProductVisibility and its fields for more information. Specifying the same product ID both here and in the productId array is not allowed and it will result in an error.",
+ "description": "Additional list of product IDs making up the product set.\nUnlike the productID array, in this list It's possible to specify\nwhich tracks (alpha, beta, production) of a product are visible to the\nuser. See ProductVisibility and its fields for more information. Specifying\nthe same product ID both here and in the productId array is not allowed and\nit will result in an error.",
"items": {
"$ref": "ProductVisibility"
},
@@ -3986,7 +4272,7 @@
"id": "ProductSigningCertificate",
"properties": {
"certificateHashSha1": {
- "description": "The base64 urlsafe encoded SHA1 hash of the certificate. (This field is deprecated in favor of SHA2-256. It should not be used and may be removed at any time.)",
+ "description": "The base64 urlsafe encoded SHA1 hash of the certificate. (This field is\ndeprecated in favor of SHA2-256. It should not be used and may be\nremoved at any time.)",
"type": "string"
},
"certificateHashSha256": {
@@ -4001,19 +4287,31 @@
"id": "ProductVisibility",
"properties": {
"productId": {
- "description": "The product ID to make visible to the user. Required for each item in the productVisibility list.",
+ "description": "The product ID to make visible to the user.\nRequired for each item in the productVisibility list.",
"type": "string"
},
"trackIds": {
- "description": "Grants the user visibility to the specified product track(s), identified by trackIds.",
+ "description": "Grants the user visibility to the specified product track(s), identified by\ntrackIds.",
"items": {
"type": "string"
},
"type": "array"
},
"tracks": {
- "description": "Deprecated. Use trackIds instead.",
+ "description": "Deprecated. Use trackIds instead.",
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ ""
+ ],
"items": {
+ "enum": [
+ "appTrackUnspecified",
+ "production",
+ "beta",
+ "alpha"
+ ],
"type": "string"
},
"type": "array"
@@ -4026,10 +4324,18 @@
"properties": {
"approvalUrlInfo": {
"$ref": "ApprovalUrlInfo",
- "description": "The approval URL that was shown to the user. Only the permissions shown to the user with that URL will be accepted, which may not be the product's entire set of permissions. For example, the URL may only display new permissions from an update after the product was approved, or not include new permissions if the product was updated since the URL was generated."
+ "description": "The approval URL that was shown to the user. Only the permissions shown\nto the user with that URL will be accepted, which may not be\nthe product's entire set of permissions. For example, the URL may only\ndisplay new permissions from an update after the product was approved,\nor not include new permissions if the product was updated since the URL\nwas generated."
},
"approvedPermissions": {
- "description": "Sets how new permission requests for the product are handled. \"allPermissions\" automatically approves all current and future permissions for the product. \"currentPermissionsOnly\" approves the current set of permissions for the product, but any future permissions added through updates will require manual reapproval. If not specified, only the current set of permissions will be approved.",
+ "description": "Sets how new permission requests for the product are handled.\n\"allPermissions\" automatically approves all current and future\npermissions for the product. \"currentPermissionsOnly\" approves the\ncurrent set of permissions for the product, but any future permissions\nadded through updates will require manual reapproval. If not specified,\nonly the current set of permissions will be approved.",
+ "enum": [
+ "currentPermissionsOnly",
+ "allPermissions"
+ ],
+ "enumDescriptions": [
+ "Approve only the permissions the product requires at approval time.\nIf an update requires additional permissions, the app will not be updated\non devices associated with enterprise users until the additional\npermissions are approved.",
+ "All current and future permissions the app requires are automatically\napproved."
+ ],
"type": "string"
}
},
@@ -4039,27 +4345,21 @@
"id": "ProductsGenerateApprovalUrlResponse",
"properties": {
"url": {
- "description": "A URL that can be rendered in an iframe to display the permissions (if any) of a product. This URL can be used to approve the product only once and only within 24 hours of being generated, using the Products.approve call. If the product is currently unapproved and has no permissions, this URL will point to an empty page. If the product is currently approved, a URL will only be generated if that product has added permissions since it was last approved, and the URL will only display those new permissions that have not yet been accepted.",
+ "description": "A URL that can be rendered in an iframe to display the permissions (if\nany) of a product.\nThis URL can be used to approve the product only once and only within 24\nhours of being generated, using the Products.approve call.\nIf the product is currently unapproved and has no permissions, this\nURL will point to an empty page.\nIf the product is currently approved, a URL will only be generated if\nthat product has added permissions since it was last approved, and the\nURL will only display those new permissions that have not yet been\naccepted.",
"type": "string"
}
},
"type": "object"
},
"ProductsListResponse": {
- "description": "The matching products.",
"id": "ProductsListResponse",
"properties": {
- "kind": {
- "default": "androidenterprise#productsListResponse",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#productsListResponse\".",
- "type": "string"
- },
"pageInfo": {
"$ref": "PageInfo",
"description": "General pagination information."
},
"product": {
- "description": "Information about a product (e.g. an app) in the Google Play store, for display to an enterprise admin.",
+ "description": "Information about a product (e.g. an app) in the Google Play store, for\ndisplay to an enterprise admin.",
"items": {
"$ref": "Product"
},
@@ -4073,19 +4373,15 @@
"type": "object"
},
"ServiceAccount": {
- "description": "A service account identity, including the name and credentials that can be used to authenticate as the service account.",
+ "description": "A service account identity, including the name and credentials that can be\nused to authenticate as the service account.",
"id": "ServiceAccount",
"properties": {
"key": {
"$ref": "ServiceAccountKey",
"description": "Credentials that can be used to authenticate as this ServiceAccount."
},
- "kind": {
- "default": "androidenterprise#serviceAccount",
- "type": "string"
- },
"name": {
- "description": "The account name of the service account, in the form of an email address. Assigned by the server.",
+ "description": "The account name of the service account, in the form of an email address.\nAssigned by the server.",
"type": "string"
}
},
@@ -4096,19 +4392,15 @@
"id": "ServiceAccountKey",
"properties": {
"data": {
- "description": "The body of the private key credentials file, in string format. This is only populated when the ServiceAccountKey is created, and is not stored by Google.",
+ "description": "The body of the private key credentials file, in string format. This\nis only populated when the ServiceAccountKey is created, and is not stored\nby Google.",
"type": "string"
},
"id": {
- "description": "An opaque, unique identifier for this ServiceAccountKey. Assigned by the server.",
- "type": "string"
- },
- "kind": {
- "default": "androidenterprise#serviceAccountKey",
+ "description": "An opaque, unique identifier for this ServiceAccountKey.\nAssigned by the server.",
"type": "string"
},
"publicData": {
- "description": "Public key data for the credentials file. This is an X.509 cert. If you are using the googleCredentials key type, this is identical to the cert that can be retrieved by using the X.509 cert url inside of the credentials file.",
+ "description": "Public key data for the credentials file. This is an X.509 cert. If you are\nusing the googleCredentials key type, this is identical to the\ncert that can be retrieved by using the X.509 cert url inside of the\ncredentials file.",
"type": "string"
},
"type": {
@@ -4118,6 +4410,14 @@
]
},
"description": "The file format of the generated key data.",
+ "enum": [
+ "googleCredentials",
+ "pkcs12"
+ ],
+ "enumDescriptions": [
+ "Google Credentials File format.",
+ "PKCS12 format. The password for the PKCS12 file is 'notasecret'.\nFor more information, see https://tools.ietf.org/html/rfc7292.\nThe data for keys of this type are base64 encoded according to RFC 4648\nSection 4. See http://tools.ietf.org/html/rfc4648#section-4."
+ ],
"type": "string"
}
},
@@ -4137,11 +4437,11 @@
"type": "object"
},
"SignupInfo": {
- "description": "A resource returned by the GenerateSignupUrl API, which contains the Signup URL and Completion Token.",
+ "description": "A resource returned by the GenerateSignupUrl API, which contains the\nSignup URL and Completion Token.",
"id": "SignupInfo",
"properties": {
"completionToken": {
- "description": "An opaque token that will be required, along with the Enterprise Token, for obtaining the enterprise resource from CompleteSignup.",
+ "description": "An opaque token that will be required, along with the Enterprise Token,\nfor obtaining the enterprise resource from CompleteSignup.",
"type": "string"
},
"kind": {
@@ -4149,37 +4449,33 @@
"type": "string"
},
"url": {
- "description": "A URL under which the Admin can sign up for an enterprise. The page pointed to cannot be rendered in an iframe.",
+ "description": "A URL under which the Admin can sign up for an enterprise.\nThe page pointed to cannot be rendered in an iframe.",
"type": "string"
}
},
"type": "object"
},
"StoreCluster": {
- "description": "Definition of a managed Google Play store cluster, a list of products displayed as part of a store page.",
+ "description": "Definition of a managed Google Play store cluster, a list of products\ndisplayed as part of a store page.",
"id": "StoreCluster",
"properties": {
"id": {
"description": "Unique ID of this cluster. Assigned by the server. Immutable once assigned.",
"type": "string"
},
- "kind": {
- "default": "androidenterprise#storeCluster",
- "type": "string"
- },
"name": {
- "description": "Ordered list of localized strings giving the name of this page. The text displayed is the one that best matches the user locale, or the first entry if there is no good match. There needs to be at least one entry.",
+ "description": "Ordered list of localized strings giving the name of this page.\nThe text displayed is the one that best matches the user locale,\nor the first entry if there is no good match. There needs to be\nat least one entry.",
"items": {
"$ref": "LocalizedText"
},
"type": "array"
},
"orderInPage": {
- "description": "String (US-ASCII only) used to determine order of this cluster within the parent page's elements. Page elements are sorted in lexicographic order of this field. Duplicated values are allowed, but ordering between elements with duplicate order is undefined.\n\nThe value of this field is never visible to a user, it is used solely for the purpose of defining an ordering. Maximum length is 256 characters.",
+ "description": "String (US-ASCII only) used to determine order of this cluster within the\nparent page's elements. Page elements are sorted in lexicographic order\nof this field.\nDuplicated values are allowed, but ordering between elements with\nduplicate order is undefined.\n\nThe value of this field is never visible to a user, it is used solely\nfor the purpose of defining an ordering. Maximum length is 256\ncharacters.",
"type": "string"
},
"productId": {
- "description": "List of products in the order they are displayed in the cluster. There should not be duplicates within a cluster.",
+ "description": "List of products in the order they are displayed in the cluster. There\nshould not be duplicates within a cluster.",
"items": {
"type": "string"
},
@@ -4189,26 +4485,31 @@
"type": "object"
},
"StoreLayout": {
- "description": "General setting for the managed Google Play store layout, currently only specifying the page to display the first time the store is opened.",
+ "description": "General setting for the managed Google Play store layout,\ncurrently only specifying the page to display the first time\nthe store is opened.",
"id": "StoreLayout",
"properties": {
"homepageId": {
- "description": "The ID of the store page to be used as the homepage. The homepage is the first page shown in the managed Google Play Store.\n\nNot specifying a homepage is equivalent to setting the store layout type to \"basic\".",
- "type": "string"
- },
- "kind": {
- "default": "androidenterprise#storeLayout",
+ "description": "The ID of the store page to be used as the homepage. The homepage is the\nfirst page shown in the managed Google Play Store.\n\nNot specifying a homepage is equivalent to setting the store layout\ntype to \"basic\".",
"type": "string"
},
"storeLayoutType": {
- "description": "The store layout type. By default, this value is set to \"basic\" if the homepageId field is not set, and to \"custom\" otherwise. If set to \"basic\", the layout will consist of all approved apps that have been whitelisted for the user.",
+ "description": "The store layout type. By default, this value is set to \"basic\"\nif the homepageId field is not set, and to \"custom\" otherwise.\nIf set to \"basic\", the layout will consist of all approved apps that\nhave been whitelisted for the user.",
+ "enum": [
+ "unknown",
+ "basic",
+ "custom"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ ""
+ ],
"type": "string"
}
},
"type": "object"
},
"StoreLayoutClustersListResponse": {
- "description": "The store page resources for the enterprise.",
"id": "StoreLayoutClustersListResponse",
"properties": {
"cluster": {
@@ -4217,24 +4518,13 @@
"$ref": "StoreCluster"
},
"type": "array"
- },
- "kind": {
- "default": "androidenterprise#storeLayoutClustersListResponse",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#storeLayoutClustersListResponse\".",
- "type": "string"
}
},
"type": "object"
},
"StoreLayoutPagesListResponse": {
- "description": "The store page resources for the enterprise.",
"id": "StoreLayoutPagesListResponse",
"properties": {
- "kind": {
- "default": "androidenterprise#storeLayoutPagesListResponse",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#storeLayoutPagesListResponse\".",
- "type": "string"
- },
"page": {
"description": "A store page of an enterprise.",
"items": {
@@ -4246,26 +4536,22 @@
"type": "object"
},
"StorePage": {
- "description": "Definition of a managed Google Play store page, made of a localized name and links to other pages. A page also contains clusters defined as a subcollection.",
+ "description": "Definition of a managed Google Play store page, made of a localized name\nand links to other pages. A page also contains clusters defined\nas a subcollection.",
"id": "StorePage",
"properties": {
"id": {
"description": "Unique ID of this page. Assigned by the server. Immutable once assigned.",
"type": "string"
},
- "kind": {
- "default": "androidenterprise#storePage",
- "type": "string"
- },
"link": {
- "description": "Ordered list of pages a user should be able to reach from this page. The list can't include this page. It is recommended that the basic pages are created first, before adding the links between pages.\n\nThe API doesn't verify that the pages exist or the pages are reachable.",
+ "description": "Ordered list of pages a user should be able to reach from this page.\nThe list can't include this page.\nIt is recommended that the basic pages are created first,\nbefore adding the links between pages.\n\nThe API doesn't verify that the pages exist or the pages are reachable.",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
- "description": "Ordered list of localized strings giving the name of this page. The text displayed is the one that best matches the user locale, or the first entry if there is no good match. There needs to be at least one entry.",
+ "description": "Ordered list of localized strings giving the name of this page.\nThe text displayed is the one that best matches the user locale,\nor the first entry if there is no good match. There needs to be\nat least one entry.",
"items": {
"$ref": "LocalizedText"
},
@@ -4275,9 +4561,11 @@
"type": "object"
},
"TokenPagination": {
+ "description": "Pagination information returned by a List operation when token pagination\nis enabled.\n\nList operations that supports paging return only one \"page\" of results. This\nprotocol buffer message describes the page that has been returned.\n\nWhen using token pagination, clients should use the next/previous token\nto get another page of the result. The presence or absence of next/previous\ntoken indicates whether a next/previous page is available and provides a\nmean of accessing this page. ListRequest.page_token should be set to either\nnext_page_token or previous_page_token to access another page.",
"id": "TokenPagination",
"properties": {
"nextPageToken": {
+ "description": "Tokens to pass to the standard list field 'page_token'. Whenever available,\ntokens are preferred over manipulating start_index.",
"type": "string"
},
"previousPageToken": {
@@ -4291,18 +4579,18 @@
"id": "TrackInfo",
"properties": {
"trackAlias": {
- "description": "A modifiable name for a track. This is the visible name in the play developer console.",
+ "description": "A modifiable name for a track. This is the visible name in the play\ndeveloper console.",
"type": "string"
},
"trackId": {
- "description": "Unmodifiable, unique track identifier. This identifier is the releaseTrackId in the url of the play developer console page that displays the track information.",
+ "description": "Unmodifiable, unique track identifier. This identifier is the\nreleaseTrackId in the url of the play developer console page that displays\nthe track information.",
"type": "string"
}
},
"type": "object"
},
"User": {
- "description": "A Users resource represents an account associated with an enterprise. The account may be specific to a device or to an individual user (who can then use the account across multiple devices). The account may provide access to managed Google Play only, or to other Google services, depending on the identity model: \n- The Google managed domain identity model requires synchronization to Google account sources (via primaryEmail). \n- The managed Google Play Accounts identity model provides a dynamic means for enterprises to create user or device accounts as needed. These accounts provide access to managed Google Play.",
+ "description": "A Users resource represents an account associated with an enterprise. The\naccount may be specific to a device or to an individual user (who can then\nuse the account across multiple devices). The account may provide access to\nmanaged Google Play only, or to other Google services, depending on the\nidentity model:\n
The Google managed domain identity model requires synchronization to\nGoogle account sources (via primaryEmail).
\n
The managed Google Play Accounts identity model provides a dynamic means\nfor enterprises to create user or device accounts as needed. These accounts\nprovide access to managed Google Play.
\n
",
"id": "User",
"properties": {
"accountIdentifier": {
@@ -4311,7 +4599,7 @@
"androidenterprise.users.insert"
]
},
- "description": "A unique identifier you create for this user, such as \"user342\" or \"asset#44418\". Do not use personally identifiable information (PII) for this property. Must always be set for EMM-managed users. Not set for Google-managed users.",
+ "description": "A unique identifier you create for this user, such as \"user342\" or\n\"asset#44418\". Do not use personally identifiable information (PII) for\nthis property. Must always be set for EMM-managed users.\nNot set for Google-managed users.",
"type": "string"
},
"accountType": {
@@ -4320,60 +4608,47 @@
"androidenterprise.users.insert"
]
},
- "description": "The type of account that this user represents. A userAccount can be installed on multiple devices, but a deviceAccount is specific to a single device. An EMM-managed user (emmManaged) can be either type (userAccount, deviceAccount), but a Google-managed user (googleManaged) is always a userAccount.",
+ "description": "The type of account that this user represents. A userAccount\ncan be installed on multiple devices, but a deviceAccount is\nspecific to a single device. An EMM-managed user (emmManaged)\ncan be either type (userAccount, deviceAccount),\nbut a Google-managed user (googleManaged) is always a\nuserAccount.",
+ "enum": [
+ "deviceAccount",
+ "userAccount"
+ ],
+ "enumDescriptions": [
+ "",
+ ""
+ ],
"type": "string"
},
"displayName": {
- "description": "The name that will appear in user interfaces. Setting this property is optional when creating EMM-managed users. If you do set this property, use something generic about the organization (such as \"Example, Inc.\") or your name (as EMM). Not used for Google-managed user accounts.",
+ "description": "The name that will appear in user interfaces. Setting this property is\noptional when creating EMM-managed users. If you do set this property,\nuse something generic about the organization (such as \"Example, Inc.\") or\nyour name (as EMM).\nNot used for Google-managed user accounts.\n@mutable androidenterprise.users.update",
"type": "string"
},
"id": {
"description": "The unique ID for the user.",
"type": "string"
},
- "kind": {
- "default": "androidenterprise#user",
- "type": "string"
- },
"managementType": {
- "description": "The entity that manages the user. With googleManaged users, the source of truth is Google so EMMs have to make sure a Google Account exists for the user. With emmManaged users, the EMM is in charge.",
+ "description": "The entity that manages the user. With googleManaged users,\nthe source of truth is Google so EMMs have to make sure a Google Account\nexists for the user. With emmManaged users, the\nEMM is in charge.",
+ "enum": [
+ "googleManaged",
+ "emmManaged"
+ ],
+ "enumDescriptions": [
+ "",
+ ""
+ ],
"type": "string"
},
"primaryEmail": {
- "description": "The user's primary email address, for example, \"jsmith@example.com\". Will always be set for Google managed users and not set for EMM managed users.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UserToken": {
- "description": "A UserToken is used by a user when setting up a managed device or profile with their managed Google Play account on a device. When the user enters their email address and token (activation code) the appropriate EMM app can be automatically downloaded.",
- "id": "UserToken",
- "properties": {
- "kind": {
- "default": "androidenterprise#userToken",
- "type": "string"
- },
- "token": {
- "description": "The token (activation code) to be entered by the user. This consists of a sequence of decimal digits. Note that the leading digit may be 0.",
- "type": "string"
- },
- "userId": {
- "description": "The unique ID for the user.",
+ "description": "The user's primary email address, for example, \"jsmith@example.com\".\nWill always be set for Google managed users and not set for EMM managed\nusers.",
"type": "string"
}
},
"type": "object"
},
"UsersListResponse": {
- "description": "The matching user resources.",
"id": "UsersListResponse",
"properties": {
- "kind": {
- "default": "androidenterprise#usersListResponse",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#usersListResponse\".",
- "type": "string"
- },
"user": {
"description": "A user of an enterprise.",
"items": {
@@ -4385,13 +4660,9 @@
"type": "object"
},
"VariableSet": {
- "description": "A variable set is a key-value pair of EMM-provided placeholders and its corresponding value, which is attributed to a user. For example, $FIRSTNAME could be a placeholder, and its value could be Alice. Placeholders should start with a '$' sign and should be alphanumeric only.",
+ "description": "A variable set is a key-value pair of EMM-provided placeholders and\nits corresponding value, which is attributed to a user. For example,\n$FIRSTNAME could be a placeholder, and its value could be Alice. Placeholders\nshould start with a '$' sign and should be alphanumeric only.",
"id": "VariableSet",
"properties": {
- "kind": {
- "default": "androidenterprise#variableSet",
- "type": "string"
- },
"placeholder": {
"description": "The placeholder string; defined by EMM.",
"type": "string"
@@ -4404,15 +4675,27 @@
"type": "object"
},
"WebApp": {
- "description": "A WebApps resource represents a web app created for an enterprise. Web apps are published to managed Google Play and can be distributed like other Android apps. On a user's device, a web app opens its specified URL.",
+ "description": "A WebApps resource represents a web app created for an enterprise. Web apps\nare published to managed Google Play and can be distributed like other\nAndroid apps. On a user's device, a web app opens its specified URL.",
"id": "WebApp",
"properties": {
"displayMode": {
- "description": "The display mode of the web app.\n\nPossible values include: \n- \"minimalUi\", the device's status bar, navigation bar, the app's URL, and a refresh button are visible when the app is open. For HTTP URLs, you can only select this option.\n- \"standalone\", the device's status bar and navigation bar are visible when the app is open.\n- \"fullScreen\", the app opens in full screen mode, hiding the device's status and navigation bars. All browser UI elements, page URL, system status bar and back button are not visible, and the web app takes up the entirety of the available display area.",
+ "description": "The display mode of the web app.
\nPossible values include:\n
\"minimalUi\", the device's status bar, navigation bar,\nthe app's URL, and a refresh button are visible when the app is open. For\nHTTP URLs, you can only select this option.\n
\"standalone\", the device's status bar and navigation\nbar are visible when the app is open.\n
\"fullScreen\", the app opens in full screen mode, hiding\nthe device's status and navigation bars. All browser UI elements, page\nURL, system status bar and back button are not visible, and the web app\ntakes up the entirety of the available display area.\n
",
+ "enum": [
+ "displayModeUnspecified",
+ "minimalUi",
+ "standalone",
+ "fullScreen"
+ ],
+ "enumDescriptions": [
+ "",
+ "Opens the web app with a minimal set of browser UI elements for\ncontrolling navigation and viewing the page URL.",
+ "Opens the web app to look and feel like a standalone native application.\nThe browser UI elements and page URL are not visible, however the system\nstatus bar and back button are visible.",
+ "Opens the web app in full screen without any visible controls. The\nbrowser UI elements, page URL, system status bar and back button are not\nvisible, and the web app takes up the entirety of the available display\narea."
+ ],
"type": "string"
},
"icons": {
- "description": "A list of icons representing this website. If absent, a default icon (for create) or the current icon (for update) will be used.",
+ "description": "A list of icons representing this website. If absent, a default icon (for\ncreate) or the current icon (for update) will be used.",
"items": {
"$ref": "WebAppIcon"
},
@@ -4423,20 +4706,20 @@
"type": "boolean"
},
"startUrl": {
- "description": "The start URL, i.e. the URL that should load when the user opens the application.",
+ "description": "The start URL, i.e. the URL that should load when the user opens the\napplication.",
"type": "string"
},
"title": {
- "description": "The title of the web app as displayed to the user (e.g., amongst a list of other applications, or as a label for an icon).",
+ "description": "The title of the web app as displayed to the user (e.g., amongst a list of\nother applications, or as a label for an icon).",
"type": "string"
},
"versionCode": {
- "description": "The current version of the app.\n\n\nNote that the version can automatically increase during the lifetime of the web app, while Google does internal housekeeping to keep the web app up-to-date.",
+ "description": "The current version of the app.\n\n
Note that the version can automatically increase during the lifetime of\nthe web app, while Google does internal housekeeping to keep the web app\nup-to-date.",
"format": "int64",
"type": "string"
},
"webAppId": {
- "description": "The ID of the application. A string of the form \"app:\" where the package name always starts with the prefix \"com.google.enterprise.webapp.\" followed by a random id.",
+ "description": "The ID of the application. A string of the form\n"app:<package name>" where the package name\nalways starts with the prefix\n"com.google.enterprise.webapp." followed by a\nrandom id.",
"type": "string"
}
},
@@ -4447,21 +4730,15 @@
"id": "WebAppIcon",
"properties": {
"imageData": {
- "description": "The actual bytes of the image in a base64url encoded string (c.f. RFC4648, section 5 \"Base 64 Encoding with URL and Filename Safe Alphabet\"). \n- The image type can be png or jpg.\n- The image should ideally be square.\n- The image should ideally have a size of 512x512.",
+ "description": "The actual bytes of the image in a base64url encoded string (c.f. RFC4648,\nsection 5 \"Base 64 Encoding with URL and Filename Safe Alphabet\").\n
\n
The image type can be png or jpg.\n
The image should ideally be square.\n
The image should ideally have a size of 512x512.\n
",
"type": "string"
}
},
"type": "object"
},
"WebAppsListResponse": {
- "description": "The web app details for an enterprise.",
"id": "WebAppsListResponse",
"properties": {
- "kind": {
- "default": "androidenterprise#webAppsListResponse",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#webAppsListResponse\".",
- "type": "string"
- },
"webApp": {
"description": "The manifest describing a web app.",
"items": {
@@ -4473,7 +4750,7 @@
"type": "object"
}
},
- "servicePath": "androidenterprise/v1/",
+ "servicePath": "",
"title": "Google Play EMM API",
"version": "v1"
}
\ No newline at end of file
diff --git a/etc/api/androidmanagement/v1/androidmanagement-api.json b/etc/api/androidmanagement/v1/androidmanagement-api.json
index 72e43766ef..db4e49f717 100644
--- a/etc/api/androidmanagement/v1/androidmanagement-api.json
+++ b/etc/api/androidmanagement/v1/androidmanagement-api.json
@@ -924,7 +924,7 @@
}
}
},
- "revision": "20200330",
+ "revision": "20200701",
"rootUrl": "https://androidmanagement.googleapis.com/",
"schemas": {
"AdvancedSecurityOverrides": {
@@ -1300,6 +1300,20 @@
"description": "Number of days the policy is non-compliant before the device or work profile is blocked. To block access immediately, set to 0. blockAfterDays must be less than wipeAfterDays.",
"format": "int32",
"type": "integer"
+ },
+ "blockScope": {
+ "description": "Specifies the scope of this BlockAction. Only applicable to devices that are company-owned.",
+ "enum": [
+ "BLOCK_SCOPE_UNSPECIFIED",
+ "BLOCK_SCOPE_WORK_PROFILE",
+ "BLOCK_SCOPE_DEVICE"
+ ],
+ "enumDescriptions": [
+ "Unspecified. Defaults to BLOCK_SCOPE_WORK_PROFILE.",
+ "Block action is only applied to apps in the work profile. Apps in the personal profile are unaffected.",
+ "Block action is applied to the entire device, including apps in the personal profile."
+ ],
+ "type": "string"
}
},
"type": "object"
@@ -1591,6 +1605,20 @@
},
"type": "array"
},
+ "ownership": {
+ "description": "Ownership of the managed device.",
+ "enum": [
+ "OWNERSHIP_UNSPECIFIED",
+ "COMPANY_OWNED",
+ "PERSONALLY_OWNED"
+ ],
+ "enumDescriptions": [
+ "Ownership is unspecified.",
+ "Device is company-owned.",
+ "Device is personally-owned."
+ ],
+ "type": "string"
+ },
"policyCompliant": {
"description": "Whether the device is compliant with its policy.",
"type": "boolean"
@@ -1778,6 +1806,20 @@
"description": "Optional, arbitrary data associated with the enrollment token. This could contain, for example, the ID of an org unit the device is assigned to after enrollment. After a device enrolls with the token, this data will be exposed in the enrollment_token_data field of the Device resource. The data must be 1024 characters or less; otherwise, the creation request will fail.",
"type": "string"
},
+ "allowPersonalUsage": {
+ "description": "Controls personal usage on devices provisioned using this enrollment token.",
+ "enum": [
+ "ALLOW_PERSONAL_USAGE_UNSPECIFIED",
+ "PERSONAL_USAGE_ALLOWED",
+ "PERSONAL_USAGE_DISALLOWED"
+ ],
+ "enumDescriptions": [
+ "Personal usage restriction is not specified",
+ "Personal usage is allowed",
+ "Personal usage is disallowed"
+ ],
+ "type": "string"
+ },
"duration": {
"description": "The length of time the enrollment token is valid, ranging from 1 minute to 30 days. If not specified, the default duration is 1 hour.",
"format": "google-duration",
@@ -2785,6 +2827,75 @@
},
"type": "object"
},
+ "PersonalApplicationPolicy": {
+ "description": "Policies for apps on the personal profile of a Corporate Owned Personally Enabled device.",
+ "id": "PersonalApplicationPolicy",
+ "properties": {
+ "installType": {
+ "description": "The type of installation to perform.",
+ "enum": [
+ "INSTALL_TYPE_UNSPECIFIED",
+ "BLOCKED"
+ ],
+ "enumDescriptions": [
+ "Unspecified. The default behavior is that all installs are allowed.",
+ "The app is blocked and can't be installed."
+ ],
+ "type": "string"
+ },
+ "packageName": {
+ "description": "The package name of the application.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "PersonalUsagePolicies": {
+ "description": "Policies controlling personal usage on a Corporate Owned Personally Enabled device.",
+ "id": "PersonalUsagePolicies",
+ "properties": {
+ "accountTypesWithManagementDisabled": {
+ "description": "Account types that can't be managed by the user.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "cameraDisabled": {
+ "description": "Whether camera is disabled.",
+ "type": "boolean"
+ },
+ "maxDaysWithWorkOff": {
+ "description": "Controls how long the work profile can stay off.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "personalApplications": {
+ "description": "Policy applied to applications on the personal profile.",
+ "items": {
+ "$ref": "PersonalApplicationPolicy"
+ },
+ "type": "array"
+ },
+ "personalPlayStoreMode": {
+ "description": "Controls how apps on the personal profile are allowed or blocked.",
+ "enum": [
+ "PLAY_STORE_MODE_UNSPECIFIED",
+ "BLACKLIST"
+ ],
+ "enumDescriptions": [
+ "Unspecified. Default behavior is to allow all installs.",
+ "All Play Store apps are available, except those whose install_type is BLOCKED in PersonalApplicationPolicy."
+ ],
+ "type": "string"
+ },
+ "screenCaptureDisabled": {
+ "description": "Whether screen capture is disabled.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
"Policy": {
"description": "A policy resource represents a group of settings that govern the behavior of a managed device and the apps installed on it.",
"id": "Policy",
@@ -3123,6 +3234,10 @@
},
"type": "array"
},
+ "personalUsagePolicies": {
+ "$ref": "PersonalUsagePolicies",
+ "description": "Policies managing personal usage on a company-owned device."
+ },
"playStoreMode": {
"description": "This mode controls which apps are available to the user in the Play Store and the behavior on the device when apps are removed from the policy.",
"enum": [
@@ -3434,6 +3549,20 @@
"description": "A resource containing sign in details for an enterprise.",
"id": "SigninDetail",
"properties": {
+ "allowPersonalUsage": {
+ "description": "Controls whether personal usage is allowed on a device provisioned with this enrollment token.For company-owned devices:\nEnabling personal usage allows the user to set up a work profile on the device.\nDisabling personal usage requires the user provision the device as a fully managed device.For personally-owned devices:\nEnabling personal usage allows the user to set up a work profile on the device.\nDisabling personal usage will prevent the device from provisioning. Personal usage cannot be disabled on personally-owned device.",
+ "enum": [
+ "ALLOW_PERSONAL_USAGE_UNSPECIFIED",
+ "PERSONAL_USAGE_ALLOWED",
+ "PERSONAL_USAGE_DISALLOWED"
+ ],
+ "enumDescriptions": [
+ "Personal usage restriction is not specified",
+ "Personal usage is allowed",
+ "Personal usage is disallowed"
+ ],
+ "type": "string"
+ },
"qrCode": {
"description": "A JSON string whose UTF-8 representation can be used to generate a QR code to enroll a device with this enrollment token. To enroll a device using NFC, the NFC record must contain a serialized java.util.Properties representation of the properties in the JSON. This is a read-only field generated by the server.",
"type": "string"
diff --git a/etc/api/androidpublisher/v3/androidpublisher-api.json b/etc/api/androidpublisher/v3/androidpublisher-api.json
index d64e92181c..b29ca68142 100644
--- a/etc/api/androidpublisher/v3/androidpublisher-api.json
+++ b/etc/api/androidpublisher/v3/androidpublisher-api.json
@@ -8,36 +8,63 @@
}
}
},
- "basePath": "/androidpublisher/v3/applications/",
- "baseUrl": "https://www.googleapis.com/androidpublisher/v3/applications/",
+ "basePath": "",
+ "baseUrl": "https://www.googleapis.com/",
"batchPath": "batch/androidpublisher/v3",
"canonicalName": "Android Publisher",
- "description": "Accesses Android application developers' Google Play accounts.",
+ "description": "Lets Android application developers access their Google Play accounts.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/android-publisher",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/4LB2xyDuShFcAwfdsvXJqDirMa4\"",
"icons": {
- "x16": "https://www.google.com/images/icons/product/android-16.png",
- "x32": "https://www.google.com/images/icons/product/android-32.png"
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"id": "androidpublisher:v3",
"kind": "discovery#restDescription",
+ "mtlsRootUrl": "https://www.mtls.googleapis.com/",
"name": "androidpublisher",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "alt": {
- "default": "json",
- "description": "Data format for the response.",
+ "$.xgafv": {
+ "description": "V1 error format.",
"enum": [
- "json"
+ "1",
+ "2"
],
"enumDescriptions": [
- "Responses with Content-Type of application/json"
+ "v1 error format",
+ "v2 error format"
],
"location": "query",
"type": "string"
},
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "alt": {
+ "default": "json",
+ "description": "Data format for response.",
+ "enum": [
+ "json",
+ "media",
+ "proto"
+ ],
+ "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",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
@@ -60,12 +87,17 @@
"type": "boolean"
},
"quotaUser": {
- "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
+ "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",
"type": "string"
},
- "userIp": {
- "description": "Deprecated. Please use quotaUser instead.",
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
}
@@ -75,7 +107,8 @@
"edits": {
"methods": {
"commit": {
- "description": "Commits/applies the changes made in this edit back to the app.",
+ "description": "Commits an app edit.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}:commit",
"httpMethod": "POST",
"id": "androidpublisher.edits.commit",
"parameterOrder": [
@@ -84,19 +117,19 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}:commit",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}:commit",
"response": {
"$ref": "AppEdit"
},
@@ -105,7 +138,8 @@
]
},
"delete": {
- "description": "Deletes an edit for an app. Creating a new edit will automatically delete any of your previous edits so this method need only be called if you want to preemptively abandon an edit.",
+ "description": "Deletes an app edit.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}",
"httpMethod": "DELETE",
"id": "androidpublisher.edits.delete",
"parameterOrder": [
@@ -114,25 +148,26 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"get": {
- "description": "Returns information about the edit specified. Calls will fail if the edit is no long active (e.g. has been deleted, superseded or expired).",
+ "description": "Gets an app edit.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}",
"httpMethod": "GET",
"id": "androidpublisher.edits.get",
"parameterOrder": [
@@ -141,19 +176,19 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}",
"response": {
"$ref": "AppEdit"
},
@@ -162,7 +197,8 @@
]
},
"insert": {
- "description": "Creates a new edit for an app, populated with the app's current state.",
+ "description": "Creates a new edit for an app.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits",
"httpMethod": "POST",
"id": "androidpublisher.edits.insert",
"parameterOrder": [
@@ -170,13 +206,13 @@
],
"parameters": {
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits",
+ "path": "androidpublisher/v3/applications/{packageName}/edits",
"request": {
"$ref": "AppEdit"
},
@@ -188,7 +224,8 @@
]
},
"validate": {
- "description": "Checks that the edit can be successfully committed. The edit's changes are not applied to the live app.",
+ "description": "Validates an app edit.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}:validate",
"httpMethod": "POST",
"id": "androidpublisher.edits.validate",
"parameterOrder": [
@@ -197,19 +234,19 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}:validate",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}:validate",
"response": {
"$ref": "AppEdit"
},
@@ -222,7 +259,8 @@
"apks": {
"methods": {
"addexternallyhosted": {
- "description": "Creates a new APK without uploading the APK itself to Google Play, instead hosting the APK at a specified URL. This function is only available to enterprises using Google Play for Work whose application is configured to restrict distribution to the enterprise domain.",
+ "description": "Creates a new APK without uploading the APK itself to Google Play, instead\nhosting the APK at a specified URL. This function is only available to\norganizations using Managed Play whose application is configured to\nrestrict distribution to the organizations.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/externallyHosted",
"httpMethod": "POST",
"id": "androidpublisher.edits.apks.addexternallyhosted",
"parameterOrder": [
@@ -231,19 +269,19 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/apks/externallyHosted",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/externallyHosted",
"request": {
"$ref": "ApksAddExternallyHostedRequest"
},
@@ -255,6 +293,8 @@
]
},
"list": {
+ "description": "Lists all current APKs of the app and edit.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks",
"httpMethod": "GET",
"id": "androidpublisher.edits.apks.list",
"parameterOrder": [
@@ -263,19 +303,19 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/apks",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks",
"response": {
"$ref": "ApksListResponse"
},
@@ -284,6 +324,8 @@
]
},
"upload": {
+ "description": "Uploads an APK and adds to the current edit.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks",
"httpMethod": "POST",
"id": "androidpublisher.edits.apks.upload",
"mediaUpload": {
@@ -291,12 +333,8 @@
"application/octet-stream",
"application/vnd.android.package-archive"
],
- "maxSize": "1GB",
+ "maxSize": "10737418240",
"protocols": {
- "resumable": {
- "multipart": true,
- "path": "/resumable/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks"
- },
"simple": {
"multipart": true,
"path": "/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks"
@@ -309,19 +347,19 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/apks",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks",
"response": {
"$ref": "Apk"
},
@@ -335,6 +373,8 @@
"bundles": {
"methods": {
"list": {
+ "description": "Lists all current Android App Bundles of the app and edit.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles",
"httpMethod": "GET",
"id": "androidpublisher.edits.bundles.list",
"parameterOrder": [
@@ -343,19 +383,19 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/bundles",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles",
"response": {
"$ref": "BundlesListResponse"
},
@@ -364,19 +404,16 @@
]
},
"upload": {
- "description": "Uploads a new Android App Bundle to this edit. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See: https://developers.google.com/api-client-library/java/google-api-java-client/errors for an example in java.",
+ "description": "Uploads a new Android App Bundle to this edit.\nIf you are using the Google API client libraries, please increase the\ntimeout of the http request before calling this endpoint\n(a timeout of 2 minutes is recommended).\nSee [Timeouts and\nErrors](https://developers.google.com/api-client-library/java/google-api-java-client/errors)\nfor an example in java.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles",
"httpMethod": "POST",
"id": "androidpublisher.edits.bundles.upload",
"mediaUpload": {
"accept": [
"application/octet-stream"
],
- "maxSize": "2GB",
+ "maxSize": "10737418240",
"protocols": {
- "resumable": {
- "multipart": true,
- "path": "/resumable/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles"
- },
"simple": {
"multipart": true,
"path": "/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles"
@@ -389,24 +426,24 @@
],
"parameters": {
"ackBundleInstallationWarning": {
- "description": "Must be set to true if the bundle installation may trigger a warning on user devices (for example, if installation size may be over a threshold, typically 100 MB).",
+ "description": "Must be set to true if the bundle installation may trigger a warning on\nuser devices (for example, if installation size may be over a threshold,\ntypically 100 MB).",
"location": "query",
"type": "boolean"
},
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/bundles",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles",
"response": {
"$ref": "Bundle"
},
@@ -420,19 +457,16 @@
"deobfuscationfiles": {
"methods": {
"upload": {
- "description": "Uploads the deobfuscation file of the specified APK. If a deobfuscation file already exists, it will be replaced.",
+ "description": "Uploads a new deobfuscation file and attaches to the specified APK.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}",
"httpMethod": "POST",
"id": "androidpublisher.edits.deobfuscationfiles.upload",
"mediaUpload": {
"accept": [
"application/octet-stream"
],
- "maxSize": "300MB",
+ "maxSize": "314572800",
"protocols": {
- "resumable": {
- "multipart": true,
- "path": "/resumable/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}"
- },
"simple": {
"multipart": true,
"path": "/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}"
@@ -447,18 +481,18 @@
],
"parameters": {
"apkVersionCode": {
- "description": "The version code of the APK whose deobfuscation file is being uploaded.",
+ "description": "The version code of the APK whose Deobfuscation File is being\nuploaded.",
"format": "int32",
"location": "path",
"required": true,
"type": "integer"
},
"deobfuscationFileType": {
+ "description": "The type of the deobfuscation file.",
"enum": [
- "proguard"
- ],
- "enumDescriptions": [
- ""
+ "deobfuscationFileTypeUnspecified",
+ "proguard",
+ "nativeCode"
],
"location": "path",
"required": true,
@@ -471,13 +505,13 @@
"type": "string"
},
"packageName": {
- "description": "Unique identifier of the Android app for which the deobfuscatiuon files are being uploaded; for example, \"com.spiffygame\".",
+ "description": "Unique identifier for the Android app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}",
"response": {
"$ref": "DeobfuscationFilesUploadResponse"
},
@@ -491,7 +525,8 @@
"details": {
"methods": {
"get": {
- "description": "Fetches app details for this edit. This includes the default language and developer support contact information.",
+ "description": "Gets details of an app.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/details",
"httpMethod": "GET",
"id": "androidpublisher.edits.details.get",
"parameterOrder": [
@@ -500,19 +535,19 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/details",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/details",
"response": {
"$ref": "AppDetails"
},
@@ -521,7 +556,8 @@
]
},
"patch": {
- "description": "Updates app details for this edit. This method supports patch semantics.",
+ "description": "Patches details of an app.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/details",
"httpMethod": "PATCH",
"id": "androidpublisher.edits.details.patch",
"parameterOrder": [
@@ -530,19 +566,19 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/details",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/details",
"request": {
"$ref": "AppDetails"
},
@@ -554,7 +590,8 @@
]
},
"update": {
- "description": "Updates app details for this edit.",
+ "description": "Updates details of an app.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/details",
"httpMethod": "PUT",
"id": "androidpublisher.edits.details.update",
"parameterOrder": [
@@ -563,19 +600,19 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/details",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/details",
"request": {
"$ref": "AppDetails"
},
@@ -591,7 +628,8 @@
"expansionfiles": {
"methods": {
"get": {
- "description": "Fetches the Expansion File configuration for the APK specified.",
+ "description": "Fetches the expansion file configuration for the specified APK.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
"httpMethod": "GET",
"id": "androidpublisher.edits.expansionfiles.get",
"parameterOrder": [
@@ -602,39 +640,37 @@
],
"parameters": {
"apkVersionCode": {
- "description": "The version code of the APK whose Expansion File configuration is being read or modified.",
+ "description": "The version code of the APK whose expansion file configuration is being\nread or modified.",
"format": "int32",
"location": "path",
"required": true,
"type": "integer"
},
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"expansionFileType": {
+ "description": "The file type of the file configuration which is being read or modified.",
"enum": [
+ "expansionFileTypeUnspecified",
"main",
"patch"
],
- "enumDescriptions": [
- "",
- ""
- ],
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
"response": {
"$ref": "ExpansionFile"
},
@@ -643,7 +679,8 @@
]
},
"patch": {
- "description": "Updates the APK's Expansion File configuration to reference another APK's Expansion Files. To add a new Expansion File use the Upload method. This method supports patch semantics.",
+ "description": "Patches the APK's expansion file configuration to reference another APK's\nexpansion file.\nTo add a new expansion file use the Upload method.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
"httpMethod": "PATCH",
"id": "androidpublisher.edits.expansionfiles.patch",
"parameterOrder": [
@@ -654,39 +691,37 @@
],
"parameters": {
"apkVersionCode": {
- "description": "The version code of the APK whose Expansion File configuration is being read or modified.",
+ "description": "The version code of the APK whose expansion file configuration is being\nread or modified.",
"format": "int32",
"location": "path",
"required": true,
"type": "integer"
},
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"expansionFileType": {
+ "description": "The file type of the expansion file configuration which is being updated.",
"enum": [
+ "expansionFileTypeUnspecified",
"main",
"patch"
],
- "enumDescriptions": [
- "",
- ""
- ],
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
"request": {
"$ref": "ExpansionFile"
},
@@ -698,7 +733,8 @@
]
},
"update": {
- "description": "Updates the APK's Expansion File configuration to reference another APK's Expansion Files. To add a new Expansion File use the Upload method.",
+ "description": "Updates the APK's expansion file configuration to reference another APK's\nexpansion file.\nTo add a new expansion file use the Upload method.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
"httpMethod": "PUT",
"id": "androidpublisher.edits.expansionfiles.update",
"parameterOrder": [
@@ -709,39 +745,37 @@
],
"parameters": {
"apkVersionCode": {
- "description": "The version code of the APK whose Expansion File configuration is being read or modified.",
+ "description": "The version code of the APK whose expansion file configuration is being\nread or modified.",
"format": "int32",
"location": "path",
"required": true,
"type": "integer"
},
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"expansionFileType": {
+ "description": "The file type of the file configuration which is being read or modified.",
"enum": [
+ "expansionFileTypeUnspecified",
"main",
"patch"
],
- "enumDescriptions": [
- "",
- ""
- ],
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
"request": {
"$ref": "ExpansionFile"
},
@@ -753,19 +787,16 @@
]
},
"upload": {
- "description": "Uploads and attaches a new Expansion File to the APK specified.",
+ "description": "Uploads a new expansion file and attaches to the specified APK.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
"httpMethod": "POST",
"id": "androidpublisher.edits.expansionfiles.upload",
"mediaUpload": {
"accept": [
"application/octet-stream"
],
- "maxSize": "2048MB",
+ "maxSize": "2147483648",
"protocols": {
- "resumable": {
- "multipart": true,
- "path": "/resumable/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}"
- },
"simple": {
"multipart": true,
"path": "/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}"
@@ -780,39 +811,37 @@
],
"parameters": {
"apkVersionCode": {
- "description": "The version code of the APK whose Expansion File configuration is being read or modified.",
+ "description": "The version code of the APK whose expansion file configuration is being\nread or modified.",
"format": "int32",
"location": "path",
"required": true,
"type": "integer"
},
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"expansionFileType": {
+ "description": "The file type of the expansion file configuration which is being updated.",
"enum": [
+ "expansionFileTypeUnspecified",
"main",
"patch"
],
- "enumDescriptions": [
- "",
- ""
- ],
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
"response": {
"$ref": "ExpansionFilesUploadResponse"
},
@@ -827,6 +856,7 @@
"methods": {
"delete": {
"description": "Deletes the image (specified by id) from the edit.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}",
"httpMethod": "DELETE",
"id": "androidpublisher.edits.images.delete",
"parameterOrder": [
@@ -838,7 +868,7 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
@@ -850,56 +880,44 @@
"type": "string"
},
"imageType": {
+ "description": "Type of the Image.",
"enum": [
- "automotiveScreenshots",
- "daydreamStereoImage",
- "featureGraphic",
- "icon",
+ "appImageTypeUnspecified",
"phoneScreenshots",
- "promoGraphic",
"sevenInchScreenshots",
"tenInchScreenshots",
- "tvBanner",
"tvScreenshots",
- "wearScreenshots"
- ],
- "enumDescriptions": [
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- ""
+ "wearScreenshots",
+ "icon",
+ "featureGraphic",
+ "promoGraphic",
+ "tvBanner"
],
"location": "path",
"required": true,
"type": "string"
},
"language": {
- "description": "The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass \"de-AT\".",
+ "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\"\nfor Austrian German).",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"deleteall": {
- "description": "Deletes all images for the specified language and image type.",
+ "description": "Deletes all images for the specified language and image type.\nReturns an empty response if no images are found.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}",
"httpMethod": "DELETE",
"id": "androidpublisher.edits.images.deleteall",
"parameterOrder": [
@@ -910,56 +928,43 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"imageType": {
+ "description": "Type of the Image.\nProviding an image type that refers to no images is a no-op.",
"enum": [
- "automotiveScreenshots",
- "daydreamStereoImage",
- "featureGraphic",
- "icon",
+ "appImageTypeUnspecified",
"phoneScreenshots",
- "promoGraphic",
"sevenInchScreenshots",
"tenInchScreenshots",
- "tvBanner",
"tvScreenshots",
- "wearScreenshots"
- ],
- "enumDescriptions": [
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- ""
+ "wearScreenshots",
+ "icon",
+ "featureGraphic",
+ "promoGraphic",
+ "tvBanner"
],
"location": "path",
"required": true,
"type": "string"
},
"language": {
- "description": "The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass \"de-AT\".",
+ "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\"\nfor Austrian German).\nProviding a language that is not supported by the App is a no-op.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/listings/{language}/{imageType}",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}",
"response": {
"$ref": "ImagesDeleteAllResponse"
},
@@ -968,7 +973,8 @@
]
},
"list": {
- "description": "Lists all images for the specified language and image type.",
+ "description": "Lists all images. The response may be empty.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}",
"httpMethod": "GET",
"id": "androidpublisher.edits.images.list",
"parameterOrder": [
@@ -979,56 +985,43 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"imageType": {
+ "description": "Type of the Image. Providing an image type that refers to no images will\nreturn an empty response.",
"enum": [
- "automotiveScreenshots",
- "daydreamStereoImage",
- "featureGraphic",
- "icon",
+ "appImageTypeUnspecified",
"phoneScreenshots",
- "promoGraphic",
"sevenInchScreenshots",
"tenInchScreenshots",
- "tvBanner",
"tvScreenshots",
- "wearScreenshots"
- ],
- "enumDescriptions": [
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- ""
+ "wearScreenshots",
+ "icon",
+ "featureGraphic",
+ "promoGraphic",
+ "tvBanner"
],
"location": "path",
"required": true,
"type": "string"
},
"language": {
- "description": "The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass \"de-AT\".",
+ "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\"\nfor Austrian German).\nThere must be a store listing for the specified language.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/listings/{language}/{imageType}",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}",
"response": {
"$ref": "ImagesListResponse"
},
@@ -1037,19 +1030,16 @@
]
},
"upload": {
- "description": "Uploads a new image and adds it to the list of images for the specified language and image type.",
+ "description": "Uploads an image of the specified language and image type, and adds to the\nedit.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}",
"httpMethod": "POST",
"id": "androidpublisher.edits.images.upload",
"mediaUpload": {
"accept": [
"image/*"
],
- "maxSize": "15MB",
+ "maxSize": "15728640",
"protocols": {
- "resumable": {
- "multipart": true,
- "path": "/resumable/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}"
- },
"simple": {
"multipart": true,
"path": "/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}"
@@ -1064,56 +1054,43 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"imageType": {
+ "description": "Type of the Image.",
"enum": [
- "automotiveScreenshots",
- "daydreamStereoImage",
- "featureGraphic",
- "icon",
+ "appImageTypeUnspecified",
"phoneScreenshots",
- "promoGraphic",
"sevenInchScreenshots",
"tenInchScreenshots",
- "tvBanner",
"tvScreenshots",
- "wearScreenshots"
- ],
- "enumDescriptions": [
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- ""
+ "wearScreenshots",
+ "icon",
+ "featureGraphic",
+ "promoGraphic",
+ "tvBanner"
],
"location": "path",
"required": true,
"type": "string"
},
"language": {
- "description": "The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass \"de-AT\".",
+ "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\"\nfor Austrian German).\nProviding a language that is not supported by the App is a no-op.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/listings/{language}/{imageType}",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}",
"response": {
"$ref": "ImagesUploadResponse"
},
@@ -1127,7 +1104,8 @@
"listings": {
"methods": {
"delete": {
- "description": "Deletes the specified localized store listing from an edit.",
+ "description": "Deletes a localized store listing.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
"httpMethod": "DELETE",
"id": "androidpublisher.edits.listings.delete",
"parameterOrder": [
@@ -1137,31 +1115,32 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"language": {
- "description": "The language code (a BCP-47 language tag) of the localized listing to read or modify. For example, to select Austrian German, pass \"de-AT\".",
+ "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\"\nfor Austrian German).",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/listings/{language}",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"deleteall": {
- "description": "Deletes all localized listings from an edit.",
+ "description": "Deletes all store listings.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings",
"httpMethod": "DELETE",
"id": "androidpublisher.edits.listings.deleteall",
"parameterOrder": [
@@ -1170,25 +1149,26 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/listings",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"get": {
- "description": "Fetches information about a localized store listing.",
+ "description": "Gets a localized store listing.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
"httpMethod": "GET",
"id": "androidpublisher.edits.listings.get",
"parameterOrder": [
@@ -1198,25 +1178,25 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"language": {
- "description": "The language code (a BCP-47 language tag) of the localized listing to read or modify. For example, to select Austrian German, pass \"de-AT\".",
+ "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\"\nfor Austrian German).",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/listings/{language}",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
"response": {
"$ref": "Listing"
},
@@ -1225,7 +1205,8 @@
]
},
"list": {
- "description": "Returns all of the localized store listings attached to this edit.",
+ "description": "Lists all localized store listings.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings",
"httpMethod": "GET",
"id": "androidpublisher.edits.listings.list",
"parameterOrder": [
@@ -1234,19 +1215,19 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/listings",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings",
"response": {
"$ref": "ListingsListResponse"
},
@@ -1255,7 +1236,8 @@
]
},
"patch": {
- "description": "Creates or updates a localized store listing. This method supports patch semantics.",
+ "description": "Patches a localized store listing.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
"httpMethod": "PATCH",
"id": "androidpublisher.edits.listings.patch",
"parameterOrder": [
@@ -1265,25 +1247,25 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"language": {
- "description": "The language code (a BCP-47 language tag) of the localized listing to read or modify. For example, to select Austrian German, pass \"de-AT\".",
+ "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\"\nfor Austrian German).",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/listings/{language}",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
"request": {
"$ref": "Listing"
},
@@ -1296,6 +1278,7 @@
},
"update": {
"description": "Creates or updates a localized store listing.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
"httpMethod": "PUT",
"id": "androidpublisher.edits.listings.update",
"parameterOrder": [
@@ -1305,25 +1288,25 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"language": {
- "description": "The language code (a BCP-47 language tag) of the localized listing to read or modify. For example, to select Austrian German, pass \"de-AT\".",
+ "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\"\nfor Austrian German).",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/listings/{language}",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
"request": {
"$ref": "Listing"
},
@@ -1339,6 +1322,8 @@
"testers": {
"methods": {
"get": {
+ "description": "Gets testers.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}",
"httpMethod": "GET",
"id": "androidpublisher.edits.testers.get",
"parameterOrder": [
@@ -1348,25 +1333,25 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
},
"track": {
- "description": "The track to read or modify.",
+ "description": "The track to read from.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/testers/{track}",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}",
"response": {
"$ref": "Testers"
},
@@ -1375,6 +1360,8 @@
]
},
"patch": {
+ "description": "Patches testers.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}",
"httpMethod": "PATCH",
"id": "androidpublisher.edits.testers.patch",
"parameterOrder": [
@@ -1384,25 +1371,25 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
},
"track": {
- "description": "The track to read or modify.",
+ "description": "The track to update.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/testers/{track}",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}",
"request": {
"$ref": "Testers"
},
@@ -1414,6 +1401,8 @@
]
},
"update": {
+ "description": "Updates testers.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}",
"httpMethod": "PUT",
"id": "androidpublisher.edits.testers.update",
"parameterOrder": [
@@ -1423,25 +1412,25 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
},
"track": {
- "description": "The track to read or modify.",
+ "description": "The track to update.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/testers/{track}",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}",
"request": {
"$ref": "Testers"
},
@@ -1457,7 +1446,8 @@
"tracks": {
"methods": {
"get": {
- "description": "Fetches the track configuration for the specified track type. Includes the APK version codes that are in this track.",
+ "description": "Gets a track.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}",
"httpMethod": "GET",
"id": "androidpublisher.edits.tracks.get",
"parameterOrder": [
@@ -1467,25 +1457,25 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
},
"track": {
- "description": "The track to read or modify.",
+ "description": "Identifier of the track.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/tracks/{track}",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}",
"response": {
"$ref": "Track"
},
@@ -1494,7 +1484,8 @@
]
},
"list": {
- "description": "Lists all the track configurations for this edit.",
+ "description": "Lists all tracks.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks",
"httpMethod": "GET",
"id": "androidpublisher.edits.tracks.list",
"parameterOrder": [
@@ -1503,19 +1494,19 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/tracks",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks",
"response": {
"$ref": "TracksListResponse"
},
@@ -1524,7 +1515,8 @@
]
},
"patch": {
- "description": "Updates the track configuration for the specified track type. This method supports patch semantics.",
+ "description": "Patches a track.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}",
"httpMethod": "PATCH",
"id": "androidpublisher.edits.tracks.patch",
"parameterOrder": [
@@ -1534,25 +1526,25 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
},
"track": {
- "description": "The track to read or modify.",
+ "description": "Identifier of the track.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/tracks/{track}",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}",
"request": {
"$ref": "Track"
},
@@ -1564,7 +1556,8 @@
]
},
"update": {
- "description": "Updates the track configuration for the specified track type.",
+ "description": "Updates a track.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}",
"httpMethod": "PUT",
"id": "androidpublisher.edits.tracks.update",
"parameterOrder": [
@@ -1574,25 +1567,25 @@
],
"parameters": {
"editId": {
- "description": "Unique identifier for this edit.",
+ "description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
},
"track": {
- "description": "The track to read or modify.",
+ "description": "Identifier of the track.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/edits/{editId}/tracks/{track}",
+ "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}",
"request": {
"$ref": "Track"
},
@@ -1610,7 +1603,8 @@
"inappproducts": {
"methods": {
"delete": {
- "description": "Delete an in-app product for an app.",
+ "description": "Deletes an in-app product (i.e. a managed product or a subscriptions).",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
"httpMethod": "DELETE",
"id": "androidpublisher.inappproducts.delete",
"parameterOrder": [
@@ -1619,7 +1613,7 @@
],
"parameters": {
"packageName": {
- "description": "Unique identifier for the Android app with the in-app product; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
@@ -1631,13 +1625,14 @@
"type": "string"
}
},
- "path": "{packageName}/inappproducts/{sku}",
+ "path": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"get": {
- "description": "Returns information about the in-app product specified.",
+ "description": "Gets an in-app product, which can be a managed product or a subscription.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
"httpMethod": "GET",
"id": "androidpublisher.inappproducts.get",
"parameterOrder": [
@@ -1646,6 +1641,7 @@
],
"parameters": {
"packageName": {
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
@@ -1657,7 +1653,7 @@
"type": "string"
}
},
- "path": "{packageName}/inappproducts/{sku}",
+ "path": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
"response": {
"$ref": "InAppProduct"
},
@@ -1666,7 +1662,8 @@
]
},
"insert": {
- "description": "Creates a new in-app product for an app.",
+ "description": "Creates an in-app product (i.e. a managed product or a subscriptions).",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts",
"httpMethod": "POST",
"id": "androidpublisher.inappproducts.insert",
"parameterOrder": [
@@ -1674,18 +1671,18 @@
],
"parameters": {
"autoConvertMissingPrices": {
- "description": "If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.",
+ "description": "If true the prices for all regions targeted by the parent app that don't\nhave a price specified for this in-app product will be auto converted to\nthe target currency based on the default price. Defaults to false.",
"location": "query",
"type": "boolean"
},
"packageName": {
- "description": "Unique identifier for the Android app; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/inappproducts",
+ "path": "androidpublisher/v3/applications/{packageName}/inappproducts",
"request": {
"$ref": "InAppProduct"
},
@@ -1697,7 +1694,8 @@
]
},
"list": {
- "description": "List all the in-app products for an Android app, both subscriptions and managed in-app products..",
+ "description": "Lists all in-app products - both managed products and subscriptions.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts",
"httpMethod": "GET",
"id": "androidpublisher.inappproducts.list",
"parameterOrder": [
@@ -1705,27 +1703,30 @@
],
"parameters": {
"maxResults": {
+ "description": "How many results the list operation should return.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"packageName": {
- "description": "Unique identifier for the Android app with in-app products; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
},
"startIndex": {
+ "description": "The index of the first element to return.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"token": {
+ "description": "Pagination token. If empty, list starts at the first product.",
"location": "query",
"type": "string"
}
},
- "path": "{packageName}/inappproducts",
+ "path": "androidpublisher/v3/applications/{packageName}/inappproducts",
"response": {
"$ref": "InappproductsListResponse"
},
@@ -1734,7 +1735,8 @@
]
},
"patch": {
- "description": "Updates the details of an in-app product. This method supports patch semantics.",
+ "description": "Patches an in-app product (i.e. a managed product or a subscriptions).",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
"httpMethod": "PATCH",
"id": "androidpublisher.inappproducts.patch",
"parameterOrder": [
@@ -1743,12 +1745,12 @@
],
"parameters": {
"autoConvertMissingPrices": {
- "description": "If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.",
+ "description": "If true the prices for all regions targeted by the parent app that don't\nhave a price specified for this in-app product will be auto converted to\nthe target currency based on the default price. Defaults to false.",
"location": "query",
"type": "boolean"
},
"packageName": {
- "description": "Unique identifier for the Android app with the in-app product; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
@@ -1760,7 +1762,7 @@
"type": "string"
}
},
- "path": "{packageName}/inappproducts/{sku}",
+ "path": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
"request": {
"$ref": "InAppProduct"
},
@@ -1772,7 +1774,8 @@
]
},
"update": {
- "description": "Updates the details of an in-app product.",
+ "description": "Updates an in-app product (i.e. a managed product or a subscriptions).",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
"httpMethod": "PUT",
"id": "androidpublisher.inappproducts.update",
"parameterOrder": [
@@ -1781,12 +1784,12 @@
],
"parameters": {
"autoConvertMissingPrices": {
- "description": "If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.",
+ "description": "If true the prices for all regions targeted by the parent app that don't\nhave a price specified for this in-app product will be auto converted to\nthe target currency based on the default price. Defaults to false.",
"location": "query",
"type": "boolean"
},
"packageName": {
- "description": "Unique identifier for the Android app with the in-app product; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
@@ -1798,7 +1801,7 @@
"type": "string"
}
},
- "path": "{packageName}/inappproducts/{sku}",
+ "path": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
"request": {
"$ref": "InAppProduct"
},
@@ -1814,7 +1817,8 @@
"internalappsharingartifacts": {
"methods": {
"uploadapk": {
- "description": "Uploads an APK to internal app sharing. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See: https://developers.google.com/api-client-library/java/google-api-java-client/errors for an example in java.",
+ "description": "Uploads an APK to internal app sharing.\nIf you are using the Google API client libraries, please increase the\ntimeout of the http request before calling this endpoint\n(a timeout of 2 minutes is recommended).\n\nSee [Timeouts and\nErrors](https://developers.google.com/api-client-library/java/google-api-java-client/errors)\nfor an example in java.",
+ "flatPath": "androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk",
"httpMethod": "POST",
"id": "androidpublisher.internalappsharingartifacts.uploadapk",
"mediaUpload": {
@@ -1822,12 +1826,8 @@
"application/octet-stream",
"application/vnd.android.package-archive"
],
- "maxSize": "1GB",
+ "maxSize": "1073741824",
"protocols": {
- "resumable": {
- "multipart": true,
- "path": "/resumable/upload/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk"
- },
"simple": {
"multipart": true,
"path": "/upload/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk"
@@ -1839,13 +1839,13 @@
],
"parameters": {
"packageName": {
- "description": "Unique identifier for the Android app; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "internalappsharing/{packageName}/artifacts/apk",
+ "path": "androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk",
"response": {
"$ref": "InternalAppSharingArtifact"
},
@@ -1855,19 +1855,16 @@
"supportsMediaUpload": true
},
"uploadbundle": {
- "description": "Uploads an app bundle to internal app sharing. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See: https://developers.google.com/api-client-library/java/google-api-java-client/errors for an example in java.",
+ "description": "Uploads an app bundle to internal app sharing.\nIf you are using the Google API client libraries, please increase the\ntimeout of the http request before calling this endpoint\n(a timeout of 2 minutes is recommended).\n\nSee [Timeouts and\nErrors](https://developers.google.com/api-client-library/java/google-api-java-client/errors)\nfor an example in java.",
+ "flatPath": "androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle",
"httpMethod": "POST",
"id": "androidpublisher.internalappsharingartifacts.uploadbundle",
"mediaUpload": {
"accept": [
"application/octet-stream"
],
- "maxSize": "2GB",
+ "maxSize": "10737418240",
"protocols": {
- "resumable": {
- "multipart": true,
- "path": "/resumable/upload/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle"
- },
"simple": {
"multipart": true,
"path": "/upload/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle"
@@ -1879,13 +1876,13 @@
],
"parameters": {
"packageName": {
- "description": "Unique identifier for the Android app; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "internalappsharing/{packageName}/artifacts/bundle",
+ "path": "androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle",
"response": {
"$ref": "InternalAppSharingArtifact"
},
@@ -1900,6 +1897,7 @@
"methods": {
"refund": {
"description": "Refund a user's subscription or in-app purchase order.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/orders/{orderId}:refund",
"httpMethod": "POST",
"id": "androidpublisher.orders.refund",
"parameterOrder": [
@@ -1908,24 +1906,24 @@
],
"parameters": {
"orderId": {
- "description": "The order ID provided to the user when the subscription or in-app order was purchased.",
+ "description": "The order ID provided to the user when the subscription or in-app order was\npurchased.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
- "description": "The package name of the application for which this subscription or in-app item was purchased (for example, 'com.some.thing').",
+ "description": "The package name of the application for which this subscription or in-app\nitem was purchased (for example, 'com.some.thing').",
"location": "path",
"required": true,
"type": "string"
},
"revoke": {
- "description": "Whether to revoke the purchased item. If set to true, access to the subscription or in-app item will be terminated immediately. If the item is a recurring subscription, all future payments will also be terminated. Consumed in-app items need to be handled by developer's app. (optional)",
+ "description": "Whether to revoke the purchased item. If set to true, access to the\nsubscription or in-app item will be terminated immediately. If the item is\na recurring subscription, all future payments will also be terminated.\nConsumed in-app items need to be handled by developer's app. (optional).",
"location": "query",
"type": "boolean"
}
},
- "path": "{packageName}/orders/{orderId}:refund",
+ "path": "androidpublisher/v3/applications/{packageName}/orders/{orderId}:refund",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
@@ -1938,6 +1936,7 @@
"methods": {
"acknowledge": {
"description": "Acknowledges a purchase of an inapp item.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}:acknowledge",
"httpMethod": "POST",
"id": "androidpublisher.purchases.products.acknowledge",
"parameterOrder": [
@@ -1947,7 +1946,7 @@
],
"parameters": {
"packageName": {
- "description": "The package name of the application the inapp product was sold in (for example, 'com.some.thing').",
+ "description": "The package name of the application the inapp product was sold in (for\nexample, 'com.some.thing').",
"location": "path",
"required": true,
"type": "string"
@@ -1959,13 +1958,13 @@
"type": "string"
},
"token": {
- "description": "The token provided to the user's device when the subscription was purchased.",
+ "description": "The token provided to the user's device when the inapp product was\npurchased.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/purchases/products/{productId}/tokens/{token}:acknowledge",
+ "path": "androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}:acknowledge",
"request": {
"$ref": "ProductPurchasesAcknowledgeRequest"
},
@@ -1975,6 +1974,7 @@
},
"get": {
"description": "Checks the purchase and consumption status of an inapp item.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}",
"httpMethod": "GET",
"id": "androidpublisher.purchases.products.get",
"parameterOrder": [
@@ -1984,7 +1984,7 @@
],
"parameters": {
"packageName": {
- "description": "The package name of the application the inapp product was sold in (for example, 'com.some.thing').",
+ "description": "The package name of the application the inapp product was sold in (for\nexample, 'com.some.thing').",
"location": "path",
"required": true,
"type": "string"
@@ -1996,13 +1996,13 @@
"type": "string"
},
"token": {
- "description": "The token provided to the user's device when the inapp product was purchased.",
+ "description": "The token provided to the user's device when the inapp product was\npurchased.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/purchases/products/{productId}/tokens/{token}",
+ "path": "androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}",
"response": {
"$ref": "ProductPurchase"
},
@@ -2016,6 +2016,7 @@
"methods": {
"acknowledge": {
"description": "Acknowledges a subscription purchase.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:acknowledge",
"httpMethod": "POST",
"id": "androidpublisher.purchases.subscriptions.acknowledge",
"parameterOrder": [
@@ -2025,7 +2026,7 @@
],
"parameters": {
"packageName": {
- "description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
+ "description": "The package name of the application for which this subscription was\npurchased (for example, 'com.some.thing').",
"location": "path",
"required": true,
"type": "string"
@@ -2037,13 +2038,13 @@
"type": "string"
},
"token": {
- "description": "The token provided to the user's device when the subscription was purchased.",
+ "description": "The token provided to the user's device when the subscription was\npurchased.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:acknowledge",
+ "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:acknowledge",
"request": {
"$ref": "SubscriptionPurchasesAcknowledgeRequest"
},
@@ -2052,7 +2053,8 @@
]
},
"cancel": {
- "description": "Cancels a user's subscription purchase. The subscription remains valid until its expiration time.",
+ "description": "Cancels a user's subscription purchase. The subscription remains valid\nuntil its expiration time.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel",
"httpMethod": "POST",
"id": "androidpublisher.purchases.subscriptions.cancel",
"parameterOrder": [
@@ -2062,7 +2064,7 @@
],
"parameters": {
"packageName": {
- "description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
+ "description": "The package name of the application for which this subscription was\npurchased (for example, 'com.some.thing').",
"location": "path",
"required": true,
"type": "string"
@@ -2074,19 +2076,20 @@
"type": "string"
},
"token": {
- "description": "The token provided to the user's device when the subscription was purchased.",
+ "description": "The token provided to the user's device when the subscription was\npurchased.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel",
+ "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"defer": {
- "description": "Defers a user's subscription purchase until a specified future expiration time.",
+ "description": "Defers a user's subscription purchase until a specified future expiration\ntime.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer",
"httpMethod": "POST",
"id": "androidpublisher.purchases.subscriptions.defer",
"parameterOrder": [
@@ -2096,7 +2099,7 @@
],
"parameters": {
"packageName": {
- "description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
+ "description": "The package name of the application for which this subscription was\npurchased (for example, 'com.some.thing').",
"location": "path",
"required": true,
"type": "string"
@@ -2108,13 +2111,13 @@
"type": "string"
},
"token": {
- "description": "The token provided to the user's device when the subscription was purchased.",
+ "description": "The token provided to the user's device when the subscription was\npurchased.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer",
+ "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer",
"request": {
"$ref": "SubscriptionPurchasesDeferRequest"
},
@@ -2126,7 +2129,8 @@
]
},
"get": {
- "description": "Checks whether a user's subscription purchase is valid and returns its expiry time.",
+ "description": "Checks whether a user's subscription purchase is valid and returns its\nexpiry time.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}",
"httpMethod": "GET",
"id": "androidpublisher.purchases.subscriptions.get",
"parameterOrder": [
@@ -2136,7 +2140,7 @@
],
"parameters": {
"packageName": {
- "description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
+ "description": "The package name of the application for which this subscription was\npurchased (for example, 'com.some.thing').",
"location": "path",
"required": true,
"type": "string"
@@ -2148,13 +2152,13 @@
"type": "string"
},
"token": {
- "description": "The token provided to the user's device when the subscription was purchased.",
+ "description": "The token provided to the user's device when the subscription was\npurchased.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}",
+ "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}",
"response": {
"$ref": "SubscriptionPurchase"
},
@@ -2163,7 +2167,8 @@
]
},
"refund": {
- "description": "Refunds a user's subscription purchase, but the subscription remains valid until its expiration time and it will continue to recur.",
+ "description": "Refunds a user's subscription purchase, but the subscription remains valid\nuntil its expiration time and it will continue to recur.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund",
"httpMethod": "POST",
"id": "androidpublisher.purchases.subscriptions.refund",
"parameterOrder": [
@@ -2173,31 +2178,32 @@
],
"parameters": {
"packageName": {
- "description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
+ "description": "The package name of the application for which this subscription was\npurchased (for example, 'com.some.thing').",
"location": "path",
"required": true,
"type": "string"
},
"subscriptionId": {
- "description": "The purchased subscription ID (for example, 'monthly001').",
+ "description": "\"The purchased subscription ID (for example, 'monthly001').",
"location": "path",
"required": true,
"type": "string"
},
"token": {
- "description": "The token provided to the user's device when the subscription was purchased.",
+ "description": "The token provided to the user's device when the subscription was\npurchased.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund",
+ "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"revoke": {
- "description": "Refunds and immediately revokes a user's subscription purchase. Access to the subscription will be terminated immediately and it will stop recurring.",
+ "description": "Refunds and immediately revokes a user's subscription purchase. Access to\nthe subscription will be terminated immediately and it will stop recurring.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke",
"httpMethod": "POST",
"id": "androidpublisher.purchases.subscriptions.revoke",
"parameterOrder": [
@@ -2207,7 +2213,7 @@
],
"parameters": {
"packageName": {
- "description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
+ "description": "The package name of the application for which this subscription was\npurchased (for example, 'com.some.thing').",
"location": "path",
"required": true,
"type": "string"
@@ -2219,13 +2225,13 @@
"type": "string"
},
"token": {
- "description": "The token provided to the user's device when the subscription was purchased.",
+ "description": "The token provided to the user's device when the subscription was\npurchased.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke",
+ "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
@@ -2236,6 +2242,7 @@
"methods": {
"list": {
"description": "Lists the purchases that were canceled, refunded or charged-back.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/voidedpurchases",
"httpMethod": "GET",
"id": "androidpublisher.purchases.voidedpurchases.list",
"parameterOrder": [
@@ -2243,45 +2250,48 @@
],
"parameters": {
"endTime": {
- "description": "The time, in milliseconds since the Epoch, of the newest voided purchase that you want to see in the response. The value of this parameter cannot be greater than the current time and is ignored if a pagination token is set. Default value is current time. Note: This filter is applied on the time at which the record is seen as voided by our systems and not the actual voided time returned in the response.",
+ "description": "The time, in milliseconds since the Epoch, of the newest voided purchase\nthat you want to see in the response. The value of this parameter cannot\nbe greater than the current time and is ignored if a pagination token is\nset. Default value is current time.\nNote: This filter is applied on the time at which the record is seen as\nvoided by our systems and not the actual voided time returned in the\nresponse.",
"format": "int64",
"location": "query",
"type": "string"
},
"maxResults": {
+ "description": "Defines how many results the list operation should return.\nThe default number depends on the resource collection.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"packageName": {
- "description": "The package name of the application for which voided purchases need to be returned (for example, 'com.some.thing').",
+ "description": "The package name of the application for which voided purchases need to be\nreturned (for example, 'com.some.thing').",
"location": "path",
"required": true,
"type": "string"
},
"startIndex": {
+ "description": "Defines the index of the first element to return.\nThis can only be used if indexed paging is enabled.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"startTime": {
- "description": "The time, in milliseconds since the Epoch, of the oldest voided purchase that you want to see in the response. The value of this parameter cannot be older than 30 days and is ignored if a pagination token is set. Default value is current time minus 30 days. Note: This filter is applied on the time at which the record is seen as voided by our systems and not the actual voided time returned in the response.",
+ "description": "The time, in milliseconds since the Epoch, of the oldest voided purchase\nthat you want to see in the response. The value of this parameter cannot\nbe older than 30 days and is ignored if a pagination token is set.\nDefault value is current time minus 30 days.\nNote: This filter is applied on the time at which the record is seen as\nvoided by our systems and not the actual voided time returned in the\nresponse.",
"format": "int64",
"location": "query",
"type": "string"
},
"token": {
+ "description": "Defines the token of the page to return, usually taken from\nTokenPagination.\nThis can only be used if token paging is enabled.",
"location": "query",
"type": "string"
},
"type": {
- "description": "The type of voided purchases that you want to see in the response. Possible values are: \n- 0: Only voided in-app product purchases will be returned in the response. This is the default value.\n- 1: Both voided in-app purchases and voided subscription purchases will be returned in the response. Note: Before requesting to receive voided subscription purchases, you must switch to use orderId in the response which uniquely identifies one-time purchases and subscriptions. Otherwise, you will receive multiple subscription orders with the same PurchaseToken, because subscription renewal orders share the same PurchaseToken.",
+ "description": "The type of voided purchases that you want to see in the response.\nPossible values are:\n0. Only voided in-app product purchases will be returned in the\n response. This is the default value.\n1. Both voided in-app purchases and voided subscription purchases\n will be returned in the response.\n\nNote: Before requesting to receive voided subscription purchases, you\nmust switch to use orderId in the response which uniquely identifies\none-time purchases and subscriptions. Otherwise, you will receive multiple\nsubscription orders with the same PurchaseToken, because subscription\nrenewal orders share the same PurchaseToken.",
"format": "int32",
"location": "query",
"type": "integer"
}
},
- "path": "{packageName}/purchases/voidedpurchases",
+ "path": "androidpublisher/v3/applications/{packageName}/purchases/voidedpurchases",
"response": {
"$ref": "VoidedPurchasesListResponse"
},
@@ -2296,7 +2306,8 @@
"reviews": {
"methods": {
"get": {
- "description": "Returns a single review.",
+ "description": "Gets a single review.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/reviews/{reviewId}",
"httpMethod": "GET",
"id": "androidpublisher.reviews.get",
"parameterOrder": [
@@ -2305,22 +2316,24 @@
],
"parameters": {
"packageName": {
- "description": "Unique identifier for the Android app for which we want reviews; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
},
"reviewId": {
+ "description": "Unique identifier for a review.",
"location": "path",
"required": true,
"type": "string"
},
"translationLanguage": {
+ "description": "Language localization code.",
"location": "query",
"type": "string"
}
},
- "path": "{packageName}/reviews/{reviewId}",
+ "path": "androidpublisher/v3/applications/{packageName}/reviews/{reviewId}",
"response": {
"$ref": "Review"
},
@@ -2329,7 +2342,8 @@
]
},
"list": {
- "description": "Returns a list of reviews. Only reviews from last week will be returned.",
+ "description": "Lists all reviews.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/reviews",
"httpMethod": "GET",
"id": "androidpublisher.reviews.list",
"parameterOrder": [
@@ -2337,31 +2351,35 @@
],
"parameters": {
"maxResults": {
+ "description": "How many results the list operation should return.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"packageName": {
- "description": "Unique identifier for the Android app for which we want reviews; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
},
"startIndex": {
+ "description": "The index of the first element to return.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"token": {
+ "description": "Pagination token. If empty, list starts at the first review.",
"location": "query",
"type": "string"
},
"translationLanguage": {
+ "description": "Language localization code.",
"location": "query",
"type": "string"
}
},
- "path": "{packageName}/reviews",
+ "path": "androidpublisher/v3/applications/{packageName}/reviews",
"response": {
"$ref": "ReviewsListResponse"
},
@@ -2370,7 +2388,8 @@
]
},
"reply": {
- "description": "Reply to a single review, or update an existing reply.",
+ "description": "Replies to a single review, or updates an existing reply.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/reviews/{reviewId}:reply",
"httpMethod": "POST",
"id": "androidpublisher.reviews.reply",
"parameterOrder": [
@@ -2379,18 +2398,19 @@
],
"parameters": {
"packageName": {
- "description": "Unique identifier for the Android app for which we want reviews; for example, \"com.spiffygame\".",
+ "description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
},
"reviewId": {
+ "description": "Unique identifier for a review.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{packageName}/reviews/{reviewId}:reply",
+ "path": "androidpublisher/v3/applications/{packageName}/reviews/{reviewId}:reply",
"request": {
"$ref": "ReviewsReplyRequest"
},
@@ -2408,7 +2428,8 @@
"variants": {
"methods": {
"create": {
- "description": "Creates a new variant of APK which is suitable for inclusion in a system image.",
+ "description": "Creates an APK which is suitable for inclusion in a system image from an\nalready uploaded Android App Bundle.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants",
"httpMethod": "POST",
"id": "androidpublisher.systemapks.variants.create",
"parameterOrder": [
@@ -2417,7 +2438,7 @@
],
"parameters": {
"packageName": {
- "description": "Unique identifier for the Android app; for example, \"com.spiffygame\".",
+ "description": "Unique identifier of the Android app.",
"location": "path",
"required": true,
"type": "string"
@@ -2430,9 +2451,9 @@
"type": "string"
}
},
- "path": "{packageName}/systemApks/{versionCode}/variants",
+ "path": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants",
"request": {
- "$ref": "SystemApkVariantsCreateRequest"
+ "$ref": "Variant"
},
"response": {
"$ref": "Variant"
@@ -2442,7 +2463,8 @@
]
},
"download": {
- "description": "Download a previously created APK which is suitable for inclusion in a system image.",
+ "description": "Downloads a previously created system APK which is suitable for inclusion\nin a system image.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}:download",
"httpMethod": "GET",
"id": "androidpublisher.systemapks.variants.download",
"parameterOrder": [
@@ -2452,12 +2474,13 @@
],
"parameters": {
"packageName": {
- "description": "Unique identifier for the Android app; for example, \"com.spiffygame\".",
+ "description": "Unique identifier of the Android app.",
"location": "path",
"required": true,
"type": "string"
},
"variantId": {
+ "description": "The ID of a previously created system APK variant.",
"format": "uint32",
"location": "path",
"required": true,
@@ -2471,7 +2494,7 @@
"type": "string"
}
},
- "path": "{packageName}/systemApks/{versionCode}/variants/{variantId}:download",
+ "path": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}:download",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
],
@@ -2480,6 +2503,7 @@
},
"get": {
"description": "Returns a previously created system APK variant.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}",
"httpMethod": "GET",
"id": "androidpublisher.systemapks.variants.get",
"parameterOrder": [
@@ -2489,13 +2513,13 @@
],
"parameters": {
"packageName": {
- "description": "Unique identifier for the Android app; for example, \"com.spiffygame\".",
+ "description": "Unique identifier of the Android app.",
"location": "path",
"required": true,
"type": "string"
},
"variantId": {
- "description": "Unique identifier for this variant.",
+ "description": "The ID of a previously created system APK variant.",
"format": "uint32",
"location": "path",
"required": true,
@@ -2509,7 +2533,7 @@
"type": "string"
}
},
- "path": "{packageName}/systemApks/{versionCode}/variants/{variantId}",
+ "path": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}",
"response": {
"$ref": "Variant"
},
@@ -2519,6 +2543,7 @@
},
"list": {
"description": "Returns the list of previously created system APK variants.",
+ "flatPath": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants",
"httpMethod": "GET",
"id": "androidpublisher.systemapks.variants.list",
"parameterOrder": [
@@ -2527,7 +2552,7 @@
],
"parameters": {
"packageName": {
- "description": "Unique identifier for the Android app; for example, \"com.spiffygame\".",
+ "description": "Unique identifier of the Android app.",
"location": "path",
"required": true,
"type": "string"
@@ -2540,9 +2565,9 @@
"type": "string"
}
},
- "path": "{packageName}/systemApks/{versionCode}/variants",
+ "path": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants",
"response": {
- "$ref": "SystemApkVariantsListResponse"
+ "$ref": "SystemApksListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
@@ -2553,21 +2578,19 @@
}
}
},
- "revision": "20200331",
+ "revision": "20200709",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Apk": {
+ "description": "Information about an APK. The resource for ApksService.",
"id": "Apk",
"properties": {
"binary": {
"$ref": "ApkBinary",
"description": "Information about the binary payload of this APK."
},
- "testBinary": {
- "$ref": "ApkBinary"
- },
"versionCode": {
- "description": "The version code of the APK, as specified in the APK's manifest file.",
+ "description": "The version code of the APK, as specified in the manifest file.",
"format": "int32",
"type": "integer"
}
@@ -2579,17 +2602,18 @@
"id": "ApkBinary",
"properties": {
"sha1": {
- "description": "A sha1 hash of the APK payload, encoded as a hex string and matching the output of the sha1sum command.",
+ "description": "A sha1 hash of the APK payload, encoded as a hex string and matching the\noutput of the sha1sum command.",
"type": "string"
},
"sha256": {
- "description": "A sha256 hash of the APK payload, encoded as a hex string and matching the output of the sha256sum command.",
+ "description": "A sha256 hash of the APK payload, encoded as a hex string and matching\nthe output of the sha256sum command.",
"type": "string"
}
},
"type": "object"
},
"ApksAddExternallyHostedRequest": {
+ "description": "Request to create a new externally hosted APK.",
"id": "ApksAddExternallyHostedRequest",
"properties": {
"externallyHostedApk": {
@@ -2600,6 +2624,7 @@
"type": "object"
},
"ApksAddExternallyHostedResponse": {
+ "description": "Response for creating a new externally hosted APK.",
"id": "ApksAddExternallyHostedResponse",
"properties": {
"externallyHostedApk": {
@@ -2610,23 +2635,25 @@
"type": "object"
},
"ApksListResponse": {
+ "description": "Response listing all APKs.",
"id": "ApksListResponse",
"properties": {
"apks": {
+ "description": "All APKs.",
"items": {
"$ref": "Apk"
},
"type": "array"
},
"kind": {
- "default": "androidpublisher#apksListResponse",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"androidpublisher#apksListResponse\".",
+ "description": "The kind of this response (\"androidpublisher#apksListResponse\").",
"type": "string"
}
},
"type": "object"
},
"AppDetails": {
+ "description": "The app details. The resource for DetailsService.",
"id": "AppDetails",
"properties": {
"contactEmail": {
@@ -2649,33 +2676,34 @@
"type": "object"
},
"AppEdit": {
- "description": "Represents an edit of an app. An edit allows clients to make multiple changes before committing them in one operation.",
+ "description": "An app edit. The resource for EditsService.",
"id": "AppEdit",
"properties": {
"expiryTimeSeconds": {
- "description": "The time at which the edit will expire and will be no longer valid for use in any subsequent API calls (encoded as seconds since the Epoch).",
+ "description": "Output only. The time (as seconds since Epoch) at which the edit will expire and\nwill be no longer valid for use.",
"type": "string"
},
"id": {
- "description": "The ID of the edit that can be used in subsequent API calls.",
+ "description": "Output only. Identifier of the edit. Can be used in subsequent API calls.",
"type": "string"
}
},
"type": "object"
},
"Bundle": {
+ "description": "Information about a bundle. The resource for BundlesService.",
"id": "Bundle",
"properties": {
"sha1": {
- "description": "A sha1 hash of the upload payload, encoded as a hex string and matching the output of the sha1sum command.",
+ "description": "A sha1 hash of the upload payload, encoded as a hex string and matching\nthe output of the sha1sum command.",
"type": "string"
},
"sha256": {
- "description": "A sha256 hash of the upload payload, encoded as a hex string and matching the output of the sha256sum command.",
+ "description": "A sha256 hash of the upload payload, encoded as a hex string and matching\nthe output of the sha256sum command.",
"type": "string"
},
"versionCode": {
- "description": "The version code of the Android App Bundle. As specified in the Android App Bundle's base module APK manifest file.",
+ "description": "The version code of the Android App Bundle, as specified in the Android App\nBundle's base module APK manifest file.",
"format": "int32",
"type": "integer"
}
@@ -2683,23 +2711,25 @@
"type": "object"
},
"BundlesListResponse": {
+ "description": "Response listing all bundles.",
"id": "BundlesListResponse",
"properties": {
"bundles": {
+ "description": "All bundles.",
"items": {
"$ref": "Bundle"
},
"type": "array"
},
"kind": {
- "default": "androidpublisher#bundlesListResponse",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"androidpublisher#bundlesListResponse\".",
+ "description": "The kind of this response (\"androidpublisher#bundlesListResponse\").",
"type": "string"
}
},
"type": "object"
},
"Comment": {
+ "description": "An entry of conversation between user and developer.",
"id": "Comment",
"properties": {
"developerComment": {
@@ -2713,41 +2743,19 @@
},
"type": "object"
},
- "Control": {
- "id": "Control",
- "properties": {
- "modRanges": {
- "items": {
- "$ref": "ModRange"
- },
- "type": "array"
- },
- "stratifiedSamplings": {
- "items": {
- "$ref": "StratifiedSampling"
- },
- "type": "array"
- },
- "versionCodes": {
- "items": {
- "format": "int64",
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
"CountryTargeting": {
+ "description": "Country targeting specification.",
"id": "CountryTargeting",
"properties": {
"countries": {
+ "description": "Countries to target, specified as two letter [CLDR\ncodes](https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html).",
"items": {
"type": "string"
},
"type": "array"
},
"includeRestOfWorld": {
+ "description": "Include \"rest of world\" as well as explicitly targeted countries.",
"type": "boolean"
}
},
@@ -2759,21 +2767,34 @@
"properties": {
"symbolType": {
"description": "The type of the deobfuscation file.",
+ "enum": [
+ "deobfuscationFileTypeUnspecified",
+ "proguard",
+ "nativeCode"
+ ],
+ "enumDescriptions": [
+ "Unspecified deobfuscation file type.",
+ "Proguard deobfuscation file type.",
+ "Native debugging symbols file type."
+ ],
"type": "string"
}
},
"type": "object"
},
"DeobfuscationFilesUploadResponse": {
+ "description": "Responses for the upload.",
"id": "DeobfuscationFilesUploadResponse",
"properties": {
"deobfuscationFile": {
- "$ref": "DeobfuscationFile"
+ "$ref": "DeobfuscationFile",
+ "description": "The uploaded Deobfuscation File configuration."
}
},
"type": "object"
},
"DeveloperComment": {
+ "description": "Developer entry from conversation between user and developer.",
"id": "DeveloperComment",
"properties": {
"lastModified": {
@@ -2788,14 +2809,15 @@
"type": "object"
},
"DeviceMetadata": {
+ "description": "Characteristics of the user's device.",
"id": "DeviceMetadata",
"properties": {
"cpuMake": {
- "description": "Device CPU make e.g. \"Qualcomm\"",
+ "description": "Device CPU make, e.g. \"Qualcomm\"",
"type": "string"
},
"cpuModel": {
- "description": "Device CPU model e.g. \"MSM8974\"",
+ "description": "Device CPU model, e.g. \"MSM8974\"",
"type": "string"
},
"deviceClass": {
@@ -2820,7 +2842,7 @@
"type": "string"
},
"ramMb": {
- "description": "Device RAM in Megabytes e.g. \"2048\"",
+ "description": "Device RAM in Megabytes, e.g. \"2048\"",
"format": "int32",
"type": "integer"
},
@@ -2843,19 +2865,23 @@
"type": "object"
},
"DeviceSpec": {
+ "description": "The device spec used to generate a system APK.",
"id": "DeviceSpec",
"properties": {
"screenDensity": {
+ "description": "Screen dpi.",
"format": "uint32",
"type": "integer"
},
"supportedAbis": {
+ "description": "Supported ABI architectures in the order of preference.\nThe values should be the string as reported by the platform, e.g.\n\"armeabi-v7a\", \"x86_64\".",
"items": {
"type": "string"
},
"type": "array"
},
"supportedLocales": {
+ "description": "All installed locales represented as BCP-47 strings, e.g. \"en-US\".",
"items": {
"type": "string"
},
@@ -2865,15 +2891,16 @@
"type": "object"
},
"ExpansionFile": {
+ "description": "An expansion file. The resource for ExpansionFilesService.",
"id": "ExpansionFile",
"properties": {
"fileSize": {
- "description": "If set this field indicates that this APK has an Expansion File uploaded to it: this APK does not reference another APK's Expansion File. The field's value is the size of the uploaded Expansion File in bytes.",
+ "description": "If set, this field indicates that this APK has an expansion file uploaded\nto it: this APK does not reference another APK's expansion file.\nThe field's value is the size of the uploaded expansion file in bytes.",
"format": "int64",
"type": "string"
},
"referencesVersion": {
- "description": "If set this APK's Expansion File references another APK's Expansion File. The file_size field will not be set.",
+ "description": "If set, this APK's expansion file references another APK's expansion file.\nThe file_size field will not be set.",
"format": "int32",
"type": "integer"
}
@@ -2881,16 +2908,18 @@
"type": "object"
},
"ExpansionFilesUploadResponse": {
+ "description": "Response for uploading an expansion file.",
"id": "ExpansionFilesUploadResponse",
"properties": {
"expansionFile": {
- "$ref": "ExpansionFile"
+ "$ref": "ExpansionFile",
+ "description": "The uploaded expansion file configuration."
}
},
"type": "object"
},
"ExternallyHostedApk": {
- "description": "Defines an APK available for this application that is hosted externally and not uploaded to Google Play. This function is only available to enterprises who are using Google Play for Work, and whos application is restricted to the enterprise private channel",
+ "description": "Defines an APK available for this application that is hosted externally\nand not uploaded to Google Play.\nThis function is only available to organizations using Managed Play whose\napplication is configured to restrict distribution to the organizations.",
"id": "ExternallyHostedApk",
"properties": {
"applicationLabel": {
@@ -2898,7 +2927,7 @@
"type": "string"
},
"certificateBase64s": {
- "description": "A certificate (or array of certificates if a certificate-chain is used) used to signed this APK, represented as a base64 encoded byte array.",
+ "description": "A certificate (or array of certificates if a certificate-chain is used)\nused to sign this APK, represented as a base64 encoded byte array.",
"items": {
"type": "string"
},
@@ -2909,11 +2938,11 @@
"type": "string"
},
"fileSha1Base64": {
- "description": "The SHA1 checksum of this APK, represented as a base64 encoded byte array.",
+ "description": "The sha1 checksum of this APK, represented as a base64 encoded byte\narray.",
"type": "string"
},
"fileSha256Base64": {
- "description": "The SHA256 checksum of this APK, represented as a base64 encoded byte array.",
+ "description": "The sha256 checksum of this APK, represented as a base64 encoded byte\narray.",
"type": "string"
},
"fileSize": {
@@ -2956,7 +2985,7 @@
"usesPermissions": {
"description": "The permissions requested by this APK.",
"items": {
- "$ref": "ExternallyHostedApkUsesPermission"
+ "$ref": "UsesPermission"
},
"type": "array"
},
@@ -2972,23 +3001,8 @@
},
"type": "object"
},
- "ExternallyHostedApkUsesPermission": {
- "description": "A permission used by this APK.",
- "id": "ExternallyHostedApkUsesPermission",
- "properties": {
- "maxSdkVersion": {
- "description": "Optionally, the maximum SDK version for which the permission is required.",
- "format": "int32",
- "type": "integer"
- },
- "name": {
- "description": "The name of the permission requested.",
- "type": "string"
- }
- },
- "type": "object"
- },
"Image": {
+ "description": "An uploaded image. The resource for ImagesService.",
"id": "Image",
"properties": {
"id": {
@@ -2996,11 +3010,11 @@
"type": "string"
},
"sha1": {
- "description": "A sha1 hash of the image that was uploaded.",
+ "description": "A sha1 hash of the image.",
"type": "string"
},
"sha256": {
- "description": "A sha256 hash of the image that was uploaded.",
+ "description": "A sha256 hash of the image.",
"type": "string"
},
"url": {
@@ -3011,9 +3025,11 @@
"type": "object"
},
"ImagesDeleteAllResponse": {
+ "description": "Response for deleting all images.",
"id": "ImagesDeleteAllResponse",
"properties": {
"deleted": {
+ "description": "The deleted images.",
"items": {
"$ref": "Image"
},
@@ -3023,9 +3039,11 @@
"type": "object"
},
"ImagesListResponse": {
+ "description": "Response listing all images.",
"id": "ImagesListResponse",
"properties": {
"images": {
+ "description": "All listed Images.",
"items": {
"$ref": "Image"
},
@@ -3035,120 +3053,155 @@
"type": "object"
},
"ImagesUploadResponse": {
+ "description": "Response for uploading an image.",
"id": "ImagesUploadResponse",
"properties": {
"image": {
- "$ref": "Image"
+ "$ref": "Image",
+ "description": "The uploaded image."
}
},
"type": "object"
},
"InAppProduct": {
+ "description": "An in-app product. The resource for InappproductsService.",
"id": "InAppProduct",
"properties": {
"defaultLanguage": {
- "description": "The default language of the localized data, as defined by BCP 47. e.g. \"en-US\", \"en-GB\".",
+ "description": "Default language of the localized data, as defined by BCP-47. e.g. \"en-US\".",
"type": "string"
},
"defaultPrice": {
"$ref": "Price",
- "description": "Default price cannot be zero. In-app products can never be free. Default price is always in the developer's Checkout merchant currency."
+ "description": "Default price. Cannot be zero, as in-app products are never free.\nAlways in the developer's Checkout merchant currency."
},
"gracePeriod": {
- "description": "Grace period of the subscription, specified in ISO 8601 format. It will allow developers to give their subscribers a grace period when the payment for the new recurrence period is declined. Acceptable values = \"P3D\" (three days), \"P7D\" (seven days), \"P14D\" (fourteen days), and \"P30D\" (thirty days)",
+ "description": "Grace period of the subscription, specified in ISO 8601 format. Allows\ndevelopers to give their subscribers a grace period when the payment\nfor the new recurrence period is declined.\nAcceptable values are P0D (zero days), P3D (three days), P7D (seven days),\nP14D (14 days), and P30D (30 days).",
"type": "string"
},
"listings": {
"additionalProperties": {
- "$ref": "InAppProductListing",
- "description": "The language of the localized data, as defined by BCP 47. i.e.: \"en-US\", \"en-GB\"."
+ "$ref": "InAppProductListing"
},
- "description": "List of localized title and description data.",
+ "description": "List of localized title and description data. Map key is the language of\nthe localized data, as defined by BCP-47, e.g. \"en-US\".",
"type": "object"
},
"packageName": {
- "description": "The package name of the parent app.",
+ "description": "Package name of the parent app.",
"type": "string"
},
"prices": {
"additionalProperties": {
- "$ref": "Price",
- "description": "Region code, as defined by ISO 3166-2."
+ "$ref": "Price"
},
- "description": "Prices per buyer region. None of these prices should be zero. In-app products can never be free.",
+ "description": "Prices per buyer region. None of these can be zero, as in-app products are\nnever free. Map key is region code, as defined by ISO 3166-2.",
"type": "object"
},
"purchaseType": {
- "description": "Purchase type enum value. Unmodifiable after creation.",
+ "description": "The type of the product, e.g. a recurring subscription.",
+ "enum": [
+ "purchaseTypeUnspecified",
+ "managedUser",
+ "subscription"
+ ],
+ "enumDescriptions": [
+ "Unspecified purchase type.",
+ "The default product type - one time purchase.",
+ "In-app product with a recurring period."
+ ],
"type": "string"
},
"sku": {
- "description": "The stock-keeping-unit (SKU) of the product, unique within an app.",
+ "description": "Stock-keeping-unit (SKU) of the product, unique within an app.",
"type": "string"
},
"status": {
+ "description": "The status of the product, e.g. whether it's active.",
+ "enum": [
+ "statusUnspecified",
+ "active",
+ "inactive"
+ ],
+ "enumDescriptions": [
+ "Unspecified status.",
+ "The product is published and active in the store.",
+ "The product is not published and therefore inactive in the store."
+ ],
"type": "string"
},
"subscriptionPeriod": {
- "description": "Subscription period, specified in ISO 8601 format. Acceptable values are \"P1W\" (one week), \"P1M\" (one month), \"P3M\" (three months), \"P6M\" (six months), and \"P1Y\" (one year).",
+ "description": "Subscription period, specified in ISO 8601 format. Acceptable values are\nP1W (one week), P1M (one month), P3M (three months), P6M (six months),\nand P1Y (one year).",
"type": "string"
},
"trialPeriod": {
- "description": "Trial period, specified in ISO 8601 format. Acceptable values are anything between \"P7D\" (seven days) and \"P999D\" (999 days). Seasonal subscriptions cannot have a trial period.",
+ "description": "Trial period, specified in ISO 8601 format. Acceptable values are anything\nbetween P7D (seven days) and P999D (999 days).",
"type": "string"
}
},
"type": "object"
},
"InAppProductListing": {
+ "description": "Store listing of a single in-app product.",
"id": "InAppProductListing",
"properties": {
+ "benefits": {
+ "description": "Localized entitlement benefits for a subscription.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"description": {
+ "description": "Description for the store listing.",
"type": "string"
},
"title": {
+ "description": "Title for the store listing.",
"type": "string"
}
},
"type": "object"
},
"InappproductsListResponse": {
+ "description": "Response listing all in-app products.",
"id": "InappproductsListResponse",
"properties": {
"inappproduct": {
+ "description": "All in-app products.",
"items": {
"$ref": "InAppProduct"
},
"type": "array"
},
"kind": {
- "default": "androidpublisher#inappproductsListResponse",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"androidpublisher#inappproductsListResponse\".",
+ "description": "The kind of this response (\"androidpublisher#inappproductsListResponse\").",
"type": "string"
},
"pageInfo": {
- "$ref": "PageInfo"
+ "$ref": "PageInfo",
+ "description": "Information about the current page."
},
"tokenPagination": {
- "$ref": "TokenPagination"
+ "$ref": "TokenPagination",
+ "description": "Pagination token, to handle a number of products that is over one page."
}
},
"type": "object"
},
"InternalAppSharingArtifact": {
- "description": "An artifact resource which gets created when uploading an APK or Android App Bundle through internal app sharing.",
+ "description": "An artifact resource which gets created when uploading an APK or Android\nApp Bundle through internal app sharing.",
"id": "InternalAppSharingArtifact",
"properties": {
"certificateFingerprint": {
- "description": "The SHA256 fingerprint of the certificate used to signed the generated artifact.",
+ "description": "The sha256 fingerprint of the certificate used to sign the generated\nartifact.",
"type": "string"
},
"downloadUrl": {
- "description": "The download URL generated for the uploaded artifact. Users that are authorized to download can follow the link to the Play Store app to install it.",
+ "description": "The download URL generated for the uploaded artifact.\nUsers that are authorized to download can follow the link to the Play\nStore app to install it.",
"type": "string"
},
"sha256": {
- "description": "The SHA-256 hash of the artifact represented as a lowercase hexadecimal number, matching the output of the sha256sum command.",
+ "description": "The sha256 hash of the artifact represented as a lowercase hexadecimal\nnumber, matching the output of the sha256sum command.",
"type": "string"
}
},
@@ -3159,12 +3212,12 @@
"id": "IntroductoryPriceInfo",
"properties": {
"introductoryPriceAmountMicros": {
- "description": "Introductory price of the subscription, not including tax. The currency is the same as price_currency_code. Price is expressed in micro-units, where 1,000,000 micro-units represents one unit of the currency. For example, if the subscription price is \u20ac1.99, price_amount_micros is 1990000.",
+ "description": "Introductory price of the subscription, not including tax.\nThe currency is the same as price_currency_code. Price is\nexpressed in micro-units, where 1,000,000 micro-units represents one unit\nof the currency. For example, if the subscription price is \u20ac1.99,\nprice_amount_micros is 1990000.",
"format": "int64",
"type": "string"
},
"introductoryPriceCurrencyCode": {
- "description": "ISO 4217 currency code for the introductory subscription price. For example, if the price is specified in British pounds sterling, price_currency_code is \"GBP\".",
+ "description": "ISO 4217 currency code for the introductory subscription price.\nFor example, if the price is specified in British pounds sterling,\nprice_currency_code is \"GBP\".",
"type": "string"
},
"introductoryPriceCycles": {
@@ -3173,29 +3226,30 @@
"type": "integer"
},
"introductoryPricePeriod": {
- "description": "Introductory price period, specified in ISO 8601 format. Common values are (but not limited to) \"P1W\" (one week), \"P1M\" (one month), \"P3M\" (three months), \"P6M\" (six months), and \"P1Y\" (one year).",
+ "description": "Introductory price period, specified in ISO 8601 format.\nCommon values are (but not limited to) \"P1W\" (one\nweek), \"P1M\" (one month), \"P3M\" (three months), \"P6M\" (six months),\nand \"P1Y\" (one year).",
"type": "string"
}
},
"type": "object"
},
"Listing": {
+ "description": "A localized store listing. The resource for ListingsService.",
"id": "Listing",
"properties": {
"fullDescription": {
- "description": "Full description of the app; this may be up to 4000 characters in length.",
+ "description": "Full description of the app.",
"type": "string"
},
"language": {
- "description": "Language localization code (for example, \"de-AT\" for Austrian German).",
+ "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\"\nfor Austrian German).",
"type": "string"
},
"shortDescription": {
- "description": "Short description of the app (previously known as promo text); this may be up to 80 characters in length.",
+ "description": "Short description of the app.",
"type": "string"
},
"title": {
- "description": "App's localized title.",
+ "description": "Localized title of the app.",
"type": "string"
},
"video": {
@@ -3206,14 +3260,15 @@
"type": "object"
},
"ListingsListResponse": {
+ "description": "Response listing all localized listings.",
"id": "ListingsListResponse",
"properties": {
"kind": {
- "default": "androidpublisher#listingsListResponse",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"androidpublisher#listingsListResponse\".",
+ "description": "The kind of this response (\"androidpublisher#listingsListResponse\").",
"type": "string"
},
"listings": {
+ "description": "All localized listings.",
"items": {
"$ref": "Listing"
},
@@ -3223,45 +3278,36 @@
"type": "object"
},
"LocalizedText": {
+ "description": "Release notes specification, i.e. language and text.",
"id": "LocalizedText",
"properties": {
"language": {
- "description": "The language code, in BCP 47 format (eg \"en-US\").",
+ "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\"\nfor Austrian German).",
"type": "string"
},
"text": {
- "description": "The text in the given `language`.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ModRange": {
- "id": "ModRange",
- "properties": {
- "end": {
- "format": "int64",
- "type": "string"
- },
- "start": {
- "format": "int64",
+ "description": "The text in the given language.",
"type": "string"
}
},
"type": "object"
},
"PageInfo": {
+ "description": "Information about the current page.\n\nList operations that supports paging return only one \"page\" of results. This\nprotocol buffer message describes the page that has been returned.",
"id": "PageInfo",
"properties": {
"resultPerPage": {
+ "description": "Maximum number of results returned in one page.\n! The number of results included in the API response.",
"format": "int32",
"type": "integer"
},
"startIndex": {
+ "description": "Index of the first result returned in the current page.",
"format": "int32",
"type": "integer"
},
"totalResults": {
+ "description": "Total number of results available on the backend\n! The total number of results in the result set.",
"format": "int32",
"type": "integer"
}
@@ -3269,40 +3315,48 @@
"type": "object"
},
"Price": {
+ "description": "Definition of a price, i.e. currency and units.",
"id": "Price",
"properties": {
"currency": {
- "description": "3 letter Currency code, as defined by ISO 4217.",
+ "description": "3 letter Currency code, as defined by ISO 4217.\nSee java/com/google/common/money/CurrencyCode.java",
"type": "string"
},
"priceMicros": {
- "description": "The price in millionths of the currency base unit represented as a string.",
+ "description": "Price in 1/million of the currency base unit, represented as a string.",
"type": "string"
}
},
"type": "object"
},
"ProductPurchase": {
- "description": "A ProductPurchase resource indicates the status of a user's inapp product purchase.",
+ "description": "A ProductPurchase resource indicates the status of a user's inapp\nproduct purchase.",
"id": "ProductPurchase",
"properties": {
"acknowledgementState": {
- "description": "The acknowledgement state of the inapp product. Possible values are: \n- Yet to be acknowledged \n- Acknowledged",
+ "description": "The acknowledgement state of the inapp product. Possible values are:\n0. Yet to be acknowledged\n1. Acknowledged",
"format": "int32",
"type": "integer"
},
"consumptionState": {
- "description": "The consumption state of the inapp product. Possible values are: \n- Yet to be consumed \n- Consumed",
+ "description": "The consumption state of the inapp product. Possible values are:\n0. Yet to be consumed\n1. Consumed",
"format": "int32",
"type": "integer"
},
"developerPayload": {
- "description": "A developer-specified string that contains supplemental information about an order.",
+ "description": "A developer-specified string that contains supplemental\ninformation about an order.",
"type": "string"
},
"kind": {
- "default": "androidpublisher#productPurchase",
- "description": "This kind represents an inappPurchase object in the androidpublisher service.",
+ "description": "This kind represents an inappPurchase object in the androidpublisher\nservice.",
+ "type": "string"
+ },
+ "obfuscatedExternalAccountId": {
+ "description": "An obfuscated version of the id that is uniquely associated with the\nuser's account in your app. Only present if specified using\nhttps://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedaccountid\nwhen the purchase was made.",
+ "type": "string"
+ },
+ "obfuscatedExternalProfileId": {
+ "description": "An obfuscated version of the id that is uniquely associated with the\nuser's profile in your app. Only present if specified using\nhttps://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedprofileid\nwhen the purchase was made.",
"type": "string"
},
"orderId": {
@@ -3314,12 +3368,12 @@
"type": "string"
},
"purchaseState": {
- "description": "The purchase state of the order. Possible values are: \n- Purchased \n- Canceled \n- Pending",
+ "description": "The purchase state of the order. Possible values are:\n0. Purchased\n1. Canceled\n2. Pending",
"format": "int32",
"type": "integer"
},
"purchaseTimeMillis": {
- "description": "The time the product was purchased, in milliseconds since the epoch (Jan 1, 1970).",
+ "description": "The time the product was purchased, in milliseconds since the\nepoch (Jan 1, 1970).",
"format": "int64",
"type": "string"
},
@@ -3328,7 +3382,7 @@
"type": "string"
},
"purchaseType": {
- "description": "The type of purchase of the inapp product. This field is only set if this purchase was not made using the standard in-app billing flow. Possible values are: \n- Test (i.e. purchased from a license testing account) \n- Promo (i.e. purchased using a promo code) \n- Rewarded (i.e. from watching a video ad instead of paying)",
+ "description": "The type of purchase of the inapp product. This field is only set if\nthis purchase was not made using the standard in-app billing flow.\nPossible values are:\n0. Test (i.e. purchased from a license testing account)\n1. Promo (i.e. purchased using a promo code)\n2. Rewarded (i.e. from watching a video ad instead of paying)",
"format": "int32",
"type": "integer"
},
@@ -3341,6 +3395,7 @@
"type": "object"
},
"ProductPurchasesAcknowledgeRequest": {
+ "description": "Request for the product.purchases.acknowledge API.",
"id": "ProductPurchasesAcknowledgeRequest",
"properties": {
"developerPayload": {
@@ -3351,6 +3406,7 @@
"type": "object"
},
"Review": {
+ "description": "An Android app review.",
"id": "Review",
"properties": {
"authorName": {
@@ -3372,6 +3428,7 @@
"type": "object"
},
"ReviewReplyResult": {
+ "description": "The result of replying/updating a reply to review.",
"id": "ReviewReplyResult",
"properties": {
"lastEdited": {
@@ -3386,122 +3443,76 @@
"type": "object"
},
"ReviewsListResponse": {
+ "description": "Response listing reviews.",
"id": "ReviewsListResponse",
"properties": {
"pageInfo": {
- "$ref": "PageInfo"
+ "$ref": "PageInfo",
+ "description": "Information about the current page."
},
"reviews": {
+ "description": "List of reviews.",
"items": {
"$ref": "Review"
},
"type": "array"
},
"tokenPagination": {
- "$ref": "TokenPagination"
+ "$ref": "TokenPagination",
+ "description": "Pagination token, to handle a number of products that is over one page."
}
},
"type": "object"
},
"ReviewsReplyRequest": {
+ "description": "Request to reply to review or update existing reply.",
"id": "ReviewsReplyRequest",
"properties": {
"replyText": {
- "description": "The text to set as the reply. Replies of more than approximately 350 characters will be rejected. HTML tags will be stripped.",
+ "description": "The text to set as the reply. Replies of more than approximately 350\ncharacters will be rejected. HTML tags will be stripped.",
"type": "string"
}
},
"type": "object"
},
"ReviewsReplyResponse": {
+ "description": "Response on status of replying to a review.",
"id": "ReviewsReplyResponse",
"properties": {
"result": {
- "$ref": "ReviewReplyResult"
- }
- },
- "type": "object"
- },
- "Sampling": {
- "id": "Sampling",
- "properties": {
- "modRanges": {
- "items": {
- "$ref": "ModRange"
- },
- "type": "array"
- },
- "modulus": {
- "format": "int64",
- "type": "string"
- },
- "salt": {
- "format": "int32",
- "type": "integer"
- },
- "stratifiedSamplings": {
- "items": {
- "$ref": "StratifiedSampling"
- },
- "type": "array"
- },
- "useAndroidId": {
- "type": "boolean"
- }
- },
- "type": "object"
- },
- "StratifiedSampling": {
- "id": "StratifiedSampling",
- "properties": {
- "modRanges": {
- "items": {
- "$ref": "ModRange"
- },
- "type": "array"
- },
- "stratum": {
- "$ref": "Stratum"
- }
- },
- "type": "object"
- },
- "Stratum": {
- "id": "Stratum",
- "properties": {
- "brand": {
- "type": "string"
+ "$ref": "ReviewReplyResult",
+ "description": "The result of replying/updating a reply to review."
}
},
"type": "object"
},
"SubscriptionCancelSurveyResult": {
- "description": "Information provided by the user when they complete the subscription cancellation flow (cancellation reason survey).",
+ "description": "Information provided by the user when they complete the subscription\ncancellation flow (cancellation reason survey).",
"id": "SubscriptionCancelSurveyResult",
"properties": {
"cancelSurveyReason": {
- "description": "The cancellation reason the user chose in the survey. Possible values are: \n- Other \n- I don't use this service enough \n- Technical issues \n- Cost-related reasons \n- I found a better app",
+ "description": "The cancellation reason the user chose in the survey.\nPossible values are:\n0. Other\n1. I don't use this service enough\n2. Technical issues\n3. Cost-related reasons\n4. I found a better app",
"format": "int32",
"type": "integer"
},
"userInputCancelReason": {
- "description": "The customized input cancel reason from the user. Only present when cancelReason is 0.",
+ "description": "The customized input cancel reason from the user. Only present when\ncancelReason is 0.",
"type": "string"
}
},
"type": "object"
},
"SubscriptionDeferralInfo": {
- "description": "A SubscriptionDeferralInfo contains the data needed to defer a subscription purchase to a future expiry time.",
+ "description": "A SubscriptionDeferralInfo contains the data needed to defer a\nsubscription purchase to a future expiry time.",
"id": "SubscriptionDeferralInfo",
"properties": {
"desiredExpiryTimeMillis": {
- "description": "The desired next expiry time to assign to the subscription, in milliseconds since the Epoch. The given time must be later/greater than the current expiry time for the subscription.",
+ "description": "The desired next expiry time to assign to the subscription, in\nmilliseconds since the Epoch. The given time must be later/greater\nthan the current expiry time for the subscription.",
"format": "int64",
"type": "string"
},
"expectedExpiryTimeMillis": {
- "description": "The expected expiry time for the subscription. If the current expiry time for the subscription is not the value specified here, the deferral will not occur.",
+ "description": "The expected expiry time for the subscription. If the current\nexpiry time for the subscription is not the value specified\nhere, the deferral will not occur.",
"format": "int64",
"type": "string"
}
@@ -3509,15 +3520,15 @@
"type": "object"
},
"SubscriptionPriceChange": {
- "description": "Contains the price change information for a subscription that can be used to control the user journey for the price change in the app. This can be in the form of seeking confirmation from the user or tailoring the experience for a successful conversion.",
+ "description": "Contains the price change information for a subscription that can be used to\ncontrol the user journey for the price change in the app. This can be in the\nform of seeking confirmation from the user or tailoring the experience for a\nsuccessful conversion.",
"id": "SubscriptionPriceChange",
"properties": {
"newPrice": {
"$ref": "Price",
- "description": "The new price the subscription will renew with if the price change is accepted by the user."
+ "description": "The new price the subscription will renew with if the price change is\naccepted by the user."
},
"state": {
- "description": "The current state of the price change. Possible values are: \n- Outstanding: State for a pending price change waiting for the user to agree. In this state, you can optionally seek confirmation from the user using the In-App API. \n- Accepted: State for an accepted price change that the subscription will renew with unless it's canceled. The price change takes effect on a future date when the subscription renews. Note that the change might not occur when the subscription is renewed next.",
+ "description": "The current state of the price change. Possible values are:\n0. Outstanding: State for a pending price change waiting for the user to\n agree. In this state, you can optionally seek confirmation from the\n user using the In-App API.\n1. Accepted: State for an accepted price change that the subscription\n will renew with unless it's canceled. The price change takes effect on\n a future date when the subscription renews. Note that the change might\n not occur when the subscription is renewed next.",
"format": "int32",
"type": "integer"
}
@@ -3525,125 +3536,132 @@
"type": "object"
},
"SubscriptionPurchase": {
- "description": "A SubscriptionPurchase resource indicates the status of a user's subscription purchase.",
+ "description": "A SubscriptionPurchase resource indicates the status of a user's\nsubscription purchase.",
"id": "SubscriptionPurchase",
"properties": {
"acknowledgementState": {
- "description": "The acknowledgement state of the subscription product. Possible values are: \n- Yet to be acknowledged \n- Acknowledged",
+ "description": "The acknowledgement state of the subscription product. Possible values\nare:\n0. Yet to be acknowledged\n1. Acknowledged",
"format": "int32",
"type": "integer"
},
"autoRenewing": {
- "description": "Whether the subscription will automatically be renewed when it reaches its current expiry time.",
+ "description": "Whether the subscription will automatically be renewed when it\nreaches its current expiry time.",
"type": "boolean"
},
"autoResumeTimeMillis": {
- "description": "Time at which the subscription will be automatically resumed, in milliseconds since the Epoch. Only present if the user has requested to pause the subscription.",
+ "description": "Time at which the subscription will be automatically resumed, in\nmilliseconds since the Epoch. Only present if the user has requested to\npause the subscription.",
"format": "int64",
"type": "string"
},
"cancelReason": {
- "description": "The reason why a subscription was canceled or is not auto-renewing. Possible values are: \n- User canceled the subscription \n- Subscription was canceled by the system, for example because of a billing problem \n- Subscription was replaced with a new subscription \n- Subscription was canceled by the developer",
+ "description": "The reason why a subscription was canceled or is not auto-renewing.\nPossible values are:\n0. User canceled the subscription\n1. Subscription was canceled by the system,\n for example because of a billing problem\n2. Subscription was replaced with a new subscription\n3. Subscription was canceled by the developer",
"format": "int32",
"type": "integer"
},
"cancelSurveyResult": {
"$ref": "SubscriptionCancelSurveyResult",
- "description": "Information provided by the user when they complete the subscription cancellation flow (cancellation reason survey)."
+ "description": "Information provided by the user when they complete the subscription\ncancellation flow (cancellation reason survey)."
},
"countryCode": {
- "description": "ISO 3166-1 alpha-2 billing country/region code of the user at the time the subscription was granted.",
+ "description": "ISO 3166-1 alpha-2 billing country/region code of the user at the time\nthe subscription was granted.",
"type": "string"
},
"developerPayload": {
- "description": "A developer-specified string that contains supplemental information about an order.",
+ "description": "A developer-specified string that contains supplemental\ninformation about an order.",
"type": "string"
},
"emailAddress": {
- "description": "The email address of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'.",
+ "description": "The email address of the user when the subscription was purchased.\nOnly present for purchases made with 'Subscribe with Google'.",
"type": "string"
},
"expiryTimeMillis": {
- "description": "Time at which the subscription will expire, in milliseconds since the Epoch.",
+ "description": "Time at which the subscription will expire, in milliseconds\nsince the Epoch.",
"format": "int64",
"type": "string"
},
"externalAccountId": {
- "description": "User account identifier in the third-party service. Only present if account linking happened as part of the subscription purchase flow.",
+ "description": "User account identifier in the third-party service.\nOnly present if account linking happened as part of the subscription\npurchase flow.",
"type": "string"
},
"familyName": {
- "description": "The family name of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'.",
+ "description": "The family name of the user when the subscription was purchased.\nOnly present for purchases made with 'Subscribe with Google'.",
"type": "string"
},
"givenName": {
- "description": "The given name of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'.",
+ "description": "The given name of the user when the subscription was purchased.\nOnly present for purchases made with 'Subscribe with Google'.",
"type": "string"
},
"introductoryPriceInfo": {
"$ref": "IntroductoryPriceInfo",
- "description": "Introductory price information of the subscription. This is only present when the subscription was purchased with an introductory price.\n\nThis field does not indicate the subscription is currently in introductory price period."
+ "description": "Introductory price information of the subscription. This is only present\nwhen the subscription was purchased with an introductory price.\n\nThis field does not indicate the subscription is currently in introductory\nprice period."
},
"kind": {
- "default": "androidpublisher#subscriptionPurchase",
- "description": "This kind represents a subscriptionPurchase object in the androidpublisher service.",
+ "description": "This kind represents a subscriptionPurchase object in the androidpublisher\nservice.",
"type": "string"
},
"linkedPurchaseToken": {
- "description": "The purchase token of the originating purchase if this subscription is one of the following: \n- Re-signup of a canceled but non-lapsed subscription \n- Upgrade/downgrade from a previous subscription For example, suppose a user originally signs up and you receive purchase token X, then the user cancels and goes through the resignup flow (before their subscription lapses) and you receive purchase token Y, and finally the user upgrades their subscription and you receive purchase token Z. If you call this API with purchase token Z, this field will be set to Y. If you call this API with purchase token Y, this field will be set to X. If you call this API with purchase token X, this field will not be set.",
+ "description": "The purchase token of the originating purchase if this subscription\nis one of the following:\n0. Re-signup of a canceled but non-lapsed subscription\n1. Upgrade/downgrade from a previous subscription\n\nFor example, suppose a user originally signs up and you receive\npurchase token X, then the user cancels and goes through the\nresignup flow (before their subscription lapses) and you receive\npurchase token Y, and finally the user upgrades their subscription\nand you receive purchase token Z. If you call this API with purchase\ntoken Z, this field will be set to Y. If you call this API with\npurchase token Y, this field will be set to X. If you call this API\nwith purchase token X, this field will not be set.",
+ "type": "string"
+ },
+ "obfuscatedExternalAccountId": {
+ "description": "An obfuscated version of the id that is uniquely associated with the\nuser's account in your app. Present for the following purchases:\n * If account linking happened as part of the subscription purchase flow.\n * It was specified using\n https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedaccountid\n when the purchase was made.",
+ "type": "string"
+ },
+ "obfuscatedExternalProfileId": {
+ "description": "An obfuscated version of the id that is uniquely associated with the\nuser's profile in your app. Only present if specified using\nhttps://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedprofileid\nwhen the purchase was made.",
"type": "string"
},
"orderId": {
- "description": "The order id of the latest recurring order associated with the purchase of the subscription.",
+ "description": "The order id of the latest recurring order associated with\nthe purchase of the subscription.",
"type": "string"
},
"paymentState": {
- "description": "The payment state of the subscription. Possible values are: \n- Payment pending \n- Payment received \n- Free trial \n- Pending deferred upgrade/downgrade",
+ "description": "The payment state of the subscription. Possible values are:\n0. Payment pending\n1. Payment received\n2. Free trial\n3. Pending deferred upgrade/downgrade",
"format": "int32",
"type": "integer"
},
"priceAmountMicros": {
- "description": "Price of the subscription, not including tax. Price is expressed in micro-units, where 1,000,000 micro-units represents one unit of the currency. For example, if the subscription price is \u20ac1.99, price_amount_micros is 1990000.",
+ "description": "Price of the subscription, not including tax. Price is expressed\nin micro-units, where 1,000,000 micro-units represents one unit of\nthe currency. For example, if the subscription price is €1.99,\nprice_amount_micros is 1990000.",
"format": "int64",
"type": "string"
},
"priceChange": {
"$ref": "SubscriptionPriceChange",
- "description": "The latest price change information available. This is present only when there is an upcoming price change for the subscription yet to be applied.\n\nOnce the subscription renews with the new price or the subscription is canceled, no price change information will be returned."
+ "description": "The latest price change information available. This is present only when\nthere is an upcoming price change for the subscription yet to be applied.\n\nOnce the subscription renews with the new price or the subscription is\ncanceled, no price change information will be returned."
},
"priceCurrencyCode": {
- "description": "ISO 4217 currency code for the subscription price. For example, if the price is specified in British pounds sterling, price_currency_code is \"GBP\".",
+ "description": "ISO 4217 currency code for the subscription price. For example,\nif the price is specified in British pounds sterling,\nprice_currency_code is \"GBP\".",
"type": "string"
},
"profileId": {
- "description": "The Google profile id of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'.",
+ "description": "The Google profile id of the user when the subscription was purchased.\nOnly present for purchases made with 'Subscribe with Google'.",
"type": "string"
},
"profileName": {
- "description": "The profile name of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'.",
+ "description": "The profile name of the user when the subscription was purchased.\nOnly present for purchases made with 'Subscribe with Google'.",
"type": "string"
},
"promotionCode": {
- "description": "The promotion code applied on this purchase. This field is only set if a vanity code promotion is applied when the subscription was purchased.",
+ "description": "The promotion code applied on this purchase. This field is only set if\na vanity code promotion is applied when the subscription was purchased.",
"type": "string"
},
"promotionType": {
- "description": "The type of promotion applied on this purchase. This field is only set if a promotion is applied when the subscription was purchased. Possible values are: \n- One time code \n- Vanity code",
+ "description": "The type of promotion applied on this purchase. This field is only set if\na promotion is applied when the subscription was purchased. Possible\nvalues are:\n0. One time code\n1. Vanity code",
"format": "int32",
"type": "integer"
},
"purchaseType": {
- "description": "The type of purchase of the subscription. This field is only set if this purchase was not made using the standard in-app billing flow. Possible values are: \n- Test (i.e. purchased from a license testing account) \n- Promo (i.e. purchased using a promo code)",
+ "description": "The type of purchase of the subscription. This field is only set if\nthis purchase was not made using the standard in-app billing flow.\nPossible values are:\n0. Test (i.e. purchased from a license testing account)\n1. Promo (i.e. purchased using a promo code)",
"format": "int32",
"type": "integer"
},
"startTimeMillis": {
- "description": "Time at which the subscription was granted, in milliseconds since the Epoch.",
+ "description": "Time at which the subscription was granted, in milliseconds\nsince the Epoch.",
"format": "int64",
"type": "string"
},
"userCancellationTimeMillis": {
- "description": "The time at which the subscription was canceled by the user, in milliseconds since the epoch. Only present if cancelReason is 0.",
+ "description": "The time at which the subscription was canceled by the user, in\nmilliseconds since the epoch. Only present if cancelReason is 0.",
"format": "int64",
"type": "string"
}
@@ -3651,6 +3669,7 @@
"type": "object"
},
"SubscriptionPurchasesAcknowledgeRequest": {
+ "description": "Request for the purchases.subscriptions.acknowledge API.",
"id": "SubscriptionPurchasesAcknowledgeRequest",
"properties": {
"developerPayload": {
@@ -3661,6 +3680,7 @@
"type": "object"
},
"SubscriptionPurchasesDeferRequest": {
+ "description": "Request for the purchases.subscriptions.defer API.",
"id": "SubscriptionPurchasesDeferRequest",
"properties": {
"deferralInfo": {
@@ -3671,6 +3691,7 @@
"type": "object"
},
"SubscriptionPurchasesDeferResponse": {
+ "description": "Response for the purchases.subscriptions.defer API.",
"id": "SubscriptionPurchasesDeferResponse",
"properties": {
"newExpiryTimeMillis": {
@@ -3681,19 +3702,12 @@
},
"type": "object"
},
- "SystemApkVariantsCreateRequest": {
- "id": "SystemApkVariantsCreateRequest",
- "properties": {
- "deviceSpec": {
- "$ref": "DeviceSpec"
- }
- },
- "type": "object"
- },
- "SystemApkVariantsListResponse": {
- "id": "SystemApkVariantsListResponse",
+ "SystemApksListResponse": {
+ "description": "Response to list previously created system APK variants.",
+ "id": "SystemApksListResponse",
"properties": {
"variants": {
+ "description": "All system APK variants created.",
"items": {
"$ref": "Variant"
},
@@ -3703,28 +3717,11 @@
"type": "object"
},
"Testers": {
+ "description": "The testers of an app. The resource for TestersService.",
"id": "Testers",
"properties": {
- "autoEnrolledAndroidGroups": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "autoEnrolledGoogleGroups": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "excludedGoogleGroups": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
"googleGroups": {
- "description": "A list of all Google Groups, as email addresses, that define testers for this track.",
+ "description": "All testing Google Groups, as email addresses.",
"items": {
"type": "string"
},
@@ -3734,13 +3731,16 @@
"type": "object"
},
"Timestamp": {
+ "description": "A Timestamp represents a point in time independent of any time zone or local\ncalendar, encoded as a count of seconds and fractions of seconds at\nnanosecond resolution. The count is relative to an epoch at UTC midnight on\nJanuary 1, 1970.",
"id": "Timestamp",
"properties": {
"nanos": {
+ "description": "Non-negative fractions of a second at nanosecond resolution.\nMust be from 0 to 999,999,999 inclusive.",
"format": "int32",
"type": "integer"
},
"seconds": {
+ "description": "Represents seconds of UTC time since Unix epoch.",
"format": "int64",
"type": "string"
}
@@ -3748,9 +3748,11 @@
"type": "object"
},
"TokenPagination": {
+ "description": "Pagination information returned by a List operation when token pagination\nis enabled.\n\nList operations that supports paging return only one \"page\" of results. This\nprotocol buffer message describes the page that has been returned.\n\nWhen using token pagination, clients should use the next/previous token\nto get another page of the result. The presence or absence of next/previous\ntoken indicates whether a next/previous page is available and provides a\nmean of accessing this page. ListRequest.page_token should be set to either\nnext_page_token or previous_page_token to access another page.",
"id": "TokenPagination",
"properties": {
"nextPageToken": {
+ "description": "Tokens to pass to the standard list field 'page_token'. Whenever available,\ntokens are preferred over manipulating start_index.",
"type": "string"
},
"previousPageToken": {
@@ -3760,73 +3762,72 @@
"type": "object"
},
"Track": {
+ "description": "A track configuration. The resource for TracksService.",
"id": "Track",
"properties": {
"releases": {
- "description": "A list of all active releases in this track during a read request. On an update request, it represents desired changes.",
+ "description": "In a read request, represents all active releases in the track.\nIn an update request, represents desired changes.",
"items": {
"$ref": "TrackRelease"
},
"type": "array"
},
"track": {
- "description": "Identifier for this track.",
+ "description": "Identifier of the track.",
"type": "string"
}
},
"type": "object"
},
"TrackRelease": {
+ "description": "A release within a track.",
"id": "TrackRelease",
"properties": {
- "controls": {
- "items": {
- "$ref": "Control"
- },
- "type": "array"
- },
"countryTargeting": {
- "$ref": "CountryTargeting"
+ "$ref": "CountryTargeting",
+ "description": "Restricts a release to a specific set of countries."
},
"inAppUpdatePriority": {
- "description": "In-app update priority of the release. All newly added APKs in the release will be considered at this priority. in_app_update_priority can take values between [0, 5]. 5 is the highest priority. Default priority is 0. See https://developer.android.com/guide/playcore/in-app-updates.",
+ "description": "In-app update priority of the release. All newly added APKs in the\nrelease will be considered at this priority. Can take values in the range\n[0, 5], with 5 the highest priority. Defaults to 0.\nin_app_update_priority can not be updated once the release is rolled out.\nSee https://developer.android.com/guide/playcore/in-app-updates.",
"format": "int32",
"type": "integer"
},
"name": {
- "description": "The release name, used to identify this release in the Play Console UI. Not required to be unique. This is optional, if not set it will be generated from the version_name in the APKs.",
+ "description": "The release name. Not required to be unique. If not set, the name is\ngenerated from the APK's version_name. If the release contains multiple\nAPKs, the name is generated from the date.",
"type": "string"
},
- "pinnedVersions": {
- "items": {
- "$ref": "TrackReleasePin"
- },
- "type": "array"
- },
"releaseNotes": {
- "description": "The description of what is new in the app in this release.",
+ "description": "A description of what is new in this release.",
"items": {
"$ref": "LocalizedText"
},
"type": "array"
},
- "rollbackEnabled": {
- "type": "boolean"
- },
- "sampling": {
- "$ref": "Sampling"
- },
"status": {
- "description": "The desired status of this release.",
+ "description": "The status of the release.",
+ "enum": [
+ "statusUnspecified",
+ "draft",
+ "inProgress",
+ "halted",
+ "completed"
+ ],
+ "enumDescriptions": [
+ "Unspecified status.",
+ "The release's APKs are not being served to users.",
+ "The release's APKs are being served to a fraction of users, determined by\n'user_fraction'.",
+ "The release's APKs will no longer be served to users. Users who already\nhave these APKs are unaffected.",
+ "The release will have no further changes. Its APKs are being served to\nall users, unless they are eligible to APKs of a more recent release."
+ ],
"type": "string"
},
"userFraction": {
- "description": "Fraction of users who are eligible to receive the release. 0 < fraction < 1. To be set, release status must be \"inProgress\" or \"halted\".",
+ "description": "Fraction of users who are eligible for a staged release. 0 < fraction < 1.\nCan only be set when status is \"inProgress\" or \"halted\".",
"format": "double",
"type": "number"
},
"versionCodes": {
- "description": "A list of all version codes of APKs that will be exposed to the users of this track when this release is rolled out. Note that this list should contain all versions you wish to be active, including those you wish to retain from previous releases.",
+ "description": "Version codes of all APKs in the release. Must include version codes to\nretain from previous releases.",
"items": {
"format": "int64",
"type": "string"
@@ -3836,81 +3837,16 @@
},
"type": "object"
},
- "TrackReleasePin": {
- "id": "TrackReleasePin",
- "properties": {
- "targetings": {
- "items": {
- "$ref": "TrackReleasePinPinTargeting"
- },
- "type": "array"
- },
- "versionCodes": {
- "items": {
- "format": "int64",
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "TrackReleasePinPinTargeting": {
- "id": "TrackReleasePinPinTargeting",
- "properties": {
- "countryCodes": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "devices": {
- "items": {
- "$ref": "TrackReleasePinPinTargetingDevicePin"
- },
- "type": "array"
- },
- "phoneskyVersions": {
- "items": {
- "format": "int64",
- "type": "string"
- },
- "type": "array"
- },
- "sdkVersions": {
- "items": {
- "format": "int32",
- "type": "integer"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "TrackReleasePinPinTargetingDevicePin": {
- "id": "TrackReleasePinPinTargetingDevicePin",
- "properties": {
- "brand": {
- "type": "string"
- },
- "device": {
- "type": "string"
- },
- "product": {
- "type": "string"
- }
- },
- "type": "object"
- },
"TracksListResponse": {
+ "description": "Response listing all tracks.",
"id": "TracksListResponse",
"properties": {
"kind": {
- "default": "androidpublisher#tracksListResponse",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"androidpublisher#tracksListResponse\".",
+ "description": "The kind of this response (\"androidpublisher#tracksListResponse\").",
"type": "string"
},
"tracks": {
+ "description": "All tracks.",
"items": {
"$ref": "Track"
},
@@ -3920,20 +3856,21 @@
"type": "object"
},
"UserComment": {
+ "description": "User entry from conversation between user and developer.",
"id": "UserComment",
"properties": {
"androidOsVersion": {
- "description": "Integer Android SDK version of the user's device at the time the review was written, e.g. 23 is Marshmallow. May be absent.",
+ "description": "Integer Android SDK version of the user's device at the time the\nreview was written, e.g. 23 is Marshmallow. May be absent.",
"format": "int32",
"type": "integer"
},
"appVersionCode": {
- "description": "Integer version code of the app as installed at the time the review was written. May be absent.",
+ "description": "Integer version code of the app as installed at the time the\nreview was written. May be absent.",
"format": "int32",
"type": "integer"
},
"appVersionName": {
- "description": "String version name of the app as installed at the time the review was written. May be absent.",
+ "description": "String version name of the app as installed at the time the\nreview was written. May be absent.",
"type": "string"
},
"device": {
@@ -3942,18 +3879,18 @@
},
"deviceMetadata": {
"$ref": "DeviceMetadata",
- "description": "Some information about the characteristics of the user's device"
+ "description": "Information about the characteristics of the user's device."
},
"lastModified": {
"$ref": "Timestamp",
"description": "The last time at which this comment was updated."
},
"originalText": {
- "description": "Untranslated text of the review, in the case where the review has been translated. If the review has not been translated this is left blank.",
+ "description": "Untranslated text of the review, where the review was translated.\nIf the review was not translated this is left blank.",
"type": "string"
},
"reviewerLanguage": {
- "description": "Language code for the reviewer. This is taken from the device settings so is not guaranteed to match the language the review is written in. May be absent.",
+ "description": "Language code for the reviewer. This is taken from the device\nsettings so is not guaranteed to match the language the review\nis written in. May be absent.",
"type": "string"
},
"starRating": {
@@ -3962,30 +3899,48 @@
"type": "integer"
},
"text": {
- "description": "The content of the comment, i.e. review body. In some cases users have been able to write a review with separate title and body; in those cases the title and body are concatenated and separated by a tab character.",
+ "description": "The content of the comment, i.e. review body. In some cases\nusers have been able to write a review with separate title and\nbody; in those cases the title and body are concatenated and\nseparated by a tab character.",
"type": "string"
},
"thumbsDownCount": {
- "description": "Number of users who have given this review a thumbs down",
+ "description": "Number of users who have given this review a thumbs down.",
"format": "int32",
"type": "integer"
},
"thumbsUpCount": {
- "description": "Number of users who have given this review a thumbs up",
+ "description": "Number of users who have given this review a thumbs up.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
+ "UsesPermission": {
+ "description": "A permission used by this APK.",
+ "id": "UsesPermission",
+ "properties": {
+ "maxSdkVersion": {
+ "description": "Optionally, the maximum SDK version for which the permission is\nrequired.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "name": {
+ "description": "The name of the permission requested.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Variant": {
- "description": "Represents the variant of a generated system APK from an uploaded App Bundle.",
+ "description": "APK that is suitable for inclusion in a system image. The resource of\nSystemApksService.",
"id": "Variant",
"properties": {
"deviceSpec": {
- "$ref": "DeviceSpec"
+ "$ref": "DeviceSpec",
+ "description": "The device spec used to generate the APK."
},
"variantId": {
+ "description": "Output only. The ID of a previously created system APK variant.",
"format": "uint32",
"type": "integer"
}
@@ -3993,39 +3948,38 @@
"type": "object"
},
"VoidedPurchase": {
- "description": "A VoidedPurchase resource indicates a purchase that was either canceled/refunded/charged-back.",
+ "description": "A VoidedPurchase resource indicates a purchase that was either\ncanceled/refunded/charged-back.",
"id": "VoidedPurchase",
"properties": {
"kind": {
- "default": "androidpublisher#voidedPurchase",
- "description": "This kind represents a voided purchase object in the androidpublisher service.",
+ "description": "This kind represents a voided purchase object in the androidpublisher\nservice.",
"type": "string"
},
"orderId": {
- "description": "The order id which uniquely identifies a one-time purchase, subscription purchase, or subscription renewal.",
+ "description": "The order id which uniquely identifies a one-time purchase, subscription\npurchase, or subscription renewal.",
"type": "string"
},
"purchaseTimeMillis": {
- "description": "The time at which the purchase was made, in milliseconds since the epoch (Jan 1, 1970).",
+ "description": "The time at which the purchase was made, in milliseconds since the\nepoch (Jan 1, 1970).",
"format": "int64",
"type": "string"
},
"purchaseToken": {
- "description": "The token which uniquely identifies a one-time purchase or subscription. To uniquely identify subscription renewals use order_id (available starting from version 3 of the API).",
+ "description": "The token which uniquely identifies a one-time purchase or subscription.\nTo uniquely identify subscription renewals use order_id (available\nstarting from version 3 of the API).",
"type": "string"
},
"voidedReason": {
- "description": "The reason why the purchase was voided, possible values are: \n- Other \n- Remorse \n- Not_received \n- Defective \n- Accidental_purchase \n- Fraud \n- Friendly_fraud \n- Chargeback",
+ "description": "The reason why the purchase was voided, possible values are:\n0. Other\n1. Remorse\n2. Not_received\n3. Defective\n4. Accidental_purchase\n5. Fraud\n6. Friendly_fraud\n7. Chargeback",
"format": "int32",
"type": "integer"
},
"voidedSource": {
- "description": "The initiator of voided purchase, possible values are: \n- User \n- Developer \n- Google",
+ "description": "The initiator of voided purchase, possible values are:\n0. User\n1. Developer\n2. Google",
"format": "int32",
"type": "integer"
},
"voidedTimeMillis": {
- "description": "The time at which the purchase was canceled/refunded/charged-back, in milliseconds since the epoch (Jan 1, 1970).",
+ "description": "The time at which the purchase was canceled/refunded/charged-back,\nin milliseconds since the epoch (Jan 1, 1970).",
"format": "int64",
"type": "string"
}
@@ -4033,13 +3987,16 @@
"type": "object"
},
"VoidedPurchasesListResponse": {
+ "description": "Response for the voidedpurchases.list API.",
"id": "VoidedPurchasesListResponse",
"properties": {
"pageInfo": {
- "$ref": "PageInfo"
+ "$ref": "PageInfo",
+ "description": "General pagination information."
},
"tokenPagination": {
- "$ref": "TokenPagination"
+ "$ref": "TokenPagination",
+ "description": "Pagination information for token pagination."
},
"voidedPurchases": {
"items": {
@@ -4051,7 +4008,7 @@
"type": "object"
}
},
- "servicePath": "androidpublisher/v3/applications/",
- "title": "Google Play Developer API",
+ "servicePath": "",
+ "title": "Google Play Android Developer API",
"version": "v3"
}
\ No newline at end of file
diff --git a/etc/api/api-list.yaml b/etc/api/api-list.yaml
index 25c9a0ca07..e118dbc1d9 100644
--- a/etc/api/api-list.yaml
+++ b/etc/api/api-list.yaml
@@ -8,6 +8,7 @@ api:
acceleratedmobilepageurl:
- v1
accessapproval:
+ - v1
- v1beta1
accesscontextmanager:
- v1
@@ -24,6 +25,8 @@ api:
admin:
- directory_v1
- reports_v1
+ admob:
+ - v1
adsense:
- v1.4
adsensehost:
@@ -43,6 +46,8 @@ api:
androidpublisher:
- v2
- v3
+ apigee:
+ - v1
appengine:
- v1
- v1beta4
@@ -51,17 +56,26 @@ api:
- v1
appstate:
- v1
+ artifactregistry:
+ - v1beta1
audit:
- v1
autoscaler:
- v1beta2
bigquery:
- v2
+ bigqueryconnection:
+ - v1beta1
bigquerydatatransfer:
- v1
+ bigqueryreservation:
+ - v1
bigtableadmin:
- v2
+ billingbudgets:
+ - v1beta1
binaryauthorization:
+ - v1
- v1beta1
blogger:
- v3
@@ -71,6 +85,8 @@ api:
- v3
chat:
- v1
+ chromeuxreport:
+ - v1
civicinfo:
- v2
classroom:
@@ -144,6 +160,8 @@ api:
- v1
customsearch:
- v1
+ datacatalog:
+ - v1beta1
dataflow:
- v1b4
datafusion:
@@ -161,6 +179,7 @@ api:
- v3.0
- v3.2
- v3.3
+ - v3.4
dialogflow:
- v2
- v2beta1
@@ -168,13 +187,22 @@ api:
- v1
discovery:
- v1
+ displayvideo:
+ - v1
dlp:
- v2
- v2beta1
dns:
- v1
+ docs:
+ - v1
+ documentai:
+ - v1beta2
+ domainsrdap:
+ - v1
doubleclickbidmanager:
- v1
+ - v1.1
doubleclicksearch:
- v2
drive:
@@ -194,7 +222,10 @@ api:
firebasedynamiclinks:
- v1
firebasehosting:
+ - v1
- v1beta1
+ firebaseml:
+ - v1
firebaseremoteconfig:
- v1
firebaserules:
@@ -212,6 +243,8 @@ api:
- v1
gamesconfiguration:
- v1configuration
+ gameservices:
+ - v1
gamesmanagement:
- v1management
gan:
@@ -220,12 +253,17 @@ api:
- v1
gmail:
- v1
+ gmailpostmastertools:
+ - v1beta1
groupsmigration:
- v1
groupssettings:
- v1
healthcare:
+ - v1
- v1beta1
+ homegraph:
+ - v1
iam:
- v1
iamcredentials:
@@ -248,15 +286,21 @@ api:
- v1
licensing:
- v1
+ lifesciences:
+ - v2beta
logging:
- v2
- v2beta1
+ managedidentities:
+ - v1
manager:
- v1beta2
manufacturers:
- v1
mapsengine:
- v1
+ memcache:
+ - v1beta2
mirror:
- v1
ml:
@@ -265,10 +309,14 @@ api:
- v3
mybusiness:
- v4
+ networkmanagement:
+ - v1
oauth2:
- v2
osconfig:
+ - v1
- v1alpha2
+ - v1beta
oslogin:
- v1
- v1beta
@@ -282,6 +330,8 @@ api:
- v1
photoslibrary:
- v1
+ playablelocations:
+ - v3
playcustomapp:
- v1
playmoviespartner:
@@ -290,10 +340,14 @@ api:
- v1
plusdomains:
- v1
+ policytroubleshooter:
+ - v1
poly:
- v1
prediction:
- v1.6
+ prod_tt_sasportal:
+ - v1alpha1
proximitybeacon:
- v1beta1
pubsub:
@@ -301,6 +355,11 @@ api:
- v1beta2
qpxexpress:
- v1
+ realtimebidding:
+ - v1
+ recommender:
+ - v1
+ - v1beta1
redis:
- v1
remotebuildexecution:
@@ -320,10 +379,15 @@ api:
- v1beta1
safebrowsing:
- v4
+ sasportal:
+ - v1alpha1
script:
- v1
searchconsole:
- v1
+ secretmanager:
+ - v1
+ - v1beta1
securitycenter:
- v1
servicebroker:
@@ -332,6 +396,9 @@ api:
- v1
servicecontrol:
- v1
+ - v2
+ servicedirectory:
+ - v1beta1
servicemanagement:
- v1
servicenetworking:
@@ -358,6 +425,8 @@ api:
speech:
- v1
- v1beta1
+ sql:
+ - v1beta4
sqladmin:
- v1beta4
storage:
@@ -380,16 +449,24 @@ api:
texttospeech:
- v1
toolresults:
+ - v1
- v1beta3
tpu:
- v1
- v1alpha1
+ trafficdirector:
+ - v2
translate:
- v2
+ - v3
urlshortener:
- v1
vault:
- v1
+ vectortile:
+ - v1
+ verifiedaccess:
+ - v1
videointelligence:
- v1
- v1beta1
diff --git a/etc/api/apigee/v1/apigee-api.json b/etc/api/apigee/v1/apigee-api.json
new file mode 100644
index 0000000000..b83c10dbdb
--- /dev/null
+++ b/etc/api/apigee/v1/apigee-api.json
@@ -0,0 +1,7568 @@
+{
+ "auth": {
+ "oauth2": {
+ "scopes": {
+ "https://www.googleapis.com/auth/cloud-platform": {
+ "description": "View and manage your data across Google Cloud Platform services"
+ }
+ }
+ }
+ },
+ "basePath": "",
+ "baseUrl": "https://apigee.googleapis.com/",
+ "batchPath": "batch",
+ "canonicalName": "Apigee",
+ "description": "The Apigee API lets you programmatically manage Apigee hybrid with a set of RESTful operations, including:
",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/apiproducts/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}/attributes",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1Attributes"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Attributes"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "create": {
+ "description": "Creates an API product in an organization.\nYou create API products after\nyou have proxied backend services using API proxies.\nAn API product is a\ncollection of API resources combined with quota settings and metadata that\nyou can use to deliver customized and productized API bundles to your\ndeveloper community. This metadata can include:\n\n- Scope\n- Environments\n- API proxies\n- Extensible profile\n\nAPI products enable you repackage APIs\non-the-fly, without having to do any additional coding or configuration.\nApigee recommends that you start with a simple API product including only\nrequired elements. You then provision credentials to apps to enable them to\nstart testing your APIs.\n\nAfter you have authentication and authorization\nworking against a simple API product, you can iterate to create finer\ngrained API products, defining different sets of API resources for each API\nproduct.\n\n\n\nFor more information, see {{what_api_product}}",
+ "flatPath": "v1/organizations/{organizationsId}/apiproducts",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.apiproducts.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The parent organization name under which the API product will\nbe created. Must be in the following form:\n
organizations/organization_ID
",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/apiproducts",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1ApiProduct"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ApiProduct"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Deletes an API product from an organization.\n\nDeleting an API product\ncauses app requests to the resource URIs defined in the API product to\nfail.\n\nEnsure that you create a new API product to serve existing apps, unless\nyour intention is to disable access to the resources defined in the API\nproduct.\n\nThe API product name required in the request URL is the internal name of\nthe product, not the display name. While they may be the same, it depends\non whether the API product was created via the UI or the API. View the list\nof API products to verify the internal name.",
+ "flatPath": "v1/organizations/{organizationsId}/apiproducts/{apiproductsId}",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.apiproducts.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. API product name in the following form:\n
",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/apiproducts/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ApiProduct"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets configuration details for an API product.\n\nThe API product name required in the request URL is the internal name of\nthe product, not the display name. While they may be the same, it depends\non whether the API product was created via the UI or the API. View the list\nof API products to verify the internal name.",
+ "flatPath": "v1/organizations/{organizationsId}/apiproducts/{apiproductsId}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.apiproducts.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "**Required.** API product name in the following form:\n
",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/apiproducts/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ApiProduct"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "list": {
+ "description": "Lists all API product names for an organization.\nFilter the list by passing an `attributename` and `attibutevalue`.\n\nThe limit on the number of API products returned by the API is 1000. You\ncan paginate the list of API products returned using the `startKey` and\n`count` query parameters.",
+ "flatPath": "v1/organizations/{organizationsId}/apiproducts",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.apiproducts.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "attributename": {
+ "description": "The name of the attribute to search.",
+ "location": "query",
+ "type": "string"
+ },
+ "attributevalue": {
+ "description": "The value of the attribute.",
+ "location": "query",
+ "type": "string"
+ },
+ "count": {
+ "description": "Enter the number of API products you want returned in the API call. The\nlimit is 1000.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "expand": {
+ "description": "Set to `true` to get expanded details about each API.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "parent": {
+ "description": "**Required.** The parent organization name in the following form:\n
organizations/organization_ID
",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "startKey": {
+ "description": "Gets a list of API products starting with a specific API product in the\nlist. For example, if you're returning 50 API products at a time (using the\n`count` query parameter), you can view products 50-99 by entering the name\nof the 50th API product in the first API (without using `startKey`).\nProduct name is case sensitive.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/apiproducts",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ListApiProductsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "update": {
+ "description": "Updates an existing API product. You must include all required values,\nwhether or not you are updating them, as well as any optional values that\nyou are updating.\n\nThe API product name required in the request URL is the\ninternal name of the product, not the Display Name. While they may be the\nsame, it depends on whether the API product was created via UI or API. View\nthe list of API products to identify their internal names.",
+ "flatPath": "v1/organizations/{organizationsId}/apiproducts/{apiproductsId}",
+ "httpMethod": "PUT",
+ "id": "apigee.organizations.apiproducts.update",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "**Required.** API product name in the following form:\n
",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/apiproducts/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/attributes",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Attributes"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "updateApiProductAttribute": {
+ "description": "Updates the value of an API product attribute. Limitations are:\n\nOAuth access tokens and Key Management Service (KMS) entities (apps,\ndevelopers, and API products) are cached for 180 seconds (current default).\nAny custom attributes associated with entities also get cached for at least\n180 seconds after entity is accessed during runtime.\nIn this case, the `ExpiresIn` element on the OAuthV2 policy won't be able\nto expire an access token in less than 180 seconds.",
+ "flatPath": "v1/organizations/{organizationsId}/apiproducts/{apiproductsId}/attributes/{attributesId}",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.apiproducts.attributes.updateApiProductAttribute",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "**Required.** API product name in the following form:\n
",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/apiproducts/[^/]+/attributes/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1Attribute"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Attribute"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "apis": {
+ "methods": {
+ "create": {
+ "description": "Creates an API proxy.\nThe API proxy created will not be accessible at runtime until it is\ndeployed to an environment.\n\nCreate a new API proxy by setting the `name` query parameter to the\nname of the API proxy.\n\nImport an API proxy configuration bundle stored in zip format\non your local machine to your organization by doing the following:\n\n* Set the `name` query parameter to the name of the API proxy.\n* Set the `action` query parameter to `import`.\n* Set the `Content-Type` header to `multipart/form-data`.\n* Pass as a file the name of API proxy\n configuration bundle stored in zip format on your local machine using\n the `file` form field.\n\n**Note**: To validate the API proxy configuration bundle only\n without importing it, set the `action` query\n parameter to `validate`.\n\nWhen importing an API proxy configuration bundle, if the API proxy\ndoes not exist, it will be created.\nIf the API proxy exists, then a new revision is created. Invalid API\nproxy configurations are rejected, and a list of validation errors is\nreturned to the client.",
+ "flatPath": "v1/organizations/{organizationsId}/apis",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.apis.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "action": {
+ "description": "Action to perform when importing an API proxy configuration bundle. Set\nthis parameter to one of the following values:\n\n* `import` to import the API proxy configuration bundle.\n* `validate` to validate the API proxy configuration bundle without\n importing it.",
+ "location": "query",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name of the API proxy. Restrict the characters used to: A-Za-z0-9._-",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. Name of the organization in the following format:\n `organizations/{org}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "validate": {
+ "description": "Ignored. All uploads are validated regardless of the value of this\nfield. Maintained for compatibility with Apigee Edge API.",
+ "location": "query",
+ "type": "boolean"
+ }
+ },
+ "path": "v1/{+parent}/apis",
+ "request": {
+ "$ref": "GoogleApiHttpBody"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ApiProxyRevision"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Deletes an API proxy and all associated endpoints, policies, resources, and\nrevisions. The API proxy must be undeployed before you can delete it.",
+ "flatPath": "v1/organizations/{organizationsId}/apis/{apisId}",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.apis.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name of the API proxy in the following format:\n `organizations/{org}/apis/{api}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/apis/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ApiProxy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets an API proxy including a list of existing revisions.",
+ "flatPath": "v1/organizations/{organizationsId}/apis/{apisId}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.apis.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name of the API proxy in the following format:\n `organizations/{org}/apis/{api}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/apis/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ApiProxy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "list": {
+ "description": "Lists the names of all API proxies in an organization. The names returned\ncorrespond to the names defined in the configuration files for each API\nproxy.",
+ "flatPath": "v1/organizations/{organizationsId}/apis",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.apis.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "includeMetaData": {
+ "description": "Flag that specifies whether to include API proxy metadata in the response.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "includeRevisions": {
+ "description": "Flag that specifies whether to include a list of revisions in the response.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "parent": {
+ "description": "Required. Name of the organization in the following format:\n `organizations/{org}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/apis",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ListApiProxiesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ },
+ "resources": {
+ "deployments": {
+ "methods": {
+ "list": {
+ "description": "Lists all deployments of an API proxy.",
+ "flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/deployments",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.apis.deployments.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. Name of the API proxy for which to return deployment information in the\nfollowing format:\n `organizations/{org}/apis/{api}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/apis/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/deployments",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ListDeploymentsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "keyvaluemaps": {
+ "methods": {
+ "create": {
+ "description": "Creates a key value map in an api proxy.",
+ "flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/keyvaluemaps",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.apis.keyvaluemaps.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The name of the environment in which to create the key value map.\nMust be of the form\n`organizations/{organization}/apis/{api}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/apis/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/keyvaluemaps",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1KeyValueMap"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1KeyValueMap"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Delete a key value map in an api proxy.",
+ "flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/keyvaluemaps/{keyvaluemapsId}",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.apis.keyvaluemaps.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the key value map.\nMust be of the form\n`organizations/{organization}/apis/{api}/keyvaluemaps/{keyvaluemap}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/apis/[^/]+/keyvaluemaps/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1KeyValueMap"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "revisions": {
+ "methods": {
+ "delete": {
+ "description": "Deletes an API proxy revision and all policies, resources, endpoints,\nand revisions associated with it. The API proxy revision must be undeployed\nbefore you can delete it.",
+ "flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/revisions/{revisionsId}",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.apis.revisions.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. API proxy revision in the following format:\n `organizations/{org}/apis/{api}/revisions/{rev}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/apis/[^/]+/revisions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ApiProxyRevision"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets an API proxy revision.\n\nTo download the API proxy configuration bundle for the specified revision\nas a zip file, do the following:\n\n * Set the `format` query parameter to `bundle`.\n * Set the `Accept` header to `application/zip`.\n\nIf you are using curl, specify `-o filename.zip` to save the output to a\nfile; otherwise, it displays to `stdout`. Then, develop the API proxy\nconfiguration locally and upload the updated API proxy configuration\nrevision, as described in\n[updateApiProxyRevision](updateApiProxyRevision).",
+ "flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/revisions/{revisionsId}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.apis.revisions.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "format": {
+ "description": "Format used when downloading the API proxy configuration revision.\nSet to `bundle` to download the API proxy configuration revision as a zip\nfile.",
+ "location": "query",
+ "type": "string"
+ },
+ "name": {
+ "description": "Required. API proxy revision in the following format:\n `organizations/{org}/apis/{api}/revisions/{rev}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/apis/[^/]+/revisions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleApiHttpBody"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "updateApiProxyRevision": {
+ "description": "Updates an existing API proxy revision by uploading the API proxy\nconfiguration bundle as a zip file from your local machine.\n\nYou can update only API proxy revisions\nthat have never been deployed. After deployment, an API proxy revision\nbecomes immutable, even if it is undeployed.\n\nSet the `Content-Type` header to either\n`multipart/form-data` or `application/octet-stream`.",
+ "flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/revisions/{revisionsId}",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.apis.revisions.updateApiProxyRevision",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. API proxy revision to update in the following format:\n `organizations/{org}/apis/{api}/revisions/{rev}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/apis/[^/]+/revisions/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "validate": {
+ "description": "Ignored. All uploads are validated regardless of the value of this field.\nMaintained for compatibility with Apigee Edge API.",
+ "location": "query",
+ "type": "boolean"
+ }
+ },
+ "path": "v1/{+name}",
+ "request": {
+ "$ref": "GoogleApiHttpBody"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ApiProxyRevision"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ },
+ "resources": {
+ "deployments": {
+ "methods": {
+ "list": {
+ "description": "Lists all deployments of an API proxy revision.",
+ "flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/revisions/{revisionsId}/deployments",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.apis.revisions.deployments.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. Name of the API proxy revision for which to return deployment information\nin the following format:\n `organizations/{org}/apis/{api}/revisions/{rev}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/apis/[^/]+/revisions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/deployments",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ListDeploymentsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "apps": {
+ "methods": {
+ "get": {
+ "description": "Gets the app profile for the specified app ID.",
+ "flatPath": "v1/organizations/{organizationsId}/apps/{appsId}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.apps.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. App ID in the following format:\n `organizations/{org}/apps/{app}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/apps/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1App"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "list": {
+ "description": "Lists IDs of apps within an organization that have the specified app status\n(approved or revoked) or are of the specified app type\n(developer or company).",
+ "flatPath": "v1/organizations/{organizationsId}/apps",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.apps.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "apiProduct": {
+ "description": "API product.",
+ "location": "query",
+ "type": "string"
+ },
+ "apptype": {
+ "description": "Optional. Filter by the type of the app. Valid values are `company` or\n`developer`. Defaults to `developer`.",
+ "location": "query",
+ "type": "string"
+ },
+ "expand": {
+ "description": "Optional. Flag that specifies whether to return an expanded list of\napps for the organization. Defaults to `false`.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "ids": {
+ "description": "Optional. Comma-separated list of app IDs on which to filter.",
+ "location": "query",
+ "type": "string"
+ },
+ "includeCred": {
+ "description": "Optional. Flag that specifies whether to include credentials in the\nresponse.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "keyStatus": {
+ "description": "Optional. Key status of the app. Valid values include `approved` or\n`revoked`. Defaults to `approved`.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. Resource path of the parent in the following format:\n `organizations/{org}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "rows": {
+ "description": "Optional. Maximum number of app IDs to return. Defaults to 10000.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "startKey": {
+ "description": "Returns the list of apps starting from the specified app ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "status": {
+ "description": "Optional. Filter by the status of the app. Valid values are `approved`\nor `revoked`. Defaults to `approved`.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/apps",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ListAppsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "deployments": {
+ "methods": {
+ "list": {
+ "description": "Lists all deployments of API proxies or shared flows.",
+ "flatPath": "v1/organizations/{organizationsId}/deployments",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.deployments.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. Name of the organization for which to return deployment information in the\nfollowing format:\n `organizations/{org}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "sharedFlows": {
+ "description": "Optional. Flag that specifies whether to return shared flow or API proxy deployments.\nSet to `true` to return shared flow deployments; set to `false`\nto return API proxy deployments. Defaults to `false`.",
+ "location": "query",
+ "type": "boolean"
+ }
+ },
+ "path": "v1/{+parent}/deployments",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ListDeploymentsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "developers": {
+ "methods": {
+ "attributes": {
+ "description": "Updates developer attributes.\n\nThis API replaces the\nexisting attributes with those specified in the request.\nAdd new attributes, and include or exclude any existing\nattributes that you want to retain or\nremove, respectively.\n\nThe custom attribute limit is 18.\n\n**Note**: OAuth access tokens and Key Management Service (KMS) entities\n(apps, developers, and API products) are cached for 180 seconds\n(default). Any custom attributes associated with these entities\nare cached for at least 180 seconds after the entity is accessed at\nruntime. Therefore, an `ExpiresIn` element on the OAuthV2 policy\nwon't be able to expire an access token in less than 180 seconds.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/attributes",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.developers.attributes",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. Email address of the developer for which attributes are being updated in\nthe following format:\n `organizations/{org}/developers/{developer_email}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/attributes",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1Attributes"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Attributes"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "create": {
+ "description": "Creates a developer. Once created,\nthe developer can register an app and obtain an API key.\n\nAt creation time, a developer is set as `active`. To change the developer\nstatus, use the SetDeveloperStatus API.",
+ "flatPath": "v1/organizations/{organizationsId}/developers",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.developers.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. Name of the Apigee organization in which the developer is created.\nUse the following structure in your request:\n `organizations/{org}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/developers",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1Developer"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Developer"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Deletes a developer. All apps and API keys associated\nwith the developer are also removed.\n\n**Warning**: This API will permanently delete the developer\nand related artifacts.\n\nTo avoid permanently deleting developers and their artifacts,\nset the developer status to `inactive` using\nthe SetDeveloperStatus API.\n\n**Note**: The delete operation is asynchronous. The developer app is\ndeleted immediately,\nbut its associated resources, such as apps and API keys, may take anywhere\nfrom a few seconds to a few minutes to be deleted.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.developers.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Email address of the developer. Use the following structure in your\nrequest:\n `organizations/{org}/developers/{developer_email}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Developer"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Returns the developer details, including the\ndeveloper's name, email address, apps, and other information.\n\n**Note**: The response includes only the first 100 developer apps.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.developers.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "action": {
+ "description": "Status of the developer. Valid values are `active` or `inactive`.",
+ "location": "query",
+ "type": "string"
+ },
+ "name": {
+ "description": "Required. Email address of the developer. Use the following structure in your\nrequest:\n `organizations/{org}/developers/{developer_email}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Developer"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "list": {
+ "description": "Lists all developers in an organization by email address.\n\nBy default,\nthe response does not include company developers. Set the `includeCompany`\nquery parameter to `true` to include company developers.\n\n**Note**: A maximum of 1000 developers are returned in the response. You\npaginate the list of developers returned using the `startKey` and `count`\nquery parameters.",
+ "flatPath": "v1/organizations/{organizationsId}/developers",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.developers.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "count": {
+ "description": "Optional. Number of developers to return in the API call. Use with the `startKey`\nparameter to provide more targeted filtering.\nThe limit is 1000.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "expand": {
+ "description": "Specifies whether to expand the results. Set to `true`\nto expand the results. This query parameter is not valid if you use\nthe `count` or `startKey` query parameters.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "ids": {
+ "description": "Optional. List of IDs to include, separated by commas.",
+ "location": "query",
+ "type": "string"
+ },
+ "includeCompany": {
+ "description": "Flag that specifies whether to include company details in the response.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "parent": {
+ "description": "Required. Name of the Apigee organization. Use the following structure in your\nrequest:\n `organizations/{org}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "startKey": {
+ "description": "**Note**: Must be used in conjunction with the `count` parameter.\n\nEmail address of the developer from which to start displaying the list of\ndevelopers. For example, if the an unfiltered list returns:\n\n```\nwestley@example.com\nfezzik@example.com\nbuttercup@example.com\n```\n\nand your `startKey` is `fezzik@example.com`, the list returned will be\n\n```\nfezzik@example.com\nbuttercup@example.com\n```",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/developers",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ListOfDevelopersResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "setDeveloperStatus": {
+ "description": "Sets the status of a developer. Valid values are `active` or `inactive`.\n\nA developer is `active` by default. If you set a developer's status to\n`inactive`, the API keys assigned to the developer apps are no longer valid\neven though the API keys are set to `approved`. Inactive developers\ncan still sign in to the developer portal and create apps; however, any\nnew API keys generated during app creation won't work.\n\nIf successful, the API call returns the\nfollowing HTTP status code: `204 No Content`",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.developers.setDeveloperStatus",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "action": {
+ "description": "Status of the developer. Valid values are `active` and `inactive`.",
+ "location": "query",
+ "type": "string"
+ },
+ "name": {
+ "description": "Required. Email address of the developer. Use the following structure in your\nrequest:\n `organizations/{org}/developers/{developer_email}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleProtobufEmpty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "update": {
+ "description": "Updates a developer.\n\nThis API replaces the existing developer details with those specified\nin the request. Include or exclude any existing details that\nyou want to retain or delete, respectively.\n\nThe custom attribute limit is 18.\n\n**Note**: OAuth access tokens and Key Management Service (KMS) entities\n(apps, developers, and API products) are cached for 180 seconds\n(current default). Any custom attributes associated with these entities\nare cached for at least 180 seconds after the entity is accessed at\nruntime. Therefore, an `ExpiresIn` element on the OAuthV2 policy\nwon't be able to expire an access token in less than 180 seconds.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}",
+ "httpMethod": "PUT",
+ "id": "apigee.organizations.developers.update",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Email address of the developer. Use the following structure in your\nrequest:\n `organizations/{org}/developers/{developer_email}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1Developer"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Developer"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ },
+ "resources": {
+ "apps": {
+ "methods": {
+ "attributes": {
+ "description": "Updates attributes for a developer app. This API replaces the\ncurrent attributes with those specified in the request.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/attributes",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.developers.apps.attributes",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name of the developer app. Use the following structure in your request:\n `organizations/{org}/developers/{developer_email}/apps/{app}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}/attributes",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1Attributes"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Attributes"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "create": {
+ "description": "Creates an app associated with a developer. This API associates the\ndeveloper app with the specified API\nproduct and auto-generates an API key for the app to use in calls to API\nproxies inside that API product.\n\nThe `name` is the unique ID of the app\nthat you can use in API calls. The `DisplayName` (set as an\nattribute) appears in the UI. If you don't set the\n`DisplayName` attribute, the `name` appears in the UI.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.developers.apps.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. Name of the developer. Use the following structure in your request:\n `organizations/{org}/developers/{developer_email}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/apps",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1DeveloperApp"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1DeveloperApp"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Deletes a developer app.\n\n**Note**: The delete operation is asynchronous. The developer app is\ndeleted immediately,\nbut its associated resources, such as app\nkeys or access tokens, may take anywhere from a few seconds to a\nfew minutes to be deleted.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.developers.apps.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name of the developer app. Use the following structure in your request:\n `organizations/{org}/developers/{developer_email}/apps/{app}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1DeveloperApp"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "generateKeyPairOrUpdateDeveloperAppStatus": {
+ "description": "Manages access to a developer app by enabling you to:\n\n* Approve or revoke a developer app\n* Generate a new consumer key and secret for a developer app\n\nTo approve or revoke a developer app, set the `action` query parameter to\n`approved` or `revoked`, respectively, and the\n`Content-Type` header to `application/octet-stream`. If a developer app is\nrevoked, none of its API keys are valid for API calls even though\nthe keys are still `approved`. If successful, the API call returns the\nfollowing HTTP status code: `204 No Content`\n\nTo generate a new consumer key and secret for a developer\napp, pass the new key/secret details. Rather than\nreplace an existing key, this API generates a new\nkey. In this case, multiple key\npairs may be associated with a single developer app. Each key pair has an\nindependent status (`approved` or `revoked`) and expiration time.\nAny approved, non-expired key can be used in an API call.\n\nFor example, if you're using API key rotation, you can generate new\nkeys with expiration times that overlap keys that are going to expire.\nYou might also generate a new consumer key/secret if the security of the\noriginal key/secret is compromised.\n\nThe `keyExpiresIn` property defines the\nexpiration time for the API key in milliseconds. If you don't set\nthis property or set it to `-1`, the API key never expires.\n\n**Notes**:\n\n* When generating a new key/secret, this API replaces the\nexisting attributes, notes, and callback URLs with those specified in the\nrequest. Include or exclude any existing information that you want to\nretain or delete, respectively.\n* To migrate existing consumer keys and secrets to hybrid from another\nsystem, see the\nCreateDeveloperAppKey API.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.developers.apps.generateKeyPairOrUpdateDeveloperAppStatus",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "action": {
+ "description": "Action. Valid values are `approve` or `revoke`.",
+ "location": "query",
+ "type": "string"
+ },
+ "name": {
+ "description": "Required. Name of the developer app. Use the following structure in your request:\n `organizations/{org}/developers/{developer_email}/apps/{app}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1DeveloperApp"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1DeveloperApp"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Returns the details for a developer app.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.developers.apps.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "entity": {
+ "description": "**Note**: Must be used in conjunction with the `query` parameter.\n\nSet to `apiresources`\nto return the number of API resources\nthat have been approved for access by a developer app in the\nspecified Apigee organization.",
+ "location": "query",
+ "type": "string"
+ },
+ "name": {
+ "description": "Required. Name of the developer app. Use the following structure in your request:\n `organizations/{org}/developers/{developer_email}/apps/{app}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "query": {
+ "description": "**Note**: Must be used in conjunction with the `entity` parameter.\n\nSet to `count` to return the number of API resources\nthat have been approved for access by a developer app in the\nspecified Apigee organization.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1DeveloperApp"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "list": {
+ "description": "Lists all apps created by a developer in an Apigee organization.\nOptionally, you can request an expanded view of the developer apps.\n\nA maximum of 100 developer apps are returned per API call. You can paginate\nthe list of deveoper apps returned using the `startKey` and `count` query\nparameters.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.developers.apps.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "count": {
+ "description": "Number of developer apps to return in the API call. Use with the `startKey`\nparameter to provide more targeted filtering.\nThe limit is 1000.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "expand": {
+ "description": "Optional. Specifies whether to expand the results. Set to `true`\nto expand the results. This query parameter is not valid if you use\nthe `count` or `startKey` query parameters.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "parent": {
+ "description": "Required. Name of the developer. Use the following structure in your request:\n `organizations/{org}/developers/{developer_email}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "shallowExpand": {
+ "description": "Optional. Specifies whether to expand the results in shallow mode.\nSet to `true` to expand the results in shallow mode.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "startKey": {
+ "description": "**Note**: Must be used in conjunction with the `count` parameter.\n\nName of the developer app from which to start displaying the list of\ndeveloper apps. For example, if you're returning 50 developer apps at\na time (using the `count` query parameter), you can view developer apps\n50-99 by entering the name of the 50th developer app.\nThe developer app name is case sensitive.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/apps",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ListDeveloperAppsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "update": {
+ "description": "Updates the details for a developer app. In addition, you can\nadd an API product to a developer app and automatically generate\nan API key for the app to use when calling APIs in the API product.\n\nIf you want to use an existing API key for the API product,\nadd the API product to the API key using the\nUpdateDeveloperAppKey\nAPI.\n\nUsing this API, you cannot update the following:\n\n* App name as it is the primary key used to identify the app and cannot\n be changed.\n* Scopes associated with the app. Instead, use the\n ReplaceDeveloperAppKey API.\n\nThis API replaces the\nexisting attributes with those specified in the request.\nInclude or exclude any existing attributes that you want to retain or\ndelete, respectively.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}",
+ "httpMethod": "PUT",
+ "id": "apigee.organizations.developers.apps.update",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name of the developer app. Use the following structure in your request:\n `organizations/{org}/developers/{developer_email}/apps/{app}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1DeveloperApp"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1DeveloperApp"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ },
+ "resources": {
+ "attributes": {
+ "methods": {
+ "delete": {
+ "description": "Deletes a developer app attribute.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/attributes/{attributesId}",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.developers.apps.attributes.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name of the developer app attribute. Use the following structure in your\nrequest:\n `organizations/{org}/developers/{developer_email}/apps/{app}/attributes/{attribute}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+/attributes/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Attribute"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Returns a developer app attribute.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/attributes/{attributesId}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.developers.apps.attributes.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name of the developer app attribute. Use the following structure in your\nrequest:\n `organizations/{org}/developers/{developer_email}/apps/{app}/attributes/{attribute}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+/attributes/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Attribute"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "list": {
+ "description": "Returns a list of all developer app attributes.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/attributes",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.developers.apps.attributes.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. Name of the developer app. Use the following structure in your request:\n `organizations/{org}/developers/{developer_email}/apps/{app}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/attributes",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Attributes"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "updateDeveloperAppAttribute": {
+ "description": "Updates a developer app attribute.\n\n**Note**: OAuth access tokens and Key Management Service (KMS) entities\n(apps, developers, and API products) are cached for 180 seconds\n(current default). Any custom attributes associated with these entities\nare cached for at least 180 seconds after the entity is accessed at\nruntime. Therefore, an `ExpiresIn` element on the OAuthV2 policy\nwon't be able to expire an access token in less than 180 seconds.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/attributes/{attributesId}",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.developers.apps.attributes.updateDeveloperAppAttribute",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name of the developer app attribute. Use the following structure in your\nrequest:\n `organizations/{org}/developers/{developer_email}/apps/{app}/attributes/{attribute}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+/attributes/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1Attribute"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Attribute"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "keys": {
+ "methods": {
+ "create": {
+ "description": "Creates a custom consumer key and secret for a developer app. This is\nparticularly useful if you want to migrate existing consumer keys and\nsecrets to Apigee hybrid from another system.\n\nConsumer keys and secrets can contain letters, numbers, underscores, and\nhyphens. No other special characters are allowed. To avoid service\ndisruptions, a consumer key and secret should not exceed 2 KBs each.\n\n**Note**: When creating the consumer key and secret, an association to\nAPI products will not be made. Therefore, you should not specify the\nassociated API products in your request. Instead, use the\nUpdateDeveloperAppKey API to\nmake the association after the consumer key and secret are created.\n\nIf a consumer key and secret already exist, you can keep them or\ndelete them using the\nDeleteDeveloperAppKey API.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/keys",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.developers.apps.keys.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Parent of the developer app key. Use the following structure in your\nrequest:\n `organizations/{org}/developers/{developer_email}/apps`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/keys",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1DeveloperAppKey"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1DeveloperAppKey"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Deletes an app's consumer key and removes all API products\nassociated with the app. After the consumer key is deleted,\nit cannot be used to access any APIs.\n\n**Note**: After you delete a consumer key, you may want to:\n1. Create a new consumer key and secret for the developer app using the\nCreateDeveloperAppKey API, and\nsubsequently add an API product to the key using the\nUpdateDeveloperAppKey API.\n2. Delete the developer app, if it is no longer required.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/keys/{keysId}",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.developers.apps.keys.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Name of the developer app key. Use the following structure in your request:\n `organizations/{org}/developers/{developer_email}/apps/{app}/keys/{key}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+/keys/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1DeveloperAppKey"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Returns details for a consumer key for a developer app, including the key\nand secret value, associated API products, and other information.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/keys/{keysId}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.developers.apps.keys.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Name of the developer app key. Use the following structure in your request:\n `organizations/{org}/developers/{developer_email}/apps/{app}/keys/{key}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+/keys/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1DeveloperAppKey"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "replaceDeveloperAppKey": {
+ "description": "Updates the scope of an app.\n\nThis API replaces the\nexisting scopes with those specified in the request.\nInclude or exclude any existing scopes that you want to retain or\ndelete, respectively. The specified scopes must already\nbe defined for the API products associated with the app.\n\nThis API sets the `scopes` element\nunder the `apiProducts` element in the attributes of the app.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/keys/{keysId}",
+ "httpMethod": "PUT",
+ "id": "apigee.organizations.developers.apps.keys.replaceDeveloperAppKey",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Name of the developer app key. Use the following structure in your request:\n `organizations/{org}/developers/{developer_email}/apps/{app}/keys/{key}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+/keys/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1DeveloperAppKey"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1DeveloperAppKey"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "updateDeveloperAppKey": {
+ "description": "Adds an API product to a developer app key, enabling the app that holds\nthe key to access the API resources bundled in the API product.\n\nIn addition, you can add\nattributes to a developer app key. This API replaces the\nexisting attributes with those specified in the request.\nInclude or exclude any existing attributes that you want to retain or\ndelete, respectively.\n\nYou can use the same key to access all API products\nassociated with the app.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/keys/{keysId}",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.developers.apps.keys.updateDeveloperAppKey",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "action": {
+ "description": "Approve or revoke the consumer key by setting this value to\n`approve` or `revoke`, respectively.",
+ "location": "query",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name of the developer app key. Use the following structure in your request:\n `organizations/{org}/developers/{developer_email}/apps/{app}/keys/{key}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+/keys/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1DeveloperAppKey"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1DeveloperAppKey"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ },
+ "resources": {
+ "apiproducts": {
+ "methods": {
+ "delete": {
+ "description": "Removes an API product from an app's consumer key. After the API product is\nremoved, the app cannot access the API resources defined in\nthat API product.\n\n**Note**: The consumer key is not removed, only its association with the\nAPI product.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/keys/{keysId}/apiproducts/{apiproductsId}",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.developers.apps.keys.apiproducts.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Name of the API product in the developer app key in the following\nformat:\n `organizations/{org}/developers/{developer_email}/apps/{app}/keys/{key}/apiproducts/{apiproduct}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+/keys/[^/]+/apiproducts/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1DeveloperAppKey"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "updateDeveloperAppKeyApiProduct": {
+ "description": "Approve or revoke an app's consumer key. After a consumer key is approved,\nthe app can use it to access APIs.\n\nA consumer key that is revoked or pending cannot be used to access an API.\nAny access tokens associated with a revoked consumer key will remain\nactive. However, Apigee hybrid checks the status of the consumer key and\nif set to `revoked` will not allow access to the API.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/keys/{keysId}/apiproducts/{apiproductsId}",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.developers.apps.keys.apiproducts.updateDeveloperAppKeyApiProduct",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "action": {
+ "description": "Approve or revoke the consumer key by setting this value to\n`approve` or `revoke`, respectively.",
+ "location": "query",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name of the API product in the developer app key in the following\nformat:\n `organizations/{org}/developers/{developer_email}/apps/{app}/keys/{key}/apiproducts/{apiproduct}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+/keys/[^/]+/apiproducts/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleProtobufEmpty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "create": {
+ "methods": {
+ "create": {
+ "description": "Creates a custom consumer key and secret for a developer app. This is\nparticularly useful if you want to migrate existing consumer keys and\nsecrets to Apigee hybrid from another system.\n\nConsumer keys and secrets can contain letters, numbers, underscores, and\nhyphens. No other special characters are allowed. To avoid service\ndisruptions, a consumer key and secret should not exceed 2 KBs each.\n\n**Note**: When creating the consumer key and secret, an association to\nAPI products will not be made. Therefore, you should not specify the\nassociated API products in your request. Instead, use the\nUpdateDeveloperAppKey API to\nmake the association after the consumer key and secret are created.\n\nIf a consumer key and secret already exist, you can keep them or\ndelete them using the\nDeleteDeveloperAppKey API.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/keys/create",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.developers.apps.keys.create.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Parent of the developer app key. Use the following structure in your\nrequest:\n `organizations/{org}/developers/{developer_email}/apps`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/keys/create",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1DeveloperAppKey"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1DeveloperAppKey"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "attributes": {
+ "methods": {
+ "delete": {
+ "description": "Deletes a developer attribute.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/attributes/{attributesId}",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.developers.attributes.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name of the developer attribute. Use the following structure in your\nrequest:\n `organizations/{org}/developers/{developer_email}/attributes/{attribute}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+/attributes/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Attribute"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Returns the value of the specified developer attribute.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/attributes/{attributesId}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.developers.attributes.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name of the developer attribute. Use the following structure in your\nrequest:\n `organizations/{org}/developers/{developer_email}/attributes/{attribute}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+/attributes/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Attribute"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "list": {
+ "description": "Returns a list of all developer attributes.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/attributes",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.developers.attributes.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. Email address of the developer for which attributes are being listed in the\nfollowing format:\n `organizations/{org}/developers/{developer_email}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/attributes",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Attributes"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "updateDeveloperAttribute": {
+ "description": "Updates a developer attribute.\n\n**Note**: OAuth access tokens and Key Management Service (KMS) entities\n(apps, developers, and API products) are cached for 180 seconds\n(default). Any custom attributes associated with these entities\nare cached for at least 180 seconds after the entity is accessed at\nruntime. Therefore, an `ExpiresIn` element on the OAuthV2 policy\nwon't be able to expire an access token in less than 180 seconds.",
+ "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/attributes/{attributesId}",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.developers.attributes.updateDeveloperAttribute",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name of the developer attribute. Use the following structure in your\nrequest:\n `organizations/{org}/developers/{developer_email}/attributes/{attribute}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/developers/[^/]+/attributes/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1Attribute"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Attribute"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "environments": {
+ "methods": {
+ "create": {
+ "description": "Creates an environment in an organization.",
+ "flatPath": "v1/organizations/{organizationsId}/environments",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.environments.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Optional. Name of the environment. Alternatively, the name may\nbe specified in the request body in the\nname field.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. Name of the organization in which the environment will\nbe created. Use the following structure in your request:\n `organizations/{org}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/environments",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1Environment"
+ },
+ "response": {
+ "$ref": "GoogleLongrunningOperation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Deletes an environment from an organization.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.environments.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name of the environment. Use the following structure in your\nrequest:\n `organizations/{org}/environments/{env}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleLongrunningOperation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets environment details.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name of the environment. Use the following structure in your request:\n `organizations/{org}/environments/{env}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Environment"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "getDebugmask": {
+ "description": "Gets the debug mask singleton resource for an environment.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/debugmask",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.getDebugmask",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name of the debug mask. Use the following structure in your request:\n `organizations/{org}/environments/{env}/debugmask`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/debugmask$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1DebugMask"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "getDeployedConfig": {
+ "description": "Gets the deployed configuration for an environment.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/deployedConfig",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.getDeployedConfig",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name of the environment deployed configuration resource. Use the following\nstructure in your request:\n `organizations/{org}/environments/{env}/deployedConfig`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/deployedConfig$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1EnvironmentConfig"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "getIamPolicy": {
+ "description": "Gets the IAM policy on an environment. For more information, see\n[Manage users, roles, and permissions\nusing the API](https://docs.apigee.com/hybrid/latest/manage-users-roles).\n\nYou must have the `apigee.environments.getIamPolicy` permission to call\nthis API.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}:getIamPolicy",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.getIamPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "options.requestedPolicyVersion": {
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:getIamPolicy",
+ "response": {
+ "$ref": "GoogleIamV1Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "setIamPolicy": {
+ "description": "Sets the IAM policy on an environment, if the policy already\nexists it will be replaced. For more information, see\n[Manage users, roles, and permissions\nusing the API](https://docs.apigee.com/hybrid/latest/manage-users-roles).\n\nYou must have the `apigee.environments.setIamPolicy` permission to\ncall this API.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}:setIamPolicy",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.environments.setIamPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:setIamPolicy",
+ "request": {
+ "$ref": "GoogleIamV1SetIamPolicyRequest"
+ },
+ "response": {
+ "$ref": "GoogleIamV1Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "subscribe": {
+ "description": "Creates a subscription for the environment's Pub/Sub topic.\nThe server will assign a random name for this subscription.\nThe \"name\" and \"push_config\" must *not* be specified.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}:subscribe",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.environments.subscribe",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. Name of the environment. Use the following structure in your request:\n `organizations/{org}/environments/{env}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}:subscribe",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Subscription"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "testIamPermissions": {
+ "description": "Tests the permissions of a user on an environment,\nand returns a subset of permissions that the user has on the environment.\nIf the environment does not exist, an empty permission set is returned\n(a NOT_FOUND error is not returned).",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}:testIamPermissions",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.environments.testIamPermissions",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:testIamPermissions",
+ "request": {
+ "$ref": "GoogleIamV1TestIamPermissionsRequest"
+ },
+ "response": {
+ "$ref": "GoogleIamV1TestIamPermissionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "unsubscribe": {
+ "description": "Deletes a subscription for the environment's Pub/Sub topic.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}:unsubscribe",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.environments.unsubscribe",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. Name of the environment. Use the following structure in your request:\n `organizations/{org}/environments/{env}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}:unsubscribe",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1Subscription"
+ },
+ "response": {
+ "$ref": "GoogleProtobufEmpty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "update": {
+ "description": "Updates an existing environment.\n\nWhen updating properties, you must pass all existing properties to the API,\neven if they are not being changed. If you omit properties from the\npayload, the properties are removed. To get the current list of\nproperties for the environment, use the [Get Environment API](get).",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}",
+ "httpMethod": "PUT",
+ "id": "apigee.organizations.environments.update",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name of the environment. Use the following structure in your request:\n `organizations/{org}/environments/{env}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1Environment"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Environment"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "updateDebugmask": {
+ "description": "Updates the debug mask singleton resource for an environment.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/debugmask",
+ "httpMethod": "PATCH",
+ "id": "apigee.organizations.environments.updateDebugmask",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Name of the debug mask.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/debugmask$",
+ "required": true,
+ "type": "string"
+ },
+ "replaceRepeatedFields": {
+ "description": "Boolean flag that specifies whether to replace existing values in the debug\nmask when doing an update. Set to true to replace existing values.\nThe default behavior is to append the values (false).",
+ "location": "query",
+ "type": "boolean"
+ },
+ "updateMask": {
+ "description": "Field debug mask to support partial updates.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1DebugMask"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1DebugMask"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "updateEnvironment": {
+ "description": "Updates an existing environment.\n\nWhen updating properties, you must pass all existing properties to the API,\neven if they are not being changed. If you omit properties from the\npayload, the properties are removed. To get the current list of\nproperties for the environment, use the [Get Environment API](get).",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.environments.updateEnvironment",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name of the environment. Use the following structure in your request:\n `organizations/{org}/environments/{env}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1Environment"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Environment"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ },
+ "resources": {
+ "analytics": {
+ "resources": {
+ "admin": {
+ "methods": {
+ "getSchemav2": {
+ "description": "Get a list of metrics and dimensions which can be used for creating\nanalytics queries and reports.\nEach schema element contains the name of the field with its associated type\nand if it is either custom field or standard field.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/analytics/admin/schemav2",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.analytics.admin.getSchemav2",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The parent organization and environment names. Must be of the\nform `organizations/{org}/environments/{env}/analytics/admin/schemav2`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/analytics/admin/schemav2$",
+ "required": true,
+ "type": "string"
+ },
+ "type": {
+ "description": "Required. Type refers to the dataset name whose schema needs to be\nretrieved E.g. type=fact or type=agg_cus1",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Schema"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "apis": {
+ "resources": {
+ "deployments": {
+ "methods": {
+ "list": {
+ "description": "Lists all deployments of an API proxy in an environment.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/apis/{apisId}/deployments",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.apis.deployments.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. Name representing an API proxy in an environment in the following\nformat:\n `organizations/{org}/environments/{env}/apis/{api}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/apis/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/deployments",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ListDeploymentsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "revisions": {
+ "methods": {
+ "deployments": {
+ "description": "Undeploys an API proxy revision from an environment.\n\nBecause multiple revisions of the same API proxy can be deployed in\nthe same environment if the base paths are different, you must specify the\nrevision number of the API proxy.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/apis/{apisId}/revisions/{revisionsId}/deployments",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.environments.apis.revisions.deployments",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name of the API proxy revision deployment in the following format:\n `organizations/{org}/environments/{env}/apis/{api}/revisions/{rev}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/apis/[^/]+/revisions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}/deployments",
+ "response": {
+ "$ref": "GoogleProtobufEmpty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "getDeployments": {
+ "description": "Gets the deployment of an API proxy revision and actual state reported by\nruntime pods.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/apis/{apisId}/revisions/{revisionsId}/deployments",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.apis.revisions.getDeployments",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name representing an API proxy revision in an\nenvironment in the following format:\n `organizations/{org}/environments/{env}/apis/{api}/revisions/{rev}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/apis/[^/]+/revisions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}/deployments",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Deployment"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ },
+ "resources": {
+ "debugsessions": {
+ "methods": {
+ "create": {
+ "description": "Creates a debug session for a deployed API Proxy revision.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/apis/{apisId}/revisions/{revisionsId}/debugsessions",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.environments.apis.revisions.debugsessions.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The resource name of the API Proxy revision deployment for which\nto create the DebugSession. Must be of the form\n `organizations/{organization}/environments/{environment}/apis/{api}/revisions/{revision}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/apis/[^/]+/revisions/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "timeout": {
+ "description": "Optional. The time in seconds after which this DebugSession should end.\nA timeout specified in DebugSession will overwrite this value.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/debugsessions",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1DebugSession"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1DebugSession"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "deleteData": {
+ "description": "Deletes the data from a debug session. This does not cancel the debug\nsession or prevent further data from being collected if the session is\nstill active in runtime pods.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/apis/{apisId}/revisions/{revisionsId}/debugsessions/{debugsessionsId}/data",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.environments.apis.revisions.debugsessions.deleteData",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the debug session to delete.\nMust be of the form:\n `organizations/{organization}/environments/{environment}/apis/{api}/revisions/{revision}/debugsessions/{debugsession}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/apis/[^/]+/revisions/[^/]+/debugsessions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}/data",
+ "response": {
+ "$ref": "GoogleProtobufEmpty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Retrieves a debug session.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/apis/{apisId}/revisions/{revisionsId}/debugsessions/{debugsessionsId}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.apis.revisions.debugsessions.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the debug session to retrieve.\nMust be of the form:\n `organizations/{organization}/environments/{environment}/apis/{api}/revisions/{revision}/debugsessions/{session}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/apis/[^/]+/revisions/[^/]+/debugsessions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1DebugSession"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "list": {
+ "description": "Lists debug sessions that are currently active in the given API Proxy\nrevision.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/apis/{apisId}/revisions/{revisionsId}/debugsessions",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.apis.revisions.debugsessions.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "Maximum number of debug sessions to return. The page size defaults\nto 25.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "Page token, returned from a previous ListDebugSessions call, that you\ncan use to retrieve the next page.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. The name of the API Proxy revision deployment for which\nto list debug sessions. Must be of the form:\n `organizations/{organization}/environments/{environment}/apis/{api}/revisions/{revision}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/apis/[^/]+/revisions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/debugsessions",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ListDebugSessionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ },
+ "resources": {
+ "data": {
+ "methods": {
+ "get": {
+ "description": "Gets the debug data from a transaction.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/apis/{apisId}/revisions/{revisionsId}/debugsessions/{debugsessionsId}/data/{dataId}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.apis.revisions.debugsessions.data.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the debug session transaction. Must be of the form:\n `organizations/{organization}/environments/{environment}/apis/{api}/revisions/{revision}/debugsessions/{session}/data/{transaction}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/apis/[^/]+/revisions/[^/]+/debugsessions/[^/]+/data/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1DebugSessionTransaction"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "caches": {
+ "methods": {
+ "delete": {
+ "description": "Deletes a cache.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/caches/{cachesId}",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.environments.caches.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Cache resource name of the form:\n `organizations/{organization_id}/environments/{environment_id}/caches/{cache_id}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/caches/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleProtobufEmpty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "deployments": {
+ "methods": {
+ "list": {
+ "description": "Lists all deployments of API proxies or shared flows in an environment.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/deployments",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.deployments.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. Name of the environment for which to return deployment information in the\nfollowing format:\n `organizations/{org}/environments/{env}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "sharedFlows": {
+ "description": "Optional. Flag that specifies whether to return shared flow or API proxy deployments.\nSet to `true` to return shared flow deployments; set to `false`\nto return API proxy deployments. Defaults to `false`.",
+ "location": "query",
+ "type": "boolean"
+ }
+ },
+ "path": "v1/{+parent}/deployments",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ListDeploymentsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "flowhooks": {
+ "methods": {
+ "attachSharedFlowToFlowHook": {
+ "description": "Attaches a shared flow to a flow hook.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/flowhooks/{flowhooksId}",
+ "httpMethod": "PUT",
+ "id": "apigee.organizations.environments.flowhooks.attachSharedFlowToFlowHook",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name of the flow hook to which the shared flow should be\nattached in the following format:\n `organizations/{org}/environments/{env}/flowhooks/{flowhook}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/flowhooks/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1FlowHook"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1FlowHook"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "detachSharedFlowFromFlowHook": {
+ "description": "Detaches a shared flow from a flow hook.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/flowhooks/{flowhooksId}",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.environments.flowhooks.detachSharedFlowFromFlowHook",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name of the flow hook to detach in the following format:\n `organizations/{org}/environments/{env}/flowhooks/{flowhook}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/flowhooks/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1FlowHook"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Returns the name of the shared flow attached to the specified flow hook. If\nthere's no shared flow attached to the flow hook, the API does not return\nan error; it simply does not return a name in the response.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/flowhooks/{flowhooksId}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.flowhooks.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name of the flow hook in the following format:\n `organizations/{org}/environments/{env}/flowhooks/{flowhook}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/flowhooks/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1FlowHook"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "keystores": {
+ "methods": {
+ "create": {
+ "description": "Creates a keystore or truststore:\n * Keystore: Contains certificates and their associated keys.\n * Truststore: Contains trusted certificates used to validate a\n server's certificate. These certificates are typically self-signed\n certificates or certificates that are not signed by a trusted CA.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keystores",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.environments.keystores.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Optional. Overrides the value in Keystore.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. The name of the environment in which to create the keystore.\nMust be of the form\n`organizations/{organization}/environments/{environment}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/keystores",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1Keystore"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Keystore"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Deletes a keystore or truststore.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keystores/{keystoresId}",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.environments.keystores.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of keystore to delete. Must be of the form\n`organizations/{organization}/environments/{environment}/keystores/{keystore}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/keystores/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Keystore"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets a keystore or truststore.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keystores/{keystoresId}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.keystores.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of keystore. Must be of the form\n`organizations/{organization}/environments/{environment}/keystores/{keystore}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/keystores/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Keystore"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ },
+ "resources": {
+ "aliases": {
+ "methods": {
+ "create": {
+ "description": "Creates an alias from a key, certificate pair.\nThe structure of the request is controlled by the `format` query parameter:\n * `keycertfile` - Separate PEM-encoded key and certificate files are\n uploaded. The request must have `Content-Type: multipart/form-data` and\n include fields `keyFile` and `certFile`. If uploading to a truststore,\n omit `keyFile`.\n* `pkcs12` - A PKCS12 file is uploaded. The request must have\n`Content-Type: multipart/form-data` with the file provided in the only\nfield.\n* `selfsignedcert` - A new private key and certificate are generated. The\nrequest must have `Content-Type: application/json` and a body of\nCertificateGenerationSpec.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keystores/{keystoresId}/aliases",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.environments.keystores.aliases.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "_password": {
+ "description": "The password for the private key file, if it exists.",
+ "location": "query",
+ "type": "string"
+ },
+ "alias": {
+ "description": "The alias for the key, certificate pair. Values must match\nregular expression `[\\w\\s-.]{1,255}`. This must be provided for all formats\nexcept 'selfsignedcert'; self-signed certs may specify the alias in either\nthis parameter or the JSON body.",
+ "location": "query",
+ "type": "string"
+ },
+ "format": {
+ "description": "Required. The format of the data. Must be either `selfsignedcert`,\n`keycertfile`, or `pkcs12`.",
+ "location": "query",
+ "type": "string"
+ },
+ "ignoreExpiryValidation": {
+ "description": "If `true`, no expiry validation will be performed.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "ignoreNewlineValidation": {
+ "description": "If `true`, do not throw an error when the file contains a chain with no\nnewline between each certificate. By default, a newline is needed between\neach certificate in a chain.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "parent": {
+ "description": "Required. The name of the keystore. Must be of the form\n`organizations/{organization}/environments/{environment}/keystores/{keystore}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/keystores/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/aliases",
+ "request": {
+ "$ref": "GoogleApiHttpBody"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Alias"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "csr": {
+ "description": "Generates a PKCS #10 Certificate Signing Request for the private key in\nan alias.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keystores/{keystoresId}/aliases/{aliasesId}/csr",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.keystores.aliases.csr",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the alias. Must be of the form\n`organizations/{organization}/environments/{environment}/keystores/{keystore}/aliases/{alias}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/keystores/[^/]+/aliases/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}/csr",
+ "response": {
+ "$ref": "GoogleApiHttpBody"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Deletes an alias.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keystores/{keystoresId}/aliases/{aliasesId}",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.environments.keystores.aliases.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the alias. Must be of the form\n`organizations/{organization}/environments/{environment}/keystores/{keystore}/aliases/{alias}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/keystores/[^/]+/aliases/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Alias"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets an alias.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keystores/{keystoresId}/aliases/{aliasesId}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.keystores.aliases.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the alias. Must be of the form\n`organizations/{organization}/environments/{environment}/keystores/{keystore}/aliases/{alias}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/keystores/[^/]+/aliases/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Alias"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "getCertificate": {
+ "description": "Gets the certificate from an alias in PEM-encoded form.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keystores/{keystoresId}/aliases/{aliasesId}/certificate",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.keystores.aliases.getCertificate",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the alias. Must be of the form\n`organizations/{organization}/environments/{environment}/keystores/{keystore}/aliases/{alias}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/keystores/[^/]+/aliases/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}/certificate",
+ "response": {
+ "$ref": "GoogleApiHttpBody"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "update": {
+ "description": "Updates the certificate in an alias.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keystores/{keystoresId}/aliases/{aliasesId}",
+ "httpMethod": "PUT",
+ "id": "apigee.organizations.environments.keystores.aliases.update",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "ignoreExpiryValidation": {
+ "description": "Required. If `true`, no expiry validation will be performed.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "ignoreNewlineValidation": {
+ "description": "If `true`, do not throw an error when the file contains a chain with no\nnewline between each certificate. By default, a newline is needed between\neach certificate in a chain.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "name": {
+ "description": "Required. The name of the alias. Must be of the form\n`organizations/{organization}/environments/{environment}/keystores/{keystore}/aliases/{alias}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/keystores/[^/]+/aliases/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "request": {
+ "$ref": "GoogleApiHttpBody"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Alias"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "keyvaluemaps": {
+ "methods": {
+ "create": {
+ "description": "Creates a key value map in an environment.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keyvaluemaps",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.environments.keyvaluemaps.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The name of the environment in which to create the key value map.\nMust be of the form\n`organizations/{organization}/environments/{environment}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/keyvaluemaps",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1KeyValueMap"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1KeyValueMap"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Delete a key value map in an environment.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keyvaluemaps/{keyvaluemapsId}",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.environments.keyvaluemaps.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the key value map.\nMust be of the form\n`organizations/{organization}/environments/{environment}/keyvaluemaps/{keyvaluemap}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/keyvaluemaps/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1KeyValueMap"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "optimizedStats": {
+ "methods": {
+ "get": {
+ "description": "This api is similar to GetStats\nexcept that the response is less verbose.\nIn the current scheme, a query parameter _optimized instructs\nEdge Analytics to change the response but since this behavior\nis not possible with protocol buffer and since this parameter is\npredominantly used by Edge UI, we are introducing a separate api.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/optimizedStats/{optimizedStatsId}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.optimizedStats.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "accuracy": {
+ "description": "Legacy field: not used anymore.",
+ "location": "query",
+ "type": "string"
+ },
+ "aggTable": {
+ "description": "If customers want to query custom aggregate tables, then this parameter\ncan be used to specify the table name. If this parameter is skipped, then\nEdge Query will try to retrieve the data from fact tables which will be\nexpensive.",
+ "location": "query",
+ "type": "string"
+ },
+ "filter": {
+ "description": "Enables drill-down on specific dimension values.",
+ "location": "query",
+ "type": "string"
+ },
+ "limit": {
+ "description": "This parameter is used to limit the number of result items.\nDefault and the max value is 14400.",
+ "location": "query",
+ "type": "string"
+ },
+ "name": {
+ "description": "Required. The resource name for which the interactive query will be executed.\nMust be of the form\n `organizations/{organization_id}/environments/{environment_id/stats/{dimensions}`\nDimensions let you view metrics in meaningful groupings. E.g. apiproxy,\ntarget_host. The value of dimensions should be comma separated list as\nshown below\n`organizations/{org}/environments/{env}/stats/apiproxy,request_verb`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/optimizedStats/.*$",
+ "required": true,
+ "type": "string"
+ },
+ "offset": {
+ "description": "Use offset with limit to enable pagination of results. For example,\nto display results 11-20, set limit to '10' and offset to '10'.",
+ "location": "query",
+ "type": "string"
+ },
+ "realtime": {
+ "description": "Legacy field: not used anymore.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "select": {
+ "description": "Required. The select parameter contains a comma separated list of metrics.\nE.g. sum(message_count),sum(error_count)",
+ "location": "query",
+ "type": "string"
+ },
+ "sonar": {
+ "description": "This parameter routes the query to api monitoring service for last hour.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "sort": {
+ "description": "This parameter specifies if the sort order should be ascending or\ndescending Supported values are DESC and ASC.",
+ "location": "query",
+ "type": "string"
+ },
+ "sortby": {
+ "description": "Comma separated list of columns to sort the final result.",
+ "location": "query",
+ "type": "string"
+ },
+ "timeRange": {
+ "description": "Required. Time interval for the interactive query.\nTime range is specified as start~end E.g. 04/15/2017 00:00~05/15/2017 23:59",
+ "location": "query",
+ "type": "string"
+ },
+ "timeUnit": {
+ "description": "A value of second, minute, hour, day, week, month.\nTime Unit specifies the granularity of metrics returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "topk": {
+ "description": "Take 'top k' results from results, for example, to return the top 5\nresults 'topk=5'.",
+ "location": "query",
+ "type": "string"
+ },
+ "tsAscending": {
+ "description": "Lists timestamps in ascending order if set to true. Recommend setting\nthis value to true if you are using sortby with sort=DESC.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "tzo": {
+ "description": "This parameters contains the timezone offset value.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1OptimizedStats"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "queries": {
+ "methods": {
+ "create": {
+ "description": "Submit a query to be processed in the background.\nIf the submission of the query succeeds, the API returns a 201 status and\nan ID that refer to the query. In addition to the HTTP status 201, the\n`state` of \"enqueued\" means that the request succeeded.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/queries",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.environments.queries.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The parent resource name.\nMust be of the form `organizations/{org}/environments/{env}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/queries",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1Query"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1AsyncQuery"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Get query status\nIf the query is still in progress, the `state` is set to \"running\"\nAfter the query has completed successfully, `state` is set to \"completed\"",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/queries/{queriesId}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.queries.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name of the asynchronous query to get. Must be of the form\n`organizations/{org}/environments/{env}/queries/{queryId}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/queries/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1AsyncQuery"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "getResult": {
+ "description": "After the query is completed, use this API to retrieve the results.\nIf the request succeeds, and there is a non-zero result set, the result is\ndownloaded to the client as a zipped JSON file.\nThe name of the downloaded file will be:\n OfflineQueryResult-.zip\n\nExample: `OfflineQueryResult-9cfc0d85-0f30-46d6-ae6f-318d0cb961bd.zip`",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/queries/{queriesId}/result",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.queries.getResult",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name of the asynchronous query result to get. Must be of the\nform `organizations/{org}/environments/{env}/queries/{queryId}/result`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/queries/[^/]+/result$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleApiHttpBody"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "list": {
+ "description": "Return a list of Asynchronous Queries",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/queries",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.queries.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "dataset": {
+ "description": "Filter response list by dataset.\n\nExample: `api`, `mint`",
+ "location": "query",
+ "type": "string"
+ },
+ "from": {
+ "description": "Filter response list by returning asynchronous queries that\ncreated after this date time.\nTime must be in ISO date-time format like '2011-12-03T10:15:30Z'.",
+ "location": "query",
+ "type": "string"
+ },
+ "inclQueriesWithoutReport": {
+ "description": "Flag to include asynchronous queries that don't have a report denifition.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. The parent resource name.\nMust be of the form `organizations/{org}/environments/{env}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "status": {
+ "description": "Filter response list by asynchronous query status.",
+ "location": "query",
+ "type": "string"
+ },
+ "submittedBy": {
+ "description": "Filter response list by user who submitted queries.",
+ "location": "query",
+ "type": "string"
+ },
+ "to": {
+ "description": "Filter response list by returning asynchronous queries that\ncreated before this date time.\nTime must be in ISO date-time format like '2011-12-03T10:16:30Z'.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/queries",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ListAsyncQueriesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "references": {
+ "methods": {
+ "create": {
+ "description": "Creates a Reference in the specified environment.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/references",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.environments.references.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The parent environment name under which the Reference will\nbe created. Must be of the form `organizations/{org}/environments/{env}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/references",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1Reference"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Reference"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Deletes a Reference from an environment. Returns the deleted\nReference resource.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/references/{referencesId}",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.environments.references.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the Reference to delete. Must be\nof the form `organizations/{org}/environments/{env}/references/{ref}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/references/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Reference"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets a Reference resource.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/references/{referencesId}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.references.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the Reference to get. Must be of the form\n`organizations/{org}/environments/{env}/references/{ref}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/references/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Reference"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "update": {
+ "description": "Updates an existing Reference. Note that this operation has PUT\nsemantics; it will replace the entirety of the existing Reference with\nthe resource in the request body.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/references/{referencesId}",
+ "httpMethod": "PUT",
+ "id": "apigee.organizations.environments.references.update",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the Reference to update. Must be of the form\n`organizations/{org}/environments/{env}/references/{ref}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/references/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1Reference"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Reference"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "resourcefiles": {
+ "methods": {
+ "create": {
+ "description": "Creates a resource file.\n\nSpecify the `Content-Type` as `application/octet-stream` or\n`multipart/form-data`.\n\nFor more information about resource files, see\n[Resource files](/api-platform/develop/resource-files).",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/resourcefiles",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.environments.resourcefiles.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name of the resource file. Must match the regular expression:\n[a-zA-Z0-9:/\\\\!@#$%^&{}\\[\\]()+\\-=,.~'` ]{1,255}",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. Name of the environment in which to create the resource file in the\nfollowing format:\n `organizations/{org}/environments/{env}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "type": {
+ "description": "Required. Resource file type. {{ resource_file_type }}",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/resourcefiles",
+ "request": {
+ "$ref": "GoogleApiHttpBody"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ResourceFile"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Deletes a resource file.\n\nFor more information about resource files, see\n[Resource files](/api-platform/develop/resource-files).",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/resourcefiles/{type}/{name}",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.environments.resourcefiles.delete",
+ "parameterOrder": [
+ "parent",
+ "type",
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. ID of the resource file to delete. Must match the regular\nexpression: [a-zA-Z0-9:/\\\\!@#$%^&{}\\[\\]()+\\-=,.~'` ]{1,255}",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. Name of the environment in the following format:\n `organizations/{org}/environments/{env}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "type": {
+ "description": "Required. Resource file type. {{ resource_file_type }}",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/resourcefiles/{type}/{name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ResourceFile"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets the contents of a resource file.\n\nFor more information about resource files, see\n[Resource files](/api-platform/develop/resource-files).",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/resourcefiles/{type}/{name}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.resourcefiles.get",
+ "parameterOrder": [
+ "parent",
+ "type",
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. ID of the resource file. Must match the regular\nexpression: [a-zA-Z0-9:/\\\\!@#$%^&{}\\[\\]()+\\-=,.~'` ]{1,255}",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. Name of the environment in the following format:\n `organizations/{org}/environments/{env}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "type": {
+ "description": "Required. Resource file type. {{ resource_file_type }}",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/resourcefiles/{type}/{name}",
+ "response": {
+ "$ref": "GoogleApiHttpBody"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "list": {
+ "description": "Lists all resource files.\n\nFor more information about resource files, see\n[Resource files](/api-platform/develop/resource-files).",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/resourcefiles",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.resourcefiles.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. Name of the environment in which to list resource files in the following\nformat:\n `organizations/{org}/environments/{env}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "type": {
+ "description": "Optional. Type of resource files to list.\n{{ resource_file_type }}",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/resourcefiles",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ListEnvironmentResourcesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "listEnvironmentResources": {
+ "description": "Lists all resource files.\n\nFor more information about resource files, see\n[Resource files](/api-platform/develop/resource-files).",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/resourcefiles/{type}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.resourcefiles.listEnvironmentResources",
+ "parameterOrder": [
+ "parent",
+ "type"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. Name of the environment in which to list resource files in the following\nformat:\n `organizations/{org}/environments/{env}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "type": {
+ "description": "Optional. Type of resource files to list.\n{{ resource_file_type }}",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/resourcefiles/{type}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ListEnvironmentResourcesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "update": {
+ "description": "Updates a resource file.\n\nSpecify the `Content-Type` as `application/octet-stream` or\n`multipart/form-data`.\n\nFor more information about resource files, see\n[Resource files](/api-platform/develop/resource-files).",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/resourcefiles/{type}/{name}",
+ "httpMethod": "PUT",
+ "id": "apigee.organizations.environments.resourcefiles.update",
+ "parameterOrder": [
+ "parent",
+ "type",
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. ID of the resource file to update. Must match the regular\nexpression: [a-zA-Z0-9:/\\\\!@#$%^&{}\\[\\]()+\\-=,.~'` ]{1,255}",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. Name of the environment in the following format:\n `organizations/{org}/environments/{env}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "type": {
+ "description": "Required. Resource file type. {{ resource_file_type }}",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/resourcefiles/{type}/{name}",
+ "request": {
+ "$ref": "GoogleApiHttpBody"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ResourceFile"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "sharedflows": {
+ "resources": {
+ "deployments": {
+ "methods": {
+ "list": {
+ "description": "Lists all deployments of a shared flow in an environment.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/sharedflows/{sharedflowsId}/deployments",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.sharedflows.deployments.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. Name representing a shared flow in an environment in the following\nformat:\n `organizations/{org}/environments/{env}/sharedflows/{sharedflow}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/sharedflows/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/deployments",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ListDeploymentsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "revisions": {
+ "methods": {
+ "deployments": {
+ "description": "Undeploys a shared flow revision from an environment.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/sharedflows/{sharedflowsId}/revisions/{revisionsId}/deployments",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.environments.sharedflows.revisions.deployments",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name of the shared flow revision to undeploy in the following format:\n `organizations/{org}/environments/{env}/sharedflows/{sharedflow}/revisions/{rev}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/sharedflows/[^/]+/revisions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}/deployments",
+ "response": {
+ "$ref": "GoogleProtobufEmpty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "getDeployments": {
+ "description": "Gets the deployment of a shared flow revision and actual state reported by\nruntime pods.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/sharedflows/{sharedflowsId}/revisions/{revisionsId}/deployments",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.sharedflows.revisions.getDeployments",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Name representing a shared flow in an environment in the following\nformat:\n `organizations/{org}/environments/{env}/sharedflows/{sharedflow}/revisions/{rev}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/sharedflows/[^/]+/revisions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}/deployments",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Deployment"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "stats": {
+ "methods": {
+ "get": {
+ "description": "Retrieve metrics grouped by dimensions.\nThe types of metrics you can retrieve include traffic, message counts,\nAPI call latency, response size, and cache hits and counts.\nDimensions let you view metrics in meaningful groups.\nThe stats api does accept dimensions as path params. The dimensions are\noptional in which case the metrics are computed on the entire data\nfor the given timerange.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/stats/{statsId}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.stats.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "accuracy": {
+ "description": "Legacy field: not used anymore.\nThis field is present to support UI calls which still use this parameter.",
+ "location": "query",
+ "type": "string"
+ },
+ "aggTable": {
+ "description": "If customers want to query custom aggregate tables, then this parameter\ncan be used to specify the table name. If this parameter is skipped, then\nEdge Query will try to retrieve the data from fact tables which will be\nexpensive.",
+ "location": "query",
+ "type": "string"
+ },
+ "filter": {
+ "description": "Enables drill-down on specific dimension values",
+ "location": "query",
+ "type": "string"
+ },
+ "limit": {
+ "description": "This parameter is used to limit the number of result items.\nDefault and the max value is 14400.",
+ "location": "query",
+ "type": "string"
+ },
+ "name": {
+ "description": "Required. The resource name for which the interactive query will be executed.\nMust be of the form\n `organizations/{organization_id}/environments/{environment_id/stats/{dimensions}`\nDimensions let you view metrics in meaningful groupings. E.g. apiproxy,\ntarget_host. The value of dimensions should be comma separated list as\nshown below\n`organizations/{org}/environments/{env}/stats/apiproxy,request_verb`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/stats/.*$",
+ "required": true,
+ "type": "string"
+ },
+ "offset": {
+ "description": "Use offset with limit to enable pagination of results. For example,\nto display results 11-20, set limit to '10' and offset to '10'.",
+ "location": "query",
+ "type": "string"
+ },
+ "realtime": {
+ "description": "Legacy field: not used anymore.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "select": {
+ "description": "The select parameter contains a comma separated list of metrics.\nE.g. sum(message_count),sum(error_count)",
+ "location": "query",
+ "type": "string"
+ },
+ "sonar": {
+ "description": "This parameter routes the query to api monitoring service for last hour.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "sort": {
+ "description": "This parameter specifies if the sort order should be ascending or\ndescending Supported values are DESC and ASC.",
+ "location": "query",
+ "type": "string"
+ },
+ "sortby": {
+ "description": "Comma separated list of columns to sort the final result.",
+ "location": "query",
+ "type": "string"
+ },
+ "timeRange": {
+ "description": "Time interval for the interactive query.\nTime range is specified as start~end E.g. 04/15/2017 00:00~05/15/2017 23:59",
+ "location": "query",
+ "type": "string"
+ },
+ "timeUnit": {
+ "description": "A value of second, minute, hour, day, week, month.\nTime Unit specifies the granularity of metrics returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "topk": {
+ "description": "Take 'top k' results from results, for example, to return the top 5\nresults 'topk=5'.",
+ "location": "query",
+ "type": "string"
+ },
+ "tsAscending": {
+ "description": "Lists timestamps in ascending order if set to true. Recommend setting\nthis value to true if you are using sortby with sort=DESC.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "tzo": {
+ "description": "This parameters contains the timezone offset value.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1Stats"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "targetservers": {
+ "methods": {
+ "create": {
+ "description": "Creates a TargetServer in the specified environment.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/targetservers",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.environments.targetservers.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Optional. The ID to give the TargetServer. This will overwrite the\nvalue in TargetServer.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. The parent environment name under which the TargetServer will\nbe created. Must be of the form `organizations/{org}/environments/{env}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/targetservers",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1TargetServer"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1TargetServer"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Deletes a TargetServer from an environment. Returns the deleted\nTargetServer resource.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/targetservers/{targetserversId}",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.environments.targetservers.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the TargetServer to delete. Must be\nof the form\n`organizations/{org}/environments/{env}/targetservers/{target_server_id}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/targetservers/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1TargetServer"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets a TargetServer resource.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/targetservers/{targetserversId}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.environments.targetservers.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the TargetServer to get. Must be of the form\n`organizations/{org}/environments/{env}/targetservers/{target_server_id}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/targetservers/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1TargetServer"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "update": {
+ "description": "Updates an existing TargetServer. Note that this operation has PUT\nsemantics; it will replace the entirety of the existing TargetServer with\nthe resource in the request body.",
+ "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/targetservers/{targetserversId}",
+ "httpMethod": "PUT",
+ "id": "apigee.organizations.environments.targetservers.update",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the TargetServer to replace. Must be of the form\n`organizations/{org}/environments/{env}/targetservers/{target_server_id}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/environments/[^/]+/targetservers/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1TargetServer"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1TargetServer"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "keyvaluemaps": {
+ "methods": {
+ "create": {
+ "description": "Creates a key value map in an organization.",
+ "flatPath": "v1/organizations/{organizationsId}/keyvaluemaps",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.keyvaluemaps.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The name of the organization in which to create the key value map\nfile. Must be of the form `organizations/{organization}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/keyvaluemaps",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1KeyValueMap"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1KeyValueMap"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Delete a key value map in an organization.",
+ "flatPath": "v1/organizations/{organizationsId}/keyvaluemaps/{keyvaluemapsId}",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.keyvaluemaps.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the key value map.\nMust be of the form\n`organizations/{organization}/keyvaluemaps/{keyvaluemap}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/keyvaluemaps/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1KeyValueMap"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "operations": {
+ "methods": {
+ "get": {
+ "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.",
+ "flatPath": "v1/organizations/{organizationsId}/operations/{operationsId}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.operations.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/operations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleLongrunningOperation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "list": {
+ "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{name=users/*}/operations\"` to their service configuration.\nFor backwards compatibility, the default name includes the operations\ncollection id, however overriding users must ensure the name binding\nis the parent resource, without the operations collection id.",
+ "flatPath": "v1/organizations/{organizationsId}/operations",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.operations.list",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "The standard list filter.",
+ "location": "query",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the operation's parent resource.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "The standard list page size.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "The standard list page token.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}/operations",
+ "response": {
+ "$ref": "GoogleLongrunningListOperationsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "reports": {
+ "methods": {
+ "create": {
+ "description": "Creates a Custom Report for an Organization. A Custom Report\nprovides Apigee Customers to create custom dashboards in addition\nto the standard dashboards which are provided. The Custom Report in its\nsimplest form contains specifications about metrics, dimensions and\nfilters. It is important to note that the custom report by itself does not\nprovide an executable entity. The Edge UI converts the custom report\ndefinition into an analytics query and displays the result in a chart.",
+ "flatPath": "v1/organizations/{organizationsId}/reports",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.reports.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The parent organization name under which the Custom Report will\nbe created. Must be of the form:\n `organizations/{organization_id}/reports`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/reports",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1CustomReport"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1CustomReport"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Deletes an existing custom report definition",
+ "flatPath": "v1/organizations/{organizationsId}/reports/{reportsId}",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.reports.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Custom Report name of the form:\n `organizations/{organization_id}/reports/{report_name}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/reports/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1DeleteCustomReportResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Retrieve a custom report definition.",
+ "flatPath": "v1/organizations/{organizationsId}/reports/{reportsId}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.reports.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Custom Report name of the form:\n `organizations/{organization_id}/reports/{report_name}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/reports/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1CustomReport"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "list": {
+ "description": "Return a list of Custom Reports",
+ "flatPath": "v1/organizations/{organizationsId}/reports",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.reports.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "expand": {
+ "description": "Set to 'true' to get expanded details about each custom report.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "parent": {
+ "description": "Required. The parent organization name under which the API product will\nbe listed\n `organizations/{organization_id}/reports`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/reports",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ListCustomReportsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "update": {
+ "description": "Update an existing custom report definition",
+ "flatPath": "v1/organizations/{organizationsId}/reports/{reportsId}",
+ "httpMethod": "PUT",
+ "id": "apigee.organizations.reports.update",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. Custom Report name of the form:\n `organizations/{organization_id}/reports/{report_name}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/reports/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "request": {
+ "$ref": "GoogleCloudApigeeV1CustomReport"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1CustomReport"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "sharedflows": {
+ "methods": {
+ "create": {
+ "description": "Uploads a ZIP-formatted shared flow configuration bundle to an\norganization. If the shared flow already exists, this creates a new\nrevision of it. If the shared flow does not exist, this creates it.\n\nOnce imported, the shared flow revision must be deployed before it can be\naccessed at runtime.\n\nThe size limit of a shared flow bundle is 15 MB.",
+ "flatPath": "v1/organizations/{organizationsId}/sharedflows",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.sharedflows.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "action": {
+ "description": "Required. Must be set to either `import` or `validate`.",
+ "location": "query",
+ "type": "string"
+ },
+ "name": {
+ "description": "Required. The name to give the shared flow",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. The name of the parent organization under which to create the\nshared flow. Must be of the form:\n `organizations/{organization_id}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/sharedflows",
+ "request": {
+ "$ref": "GoogleApiHttpBody"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1SharedFlowRevision"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Deletes a shared flow and all it's revisions. The shared flow must be\nundeployed before you can delete it.",
+ "flatPath": "v1/organizations/{organizationsId}/sharedflows/{sharedflowsId}",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.sharedflows.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. shared flow name of the form:\n `organizations/{organization_id}/sharedflows/{shared_flow_id}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/sharedflows/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1SharedFlow"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets a shared flow by name, including a list of its revisions.",
+ "flatPath": "v1/organizations/{organizationsId}/sharedflows/{sharedflowsId}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.sharedflows.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the shared flow to get. Must be of the\nform:\n `organizations/{organization_id}/sharedflows/{shared_flow_id}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/sharedflows/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1SharedFlow"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "list": {
+ "description": "Lists all shared flows in the organization.",
+ "flatPath": "v1/organizations/{organizationsId}/sharedflows",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.sharedflows.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "includeMetaData": {
+ "description": "Indicates whether to include shared flow metadata in the response.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "includeRevisions": {
+ "description": "Indicates whether to include a list of revisions in the response.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "parent": {
+ "description": "Required. The name of the parent organization under which to get shared\nflows. Must be of the form:\n `organizations/{organization_id}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/sharedflows",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ListSharedFlowsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ },
+ "resources": {
+ "deployments": {
+ "methods": {
+ "list": {
+ "description": "Lists all deployments of a shared flow.",
+ "flatPath": "v1/organizations/{organizationsId}/sharedflows/{sharedflowsId}/deployments",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.sharedflows.deployments.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. Name of the shared flow for which to return deployment information in the\nfollowing format:\n `organizations/{org}/sharedflows/{sharedflow}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/sharedflows/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/deployments",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ListDeploymentsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "revisions": {
+ "methods": {
+ "delete": {
+ "description": "Deletes a shared flow and all associated policies, resources, and\nrevisions. You must undeploy the shared flow before deleting it.",
+ "flatPath": "v1/organizations/{organizationsId}/sharedflows/{sharedflowsId}/revisions/{revisionsId}",
+ "httpMethod": "DELETE",
+ "id": "apigee.organizations.sharedflows.revisions.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the shared flow revision to delete. Must be of the\nform:\n `organizations/{organization_id}/sharedflows/{shared_flow_id}/revisions/{revision_id}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/sharedflows/[^/]+/revisions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1SharedFlowRevision"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets a revision of a shared flow.\n\nIf `format=bundle` is passed, it instead outputs a shared flow revision as\na ZIP-formatted bundle of code and config files.",
+ "flatPath": "v1/organizations/{organizationsId}/sharedflows/{sharedflowsId}/revisions/{revisionsId}",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.sharedflows.revisions.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "format": {
+ "description": "Specify `bundle` to export the contents of the shared flow bundle.\nOtherwise, the bundle metadata is returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "name": {
+ "description": "Required. The name of the shared flow revision to get. Must be of the\nform:\n `organizations/{organization_id}/sharedflows/{shared_flow_id}/revisions/{revision_id}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/sharedflows/[^/]+/revisions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleApiHttpBody"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "updateSharedFlowRevision": {
+ "description": "Updates a shared flow revision. This operation is only allowed on revisions\nwhich have never been deployed. After deployment a revision becomes\nimmutable, even if it becomes undeployed.\n\nThe payload is a ZIP-formatted shared flow. Content type must be either\nmultipart/form-data or application/octet-stream.",
+ "flatPath": "v1/organizations/{organizationsId}/sharedflows/{sharedflowsId}/revisions/{revisionsId}",
+ "httpMethod": "POST",
+ "id": "apigee.organizations.sharedflows.revisions.updateSharedFlowRevision",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the shared flow revision to update.\nMust be of the form:\n `organizations/{organization_id}/sharedflows/{shared_flow_id}/revisions/{revision_id}`",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/sharedflows/[^/]+/revisions/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "validate": {
+ "description": "Ignored. All uploads are validated regardless of the value of this field.\nIt is kept for compatibility with existing APIs. Must be `true` or `false`\nif provided.",
+ "location": "query",
+ "type": "boolean"
+ }
+ },
+ "path": "v1/{+name}",
+ "request": {
+ "$ref": "GoogleApiHttpBody"
+ },
+ "response": {
+ "$ref": "GoogleCloudApigeeV1SharedFlowRevision"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ },
+ "resources": {
+ "deployments": {
+ "methods": {
+ "list": {
+ "description": "Lists all deployments of a shared flow revision.",
+ "flatPath": "v1/organizations/{organizationsId}/sharedflows/{sharedflowsId}/revisions/{revisionsId}/deployments",
+ "httpMethod": "GET",
+ "id": "apigee.organizations.sharedflows.revisions.deployments.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. Name of the API proxy revision for which to return deployment information\nin the following format:\n `organizations/{org}/sharedflows/{sharedflow}/revisions/{rev}`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/sharedflows/[^/]+/revisions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/deployments",
+ "response": {
+ "$ref": "GoogleCloudApigeeV1ListDeploymentsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "revision": "20200625",
+ "rootUrl": "https://apigee.googleapis.com/",
+ "schemas": {
+ "GoogleApiHttpBody": {
+ "description": "Message that represents an arbitrary HTTP body. It should only be used for\npayload formats that can't be represented as JSON, such as raw binary or\nan HTML page.\n\n\nThis message can be used both in streaming and non-streaming API methods in\nthe request as well as the response.\n\nIt can be used as a top-level request field, which is convenient if one\nwants to extract parameters from either the URL or HTTP template into the\nrequest fields and also want access to the raw HTTP body.\n\nExample:\n\n message GetResourceRequest {\n // A unique request id.\n string request_id = 1;\n\n // The raw HTTP body is bound to this field.\n google.api.HttpBody http_body = 2;\n }\n\n service ResourceService {\n rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);\n rpc UpdateResource(google.api.HttpBody) returns\n (google.protobuf.Empty);\n }\n\nExample with streaming methods:\n\n service CaldavService {\n rpc GetCalendar(stream google.api.HttpBody)\n returns (stream google.api.HttpBody);\n rpc UpdateCalendar(stream google.api.HttpBody)\n returns (stream google.api.HttpBody);\n }\n\nUse of this type only changes how the request and response bodies are\nhandled, all other features will continue to work unchanged.",
+ "id": "GoogleApiHttpBody",
+ "properties": {
+ "contentType": {
+ "description": "The HTTP Content-Type header value specifying the content type of the body.",
+ "type": "string"
+ },
+ "data": {
+ "description": "The HTTP request/response body as raw binary.",
+ "format": "byte",
+ "type": "string"
+ },
+ "extensions": {
+ "description": "Application specific response metadata. Must be set in the first response\nfor streaming APIs.",
+ "items": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1Access": {
+ "id": "GoogleCloudApigeeV1Access",
+ "properties": {
+ "Get": {
+ "$ref": "GoogleCloudApigeeV1AccessGet"
+ },
+ "Remove": {
+ "$ref": "GoogleCloudApigeeV1AccessRemove"
+ },
+ "Set": {
+ "$ref": "GoogleCloudApigeeV1AccessSet"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1AccessGet": {
+ "description": "Get action. For example,\n\"Get\" : {\n \"name\" : \"target.name\",\n \"value\" : \"default\"\n}",
+ "id": "GoogleCloudApigeeV1AccessGet",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1AccessRemove": {
+ "description": "Remove action. For example,\n\"Remove\" : {\n \"name\" : \"target.name\",\n \"success\" : true\n}",
+ "id": "GoogleCloudApigeeV1AccessRemove",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "success": {
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1AccessSet": {
+ "description": "Set action. For example,\n\"Set\" : {\n \"name\" : \"target.name\",\n \"success\" : true,\n \"value\" : \"default\"\n}",
+ "id": "GoogleCloudApigeeV1AccessSet",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "success": {
+ "type": "boolean"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1Alias": {
+ "description": "A reference to a certificate or key, certificate pair.",
+ "id": "GoogleCloudApigeeV1Alias",
+ "properties": {
+ "alias": {
+ "description": "The resource ID for this alias. Values must match regular expression\n`[^/]{1,255}`.",
+ "type": "string"
+ },
+ "certsInfo": {
+ "$ref": "GoogleCloudApigeeV1Certificate",
+ "description": "The chain of certificates under this alias."
+ },
+ "type": {
+ "description": "The type of alias.",
+ "enum": [
+ "ALIAS_TYPE_UNSPECIFIED",
+ "CERT",
+ "KEY_CERT"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1AliasRevisionConfig": {
+ "id": "GoogleCloudApigeeV1AliasRevisionConfig",
+ "properties": {
+ "location": {
+ "description": "The location of the alias file, e.g. a GCS URI.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the alias revision included in the keystore. Must be of the\nform:\n'organizations/{org}/environments/{env}/keystores/{keystore}/aliases/{alias}/revisions/{rev}'.",
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "ALIAS_TYPE_UNSPECIFIED",
+ "CERT",
+ "KEY_CERT"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1ApiProduct": {
+ "id": "GoogleCloudApigeeV1ApiProduct",
+ "properties": {
+ "apiResources": {
+ "description": "Comma-separated list of API resources to be bundled in the API Product.\n\nBy default, the resource paths are mapped from the `proxy.pathsuffix`\nvariable.\n\nThe proxy path suffix is defined as the URI fragment following the\nProxyEndpoint base path.\nFor example, if the `apiResources` element is defined to be\n`/forecastrss` and the base path defined for the API proxy is\n`/weather`, then only requests to `/weather/forecastrss` are permitted by\nthe API product.\n\nYou can select a specific path, or you can select all subpaths with the\nfollowing wildcard:\n\n- /**: Indicates that all sub-URIs are included.\n- /* : Indicates that only URIs one level down are included.\n\nBy default, / supports the same resources as /** as well as the base path\ndefined by the API proxy.\n\nFor example, if the base path of the API proxy is `/v1/weatherapikey`,\nthen the API product supports requests to `/v1/weatherapikey` and to any\nsub-URIs, such as `/v1/weatherapikey/forecastrss`,\n`/v1/weatherapikey/region/CA`, and so on.\nFor more information, see:\n\n- Manage API\nproducts\n- Managing\na transaction recording policy using the API",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "approvalType": {
+ "description": "Specifies how API keys are approved to access the APIs defined by the API\nproduct.\n\nIf set to `manual`, the consumer key is generated and returned in \"pending\"\nstate. In this case, the API keys won't work until they have been\nexplicitly approved.\n\nIf set to `auto`, the consumer key is generated and returned in \"approved\"\nstate and can be used immediately.\n\n",
+ "type": "string"
+ },
+ "attributes": {
+ "description": "Array of attributes that may be used to extend the default API product\nprofile with customer-specific metadata. You can specify a maximum of 18\nattributes.\n\nUse this property to specify the access level of the API product as either\n`public`, `private`, or `internal`.\n\nOnly products marked `public` are available to developers in the Apigee\ndeveloper portal. For example, you can set a product to `internal` while it\nis in development and then change access to `public` when it is ready to\nrelease on the portal.\n\nAPI products marked as `private` do not appear on the portal but\ncan be accessed by external developers.\n\nFor monetization, you can use the attributes field to:\n\n- Specify transaction success criteria\n- Specify custom attributes on which you base rate plan\ncharges.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1Attribute"
+ },
+ "type": "array"
+ },
+ "createdAt": {
+ "description": "Response only. Creation time of this environment as milliseconds since\nepoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "description": {
+ "description": "An overview of the API product. Include key information about the API\nproduct that is not captured by other fields.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "The name to be displayed in the UI or developer portal to developers\nregistering for API access.",
+ "type": "string"
+ },
+ "environments": {
+ "description": "A comma-separated list of environment names to which the API product is\nbound. Requests to environments that are not listed are rejected.\n\nBy specifying one or more environments, you can bind the resources listed\nin the API product to a specific environment, preventing developers from\naccessing those resources through API proxies deployed in another\nenvironment.\n\nThis setting is used, for example, to prevent resources associated with\nAPI proxies in 'prod' from being accessed by API proxies deployed in\n'test'.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "lastModifiedAt": {
+ "description": "Response only. Modified time of this environment as milliseconds since\nepoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "name": {
+ "description": "The internal name of the API Product. Characters you can use in the name\nare restricted to: A-Z0-9._\\-$ %.\n\n",
+ "type": "string"
+ },
+ "proxies": {
+ "description": "A comma-separated list of API proxy names to which this API product is\nbound. By specifying API proxies, you can associate resources in the API\nproduct with specific API proxies, preventing developers from accessing\nthose resources through other API proxies.\n\nEdge rejects requests to API proxies that are not listed.\n\n",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "quota": {
+ "description": "The number of request messages permitted per app by this API product for\nthe specified `quotaInterval` and `quotaTimeUnit`.\n\nFor example, a `quota` of 50, for a `quotaInterval` of 12 and a\n`quotaTimeUnit` of hours means 50 requests are allowed every 12 hours.",
+ "type": "string"
+ },
+ "quotaInterval": {
+ "description": "The time interval over which the number of request messages is calculated.",
+ "type": "string"
+ },
+ "quotaTimeUnit": {
+ "description": "The time unit defined for the `quotaInterval`. Valid values include minute,\nhour, day, or month.",
+ "type": "string"
+ },
+ "scopes": {
+ "description": "A comma-separated list of OAuth scopes that are validated at runtime.\nEdge validates that the scopes in any access token presented match the\nscopes defined in the OAuth policy assoicated with the API product.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1ApiProductRef": {
+ "id": "GoogleCloudApigeeV1ApiProductRef",
+ "properties": {
+ "apiproduct": {
+ "description": "Name of the API product.",
+ "type": "string"
+ },
+ "status": {
+ "description": "Status of the API product.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1ApiProxy": {
+ "description": "Metadata describing the API proxy",
+ "id": "GoogleCloudApigeeV1ApiProxy",
+ "properties": {
+ "latestRevisionId": {
+ "description": "The id of the most recently created revision for this api proxy.",
+ "type": "string"
+ },
+ "metaData": {
+ "$ref": "GoogleCloudApigeeV1EntityMetadata",
+ "description": "Metadata describing the API proxy."
+ },
+ "name": {
+ "description": "Name of the API proxy.",
+ "type": "string"
+ },
+ "revision": {
+ "description": "List of revisons defined for the API proxy.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1ApiProxyRevision": {
+ "description": "API proxy revision.",
+ "id": "GoogleCloudApigeeV1ApiProxyRevision",
+ "properties": {
+ "basepaths": {
+ "description": "Base URL of the API proxy.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "configurationVersion": {
+ "$ref": "GoogleCloudApigeeV1ConfigVersion",
+ "description": "Version of the API proxy configuration schema to which the API proxy\nconforms. Currently, the only supported value is 4.0\n(`majorVersion.minorVersion`). This setting may be used in the future to\ntrack the evolution of the API proxy format."
+ },
+ "contextInfo": {
+ "description": "Revision number, app name, and organization for the API proxy.",
+ "type": "string"
+ },
+ "createdAt": {
+ "description": "Time that the API proxy revision was created in milliseconds since\nepoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of the API proxy revision.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Human-readable name of the API proxy.",
+ "type": "string"
+ },
+ "entityMetaDataAsProperties": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Metadata describing the API proxy revision as a key-value map.",
+ "type": "object"
+ },
+ "lastModifiedAt": {
+ "description": "Time that the API proxy revision was last modified in\nmilliseconds since epoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name of the API proxy.",
+ "type": "string"
+ },
+ "policies": {
+ "description": "List of policy names included in the API proxy revision..",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "proxies": {
+ "description": "List of proxy names included in the API proxy revision.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "proxyEndpoints": {
+ "description": "List of ProxyEndpoints in the `/proxies` directory of the API proxy.\nTypically, this element is included only when the API proxy was created\nusing the Edge UI. This is a 'manifest' setting designed to\nprovide visibility into the contents of the API proxy.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "resourceFiles": {
+ "$ref": "GoogleCloudApigeeV1ResourceFiles",
+ "description": "List of resource files included in the API proxy revision."
+ },
+ "resources": {
+ "description": "List of the resources included in the API proxy revision formatted as\n\"{type}://{name}\".",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "revision": {
+ "description": "API proxy revision.",
+ "type": "string"
+ },
+ "sharedFlows": {
+ "description": "List of the shared flows included in the API proxy revision.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "spec": {
+ "description": "OpenAPI Specification that is associated with the API proxy.\nThe value is set to a URL or to a path in the specification store.",
+ "type": "string"
+ },
+ "targetEndpoints": {
+ "description": "List of TargetEndpoints in the `/targets` directory of the API proxy.\nTypically, this element is included only when the API proxy was created\nusing the Edge UI. This is a 'manifest' setting designed to\nprovide visibility into the contents of the API proxy.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "targetServers": {
+ "description": "List of TargetServers referenced in any TargetEndpoint in the API\nproxy. Typically, you will see this element only when the API proxy was\ncreated using the Edge UI. This is a 'manifest' setting\ndesigned to provide visibility into the contents of the API proxy.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "targets": {
+ "description": "List of the targets included in the API proxy revision.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "teams": {
+ "description": "List of the teams included in the API proxy revision.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "type": {
+ "description": "Type. Set to `Application`. Maintained for compatibility with\nthe Apigee Edge API.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1App": {
+ "id": "GoogleCloudApigeeV1App",
+ "properties": {
+ "apiProducts": {
+ "description": "List of API products associated with the app.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1ApiProductRef"
+ },
+ "type": "array"
+ },
+ "appId": {
+ "description": "ID of the app.",
+ "type": "string"
+ },
+ "attributes": {
+ "description": "List of attributes.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1Attribute"
+ },
+ "type": "array"
+ },
+ "callbackUrl": {
+ "description": "Callback URL used by OAuth 2.0 authorization servers to communicate\nauthorization codes back to apps.",
+ "type": "string"
+ },
+ "companyName": {
+ "description": "Name of the company that owns the app.",
+ "type": "string"
+ },
+ "createdAt": {
+ "description": "Output only. Unix time when the app was created.",
+ "format": "int64",
+ "type": "string"
+ },
+ "credentials": {
+ "description": "Output only. Set of credentials for the app. Credentials are API\nkey/secret pairs associated with API products.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1Credential"
+ },
+ "type": "array"
+ },
+ "developerId": {
+ "description": "ID of the developer.",
+ "type": "string"
+ },
+ "keyExpiresIn": {
+ "description": "Duration, in milliseconds, of the consumer key that will\nbe generated for the app. The default value, -1, indicates an\ninfinite validity period. Once set, the expiration can't be updated.\njson key: keyExpiresIn",
+ "format": "int64",
+ "type": "string"
+ },
+ "lastModifiedAt": {
+ "description": "Output only. Last modified time as milliseconds since epoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name of the app.",
+ "type": "string"
+ },
+ "scopes": {
+ "description": "Scopes to apply to the app. The specified scope names must already\nexist on the API product that you associate with the app.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "status": {
+ "description": "Status of the credential.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1AsyncQuery": {
+ "id": "GoogleCloudApigeeV1AsyncQuery",
+ "properties": {
+ "created": {
+ "description": "Creation time of the query.",
+ "type": "string"
+ },
+ "error": {
+ "description": "Error is set when query fails.",
+ "type": "string"
+ },
+ "executionTime": {
+ "description": "ExecutionTime is available only after the query is completed.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Asynchronous Query Name.",
+ "type": "string"
+ },
+ "queryParams": {
+ "$ref": "GoogleCloudApigeeV1QueryMetadata",
+ "description": "Contains information like metrics, dimenstions etc of the AsyncQuery."
+ },
+ "reportDefinitionId": {
+ "description": "Asynchronous Report ID.",
+ "type": "string"
+ },
+ "result": {
+ "$ref": "GoogleCloudApigeeV1AsyncQueryResult",
+ "description": "Result is available only after the query is completed."
+ },
+ "resultFileSize": {
+ "description": "ResultFileSize is available only after the query is completed.",
+ "type": "string"
+ },
+ "resultRows": {
+ "description": "ResultRows is available only after the query is completed.",
+ "format": "int64",
+ "type": "string"
+ },
+ "self": {
+ "description": "Self link of the query.\n\nExample:\n`/organizations/myorg/environments/myenv/queries/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd`",
+ "type": "string"
+ },
+ "state": {
+ "description": "Query state could be \"enqueued\", \"running\", \"completed\", \"failed\".",
+ "type": "string"
+ },
+ "updated": {
+ "description": "Last updated timestamp for the query.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1AsyncQueryResult": {
+ "id": "GoogleCloudApigeeV1AsyncQueryResult",
+ "properties": {
+ "expires": {
+ "description": "Query result will be unaccessable after this time.",
+ "type": "string"
+ },
+ "self": {
+ "description": "Self link of the query results.\n\nExample:\n`/organizations/myorg/environments/myenv/queries/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd/result`",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1Attribute": {
+ "description": "Key-value pair to store extra metadata.",
+ "id": "GoogleCloudApigeeV1Attribute",
+ "properties": {
+ "name": {
+ "description": "API key of the attribute.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Value of the attribute.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1Attributes": {
+ "id": "GoogleCloudApigeeV1Attributes",
+ "properties": {
+ "attribute": {
+ "description": "List of attributes.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1Attribute"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1CertInfo": {
+ "description": "An X.509 certificate as defined in RFC 5280.",
+ "id": "GoogleCloudApigeeV1CertInfo",
+ "properties": {
+ "basicConstraints": {
+ "description": "The X.509 basic constraints extension.",
+ "type": "string"
+ },
+ "expiryDate": {
+ "description": "The X.509 validity / notAfter in milliseconds since the epoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "isValid": {
+ "description": "\"Yes\" if certificate is valid, \"No\" if expired and \"Not yet\"\nif not yet valid.",
+ "type": "string"
+ },
+ "issuer": {
+ "description": "The X.509 issuer.",
+ "type": "string"
+ },
+ "publicKey": {
+ "description": "The public key component of the X.509 subject public key info.",
+ "type": "string"
+ },
+ "serialNumber": {
+ "description": "The X.509 serial number.",
+ "type": "string"
+ },
+ "sigAlgName": {
+ "description": "The X.509 signatureAlgorithm.",
+ "type": "string"
+ },
+ "subject": {
+ "description": "The X.509 subject.",
+ "type": "string"
+ },
+ "subjectAlternativeNames": {
+ "description": "The X.509 subject alternative names (SANs) extension.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "validFrom": {
+ "description": "The X.509 validity / notBefore in milliseconds since the\nepoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "version": {
+ "description": "The X.509 version.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1Certificate": {
+ "id": "GoogleCloudApigeeV1Certificate",
+ "properties": {
+ "certInfo": {
+ "description": "The chain of certificates under this name.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1CertInfo"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1CommonNameConfig": {
+ "id": "GoogleCloudApigeeV1CommonNameConfig",
+ "properties": {
+ "matchWildCards": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1ConfigVersion": {
+ "description": "Version of the API proxy configuration schema. Currently, only 4.0 is\nsupported.",
+ "id": "GoogleCloudApigeeV1ConfigVersion",
+ "properties": {
+ "majorVersion": {
+ "description": "Major version of the API proxy configuration schema.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "minorVersion": {
+ "description": "Minor version of the API proxy configuration schema.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1Credential": {
+ "id": "GoogleCloudApigeeV1Credential",
+ "properties": {
+ "apiProducts": {
+ "description": "List of API products this credential can be used for.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1ApiProductRef"
+ },
+ "type": "array"
+ },
+ "attributes": {
+ "description": "List of attributes associated with this credential.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1Attribute"
+ },
+ "type": "array"
+ },
+ "consumerKey": {
+ "description": "Consumer key.",
+ "type": "string"
+ },
+ "consumerSecret": {
+ "description": "Secret key.",
+ "type": "string"
+ },
+ "expiresAt": {
+ "description": "Time the credential will expire in milliseconds since epoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "issuedAt": {
+ "description": "Time the credential was issued in milliseconds since epoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "scopes": {
+ "description": "List of scopes to apply to the app. Specified scopes must already\nexist on the API product that you associate with the app.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "status": {
+ "description": "Status of the credential.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1CustomReport": {
+ "id": "GoogleCloudApigeeV1CustomReport",
+ "properties": {
+ "chartType": {
+ "description": "This field contains the chart type for the report",
+ "type": "string"
+ },
+ "comments": {
+ "description": "Legacy field: not used. This field contains a list of comments associated\nwith custom report",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "createdAt": {
+ "description": "Output only. Unix time when the app was created\njson key: createdAt",
+ "format": "int64",
+ "type": "string"
+ },
+ "dimensions": {
+ "description": "This contains the list of dimensions for the report",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "displayName": {
+ "description": "This is the display name for the report",
+ "type": "string"
+ },
+ "environment": {
+ "description": "Output only. Environment name",
+ "type": "string"
+ },
+ "filter": {
+ "description": "This field contains the filter expression",
+ "type": "string"
+ },
+ "fromTime": {
+ "description": "Legacy field: not used. Contains the from time for the report",
+ "type": "string"
+ },
+ "lastModifiedAt": {
+ "description": "Output only. Modified time of this entity as milliseconds since epoch.\njson key: lastModifiedAt",
+ "format": "int64",
+ "type": "string"
+ },
+ "lastViewedAt": {
+ "description": "Output only. Last viewed time of this entity as milliseconds since epoch",
+ "format": "int64",
+ "type": "string"
+ },
+ "limit": {
+ "description": "Legacy field: not used This field contains the limit for the result\nretrieved",
+ "type": "string"
+ },
+ "metrics": {
+ "description": "Required. This contains the list of metrics",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1CustomReportMetric"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "Required. Unique identifier for the report\nT his is a legacy field used to encode custom report unique id",
+ "type": "string"
+ },
+ "offset": {
+ "description": "Legacy field: not used. This field contains the offset for the data",
+ "type": "string"
+ },
+ "organization": {
+ "description": "Output only. Organization name",
+ "type": "string"
+ },
+ "properties": {
+ "description": "This field contains report properties such as ui metadata etc.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1ReportProperty"
+ },
+ "type": "array"
+ },
+ "sortByCols": {
+ "description": "Legacy field: not used much. Contains the list of sort by columns",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "sortOrder": {
+ "description": "Legacy field: not used much. Contains the sort order for the sort columns",
+ "type": "string"
+ },
+ "tags": {
+ "description": "Legacy field: not used. This field contains a list of tags associated with\ncustom report",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "timeUnit": {
+ "description": "This field contains the time unit of aggregation for the report",
+ "type": "string"
+ },
+ "toTime": {
+ "description": "Legacy field: not used. Contains the end time for the report",
+ "type": "string"
+ },
+ "topk": {
+ "description": "Legacy field: not used. This field contains the top k parameter value\nfor restricting the result",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1CustomReportMetric": {
+ "description": "This encapsulates a metric property of the form sum(message_count)\nwhere name is message_count and function is sum",
+ "id": "GoogleCloudApigeeV1CustomReportMetric",
+ "properties": {
+ "function": {
+ "description": "aggregate function",
+ "type": "string"
+ },
+ "name": {
+ "description": "name of the metric",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1DataCollectorConfig": {
+ "description": "A DataCollector and its configuration.",
+ "id": "GoogleCloudApigeeV1DataCollectorConfig",
+ "properties": {
+ "name": {
+ "description": "The name of the data collector. Must be of the form\n'organizations/{org}/datacollectors/{dc}'.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The data type this DataCollector accepts.",
+ "enum": [
+ "TYPE_UNSPECIFIED",
+ "INTEGER",
+ "FLOAT",
+ "STRING",
+ "BOOLEAN",
+ "DATETIME"
+ ],
+ "enumDescriptions": [
+ "For future compatibility.",
+ "For integer values.",
+ "For float values.",
+ "For string values.",
+ "For boolean values.",
+ "For datetime values."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1DebugMask": {
+ "id": "GoogleCloudApigeeV1DebugMask",
+ "properties": {
+ "faultJSONPaths": {
+ "description": "List of JSON paths that specify the JSON elements to be filtered from JSON\npayloads in error flows.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "faultXPaths": {
+ "description": "List of XPaths that specify the XML elements to be filtered from XML\npayloads in error flows.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "Name of the debug mask.",
+ "type": "string"
+ },
+ "namespaces": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Map of namespaces to URIs.",
+ "type": "object"
+ },
+ "requestJSONPaths": {
+ "description": "List of JSON paths that specify the JSON elements to be filtered from JSON\nrequest message payloads.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "requestXPaths": {
+ "description": "List of XPaths that specify the XML elements to be filtered from XML\nrequest message payloads.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "responseJSONPaths": {
+ "description": "List of JSON paths that specify the JSON elements to be filtered from JSON\nresponse message payloads.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "responseXPaths": {
+ "description": "List of XPaths that specify the XML elements to be filtered from XML\nresponse message payloads.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "variables": {
+ "description": "List of variables that should be masked from the debug output.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1DebugSession": {
+ "id": "GoogleCloudApigeeV1DebugSession",
+ "properties": {
+ "count": {
+ "description": "Optional. The number of request to be traced. Min = 1, Max = 15, Default\n= 10.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "filter": {
+ "description": "Optional. A conditional statement which is evaluated against the request\nmessage to determine if it should be traced. Syntax matches that of on\nAPI Proxy bundle flow Condition.",
+ "type": "string"
+ },
+ "name": {
+ "description": "A unique ID for this DebugSession.",
+ "type": "string"
+ },
+ "timeout": {
+ "description": "Optional. The time in seconds after which this DebugSession should end.\nThis value will override the value in query param, if both are provided.",
+ "format": "int64",
+ "type": "string"
+ },
+ "tracesize": {
+ "description": "Optional. The maximum number of bytes captured from the response payload.\nMin = 0, Max = 5120, Default = 5120.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "validity": {
+ "description": "Optional. The length of time, in seconds, that this debug session is valid,\nstarting from when it's received in the control plane. Min = 1, Max = 15,\nDefault = 10.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1DebugSessionTransaction": {
+ "description": "A transaction contains all of the debug information of the entire message\nflow of an API call processed by the runtime plane. The information is\ncollected and recorded at critical points of the message flow in the runtime\napiproxy.",
+ "id": "GoogleCloudApigeeV1DebugSessionTransaction",
+ "properties": {
+ "completed": {
+ "description": "Flag indicating whether a transaction is completed or not",
+ "type": "boolean"
+ },
+ "point": {
+ "description": "List of debug data collected by runtime plane at various defined points in\nthe flow.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1Point"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1DeleteCustomReportResponse": {
+ "id": "GoogleCloudApigeeV1DeleteCustomReportResponse",
+ "properties": {
+ "message": {
+ "description": "The response contains only a message field.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1Deployment": {
+ "id": "GoogleCloudApigeeV1Deployment",
+ "properties": {
+ "apiProxy": {
+ "description": "API proxy.",
+ "type": "string"
+ },
+ "basePath": {
+ "description": "Base path for the deployment.",
+ "type": "string"
+ },
+ "deployStartTime": {
+ "description": "Time the API proxy was marked `deployed` in the control plane in\nmillisconds since epoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "environment": {
+ "description": "Environment.",
+ "type": "string"
+ },
+ "pods": {
+ "description": "Status reported by runtime pods.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1PodStatus"
+ },
+ "type": "array"
+ },
+ "revision": {
+ "description": "API proxy revision.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1DeploymentConfig": {
+ "id": "GoogleCloudApigeeV1DeploymentConfig",
+ "properties": {
+ "attributes": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Additional key-value metadata about the deployment.",
+ "type": "object"
+ },
+ "basePath": {
+ "description": "Base path where the application needs to be hosted. Default value is\nassumed to be \"/\".",
+ "type": "string"
+ },
+ "location": {
+ "description": "The location of the proxy bundle, as a uri.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the API or shared flow revision to be deployed. Must be of the\nform 'organizations/{org}/apis/{api}/revisions/{rev}' or\n'organizations/{org}/sharedflows/{sf}/revisions/{rev}'.",
+ "type": "string"
+ },
+ "proxyUid": {
+ "description": "The uid of the proxy revision.",
+ "type": "string"
+ },
+ "uid": {
+ "description": "A unique id that will only change if the deployment is deleted and\nrecreated.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1Developer": {
+ "id": "GoogleCloudApigeeV1Developer",
+ "properties": {
+ "accessType": {
+ "description": "Access type.",
+ "type": "string"
+ },
+ "appFamily": {
+ "description": "Developer app family.",
+ "type": "string"
+ },
+ "apps": {
+ "description": "List of apps associated with the developer.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "attributes": {
+ "description": "Optional. Developer attributes (name/value pairs). The custom attribute limit is 18.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1Attribute"
+ },
+ "type": "array"
+ },
+ "companies": {
+ "description": "List of companies associated with the developer.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "createdAt": {
+ "description": "Output only. Time at which the developer was created in milliseconds\nsince epoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "developerId": {
+ "description": "ID of the developer.\n\n**Note**: IDs are generated internally by Apigee and are not\nguaranteed to stay the same over time.",
+ "type": "string"
+ },
+ "email": {
+ "description": "Required. Email address of the developer. This value is used to uniquely identify\nthe developer in Apigee hybrid.",
+ "type": "string"
+ },
+ "firstName": {
+ "description": "Required. First name of the developer.",
+ "type": "string"
+ },
+ "lastModifiedAt": {
+ "description": "Output only. Time at which the developer was last modified in\nmilliseconds since epoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "lastName": {
+ "description": "Required. Last name of the developer.",
+ "type": "string"
+ },
+ "organizationName": {
+ "description": "Output only. Name of the Apigee organization in which the developer resides.",
+ "type": "string"
+ },
+ "status": {
+ "description": "Output only. Status of the developer. Valid values are `active` and `inactive`.",
+ "type": "string"
+ },
+ "userName": {
+ "description": "Required. User name of the developer. Not used by Apigee hybrid.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1DeveloperApp": {
+ "id": "GoogleCloudApigeeV1DeveloperApp",
+ "properties": {
+ "apiProducts": {
+ "description": "List of API products associated with the developer app.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "appFamily": {
+ "description": "Developer app family.",
+ "type": "string"
+ },
+ "appId": {
+ "description": "ID of the developer app.",
+ "type": "string"
+ },
+ "attributes": {
+ "description": "List of attributes for the developer app.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1Attribute"
+ },
+ "type": "array"
+ },
+ "callbackUrl": {
+ "description": "Callback URL used by OAuth 2.0 authorization servers to communicate\nauthorization codes back to developer apps.",
+ "type": "string"
+ },
+ "createdAt": {
+ "description": "Output only. Time the developer app was created in milliseconds since epoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "credentials": {
+ "description": "Output only. Set of credentials for the developer app consisting of the\nconsumer key/secret pairs associated with the API products.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1Credential"
+ },
+ "type": "array"
+ },
+ "developerId": {
+ "description": "ID of the developer.",
+ "type": "string"
+ },
+ "keyExpiresIn": {
+ "description": "Expiration time, in milliseconds, for the consumer key that\nis generated for the developer app. If not set or left to the default\nvalue of `-1`, the API key never expires.\nThe expiration time can't be updated after it is set.",
+ "format": "int64",
+ "type": "string"
+ },
+ "lastModifiedAt": {
+ "description": "Output only. Time the developer app was modified in milliseconds since epoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name of the developer app.",
+ "type": "string"
+ },
+ "scopes": {
+ "description": "Scopes to apply to the developer app. The specified scopes must\nalready exist for the API product that you associate with the developer\napp.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "status": {
+ "description": "Status of the credential. Valid values include `approved` or `revoked`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1DeveloperAppKey": {
+ "id": "GoogleCloudApigeeV1DeveloperAppKey",
+ "properties": {
+ "apiProducts": {
+ "description": "List of API products for which the credential can be used.\n\n**Note**: Do not specify the list of API products when creating a consumer\nkey and secret for a developer app. Instead, use the\nUpdateDeveloperAppKey API to\nmake the association after the consumer key and secret are created.",
+ "items": {
+ "type": "any"
+ },
+ "type": "array"
+ },
+ "attributes": {
+ "description": "List of attributes associated with the credential.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1Attribute"
+ },
+ "type": "array"
+ },
+ "consumerKey": {
+ "description": "Consumer key.",
+ "type": "string"
+ },
+ "consumerSecret": {
+ "description": "Secret key.",
+ "type": "string"
+ },
+ "expiresAt": {
+ "description": "Time the developer app expires in milliseconds since epoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "issuedAt": {
+ "description": "Time the developer app was created in milliseconds since epoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "scopes": {
+ "description": "Scopes to apply to the app. The specified scope names must already\nbe defined for the API product that you associate with the app.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "status": {
+ "description": "Status of the credential. Valid values include `approved` or `revoked`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1DimensionMetric": {
+ "description": "This message type encapsulates a metric grouped by dimension.",
+ "id": "GoogleCloudApigeeV1DimensionMetric",
+ "properties": {
+ "metrics": {
+ "description": "This field contains a list of metrics.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1Metric"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "This field contains the name of the dimension.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1EntityMetadata": {
+ "description": "Metadata common to many entities in this API.",
+ "id": "GoogleCloudApigeeV1EntityMetadata",
+ "properties": {
+ "createdAt": {
+ "description": "Time at which the API proxy was created, in milliseconds since epoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "lastModifiedAt": {
+ "description": "Time at which the API proxy was most recently modified, in milliseconds\nsince epoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "subType": {
+ "description": "The type of entity described",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1Environment": {
+ "id": "GoogleCloudApigeeV1Environment",
+ "properties": {
+ "createdAt": {
+ "description": "Output only. Creation time of this environment as milliseconds since epoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "description": {
+ "description": "Optional. Description of the environment.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Optional. Display name for this environment.",
+ "type": "string"
+ },
+ "lastModifiedAt": {
+ "description": "Output only. Last modification time of this environment as milliseconds\nsince epoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "name": {
+ "description": "Required. Name of the environment. Values must match the\nregular expression `^[.\\\\p{Alnum}-_]{1,255}$`",
+ "type": "string"
+ },
+ "properties": {
+ "$ref": "GoogleCloudApigeeV1Properties",
+ "description": "Optional. Key-value pairs that may be used for customizing the environment."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1EnvironmentConfig": {
+ "id": "GoogleCloudApigeeV1EnvironmentConfig",
+ "properties": {
+ "createTime": {
+ "description": "The time at which this environment config was created.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "dataCollectors": {
+ "description": "The list of Data Collectors used by deployments in the environment.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1DataCollectorConfig"
+ },
+ "type": "array"
+ },
+ "debugMask": {
+ "$ref": "GoogleCloudApigeeV1DebugMask",
+ "description": "Debug mask that applies to all deployments in the environment."
+ },
+ "deployments": {
+ "description": "A list of deployments in the environment",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1DeploymentConfig"
+ },
+ "type": "array"
+ },
+ "featureFlags": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Feature flags inherited from the org and environment parents.",
+ "type": "object"
+ },
+ "flowhooks": {
+ "description": "A list of flow hooks in the environment.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1FlowHookConfig"
+ },
+ "type": "array"
+ },
+ "keystores": {
+ "description": "A list of keystores in the environment.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1KeystoreConfig"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "The name of the environment config. Must be of the form\n'organizations/{org}/environments/{env}/configs/{config_id}",
+ "type": "string"
+ },
+ "provider": {
+ "description": "This field can be used by the control plane to add some context\ninformation about itself. This information could help detect the source of\nthe document during diagnostics and debugging.",
+ "type": "string"
+ },
+ "pubsubTopic": {
+ "description": "Name of the pubsub topic for this environment.",
+ "type": "string"
+ },
+ "resourceReferences": {
+ "description": "A list of resource references in the environment.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1ReferenceConfig"
+ },
+ "type": "array"
+ },
+ "resources": {
+ "description": "A list of resource versions in the environment.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1ResourceConfig"
+ },
+ "type": "array"
+ },
+ "revisionId": {
+ "description": "Revision id that defines the ordering on the environment config.\nThe higher the revision, the more recently the configuration\nwas deployed.",
+ "format": "int64",
+ "type": "string"
+ },
+ "sequenceNumber": {
+ "description": "DEPRECATED: use revision_id",
+ "format": "int64",
+ "type": "string"
+ },
+ "targets": {
+ "description": "A list of target servers in the environment. Disabled target servers are\nnot included.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1TargetServerConfig"
+ },
+ "type": "array"
+ },
+ "uid": {
+ "description": "A unique id for the environment config that will only change if the\nenvironment is deleted and recreated.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1FlowHook": {
+ "id": "GoogleCloudApigeeV1FlowHook",
+ "properties": {
+ "continueOnError": {
+ "description": "Optional. Flag that specifies whether execution should continue if the flow hook\nthrows an exception. Set to `true` to continue execution. Set to\n`false` to stop execution if the flow hook throws an exception.Defaults\nto `true`.",
+ "type": "boolean"
+ },
+ "description": {
+ "description": "Description of the flow hook.",
+ "type": "string"
+ },
+ "flowHookPoint": {
+ "description": "Output only. Where in the API call flow the flow hook is invoked. Must be one of\n`PreProxyFlowHook`, `PostProxyFlowHook`, `PreTargetFlowHook`, or\n`PostTargetFlowHook`.",
+ "type": "string"
+ },
+ "sharedFlow": {
+ "description": "Shared flow attached to this flow hook, or empty if there is none attached.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1FlowHookConfig": {
+ "id": "GoogleCloudApigeeV1FlowHookConfig",
+ "properties": {
+ "continueOnError": {
+ "description": "Should the flow abort after an error in the flow hook.\nShould default to true if unset.",
+ "type": "boolean"
+ },
+ "name": {
+ "description": "The name of the flow hook. Must be of the form\n'organizations/{org}/environments/{env}/flowhooks/{point}'.\nKnown points are PreProxyFlowHook, PostProxyFlowHook, PreTargetFlowHook,\nand PostTargetFlowHook",
+ "type": "string"
+ },
+ "sharedFlowName": {
+ "description": "The name of the shared flow to invoke. Must be of the form\n'organizations/{org}/sharedflows/{sharedflow}'.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1GetSyncAuthorizationRequest": {
+ "description": "Request for\nGetSyncAuthorization.",
+ "id": "GoogleCloudApigeeV1GetSyncAuthorizationRequest",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1KeyAliasReference": {
+ "id": "GoogleCloudApigeeV1KeyAliasReference",
+ "properties": {
+ "aliasId": {
+ "description": "The alias id. Must exist in the keystore referred to by reference.",
+ "type": "string"
+ },
+ "reference": {
+ "description": "The reference name. Must be of the form:\norganizations/{org}/environments/{env}/references/{ref}.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1KeyValueMap": {
+ "description": "A collection of key, value string pairs",
+ "id": "GoogleCloudApigeeV1KeyValueMap",
+ "properties": {
+ "encrypted": {
+ "description": "Optional. If `true` entry values will be encrypted.",
+ "type": "boolean"
+ },
+ "name": {
+ "description": "Required. The id of the key value map.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1Keystore": {
+ "description": "A datastore for Certificates and Aliases",
+ "id": "GoogleCloudApigeeV1Keystore",
+ "properties": {
+ "aliases": {
+ "description": "Output only. The aliases in this keystore.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "Required. The resource ID for this keystore. Values must match the\nregular expression `[\\w[:space:]-.]{1,255}`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1KeystoreConfig": {
+ "id": "GoogleCloudApigeeV1KeystoreConfig",
+ "properties": {
+ "aliases": {
+ "description": "Aliases in the keystore.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1AliasRevisionConfig"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "The resource name. Must be of the\nform:\n'organizations/{org}/environments/{env}/keystores/{keystore}'.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1ListApiProductsResponse": {
+ "id": "GoogleCloudApigeeV1ListApiProductsResponse",
+ "properties": {
+ "apiProduct": {
+ "description": "Lists all API product names defined for an organization.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1ApiProduct"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1ListApiProxiesResponse": {
+ "id": "GoogleCloudApigeeV1ListApiProxiesResponse",
+ "properties": {
+ "proxies": {
+ "items": {
+ "$ref": "GoogleCloudApigeeV1ApiProxy"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1ListAppsResponse": {
+ "id": "GoogleCloudApigeeV1ListAppsResponse",
+ "properties": {
+ "app": {
+ "items": {
+ "$ref": "GoogleCloudApigeeV1App"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1ListAsyncQueriesResponse": {
+ "description": "The response for ListAsyncQueries.",
+ "id": "GoogleCloudApigeeV1ListAsyncQueriesResponse",
+ "properties": {
+ "queries": {
+ "description": "The asynchronous queries belong to requested resource name.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1AsyncQuery"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1ListCustomReportsResponse": {
+ "description": "This message encapsulates a list of custom report definitions",
+ "id": "GoogleCloudApigeeV1ListCustomReportsResponse",
+ "properties": {
+ "qualifier": {
+ "items": {
+ "$ref": "GoogleCloudApigeeV1CustomReport"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1ListDebugSessionsResponse": {
+ "id": "GoogleCloudApigeeV1ListDebugSessionsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "Page token that you can include in a ListDebugSessionsRequest to\nretrieve the next page. If omitted, no subsequent pages exist.",
+ "type": "string"
+ },
+ "sessions": {
+ "description": "Session info that includes debug session ID and the first transaction\ncreation timestamp.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1Session"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1ListDeploymentsResponse": {
+ "id": "GoogleCloudApigeeV1ListDeploymentsResponse",
+ "properties": {
+ "deployments": {
+ "description": "List of deployments.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1Deployment"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1ListDeveloperAppsResponse": {
+ "id": "GoogleCloudApigeeV1ListDeveloperAppsResponse",
+ "properties": {
+ "app": {
+ "description": "List of developer apps and their credentials.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1DeveloperApp"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1ListEnvironmentResourcesResponse": {
+ "description": "Response for\nListEnvironmentResources",
+ "id": "GoogleCloudApigeeV1ListEnvironmentResourcesResponse",
+ "properties": {
+ "resourceFile": {
+ "description": "List of resources files.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1ResourceFile"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1ListHybridIssuersResponse": {
+ "id": "GoogleCloudApigeeV1ListHybridIssuersResponse",
+ "properties": {
+ "issuers": {
+ "description": "Lists of hybrid services and its trusted issuer email ids.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1ServiceIssuersMapping"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1ListOfDevelopersResponse": {
+ "id": "GoogleCloudApigeeV1ListOfDevelopersResponse",
+ "properties": {
+ "developer": {
+ "description": "List of developers.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1Developer"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1ListOrganizationsResponse": {
+ "id": "GoogleCloudApigeeV1ListOrganizationsResponse",
+ "properties": {
+ "organizations": {
+ "description": "List of Apigee organizations and associated GCP projects.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1OrganizationProjectMapping"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1ListSharedFlowsResponse": {
+ "id": "GoogleCloudApigeeV1ListSharedFlowsResponse",
+ "properties": {
+ "sharedFlows": {
+ "items": {
+ "$ref": "GoogleCloudApigeeV1SharedFlow"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1Metadata": {
+ "description": "This message type encapsulates additional information about query execution.",
+ "id": "GoogleCloudApigeeV1Metadata",
+ "properties": {
+ "errors": {
+ "description": "List of error messages as strings.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "notices": {
+ "description": "List of additional information such as data source, if result was\ntruncated etc.\nE.g\n\"notices\": [\n \"Source:Postgres\",\n \"PG Host:uappg0rw.e2e.apigeeks.net\",\n \"query served by:4b64601e-40de-4eb1-bfb9-eeee7ac929ed\",\n \"Table used: edge.api.uapgroup2.agg_api\"\n ]",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1Metric": {
+ "description": "This message type encapsulates the metric data point.\nExample:\n{\n \"name\": \"sum(message_count)\",\n \"values\" : [ {\n \"timestamp\": 1549004400000,\n \"value\": \"39.0\"\n },\n {\n \"timestamp\" : 1548997200000,\n \"value\" : \"0.0\"\n } ]\n}\nor\n{\n \"name\": \"sum(message_count)\",\n \"values\" : [\"39.0\"]\n}",
+ "id": "GoogleCloudApigeeV1Metric",
+ "properties": {
+ "name": {
+ "description": "This field contains the metric name.",
+ "type": "string"
+ },
+ "values": {
+ "description": "List of metric values.\nPossible value format:\n\"values\":[\"39.0\"] or\n\"values\":[ { \"value\": \"39.0\", \"timestamp\": 1232434354} ]",
+ "items": {
+ "type": "any"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1OperationMetadata": {
+ "description": "Metadata describing an Operation.",
+ "id": "GoogleCloudApigeeV1OperationMetadata",
+ "properties": {
+ "operationType": {
+ "enum": [
+ "OPERATION_TYPE_UNSPECIFIED",
+ "INSERT",
+ "DELETE",
+ "UPDATE"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ },
+ "state": {
+ "enum": [
+ "STATE_UNSPECIFIED",
+ "NOT_STARTED",
+ "IN_PROGRESS",
+ "FINISHED"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ },
+ "targetResourceName": {
+ "description": "Name of the resource for which the operation is operating on.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1OptimizedStats": {
+ "id": "GoogleCloudApigeeV1OptimizedStats",
+ "properties": {
+ "Response": {
+ "$ref": "GoogleCloudApigeeV1OptimizedStatsResponse",
+ "description": "This field wraps the stats response for Js Optimized Scenario\nwith a Response key.\nE.g.\n{\n \"Response\": {\n \"TimeUnit\": [],\n \"metaData\": {\n \"errors\": [],\n \"notices\": [\n \"Source:Postgres\",\n \"Table used: edge.api.aaxgroup001.agg_api\",\n \"PG Host:ruappg08-ro.production.apigeeks.net\",\n \"query served by:80c4ebca-6a10-4a2e-8faf-c60c1ee306ca\"\n ]\n },\n \"resultTruncated\": false,\n \"stats\": {\n \"data\": [\n {\n \"identifier\": {\n \"names\": [\n \"apiproxy\"\n ],\n \"values\": [\n \"sirjee\"\n ]\n },\n \"metric\": [\n {\n \"env\": \"prod\",\n \"name\": \"sum(message_count)\",\n \"values\": [\n 36.0\n ]\n },\n {\n \"env\": \"prod\",\n \"name\": \"sum(is_error)\",\n \"values\": [\n 36.0\n ]\n }\n ]\n }\n ]\n }\n }\n}"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1OptimizedStatsNode": {
+ "description": "This message type encapsulates a data node as represented below:\n {\n \"identifier\": {\n \"names\": [\n \"apiproxy\"\n ],\n \"values\": [\n \"sirjee\"\n ]\n },\n \"metric\": [\n {\n \"env\": \"prod\",\n \"name\": \"sum(message_count)\",\n \"values\": [\n 36.0\n ]\n }\n ]\n }\n\n OR\n {\n \"env\": \"prod\",\n \"name\": \"sum(message_count)\",\n \"values\": [\n 36.0\n ]\n }\nDepending on whether a dimension is present in the query or not\nthe data node type can be a simple metric value or dimension identifier\nwith list of metrics.",
+ "id": "GoogleCloudApigeeV1OptimizedStatsNode",
+ "properties": {
+ "data": {
+ "items": {
+ "type": "any"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1OptimizedStatsResponse": {
+ "description": "This message type encapsulates a response format for Js Optimized Scenario.",
+ "id": "GoogleCloudApigeeV1OptimizedStatsResponse",
+ "properties": {
+ "TimeUnit": {
+ "description": "This field contains a list of time unit values. Time unit refers to\nan epoch timestamp value.",
+ "items": {
+ "format": "int64",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "metaData": {
+ "$ref": "GoogleCloudApigeeV1Metadata",
+ "description": "This field contains metadata information about the query executed"
+ },
+ "resultTruncated": {
+ "description": "This ia a boolean field to indicate if the results were truncated\nbased on the limit parameter.",
+ "type": "boolean"
+ },
+ "stats": {
+ "$ref": "GoogleCloudApigeeV1OptimizedStatsNode",
+ "description": "This field contains a stats results."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1Organization": {
+ "id": "GoogleCloudApigeeV1Organization",
+ "properties": {
+ "analyticsRegion": {
+ "description": "Required. Primary GCP region for analytics data storage. For valid values, see\n[Create an\norganization](https://docs.apigee.com/hybrid/latest/precog-provision).",
+ "type": "string"
+ },
+ "attributes": {
+ "description": "Not used by Apigee.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "createdAt": {
+ "description": "Output only. Time that the Apigee organization was created in milliseconds since epoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "customerName": {
+ "description": "Not used by Apigee.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of the Apigee organization.",
+ "type": "string"
+ },
+ "displayName": {
+ "type": "string"
+ },
+ "environments": {
+ "description": "Output only. List of environments in the Apigee organization.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "lastModifiedAt": {
+ "description": "Output only. Time that the Apigee organization was last modified in milliseconds\nsince epoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "name": {
+ "description": "Output only. Name of the Apigee organization.",
+ "type": "string"
+ },
+ "projectId": {
+ "description": "The project ID associated with the Apigee organization.",
+ "type": "string"
+ },
+ "properties": {
+ "$ref": "GoogleCloudApigeeV1Properties",
+ "description": "Properties defined in the Apigee organization profile."
+ },
+ "runtimeType": {
+ "description": "Output only. Runtime type of the Apigee organization based on the Apigee subscription\npurchased.",
+ "enum": [
+ "RUNTIME_TYPE_UNSPECIFIED",
+ "CLOUD",
+ "HYBRID"
+ ],
+ "enumDescriptions": [
+ "",
+ "Google-managed Apigee runtime.",
+ "User-managed Apigee hybrid runtime."
+ ],
+ "type": "string"
+ },
+ "subscriptionType": {
+ "description": "Output only. Subscription type of the Apigee organization. Valid values include trial\n(free, limited, and for evaluation purposes only) or paid (full\nsubscription has been purchased). See\n[Apigee pricing](https://cloud.google.com/apigee/pricing/).",
+ "enum": [
+ "SUBSCRIPTION_TYPE_UNSPECIFIED",
+ "PAID",
+ "TRIAL"
+ ],
+ "enumDescriptions": [
+ "",
+ "Full subscription to Apigee has been purchased.",
+ "Subscription to Apigee is free, limited, and used for evaluation purposes\nonly."
+ ],
+ "type": "string"
+ },
+ "type": {
+ "description": "Not used by Apigee.",
+ "enum": [
+ "TYPE_UNSPECIFIED",
+ "TYPE_TRIAL",
+ "TYPE_PAID",
+ "TYPE_INTERNAL"
+ ],
+ "enumDescriptions": [
+ "Subscription type not specified.",
+ "Subscription to Apigee is free, limited, and used for evaluation purposes\nonly.",
+ "Full subscription to Apigee has been purchased. See\n[Apigee pricing](https://cloud.google.com/apigee/pricing/).",
+ "For internal users only."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1OrganizationProjectMapping": {
+ "id": "GoogleCloudApigeeV1OrganizationProjectMapping",
+ "properties": {
+ "organization": {
+ "description": "Name of the Apigee organization.",
+ "type": "string"
+ },
+ "projectIds": {
+ "description": "List of GCP projects associated with the Apigee organization.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1PodStatus": {
+ "id": "GoogleCloudApigeeV1PodStatus",
+ "properties": {
+ "appVersion": {
+ "description": "Version of the application running in the pod.",
+ "type": "string"
+ },
+ "deploymentStatus": {
+ "description": "Status of the deployment. Valid values\ninclude:\n- `deployed`: Successful.\n- `error` : Failed.\n- `pending` : Pod has not yet reported on the deployment.",
+ "type": "string"
+ },
+ "deploymentStatusTime": {
+ "description": "Time the deployment status was reported in milliseconds since epoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "deploymentTime": {
+ "description": "Time the proxy was deployed in milliseconds since epoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "podName": {
+ "description": "Name of the pod which is reporting the status.",
+ "type": "string"
+ },
+ "podStatus": {
+ "description": "Overall status of the pod (not this specific deployment). Valid values\ninclude:\n- `active`: Up to date.\n- `stale` : Recently out of date.\n\nPods that have not reported status in a\nlong time are excluded from the output.",
+ "type": "string"
+ },
+ "podStatusTime": {
+ "description": "Time the pod status was reported in milliseconds since epoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "statusCode": {
+ "description": "Code associated with the deployment status.",
+ "type": "string"
+ },
+ "statusCodeDetails": {
+ "description": "Human-readable message associated with the status code.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1Point": {
+ "description": "Point is a group of information collected by runtime plane at critical points\nof the message flow of the processed API request.\nThis is a list of supported point IDs, categorized to three major buckets.\nFor each category, debug points that we are currently supporting are listed\nbelow:\n- Flow status debug points:\n StateChange\n FlowInfo\n Condition\n Execution\n DebugMask\n Error\n- Flow control debug points:\n FlowCallout\n Paused\n Resumed\n FlowReturn\n BreakFlow\n Error\n- Runtime debug points:\n ScriptExecutor\n FlowCalloutStepDefinition\n CustomTarget\n StepDefinition\n Oauth2ServicePoint\n RaiseFault\n NodeJS\n\nThe detail information of the given debug point is stored in a list of\nresults.",
+ "id": "GoogleCloudApigeeV1Point",
+ "properties": {
+ "id": {
+ "description": "Name of a step in the transaction.",
+ "type": "string"
+ },
+ "results": {
+ "description": "List of results extracted from a given debug point.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1Result"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1Properties": {
+ "description": "Message for compatibility with legacy Edge specification for Java Properties\nobject in JSON.",
+ "id": "GoogleCloudApigeeV1Properties",
+ "properties": {
+ "property": {
+ "description": "List of all properties in the object",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1Property"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1Property": {
+ "description": "A single property entry in the Properties message.",
+ "id": "GoogleCloudApigeeV1Property",
+ "properties": {
+ "name": {
+ "description": "The property key",
+ "type": "string"
+ },
+ "value": {
+ "description": "The property value",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1Query": {
+ "id": "GoogleCloudApigeeV1Query",
+ "properties": {
+ "csvDelimiter": {
+ "description": "Delimiter used in the CSV file, if `outputFormat` is set\nto `csv`. Defaults to the `,` (comma) character.\nSupported delimiter characters include comma (`,`), pipe (`|`),\nand tab (`\\t`).",
+ "type": "string"
+ },
+ "dimensions": {
+ "description": "A list of dimensions.\nhttps://docs.apigee.com/api-platform/analytics/analytics-reference#dimensions",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "filter": {
+ "description": "Boolean expression that can be used to filter data.\nFilter expressions can be combined using AND/OR terms and should be fully\nparenthesized to avoid ambiguity. See Analytics metrics, dimensions, and\nfilters reference\nhttps://docs.apigee.com/api-platform/analytics/analytics-reference\nfor more information on the fields available to filter\non. For more information on the tokens that you use to build filter\nexpressions, see Filter expression syntax.\nhttps://docs.apigee.com/api-platform/analytics/asynch-reports-api#filter-expression-syntax",
+ "type": "string"
+ },
+ "groupByTimeUnit": {
+ "description": "Time unit used to group the result set.\nValid values include: second, minute, hour, day, week, or month.\nIf a query includes groupByTimeUnit, then the result is an aggregation\nbased on the specified time unit and the resultant timestamp does not\ninclude milliseconds precision.\nIf a query omits groupByTimeUnit, then the resultant timestamp includes\nmilliseconds precision.",
+ "type": "string"
+ },
+ "limit": {
+ "description": "Maximum number of rows that can be returned in the result.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "metrics": {
+ "description": "A list of Metrics.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1QueryMetric"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "Asynchronous Query Name.",
+ "type": "string"
+ },
+ "outputFormat": {
+ "description": "Valid values include: `csv` or `json`. Defaults to `json`.\nNote: Configure the delimiter for CSV output using the csvDelimiter\nproperty.",
+ "type": "string"
+ },
+ "reportDefinitionId": {
+ "description": "Asynchronous Report ID.",
+ "type": "string"
+ },
+ "timeRange": {
+ "description": "Required. Time range for the query.\nCan use the following predefined strings to specify the time range:\n `last60minutes`\n `last24hours`\n `last7days`\nOr, specify the timeRange as a structure describing start and end\ntimestamps in the ISO format: yyyy-mm-ddThh:mm:ssZ.\n\nExample:\n \"timeRange\": {\n \"start\": \"2018-07-29T00:13:00Z\",\n \"end\": \"2018-08-01T00:18:00Z\"\n }",
+ "type": "any"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1QueryMetadata": {
+ "id": "GoogleCloudApigeeV1QueryMetadata",
+ "properties": {
+ "dimensions": {
+ "description": "Dimensions of the AsyncQuery.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "endTimestamp": {
+ "description": "End timestamp of the query range.",
+ "type": "string"
+ },
+ "metrics": {
+ "description": "Metrics of the AsyncQuery.\n\nExample: [\"name:message_count,func:sum,alias:sum_message_count\"]",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "outputFormat": {
+ "description": "Output format.",
+ "type": "string"
+ },
+ "startTimestamp": {
+ "description": "Start timestamp of the query range.",
+ "type": "string"
+ },
+ "timeUnit": {
+ "description": "Query GroupBy time unit.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1QueryMetric": {
+ "description": "More info about Metric:\nhttps://docs.apigee.com/api-platform/analytics/analytics-reference#metrics",
+ "id": "GoogleCloudApigeeV1QueryMetric",
+ "properties": {
+ "alias": {
+ "description": "Alias for the metric. Alias will be used to replace metric name\nin query results.",
+ "type": "string"
+ },
+ "function": {
+ "description": "Aggregation function: avg, min, max, or sum.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Required. Metric name.",
+ "type": "string"
+ },
+ "operator": {
+ "description": "One of `+`, `-`, `/`, `%`, `*`.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Operand value should be provided when operator is set.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1Reference": {
+ "description": "A Reference configuration. References must refer to a keystore\nthat also exists in the parent environment.",
+ "id": "GoogleCloudApigeeV1Reference",
+ "properties": {
+ "description": {
+ "description": "Optional. A human-readable description of this reference.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Required. The resource id of this reference. Values must match the\nregular expression [\\w\\s\\-.]+.",
+ "type": "string"
+ },
+ "refers": {
+ "description": "Required. The id of the resource to which this reference refers.\nMust be the id of a resource that exists in the parent environment and is\nof the given resource_type.",
+ "type": "string"
+ },
+ "resourceType": {
+ "description": "The type of resource referred to by this reference. Valid values\nare 'KeyStore' or 'TrustStore'.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1ReferenceConfig": {
+ "id": "GoogleCloudApigeeV1ReferenceConfig",
+ "properties": {
+ "name": {
+ "description": "The name of the reference. Must be of the form\n'organizations/{org}/environments/{env}/references/{ref}'.",
+ "type": "string"
+ },
+ "resourceName": {
+ "description": "The name of the referred resource. Only references to keystore resources\nare supported. Must be of the form\n'organizations/{org}/environments/{env}/keystores/{ks}'.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1ReportProperty": {
+ "id": "GoogleCloudApigeeV1ReportProperty",
+ "properties": {
+ "property": {
+ "description": "name of the property",
+ "type": "string"
+ },
+ "value": {
+ "description": "property values",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1Attribute"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1ResourceConfig": {
+ "id": "GoogleCloudApigeeV1ResourceConfig",
+ "properties": {
+ "location": {
+ "description": "The location of the resource as a URI.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The resource name. Only environment-scoped resource files are supported.\nMust be of the form\n'organizations/{org}/environments/{env}/resourcefiles/{type}/{file}/revisions/{rev}'.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1ResourceFile": {
+ "description": "Metadata about a resource file.",
+ "id": "GoogleCloudApigeeV1ResourceFile",
+ "properties": {
+ "name": {
+ "description": "ID of the resource file.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Resource file type. {{ resource_file_type }}",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1ResourceFiles": {
+ "description": "List of resource files.",
+ "id": "GoogleCloudApigeeV1ResourceFiles",
+ "properties": {
+ "resourceFile": {
+ "description": "List of resource files.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1ResourceFile"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1Result": {
+ "description": "Result is short for \"action result\", could be different types identified by\n\"action_result\" field. Supported types:\n1. DebugInfo : generic debug info collected by runtime recorded as a list of\nproperties. For example, the contents could be virtual host info, state\nchange result, or execution metadata. Required fields : properties, timestamp\n\n2. RequestMessage: information of a http request. Contains headers, request\nURI and http methods type.Required fields : headers, uri, verb\n\n3. ResponseMessage: information of a http response. Contains headers, reason\nphrase and http status code. Required fields : headers, reasonPhrase,\nstatusCode\n\n4. ErrorMessage: information of a http error message. Contains detail error\nmessage, reason phrase and status code. Required fields : content, headers,\nreasonPhrase, statusCode\n\n5. VariableAccess: a list of variable access actions, can be Get, Set and\nRemove. Required fields : accessList",
+ "id": "GoogleCloudApigeeV1Result",
+ "properties": {
+ "ActionResult": {
+ "description": "Type of the action result. Can be one of the five: DebugInfo,\nRequestMessage, ResponseMessage, ErrorMessage, VariableAccess",
+ "type": "string"
+ },
+ "accessList": {
+ "description": "A list of variable access actions agaist the api proxy.\nSupported values: Get, Set, Remove.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1Access"
+ },
+ "type": "array"
+ },
+ "content": {
+ "description": "Error message content. for example,\n\"content\" : \"{\\\"fault\\\":{\\\"faultstring\\\":\\\"API timed\nout\\\",\\\"detail\\\":{\\\"errorcode\\\":\\\"flow.APITimedOut\\\"}}}\"",
+ "type": "string"
+ },
+ "headers": {
+ "description": "A list of HTTP headers.\nfor example,\n'\"headers\" : [ {\n \"name\" : \"Content-Length\",\n \"value\" : \"83\"\n}, {\n \"name\" : \"Content-Type\",\n \"value\" : \"application/json\"\n} ]'",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1Property"
+ },
+ "type": "array"
+ },
+ "properties": {
+ "$ref": "GoogleCloudApigeeV1Properties",
+ "description": "Name value pairs used for DebugInfo ActionResult."
+ },
+ "reasonPhrase": {
+ "description": "HTTP response phrase",
+ "type": "string"
+ },
+ "statusCode": {
+ "description": "HTTP response code",
+ "type": "string"
+ },
+ "timestamp": {
+ "description": "Timestamp of when the result is recorded. Its format is dd-mm-yy\nhh:mm:ss:xxx. For example, `\"timestamp\" : \"12-08-19 00:31:59:960\"`",
+ "type": "string"
+ },
+ "uRI": {
+ "description": "The relative path of the api proxy.\nfor example, `\"uRI\" : \"/iloveapis\"`",
+ "type": "string"
+ },
+ "verb": {
+ "description": "HTTP method verb",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1Schema": {
+ "description": "Response for Schema call",
+ "id": "GoogleCloudApigeeV1Schema",
+ "properties": {
+ "dimensions": {
+ "description": "List of schema fiels grouped as dimensions.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1SchemaSchemaElement"
+ },
+ "type": "array"
+ },
+ "meta": {
+ "description": "Additional metadata associated with schema. This is\na legacy field and usually consists of an empty array of strings.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "metrics": {
+ "description": "List of schema fields grouped as dimensions. These are fields\nthat can be used with an aggregate function such as sum, avg, min, max.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1SchemaSchemaElement"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1SchemaSchemaElement": {
+ "description": "Message type for the schema element",
+ "id": "GoogleCloudApigeeV1SchemaSchemaElement",
+ "properties": {
+ "name": {
+ "description": "Name of the field",
+ "type": "string"
+ },
+ "properties": {
+ "$ref": "GoogleCloudApigeeV1SchemaSchemaProperty",
+ "description": "Property of the schema field\nE.g.\n{\n \"createTime\": \"2016-02-26T10:23:09.592Z\",\n \"custom\": \"false\",\n \"type\": \"string\"\n}"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1SchemaSchemaProperty": {
+ "description": "Message type for schema property",
+ "id": "GoogleCloudApigeeV1SchemaSchemaProperty",
+ "properties": {
+ "createTime": {
+ "description": "Creation time of the field",
+ "type": "string"
+ },
+ "custom": {
+ "description": "Custom is a flag signifying if the field was provided as\npart of the standard dataset or a custom field created by the customer",
+ "type": "string"
+ },
+ "type": {
+ "description": "Data type of the field.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1ServiceIssuersMapping": {
+ "id": "GoogleCloudApigeeV1ServiceIssuersMapping",
+ "properties": {
+ "emailIds": {
+ "description": "List of trusted issuer email ids.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "service": {
+ "description": "String indicating the Apigee service name.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1Session": {
+ "description": "Session carries the debug session id and its creation time.",
+ "id": "GoogleCloudApigeeV1Session",
+ "properties": {
+ "id": {
+ "description": "The debug session ID.",
+ "type": "string"
+ },
+ "timestampMs": {
+ "description": "The first transaction creation timestamp in millisecond, recoreded by UAP.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1SharedFlow": {
+ "description": "The metadata describing a shared flow",
+ "id": "GoogleCloudApigeeV1SharedFlow",
+ "properties": {
+ "latestRevisionId": {
+ "description": "The id of the most recently created revision for this shared flow.",
+ "type": "string"
+ },
+ "metaData": {
+ "$ref": "GoogleCloudApigeeV1EntityMetadata",
+ "description": "Metadata describing the shared flow."
+ },
+ "name": {
+ "description": "The ID of the shared flow.",
+ "type": "string"
+ },
+ "revision": {
+ "description": "A list of revisions of this shared flow.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1SharedFlowRevision": {
+ "description": "The metadata describing a shared flow revision.",
+ "id": "GoogleCloudApigeeV1SharedFlowRevision",
+ "properties": {
+ "configurationVersion": {
+ "$ref": "GoogleCloudApigeeV1ConfigVersion",
+ "description": "The version of the configuration schema to which this shared flow conforms.\nThe only supported value currently is majorVersion 4 and minorVersion 0.\nThis setting may be used in the future to enable evolution of the shared\nflow format."
+ },
+ "contextInfo": {
+ "description": "A textual description of the shared flow revision.",
+ "type": "string"
+ },
+ "createdAt": {
+ "description": "Time at which this shared flow revision was created, in milliseconds since\nepoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of the shared flow revision.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "The human readable name of this shared flow.",
+ "type": "string"
+ },
+ "entityMetaDataAsProperties": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "A Key-Value map of metadata about this shared flow revision.",
+ "type": "object"
+ },
+ "lastModifiedAt": {
+ "description": "Time at which this shared flow revision was most recently modified, in\nmilliseconds since epoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "name": {
+ "description": "The resource ID of the parent shared flow.",
+ "type": "string"
+ },
+ "policies": {
+ "description": "A list of policy names included in this shared flow revision.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "resourceFiles": {
+ "$ref": "GoogleCloudApigeeV1ResourceFiles",
+ "description": "The resource files included in this shared flow revision."
+ },
+ "resources": {
+ "description": "A list of the resources included in this shared flow revision formatted as\n\"{type}://{name}\".",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "revision": {
+ "description": "The resource ID of this revision.",
+ "type": "string"
+ },
+ "sharedFlows": {
+ "description": "A list of the shared flow names included in this shared flow revision.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "type": {
+ "description": "The string \"Application\"",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1Stats": {
+ "description": "This message type encapsulates a stats response.",
+ "id": "GoogleCloudApigeeV1Stats",
+ "properties": {
+ "environments": {
+ "description": "This field contains a list of query results on environment level.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1StatsEnvironmentStats"
+ },
+ "type": "array"
+ },
+ "metaData": {
+ "$ref": "GoogleCloudApigeeV1Metadata",
+ "description": "This field contains the metadata information."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1StatsEnvironmentStats": {
+ "description": "This message type encapsulates the environment wrapper:\n \"environments\": [\n {\n \"metrics\": [\n {\n \"name\": \"sum(message_count)\",\n \"values\": [\n \"2.52056245E8\"\n ]\n }\n ],\n \"name\": \"prod\"\n }\n ]",
+ "id": "GoogleCloudApigeeV1StatsEnvironmentStats",
+ "properties": {
+ "dimensions": {
+ "description": "This field contains the list of metrics grouped under dimensions.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1DimensionMetric"
+ },
+ "type": "array"
+ },
+ "metrics": {
+ "description": "In the final response, only one of the following fields will be present\nbased on the dimensions provided. If no dimensions are provided, then\nonly a top level metrics is provided. If dimensions are included, then\nthere will be a top level dimensions field under environments which will\ncontain metrics values and the dimension name.\nExample:\n \"environments\": [\n {\n \"dimensions\": [\n {\n \"metrics\": [\n {\n \"name\": \"sum(message_count)\",\n \"values\": [\n \"2.14049521E8\"\n ]\n }\n ],\n \"name\": \"nit_proxy\"\n }\n ],\n \"name\": \"prod\"\n }\n ]\n\n OR\n \"environments\": [\n {\n \"metrics\": [\n {\n \"name\": \"sum(message_count)\",\n \"values\": [\n \"2.19026331E8\"\n ]\n }\n ],\n \"name\": \"prod\"\n }\n ]\nThis field contains the list of metric values.",
+ "items": {
+ "$ref": "GoogleCloudApigeeV1Metric"
+ },
+ "type": "array"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1Subscription": {
+ "description": "Pub/Sub subscription of an environment.",
+ "id": "GoogleCloudApigeeV1Subscription",
+ "properties": {
+ "name": {
+ "description": "Full name of the Pub/Sub subcription. Use the following structure in your\nrequest:\n `subscription \"projects/foo/subscription/bar\"`",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1SyncAuthorization": {
+ "id": "GoogleCloudApigeeV1SyncAuthorization",
+ "properties": {
+ "etag": {
+ "description": "Entity tag (ETag) used for optimistic concurrency control as a way to help\nprevent simultaneous updates from overwriting each other.\n\nFor example, when you call [getSyncAuthorization](getSyncAuthorization)\nan ETag is returned in the response. Pass that ETag when calling\nthe [setSyncAuthorization](setSyncAuthorization) to ensure\nthat you are updating the correct version. If you don't pass the\nETag in the call to `setSyncAuthorization`, then the\nexisting authorization is overwritten indiscriminately.\n\n**Note**: We strongly recommend that you use the ETag in the\nread-modify-write cycle to avoid race conditions.",
+ "format": "byte",
+ "type": "string"
+ },
+ "identities": {
+ "description": "Required. Array of service accounts to grant access to control plane\nresources, each specified using the following\nformat: `serviceAccount:`service-account-name.\n\nThe service-account-name is formatted like an email address. For\nexample:\n`my-synchronizer-manager-service_account@my_project_id.iam.gserviceaccount.com`\n\nYou might specify multiple service accounts, for example, if you have\nmultiple environments and wish to assign a unique service account to each\none.\n\nThe service accounts must have **Apigee Synchronizer Manager** role.\nSee also [Create service\naccounts](https://docs.apigee.com/hybrid/latest/sa-about#create-the-service-accounts).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1TargetServer": {
+ "description": "TargetServer configuration. TargetServers are used to decouple a proxy's\nTargetEndpoint HTTPTargetConnections from concrete URLs for backend services.",
+ "id": "GoogleCloudApigeeV1TargetServer",
+ "properties": {
+ "description": {
+ "description": "Optional. A human-readable description of this TargetServer.",
+ "type": "string"
+ },
+ "host": {
+ "description": "Required. The host name this target connects to. Value must be a valid\nhostname as described by RFC-1123.",
+ "type": "string"
+ },
+ "isEnabled": {
+ "description": "Optional. Enabling/disabling a TargetServer is useful when TargetServers\nare used in load balancing configurations, and one or more TargetServers\nneed to taken out of rotation periodically. Defaults to true.",
+ "type": "boolean"
+ },
+ "name": {
+ "description": "Required. The resource id of this target server. Values must match the\nregular expression ",
+ "type": "string"
+ },
+ "port": {
+ "description": "Required. The port number this target connects to on the given host. Value\nmust be between 1 and 65535, inclusive.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "sSLInfo": {
+ "$ref": "GoogleCloudApigeeV1TlsInfo",
+ "description": "Optional. Specifies TLS configuration info for this TargetServer. The JSON\nname is `sSLInfo` for legacy/backwards compatibility reasons -- Edge\noriginally supported SSL, and the name is still used for TLS configuration."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1TargetServerConfig": {
+ "id": "GoogleCloudApigeeV1TargetServerConfig",
+ "properties": {
+ "host": {
+ "description": "Target host name.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The target server revision name. Must be of the form\n'organizations/{org}/environments/{env}/targetservers/{ts_id}/revisions/{rev}'.",
+ "type": "string"
+ },
+ "port": {
+ "description": "Target port.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "tlsInfo": {
+ "$ref": "GoogleCloudApigeeV1TlsInfoConfig",
+ "description": "TLS settings for the target."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1TlsInfo": {
+ "description": "TLS configuration information for\nVirtualHosts and\nTargetServers.",
+ "id": "GoogleCloudApigeeV1TlsInfo",
+ "properties": {
+ "ciphers": {
+ "description": "The SSL/TLS cipher suites to be used. Must be one of the cipher suite names\nlisted in:\nhttp://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#ciphersuites",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "clientAuthEnabled": {
+ "description": "Optional. Enables two-way TLS.",
+ "type": "boolean"
+ },
+ "commonName": {
+ "$ref": "GoogleCloudApigeeV1TlsInfoCommonName",
+ "description": "The TLS Common Name of the certificate."
+ },
+ "enabled": {
+ "description": "Required. Enables one-way TLS.",
+ "type": "boolean"
+ },
+ "ignoreValidationErrors": {
+ "description": "If true, Edge ignores TLS certificate errors. Valid when configuring TLS\nfor target servers and target endpoints, and when configuring virtual hosts\nthat use 2-way TLS.\n\nWhen used with a target endpoint/target server, if the backend system uses\nSNI and returns a cert with a subject Distinguished Name (DN) that does not\nmatch the hostname, there is no way to ignore the error and the connection\nfails.",
+ "type": "boolean"
+ },
+ "keyAlias": {
+ "description": "Required if `client_auth_enabled` is true. The resource ID for the\nalias containing the private key and cert.",
+ "type": "string"
+ },
+ "keyStore": {
+ "description": "Required if `client_auth_enabled` is true. The resource ID of the\nkeystore. References not yet supported.",
+ "type": "string"
+ },
+ "protocols": {
+ "description": "The TLS versioins to be used.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "trustStore": {
+ "description": "The resource ID of the truststore.\nReferences not yet supported.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1TlsInfoCommonName": {
+ "id": "GoogleCloudApigeeV1TlsInfoCommonName",
+ "properties": {
+ "value": {
+ "description": "The TLS Common Name string of the certificate.",
+ "type": "string"
+ },
+ "wildcardMatch": {
+ "description": "Indicates whether the cert should be matched against as a wildcard cert.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudApigeeV1TlsInfoConfig": {
+ "id": "GoogleCloudApigeeV1TlsInfoConfig",
+ "properties": {
+ "ciphers": {
+ "description": "Whitelist of supported ciphers.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "clientAuthEnabled": {
+ "description": "Indicates if client auth is enabled for the target. Enables two-way TLS.",
+ "type": "boolean"
+ },
+ "commonName": {
+ "$ref": "GoogleCloudApigeeV1CommonNameConfig",
+ "description": "Common name to validate the target against."
+ },
+ "enabled": {
+ "description": "Enables one-way TLS.",
+ "type": "boolean"
+ },
+ "ignoreValidationErrors": {
+ "description": "If true, ignore TLS certificate validation errors.",
+ "type": "boolean"
+ },
+ "keyAlias": {
+ "description": "The name of the Alias used for client side auth. It must be of the form:\norganizations/{org}/environments/{env}/keystores/{keystore}/aliases/{alias}",
+ "type": "string"
+ },
+ "keyAliasReference": {
+ "$ref": "GoogleCloudApigeeV1KeyAliasReference",
+ "description": "A pair of reference name and alias to use for client side auth."
+ },
+ "protocols": {
+ "description": "Whitelist of supported TLS protocols.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "trustStore": {
+ "description": "The name of the Keystore or keystore reference containing trusted\ncertificates for the server. It must be of either the form\norganizations/{org}/environments/{env}/keystores/{keystore} or\norganizations/{org}/environments/{env}/references/{reference}.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleIamV1AuditConfig": {
+ "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n },\n {\n \"log_type\": \"ADMIN_READ\"\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\"\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
+ "id": "GoogleIamV1AuditConfig",
+ "properties": {
+ "auditLogConfigs": {
+ "description": "The configuration for logging of each type of permission.",
+ "items": {
+ "$ref": "GoogleIamV1AuditLogConfig"
+ },
+ "type": "array"
+ },
+ "service": {
+ "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com`.\n`allServices` is a special value that covers all services.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleIamV1AuditLogConfig": {
+ "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
+ "id": "GoogleIamV1AuditLogConfig",
+ "properties": {
+ "exemptedMembers": {
+ "description": "Specifies the identities that do not cause logging for this type of\npermission.\nFollows the same format of Binding.members.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "logType": {
+ "description": "The log type that this config enables.",
+ "enum": [
+ "LOG_TYPE_UNSPECIFIED",
+ "ADMIN_READ",
+ "DATA_WRITE",
+ "DATA_READ"
+ ],
+ "enumDescriptions": [
+ "Default case. Should never be this.",
+ "Admin reads. Example: CloudIAM getIamPolicy",
+ "Data writes. Example: CloudSQL Users create",
+ "Data reads. Example: CloudSQL Users list"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleIamV1Binding": {
+ "description": "Associates `members` with a `role`.",
+ "id": "GoogleIamV1Binding",
+ "properties": {
+ "condition": {
+ "$ref": "GoogleTypeExpr",
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
+ },
+ "members": {
+ "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "role": {
+ "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleIamV1Policy": {
+ "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
+ "id": "GoogleIamV1Policy",
+ "properties": {
+ "auditConfigs": {
+ "description": "Specifies cloud audit logging configuration for this policy.",
+ "items": {
+ "$ref": "GoogleIamV1AuditConfig"
+ },
+ "type": "array"
+ },
+ "bindings": {
+ "description": "Associates a list of `members` to a `role`. Optionally, may specify a\n`condition` that determines how and when the `bindings` are applied. Each\nof the `bindings` must contain at least one member.",
+ "items": {
+ "$ref": "GoogleIamV1Binding"
+ },
+ "type": "array"
+ },
+ "etag": {
+ "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.",
+ "format": "byte",
+ "type": "string"
+ },
+ "version": {
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleIamV1SetIamPolicyRequest": {
+ "description": "Request message for `SetIamPolicy` method.",
+ "id": "GoogleIamV1SetIamPolicyRequest",
+ "properties": {
+ "policy": {
+ "$ref": "GoogleIamV1Policy",
+ "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
+ },
+ "updateMask": {
+ "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\n\n`paths: \"bindings, etag\"`",
+ "format": "google-fieldmask",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleIamV1TestIamPermissionsRequest": {
+ "description": "Request message for `TestIamPermissions` method.",
+ "id": "GoogleIamV1TestIamPermissionsRequest",
+ "properties": {
+ "permissions": {
+ "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleIamV1TestIamPermissionsResponse": {
+ "description": "Response message for `TestIamPermissions` method.",
+ "id": "GoogleIamV1TestIamPermissionsResponse",
+ "properties": {
+ "permissions": {
+ "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleLongrunningListOperationsResponse": {
+ "description": "The response message for Operations.ListOperations.",
+ "id": "GoogleLongrunningListOperationsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "The standard List next-page token.",
+ "type": "string"
+ },
+ "operations": {
+ "description": "A list of operations that matches the specified filter in the request.",
+ "items": {
+ "$ref": "GoogleLongrunningOperation"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleLongrunningOperation": {
+ "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
+ "id": "GoogleLongrunningOperation",
+ "properties": {
+ "done": {
+ "description": "If the value is `false`, it means the operation is still in progress.\nIf `true`, the operation is completed, and either `error` or `response` is\navailable.",
+ "type": "boolean"
+ },
+ "error": {
+ "$ref": "GoogleRpcStatus",
+ "description": "The error result of the operation in case of failure or cancellation."
+ },
+ "metadata": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.",
+ "type": "object"
+ },
+ "name": {
+ "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should be a resource name ending with `operations/{unique_id}`.",
+ "type": "string"
+ },
+ "response": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleProtobufEmpty": {
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
+ "id": "GoogleProtobufEmpty",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleRpcStatus": {
+ "description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors).",
+ "id": "GoogleRpcStatus",
+ "properties": {
+ "code": {
+ "description": "The status code, which should be an enum value of google.rpc.Code.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "details": {
+ "description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.",
+ "items": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleTypeExpr": {
+ "description": "Represents a textual expression in the Common Expression Language (CEL)\nsyntax. CEL is a C-like expression language. The syntax and semantics of CEL\nare documented at https://github.com/google/cel-spec.\n\nExample (Comparison):\n\n title: \"Summary size limit\"\n description: \"Determines if a summary is less than 100 chars\"\n expression: \"document.summary.size() < 100\"\n\nExample (Equality):\n\n title: \"Requestor is owner\"\n description: \"Determines if requestor is the document owner\"\n expression: \"document.owner == request.auth.claims.email\"\n\nExample (Logic):\n\n title: \"Public documents\"\n description: \"Determine whether the document should be publicly visible\"\n expression: \"document.type != 'private' && document.type != 'internal'\"\n\nExample (Data Manipulation):\n\n title: \"Notification string\"\n description: \"Create a notification string with a timestamp.\"\n expression: \"'New message received at ' + string(document.create_time)\"\n\nThe exact variables and functions that may be referenced within an expression\nare determined by the service that evaluates it. See the service\ndocumentation for additional information.",
+ "id": "GoogleTypeExpr",
+ "properties": {
+ "description": {
+ "description": "Optional. Description of the expression. This is a longer text which\ndescribes the expression, e.g. when hovered over it in a UI.",
+ "type": "string"
+ },
+ "expression": {
+ "description": "Textual representation of an expression in Common Expression Language\nsyntax.",
+ "type": "string"
+ },
+ "location": {
+ "description": "Optional. String indicating the location of the expression for error\nreporting, e.g. a file name and a position in the file.",
+ "type": "string"
+ },
+ "title": {
+ "description": "Optional. Title for the expression, i.e. a short string describing\nits purpose. This can be used e.g. in UIs which allow to enter the\nexpression.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "servicePath": "",
+ "title": "Apigee API",
+ "version": "v1",
+ "version_module": true
+}
\ No newline at end of file
diff --git a/etc/api/appengine/v1/appengine-api.json b/etc/api/appengine/v1/appengine-api.json
index af0d3dcd39..72570d6917 100644
--- a/etc/api/appengine/v1/appengine-api.json
+++ b/etc/api/appengine/v1/appengine-api.json
@@ -1573,7 +1573,7 @@
}
}
},
- "revision": "20200403",
+ "revision": "20200701",
"rootUrl": "https://appengine.googleapis.com/",
"schemas": {
"ApiConfigHandler": {
@@ -1662,6 +1662,22 @@
"description": "Google Cloud Storage bucket that can be used for storing files associated with this application. This bucket is associated with the application and can be used by the gcloud deployment commands.@OutputOnly",
"type": "string"
},
+ "databaseType": {
+ "description": "The type of the Cloud Firestore or Cloud Datastore database associated with this application.",
+ "enum": [
+ "DATABASE_TYPE_UNSPECIFIED",
+ "CLOUD_DATASTORE",
+ "CLOUD_FIRESTORE",
+ "CLOUD_DATASTORE_COMPATIBILITY"
+ ],
+ "enumDescriptions": [
+ "Database type is unspecified.",
+ "Cloud Datastore",
+ "Cloud Firestore Native",
+ "Cloud Firestore in Datastore Mode"
+ ],
+ "type": "string"
+ },
"defaultBucket": {
"description": "Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly",
"type": "string"
diff --git a/etc/api/appengine/v1alpha/appengine-api.json b/etc/api/appengine/v1alpha/appengine-api.json
index bbbe1ed66a..c261aad491 100644
--- a/etc/api/appengine/v1alpha/appengine-api.json
+++ b/etc/api/appengine/v1alpha/appengine-api.json
@@ -695,7 +695,7 @@
}
}
},
- "revision": "20200403",
+ "revision": "20200701",
"rootUrl": "https://appengine.googleapis.com/",
"schemas": {
"AuthorizedCertificate": {
diff --git a/etc/api/appengine/v1beta/appengine-api.json b/etc/api/appengine/v1beta/appengine-api.json
index fc71ed3b20..75e45697d0 100644
--- a/etc/api/appengine/v1beta/appengine-api.json
+++ b/etc/api/appengine/v1beta/appengine-api.json
@@ -1573,7 +1573,7 @@
}
}
},
- "revision": "20200403",
+ "revision": "20200701",
"rootUrl": "https://appengine.googleapis.com/",
"schemas": {
"ApiConfigHandler": {
@@ -1662,6 +1662,22 @@
"description": "Google Cloud Storage bucket that can be used for storing files associated with this application. This bucket is associated with the application and can be used by the gcloud deployment commands.@OutputOnly",
"type": "string"
},
+ "databaseType": {
+ "description": "The type of the Cloud Firestore or Cloud Datastore database associated with this application.",
+ "enum": [
+ "DATABASE_TYPE_UNSPECIFIED",
+ "CLOUD_DATASTORE",
+ "CLOUD_FIRESTORE",
+ "CLOUD_DATASTORE_COMPATIBILITY"
+ ],
+ "enumDescriptions": [
+ "Database type is unspecified.",
+ "Cloud Datastore",
+ "Cloud Firestore Native",
+ "Cloud Firestore in Datastore Mode"
+ ],
+ "type": "string"
+ },
"defaultBucket": {
"description": "Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly",
"type": "string"
diff --git a/etc/api/appsactivity/v1/appsactivity-api.json b/etc/api/appsactivity/v1/appsactivity-api.json
index e6eccf3119..859cdf5bfb 100644
--- a/etc/api/appsactivity/v1/appsactivity-api.json
+++ b/etc/api/appsactivity/v1/appsactivity-api.json
@@ -14,7 +14,7 @@
"description": "Provides a historical view of activity.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/google-apps/activity/",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/rwk4WL3MtQtqWL81CbRykDH0ZLo\"",
+ "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/taM_2jThRCVPrSu6zXaiRaqPiXA\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -137,7 +137,7 @@
}
}
},
- "revision": "20200405",
+ "revision": "20200628",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Activity": {
diff --git a/etc/api/artifactregistry/v1beta1/artifactregistry-api.json b/etc/api/artifactregistry/v1beta1/artifactregistry-api.json
new file mode 100644
index 0000000000..4f976a1e38
--- /dev/null
+++ b/etc/api/artifactregistry/v1beta1/artifactregistry-api.json
@@ -0,0 +1,1565 @@
+{
+ "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-platform.read-only": {
+ "description": "View your data across Google Cloud Platform services"
+ }
+ }
+ }
+ },
+ "basePath": "",
+ "baseUrl": "https://artifactregistry.googleapis.com/",
+ "batchPath": "batch",
+ "canonicalName": "Artifact Registry",
+ "description": "Store and manage build artifacts in a scalable and integrated service built on Google infrastructure.",
+ "discoveryVersion": "v1",
+ "documentationLink": "https://cloud.google.com/artifacts/docs/",
+ "fullyEncodeReservedExpansion": true,
+ "icons": {
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
+ },
+ "id": "artifactregistry:v1beta1",
+ "kind": "discovery#restDescription",
+ "mtlsRootUrl": "https://artifactregistry.mtls.googleapis.com/",
+ "name": "artifactregistry",
+ "ownerDomain": "google.com",
+ "ownerName": "Google",
+ "parameters": {
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "alt": {
+ "default": "json",
+ "description": "Data format for response.",
+ "enum": [
+ "json",
+ "media",
+ "proto"
+ ],
+ "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",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "key": {
+ "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",
+ "type": "string"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "quotaUser": {
+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "protocol": "rest",
+ "resources": {
+ "projects": {
+ "resources": {
+ "locations": {
+ "methods": {
+ "get": {
+ "description": "Gets information about a location.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}",
+ "httpMethod": "GET",
+ "id": "artifactregistry.projects.locations.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Resource name for the location.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "response": {
+ "$ref": "Location"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "list": {
+ "description": "Lists information about the supported locations for this service.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations",
+ "httpMethod": "GET",
+ "id": "artifactregistry.projects.locations.list",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "The standard list filter.",
+ "location": "query",
+ "type": "string"
+ },
+ "name": {
+ "description": "The resource that owns the locations collection, if applicable.",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "The standard list page size.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "The standard list page token.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}/locations",
+ "response": {
+ "$ref": "ListLocationsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ }
+ },
+ "resources": {
+ "operations": {
+ "methods": {
+ "get": {
+ "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
+ "httpMethod": "GET",
+ "id": "artifactregistry.projects.locations.operations.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "list": {
+ "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{name=users/*}/operations\"` to their service configuration.\nFor backwards compatibility, the default name includes the operations\ncollection id, however overriding users must ensure the name binding\nis the parent resource, without the operations collection id.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations",
+ "httpMethod": "GET",
+ "id": "artifactregistry.projects.locations.operations.list",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "The standard list filter.",
+ "location": "query",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the operation's parent resource.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "The standard list page size.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "The standard list page token.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}/operations",
+ "response": {
+ "$ref": "ListOperationsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ }
+ }
+ },
+ "repositories": {
+ "methods": {
+ "create": {
+ "description": "Creates a repository. The returned Operation will finish once the\nrepository has been created. Its response will be the created Repository.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories",
+ "httpMethod": "POST",
+ "id": "artifactregistry.projects.locations.repositories.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "The name of the parent resource where the repository will be created.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "repositoryId": {
+ "description": "The repository id to use for this repository.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+parent}/repositories",
+ "request": {
+ "$ref": "Repository"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Deletes a repository and all of its contents. The returned Operation will\nfinish once the repository has been deleted. It will not have any Operation\nmetadata and will return a google.protobuf.Empty response.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}",
+ "httpMethod": "DELETE",
+ "id": "artifactregistry.projects.locations.repositories.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the repository to delete.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets a repository.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}",
+ "httpMethod": "GET",
+ "id": "artifactregistry.projects.locations.repositories.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the repository to retrieve.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "response": {
+ "$ref": "Repository"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "getIamPolicy": {
+ "description": "Gets the IAM policy for a given resource.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:getIamPolicy",
+ "httpMethod": "GET",
+ "id": "artifactregistry.projects.locations.repositories.getIamPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "options.requestedPolicyVersion": {
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+resource}:getIamPolicy",
+ "response": {
+ "$ref": "Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "list": {
+ "description": "Lists repositories.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories",
+ "httpMethod": "GET",
+ "id": "artifactregistry.projects.locations.repositories.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "The maximum number of repositories to return.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "The next_page_token value returned from a previous list request, if any.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "The name of the parent resource whose repositories will be listed.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+parent}/repositories",
+ "response": {
+ "$ref": "ListRepositoriesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "patch": {
+ "description": "Updates a repository.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}",
+ "httpMethod": "PATCH",
+ "id": "artifactregistry.projects.locations.repositories.patch",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the repository, for example:\n\"projects/p1/locations/us-central1/repositories/repo1\".",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "The update mask applies to the resource. For the `FieldMask` definition,\nsee\nhttps://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "request": {
+ "$ref": "Repository"
+ },
+ "response": {
+ "$ref": "Repository"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "setIamPolicy": {
+ "description": "Updates the IAM policy for a given resource.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:setIamPolicy",
+ "httpMethod": "POST",
+ "id": "artifactregistry.projects.locations.repositories.setIamPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+resource}:setIamPolicy",
+ "request": {
+ "$ref": "SetIamPolicyRequest"
+ },
+ "response": {
+ "$ref": "Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "testIamPermissions": {
+ "description": "Tests if the caller has a list of permissions on a resource.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:testIamPermissions",
+ "httpMethod": "POST",
+ "id": "artifactregistry.projects.locations.repositories.testIamPermissions",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+resource}:testIamPermissions",
+ "request": {
+ "$ref": "TestIamPermissionsRequest"
+ },
+ "response": {
+ "$ref": "TestIamPermissionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ }
+ },
+ "resources": {
+ "files": {
+ "methods": {
+ "get": {
+ "description": "Gets a file.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/files/{filesId}",
+ "httpMethod": "GET",
+ "id": "artifactregistry.projects.locations.repositories.files.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the file to retrieve.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/files/.*$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "response": {
+ "$ref": "File"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "list": {
+ "description": "Lists files.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/files",
+ "httpMethod": "GET",
+ "id": "artifactregistry.projects.locations.repositories.files.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "An expression for filtering the results of the request. Filter rules are\ncase insensitive. The fields eligible for filtering are:\n\n * `name`\n * `owner`\n\n An example of using a filter:\n\n * `name=\"projects/p1/locations/us-central1/repositories/repo1/files/a/b/*\"` --> Files with an\n ID starting with \"a/b/\".\n * `owner=\"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0\"` -->\n Files owned by the version `1.0` in package `pkg1`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "The maximum number of files to return.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "The next_page_token value returned from a previous list request, if any.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "The name of the parent resource whose files will be listed.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+parent}/files",
+ "response": {
+ "$ref": "ListFilesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ }
+ }
+ },
+ "packages": {
+ "methods": {
+ "delete": {
+ "description": "Deletes a package and all of its versions and tags. The returned operation\nwill complete once the package has been deleted.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}",
+ "httpMethod": "DELETE",
+ "id": "artifactregistry.projects.locations.repositories.packages.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the package to delete.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets a package.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}",
+ "httpMethod": "GET",
+ "id": "artifactregistry.projects.locations.repositories.packages.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the package to retrieve.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "response": {
+ "$ref": "Package"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "list": {
+ "description": "Lists packages.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages",
+ "httpMethod": "GET",
+ "id": "artifactregistry.projects.locations.repositories.packages.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "The maximum number of packages to return.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "The next_page_token value returned from a previous list request, if any.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "The name of the parent resource whose packages will be listed.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+parent}/packages",
+ "response": {
+ "$ref": "ListPackagesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ }
+ },
+ "resources": {
+ "tags": {
+ "methods": {
+ "create": {
+ "description": "Creates a tag.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}/tags",
+ "httpMethod": "POST",
+ "id": "artifactregistry.projects.locations.repositories.packages.tags.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "The name of the parent resource where the tag will be created.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "tagId": {
+ "description": "The tag id to use for this repository.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+parent}/tags",
+ "request": {
+ "$ref": "Tag"
+ },
+ "response": {
+ "$ref": "Tag"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Deletes a tag.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}/tags/{tagsId}",
+ "httpMethod": "DELETE",
+ "id": "artifactregistry.projects.locations.repositories.packages.tags.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the tag to delete.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+/tags/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets a tag.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}/tags/{tagsId}",
+ "httpMethod": "GET",
+ "id": "artifactregistry.projects.locations.repositories.packages.tags.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the tag to retrieve.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+/tags/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "response": {
+ "$ref": "Tag"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "list": {
+ "description": "Lists tags.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}/tags",
+ "httpMethod": "GET",
+ "id": "artifactregistry.projects.locations.repositories.packages.tags.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "An expression for filtering the results of the request. Filter rules are\ncase insensitive. The fields eligible for filtering are:\n\n * `version`\n\n An example of using a filter:\n\n * `version=\"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0\"`\n --> Tags that are applied to the version `1.0` in package `pkg1`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "The maximum number of tags to return.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "The next_page_token value returned from a previous list request, if any.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "The name of the parent resource whose tags will be listed.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+parent}/tags",
+ "response": {
+ "$ref": "ListTagsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "patch": {
+ "description": "Updates a tag.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}/tags/{tagsId}",
+ "httpMethod": "PATCH",
+ "id": "artifactregistry.projects.locations.repositories.packages.tags.patch",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the tag, for example:\n\"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1\".",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+/tags/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "The update mask applies to the resource. For the `FieldMask` definition,\nsee\nhttps://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "request": {
+ "$ref": "Tag"
+ },
+ "response": {
+ "$ref": "Tag"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "versions": {
+ "methods": {
+ "delete": {
+ "description": "Deletes a version and all of its content. The returned operation will\ncomplete once the version has been deleted.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}/versions/{versionsId}",
+ "httpMethod": "DELETE",
+ "id": "artifactregistry.projects.locations.repositories.packages.versions.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "force": {
+ "description": "By default, a version that is tagged may not be deleted. If force=true, the\nversion and any tags pointing to the version are deleted.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "name": {
+ "description": "The name of the version to delete.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+/versions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets a version",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}/versions/{versionsId}",
+ "httpMethod": "GET",
+ "id": "artifactregistry.projects.locations.repositories.packages.versions.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the version to retrieve.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+/versions/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "view": {
+ "description": "The view that should be returned in the response.",
+ "enum": [
+ "VERSION_VIEW_UNSPECIFIED",
+ "BASIC",
+ "FULL"
+ ],
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "response": {
+ "$ref": "Version"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "list": {
+ "description": "Lists versions.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}/versions",
+ "httpMethod": "GET",
+ "id": "artifactregistry.projects.locations.repositories.packages.versions.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "The maximum number of versions to return.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "The next_page_token value returned from a previous list request, if any.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "The name of the parent resource whose versions will be listed.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "view": {
+ "description": "The view that should be returned in the response.",
+ "enum": [
+ "VERSION_VIEW_UNSPECIFIED",
+ "BASIC",
+ "FULL"
+ ],
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+parent}/versions",
+ "response": {
+ "$ref": "ListVersionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "revision": "20200703",
+ "rootUrl": "https://artifactregistry.googleapis.com/",
+ "schemas": {
+ "Binding": {
+ "description": "Associates `members` with a `role`.",
+ "id": "Binding",
+ "properties": {
+ "condition": {
+ "$ref": "Expr",
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
+ },
+ "members": {
+ "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "role": {
+ "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Empty": {
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
+ },
+ "Expr": {
+ "description": "Represents a textual expression in the Common Expression Language (CEL)\nsyntax. CEL is a C-like expression language. The syntax and semantics of CEL\nare documented at https://github.com/google/cel-spec.\n\nExample (Comparison):\n\n title: \"Summary size limit\"\n description: \"Determines if a summary is less than 100 chars\"\n expression: \"document.summary.size() < 100\"\n\nExample (Equality):\n\n title: \"Requestor is owner\"\n description: \"Determines if requestor is the document owner\"\n expression: \"document.owner == request.auth.claims.email\"\n\nExample (Logic):\n\n title: \"Public documents\"\n description: \"Determine whether the document should be publicly visible\"\n expression: \"document.type != 'private' && document.type != 'internal'\"\n\nExample (Data Manipulation):\n\n title: \"Notification string\"\n description: \"Create a notification string with a timestamp.\"\n expression: \"'New message received at ' + string(document.create_time)\"\n\nThe exact variables and functions that may be referenced within an expression\nare determined by the service that evaluates it. See the service\ndocumentation for additional information.",
+ "id": "Expr",
+ "properties": {
+ "description": {
+ "description": "Optional. Description of the expression. This is a longer text which\ndescribes the expression, e.g. when hovered over it in a UI.",
+ "type": "string"
+ },
+ "expression": {
+ "description": "Textual representation of an expression in Common Expression Language\nsyntax.",
+ "type": "string"
+ },
+ "location": {
+ "description": "Optional. String indicating the location of the expression for error\nreporting, e.g. a file name and a position in the file.",
+ "type": "string"
+ },
+ "title": {
+ "description": "Optional. Title for the expression, i.e. a short string describing\nits purpose. This can be used e.g. in UIs which allow to enter the\nexpression.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "File": {
+ "description": "Files store content that is potentially associated with Packages or Versions.",
+ "id": "File",
+ "properties": {
+ "createTime": {
+ "description": "The time when the File was created.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "hashes": {
+ "description": "The hashes of the file content.",
+ "items": {
+ "$ref": "Hash"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "The name of the file, for example:\n\"projects/p1/locations/us-central1/repositories/repo1/files/a/b/c.txt\".",
+ "type": "string"
+ },
+ "owner": {
+ "description": "The name of the Package or Version that owns this file, if any.",
+ "type": "string"
+ },
+ "sizeBytes": {
+ "description": "The size of the File in bytes.",
+ "format": "int64",
+ "type": "string"
+ },
+ "updateTime": {
+ "description": "The time when the File was last updated.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo": {
+ "description": "Error information explaining why a package was not imported.",
+ "id": "GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo",
+ "properties": {
+ "error": {
+ "$ref": "Status",
+ "description": "The detailed error status."
+ },
+ "gcsSource": {
+ "$ref": "GoogleDevtoolsArtifactregistryV1alpha1GcsSource",
+ "description": "Google Cloud Storage location requested."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleDevtoolsArtifactregistryV1alpha1GcsSource": {
+ "description": "Google Cloud Storage location for the input content.",
+ "id": "GoogleDevtoolsArtifactregistryV1alpha1GcsSource",
+ "properties": {
+ "uris": {
+ "description": "Cloud Storage paths URI (e.g., gs://my_bucket//my_object).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleDevtoolsArtifactregistryV1alpha1ImportArtifactsResponse": {
+ "description": "The response message from importing artifacts.",
+ "id": "GoogleDevtoolsArtifactregistryV1alpha1ImportArtifactsResponse",
+ "properties": {
+ "errors": {
+ "description": "Detailed error info for packages that were not imported.",
+ "items": {
+ "$ref": "GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo"
+ },
+ "type": "array"
+ },
+ "packages": {
+ "description": "The packages updated.",
+ "items": {
+ "$ref": "GoogleDevtoolsArtifactregistryV1alpha1Package"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleDevtoolsArtifactregistryV1alpha1Package": {
+ "description": "Packages are named collections of versions.",
+ "id": "GoogleDevtoolsArtifactregistryV1alpha1Package",
+ "properties": {
+ "createTime": {
+ "description": "The time when the package was created.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "The display name of the package.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the package, for example:\n\"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1\".",
+ "type": "string"
+ },
+ "updateTime": {
+ "description": "The time when the package was last updated. This includes publishing a new\nversion of the package.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Hash": {
+ "description": "A hash of file content.",
+ "id": "Hash",
+ "properties": {
+ "type": {
+ "description": "The algorithm used to compute the hash value.",
+ "enum": [
+ "HASH_TYPE_UNSPECIFIED",
+ "SHA256"
+ ],
+ "enumDescriptions": [
+ "Unspecified.",
+ "SHA256 hash."
+ ],
+ "type": "string"
+ },
+ "value": {
+ "description": "The hash value.",
+ "format": "byte",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListFilesResponse": {
+ "description": "The response from listing files.",
+ "id": "ListFilesResponse",
+ "properties": {
+ "files": {
+ "description": "The files returned.",
+ "items": {
+ "$ref": "File"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "The token to retrieve the next page of files, or empty if there are no\nmore files to return.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListLocationsResponse": {
+ "description": "The response message for Locations.ListLocations.",
+ "id": "ListLocationsResponse",
+ "properties": {
+ "locations": {
+ "description": "A list of locations that matches the specified filter in the request.",
+ "items": {
+ "$ref": "Location"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "The standard List next-page token.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListOperationsResponse": {
+ "description": "The response message for Operations.ListOperations.",
+ "id": "ListOperationsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "The standard List next-page token.",
+ "type": "string"
+ },
+ "operations": {
+ "description": "A list of operations that matches the specified filter in the request.",
+ "items": {
+ "$ref": "Operation"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ListPackagesResponse": {
+ "description": "The response from listing packages.",
+ "id": "ListPackagesResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "The token to retrieve the next page of packages, or empty if there are no\nmore packages to return.",
+ "type": "string"
+ },
+ "packages": {
+ "description": "The packages returned.",
+ "items": {
+ "$ref": "Package"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ListRepositoriesResponse": {
+ "description": "The response from listing repositories.",
+ "id": "ListRepositoriesResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "The token to retrieve the next page of repositories, or empty if there are\nno more repositories to return.",
+ "type": "string"
+ },
+ "repositories": {
+ "description": "The repositories returned.",
+ "items": {
+ "$ref": "Repository"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ListTagsResponse": {
+ "description": "The response from listing tags.",
+ "id": "ListTagsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "The token to retrieve the next page of tags, or empty if there are no\nmore tags to return.",
+ "type": "string"
+ },
+ "tags": {
+ "description": "The tags returned.",
+ "items": {
+ "$ref": "Tag"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ListVersionsResponse": {
+ "description": "The response from listing versions.",
+ "id": "ListVersionsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "The token to retrieve the next page of versions, or empty if there are no\nmore versions to return.",
+ "type": "string"
+ },
+ "versions": {
+ "description": "The versions returned.",
+ "items": {
+ "$ref": "Version"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Location": {
+ "description": "A resource that represents Google Cloud Platform location.",
+ "id": "Location",
+ "properties": {
+ "displayName": {
+ "description": "The friendly name for this location, typically a nearby city name.\nFor example, \"Tokyo\".",
+ "type": "string"
+ },
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Cross-service attributes for the location. For example\n\n {\"cloud.googleapis.com/region\": \"us-east1\"}",
+ "type": "object"
+ },
+ "locationId": {
+ "description": "The canonical id for this location. For example: `\"us-east1\"`.",
+ "type": "string"
+ },
+ "metadata": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "Service-specific metadata. For example the available capacity at the given\nlocation.",
+ "type": "object"
+ },
+ "name": {
+ "description": "Resource name for the location, which may vary between implementations.\nFor example: `\"projects/example-project/locations/us-east1\"`",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Operation": {
+ "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
+ "id": "Operation",
+ "properties": {
+ "done": {
+ "description": "If the value is `false`, it means the operation is still in progress.\nIf `true`, the operation is completed, and either `error` or `response` is\navailable.",
+ "type": "boolean"
+ },
+ "error": {
+ "$ref": "Status",
+ "description": "The error result of the operation in case of failure or cancellation."
+ },
+ "metadata": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.",
+ "type": "object"
+ },
+ "name": {
+ "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should be a resource name ending with `operations/{unique_id}`.",
+ "type": "string"
+ },
+ "response": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "Package": {
+ "description": "Packages are named collections of versions.",
+ "id": "Package",
+ "properties": {
+ "createTime": {
+ "description": "The time when the package was created.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "The display name of the package.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the package, for example:\n\"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1\".",
+ "type": "string"
+ },
+ "updateTime": {
+ "description": "The time when the package was last updated. This includes publishing a new\nversion of the package.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Policy": {
+ "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
+ "id": "Policy",
+ "properties": {
+ "bindings": {
+ "description": "Associates a list of `members` to a `role`. Optionally, may specify a\n`condition` that determines how and when the `bindings` are applied. Each\nof the `bindings` must contain at least one member.",
+ "items": {
+ "$ref": "Binding"
+ },
+ "type": "array"
+ },
+ "etag": {
+ "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.",
+ "format": "byte",
+ "type": "string"
+ },
+ "version": {
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "Repository": {
+ "description": "A Repository for storing artifacts with a specific format.",
+ "id": "Repository",
+ "properties": {
+ "createTime": {
+ "description": "The time when the repository was created.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "description": {
+ "description": "The user-provided description of the repository.",
+ "type": "string"
+ },
+ "format": {
+ "description": "The format of packages that are stored in the repository.",
+ "enum": [
+ "FORMAT_UNSPECIFIED",
+ "DOCKER",
+ "MAVEN",
+ "NPM",
+ "APT"
+ ],
+ "enumDescriptions": [
+ "Unspecified package format.",
+ "Docker package format.",
+ "Maven package format.",
+ "NPM package format.",
+ "APT package format."
+ ],
+ "type": "string"
+ },
+ "kmsKeyName": {
+ "description": "The Cloud KMS resource name of the customer managed encryption key that\u2019s\nused to encrypt the contents of the Repository. Has the form:\n`projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.\nThis value may not be changed after the Repository has been created.",
+ "type": "string"
+ },
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Labels with user-defined metadata.\nThis field may contain up to 64 entries. Label keys and values may be no\nlonger than 63 characters. Label keys must begin with a lowercase letter\nand may only contain lowercase letters, numeric characters, underscores,\nand dashes.",
+ "type": "object"
+ },
+ "name": {
+ "description": "The name of the repository, for example:\n\"projects/p1/locations/us-central1/repositories/repo1\".",
+ "type": "string"
+ },
+ "updateTime": {
+ "description": "The time when the repository was last updated.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SetIamPolicyRequest": {
+ "description": "Request message for `SetIamPolicy` method.",
+ "id": "SetIamPolicyRequest",
+ "properties": {
+ "policy": {
+ "$ref": "Policy",
+ "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
+ }
+ },
+ "type": "object"
+ },
+ "Status": {
+ "description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors).",
+ "id": "Status",
+ "properties": {
+ "code": {
+ "description": "The status code, which should be an enum value of google.rpc.Code.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "details": {
+ "description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.",
+ "items": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Tag": {
+ "description": "Tags point to a version and represent an alternative name that can be used\nto access the version.",
+ "id": "Tag",
+ "properties": {
+ "name": {
+ "description": "The name of the tag, for example:\n\"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1\".",
+ "type": "string"
+ },
+ "version": {
+ "description": "The name of the version the tag refers to, for example:\n\"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811\"",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "TestIamPermissionsRequest": {
+ "description": "Request message for `TestIamPermissions` method.",
+ "id": "TestIamPermissionsRequest",
+ "properties": {
+ "permissions": {
+ "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "TestIamPermissionsResponse": {
+ "description": "Response message for `TestIamPermissions` method.",
+ "id": "TestIamPermissionsResponse",
+ "properties": {
+ "permissions": {
+ "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Version": {
+ "description": "The body of a version resource. A version resource represents a\ncollection of components, such as files and other data. This may correspond\nto a version in many package management schemes.",
+ "id": "Version",
+ "properties": {
+ "createTime": {
+ "description": "The time when the version was created.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "description": {
+ "description": "Optional. Description of the version, as specified in its metadata.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the version, for example:\n\"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1\".",
+ "type": "string"
+ },
+ "relatedTags": {
+ "description": "Output only. A list of related tags. Will contain up to 100 tags that\nreference this version.",
+ "items": {
+ "$ref": "Tag"
+ },
+ "type": "array"
+ },
+ "updateTime": {
+ "description": "The time when the version was last updated.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "servicePath": "",
+ "title": "Artifact Registry API",
+ "version": "v1beta1",
+ "version_module": true
+}
\ No newline at end of file
diff --git a/etc/api/bigquery/v2/bigquery-api.json b/etc/api/bigquery/v2/bigquery-api.json
index 93c455343c..ae1d8b2adb 100644
--- a/etc/api/bigquery/v2/bigquery-api.json
+++ b/etc/api/bigquery/v2/bigquery-api.json
@@ -1265,6 +1265,37 @@
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
},
+ "getIamPolicy": {
+ "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.",
+ "flatPath": "projects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}:getIamPolicy",
+ "httpMethod": "POST",
+ "id": "bigquery.tables.getIamPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/datasets/[^/]+/tables/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{+resource}:getIamPolicy",
+ "request": {
+ "$ref": "GetIamPolicyRequest"
+ },
+ "response": {
+ "$ref": "Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/bigquery",
+ "https://www.googleapis.com/auth/bigquery.readonly",
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
"insert": {
"description": "Creates a new, empty table in the dataset.",
"httpMethod": "POST",
@@ -1384,6 +1415,66 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
+ "setIamPolicy": {
+ "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
+ "flatPath": "projects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}:setIamPolicy",
+ "httpMethod": "POST",
+ "id": "bigquery.tables.setIamPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/datasets/[^/]+/tables/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{+resource}:setIamPolicy",
+ "request": {
+ "$ref": "SetIamPolicyRequest"
+ },
+ "response": {
+ "$ref": "Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/bigquery",
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "testIamPermissions": {
+ "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
+ "flatPath": "projects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}:testIamPermissions",
+ "httpMethod": "POST",
+ "id": "bigquery.tables.testIamPermissions",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/datasets/[^/]+/tables/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{+resource}:testIamPermissions",
+ "request": {
+ "$ref": "TestIamPermissionsRequest"
+ },
+ "response": {
+ "$ref": "TestIamPermissionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/bigquery",
+ "https://www.googleapis.com/auth/bigquery.readonly",
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
"update": {
"description": "Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource.",
"httpMethod": "PUT",
@@ -1428,7 +1519,7 @@
}
}
},
- "revision": "20200330",
+ "revision": "20200625",
"rootUrl": "https://bigquery.googleapis.com/",
"schemas": {
"AggregateClassificationMetrics": {
@@ -1551,17 +1642,17 @@
"id": "ArimaFittingMetrics",
"properties": {
"aic": {
- "description": "AIC",
+ "description": "AIC.",
"format": "double",
"type": "number"
},
"logLikelihood": {
- "description": "log-likelihood",
+ "description": "Log-likelihood.",
"format": "double",
"type": "number"
},
"variance": {
- "description": "variance.",
+ "description": "Variance.",
"format": "double",
"type": "number"
}
@@ -1580,9 +1671,42 @@
"$ref": "ArimaFittingMetrics",
"description": "Arima fitting metrics."
},
+ "hasDrift": {
+ "description": "Whether Arima model fitted with drift or not. It is always false\nwhen d is not 1.",
+ "type": "boolean"
+ },
"nonSeasonalOrder": {
"$ref": "ArimaOrder",
"description": "Non-seasonal order."
+ },
+ "seasonalPeriods": {
+ "description": "Seasonal periods. Repeated because multiple periods are supported\nfor one time series.",
+ "enumDescriptions": [
+ "",
+ "No seasonality",
+ "Daily period, 24 hours.",
+ "Weekly period, 7 days.",
+ "Monthly period, 30 days or irregular.",
+ "Quarterly period, 90 days or irregular.",
+ "Yearly period, 365 days or irregular."
+ ],
+ "items": {
+ "enum": [
+ "SEASONAL_PERIOD_TYPE_UNSPECIFIED",
+ "NO_SEASONALITY",
+ "DAILY",
+ "WEEKLY",
+ "MONTHLY",
+ "QUARTERLY",
+ "YEARLY"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "timeSeriesId": {
+ "description": "The id to indicate different time series.",
+ "type": "string"
}
},
"type": "object"
@@ -1627,9 +1751,9 @@
"No seasonality",
"Daily period, 24 hours.",
"Weekly period, 7 days.",
- "Monthly period, can be as 30 days or irregular.",
- "Quarterly period, can be as 90 days or irregular.",
- "Yearly period, can be as 365 days or irregular."
+ "Monthly period, 30 days or irregular.",
+ "Quarterly period, 90 days or irregular.",
+ "Yearly period, 365 days or irregular."
],
"items": {
"enum": [
@@ -1648,6 +1772,54 @@
},
"type": "object"
},
+ "AuditConfig": {
+ "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n },\n {\n \"log_type\": \"ADMIN_READ\"\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\"\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
+ "id": "AuditConfig",
+ "properties": {
+ "auditLogConfigs": {
+ "description": "The configuration for logging of each type of permission.",
+ "items": {
+ "$ref": "AuditLogConfig"
+ },
+ "type": "array"
+ },
+ "service": {
+ "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com`.\n`allServices` is a special value that covers all services.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AuditLogConfig": {
+ "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
+ "id": "AuditLogConfig",
+ "properties": {
+ "exemptedMembers": {
+ "description": "Specifies the identities that do not cause logging for this type of\npermission.\nFollows the same format of Binding.members.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "logType": {
+ "description": "The log type that this config enables.",
+ "enum": [
+ "LOG_TYPE_UNSPECIFIED",
+ "ADMIN_READ",
+ "DATA_WRITE",
+ "DATA_READ"
+ ],
+ "enumDescriptions": [
+ "Default case. Should never be this.",
+ "Admin reads. Example: CloudIAM getIamPolicy",
+ "Data writes. Example: CloudSQL Users create",
+ "Data reads. Example: CloudSQL Users list"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"BigQueryModelTraining": {
"id": "BigQueryModelTraining",
"properties": {
@@ -1822,6 +1994,28 @@
},
"type": "object"
},
+ "Binding": {
+ "description": "Associates `members` with a `role`.",
+ "id": "Binding",
+ "properties": {
+ "condition": {
+ "$ref": "Expr",
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
+ },
+ "members": {
+ "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "role": {
+ "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"BqmlIterationResult": {
"id": "BqmlIterationResult",
"properties": {
@@ -2046,6 +2240,20 @@
},
"type": "object"
},
+ "ConnectionProperty": {
+ "id": "ConnectionProperty",
+ "properties": {
+ "key": {
+ "description": "[Required] Name of the connection property to set.",
+ "type": "string"
+ },
+ "value": {
+ "description": "[Required] Value of the connection property.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"CsvOptions": {
"id": "CsvOptions",
"properties": {
@@ -2552,6 +2760,29 @@
},
"type": "object"
},
+ "Expr": {
+ "description": "Represents a textual expression in the Common Expression Language (CEL)\nsyntax. CEL is a C-like expression language. The syntax and semantics of CEL\nare documented at https://github.com/google/cel-spec.\n\nExample (Comparison):\n\n title: \"Summary size limit\"\n description: \"Determines if a summary is less than 100 chars\"\n expression: \"document.summary.size() < 100\"\n\nExample (Equality):\n\n title: \"Requestor is owner\"\n description: \"Determines if requestor is the document owner\"\n expression: \"document.owner == request.auth.claims.email\"\n\nExample (Logic):\n\n title: \"Public documents\"\n description: \"Determine whether the document should be publicly visible\"\n expression: \"document.type != 'private' && document.type != 'internal'\"\n\nExample (Data Manipulation):\n\n title: \"Notification string\"\n description: \"Create a notification string with a timestamp.\"\n expression: \"'New message received at ' + string(document.create_time)\"\n\nThe exact variables and functions that may be referenced within an expression\nare determined by the service that evaluates it. See the service\ndocumentation for additional information.",
+ "id": "Expr",
+ "properties": {
+ "description": {
+ "description": "Optional. Description of the expression. This is a longer text which\ndescribes the expression, e.g. when hovered over it in a UI.",
+ "type": "string"
+ },
+ "expression": {
+ "description": "Textual representation of an expression in Common Expression Language\nsyntax.",
+ "type": "string"
+ },
+ "location": {
+ "description": "Optional. String indicating the location of the expression for error\nreporting, e.g. a file name and a position in the file.",
+ "type": "string"
+ },
+ "title": {
+ "description": "Optional. Title for the expression, i.e. a short string describing\nits purpose. This can be used e.g. in UIs which allow to enter the\nexpression.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"ExternalDataConfiguration": {
"id": "ExternalDataConfiguration",
"properties": {
@@ -2567,6 +2798,10 @@
"description": "[Optional] The compression type of the data source. Possible values include GZIP and NONE. The default value is NONE. This setting is ignored for Google Cloud Bigtable, Google Cloud Datastore backups and Avro formats.",
"type": "string"
},
+ "connectionId": {
+ "description": "[Optional, Trusted Tester] Connection for external data source.",
+ "type": "string"
+ },
"csvOptions": {
"$ref": "CsvOptions",
"description": "Additional properties to set if sourceFormat is set to CSV."
@@ -2575,10 +2810,6 @@
"$ref": "GoogleSheetsOptions",
"description": "[Optional] Additional options if sourceFormat is set to GOOGLE_SHEETS."
},
- "hivePartitioningMode": {
- "description": "[Optional, Trusted Tester] Deprecated, do not use. Please set hivePartitioningOptions instead.",
- "type": "string"
- },
"hivePartitioningOptions": {
"$ref": "HivePartitioningOptions",
"description": "[Optional, Trusted Tester] Options to configure hive partitioning support."
@@ -2630,6 +2861,29 @@
},
"type": "object"
},
+ "GetIamPolicyRequest": {
+ "description": "Request message for `GetIamPolicy` method.",
+ "id": "GetIamPolicyRequest",
+ "properties": {
+ "options": {
+ "$ref": "GetPolicyOptions",
+ "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`."
+ }
+ },
+ "type": "object"
+ },
+ "GetPolicyOptions": {
+ "description": "Encapsulates settings provided to GetIamPolicy.",
+ "id": "GetPolicyOptions",
+ "properties": {
+ "requestedPolicyVersion": {
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
"GetQueryResultsResponse": {
"id": "GetQueryResultsResponse",
"properties": {
@@ -2969,10 +3223,6 @@
"description": "[Optional] The separator for fields in a CSV file. The separator can be any ISO-8859-1 single-byte character. To use a character in the range 128-255, you must encode the character as UTF8. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. BigQuery also supports the escape sequence \"\\t\" to specify a tab separator. The default value is a comma (',').",
"type": "string"
},
- "hivePartitioningMode": {
- "description": "[Optional, Trusted Tester] Deprecated, do not use. Please set hivePartitioningOptions instead.",
- "type": "string"
- },
"hivePartitioningOptions": {
"$ref": "HivePartitioningOptions",
"description": "[Optional, Trusted Tester] Options to configure hive partitioning support."
@@ -3072,7 +3322,7 @@
"connectionProperties": {
"description": "Connection properties.",
"items": {
- "type": "any"
+ "$ref": "ConnectionProperty"
},
"type": "array"
},
@@ -3188,10 +3438,18 @@
"$ref": "EncryptionConfiguration",
"description": "Custom encryption configuration (e.g., Cloud KMS keys)."
},
+ "destinationExpirationTime": {
+ "description": "[Optional] The time when the destination table expires. Expired tables will be deleted and their storage reclaimed.",
+ "type": "any"
+ },
"destinationTable": {
"$ref": "TableReference",
"description": "[Required] The destination table"
},
+ "operationType": {
+ "description": "[Optional] Supported operation types in table copy job.",
+ "type": "string"
+ },
"sourceTable": {
"$ref": "TableReference",
"description": "[Pick one] Source table to copy."
@@ -3866,6 +4124,37 @@
},
"type": "object"
},
+ "Policy": {
+ "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
+ "id": "Policy",
+ "properties": {
+ "auditConfigs": {
+ "description": "Specifies cloud audit logging configuration for this policy.",
+ "items": {
+ "$ref": "AuditConfig"
+ },
+ "type": "array"
+ },
+ "bindings": {
+ "description": "Associates a list of `members` to a `role`. Optionally, may specify a\n`condition` that determines how and when the `bindings` are applied. Each\nof the `bindings` must contain at least one member.",
+ "items": {
+ "$ref": "Binding"
+ },
+ "type": "array"
+ },
+ "etag": {
+ "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.",
+ "format": "byte",
+ "type": "string"
+ },
+ "version": {
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
"ProjectList": {
"id": "ProjectList",
"properties": {
@@ -4014,7 +4303,7 @@
"connectionProperties": {
"description": "Connection properties.",
"items": {
- "type": "any"
+ "$ref": "ConnectionProperty"
},
"type": "array"
},
@@ -4031,6 +4320,13 @@
"description": "The resource type of the request.",
"type": "string"
},
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The labels associated with this job. You can use these to organize and group your jobs. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and each label in the list must have a different key.",
+ "type": "object"
+ },
"location": {
"description": "The geographic location where the job should run. See details at https://cloud.google.com/bigquery/docs/locations#specifying_your_location.",
"type": "string"
@@ -4040,6 +4336,11 @@
"format": "uint32",
"type": "integer"
},
+ "maximumBytesBilled": {
+ "description": "[Optional] Limits the bytes billed for this job. Queries that will have bytes billed beyond this limit will fail (without incurring a charge). If unspecified, this will be set to your project default.",
+ "format": "int64",
+ "type": "string"
+ },
"parameterMode": {
"description": "Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named (@myparam) query parameters in this query.",
"type": "string"
@@ -4064,6 +4365,10 @@
},
"type": "array"
},
+ "requestId": {
+ "description": "A unique user provided identifier to ensure idempotent behavior for queries. Note that this is different from the job_id. It has the following properties: 1. It is case-sensitive, limited to up to 36 ASCII characters. A UUID is recommended. 2. Read only queries can ignore this token since they are nullipotent by definition. 3. For the purposes of idempotency ensured by the request_id, a request is considered duplicate of another only if they have the same request_id and are actually duplicates. When determining whether a request is a duplicate of the previous request, all parameters in the request that may affect the behavior are considered. For example, query, connection_properties, query_parameters, use_legacy_sql are parameters that affect the result and are considered when determining whether a request is a duplicate, but properties like timeout_ms don't affect the result and are thus not considered. Dry run query requests are never considered duplicate of another request. 4. When a duplicate mutating query request is detected, it returns: a. the results of the mutation if it completes successfully within the timeout. b. the running operation if it is still in progress at the end of the timeout. 5. Its lifetime is limited to 15 minutes. In other words, if two requests are sent with the same request_id, but more than 15 minutes apart, idempotency is not guaranteed.",
+ "type": "string"
+ },
"timeoutMs": {
"description": "[Optional] How long to wait for the query to complete, in milliseconds, before the request times out and returns. Note that this is only a timeout for the request, not the query. If the query takes longer to run than the timeout value, the call returns without any results and with the 'jobComplete' flag set to false. You can call GetQueryResults() to wait for the query to complete and read the results. The default value is 10000 milliseconds (10 seconds).",
"format": "uint32",
@@ -4287,6 +4592,20 @@
"description": "Optional. [Experimental] The description of the routine if defined.",
"type": "string"
},
+ "determinismLevel": {
+ "description": "Optional. [Experimental] The determinism level of the JavaScript UDF if defined.",
+ "enum": [
+ "DETERMINISM_LEVEL_UNSPECIFIED",
+ "DETERMINISTIC",
+ "NOT_DETERMINISTIC"
+ ],
+ "enumDescriptions": [
+ "The determinism of the UDF is unspecified.",
+ "The UDF is deterministic, meaning that 2 function calls with the same\ninputs always produce the same result, even across 2 query runs.",
+ "The UDF is not deterministic."
+ ],
+ "type": "string"
+ },
"etag": {
"description": "Output only. A hash of this resource.",
"type": "string"
@@ -4461,6 +4780,22 @@
},
"type": "object"
},
+ "SetIamPolicyRequest": {
+ "description": "Request message for `SetIamPolicy` method.",
+ "id": "SetIamPolicyRequest",
+ "properties": {
+ "policy": {
+ "$ref": "Policy",
+ "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
+ },
+ "updateMask": {
+ "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\n\n`paths: \"bindings, etag\"`",
+ "format": "google-fieldmask",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"StandardSqlDataType": {
"description": "The type of a variable, e.g., a function argument.\nExamples:\nINT64: {type_kind=\"INT64\"}\nARRAY: {type_kind=\"ARRAY\", array_element_type=\"STRING\"}\nSTRUCT>:\n {type_kind=\"STRUCT\",\n struct_type={fields=[\n {name=\"x\", type={type_kind=\"STRING\"}},\n {name=\"y\", type={type_kind=\"ARRAY\", array_element_type=\"DATE\"}}\n ]}}",
"id": "StandardSqlDataType",
@@ -4488,6 +4823,7 @@
"DATETIME",
"GEOGRAPHY",
"NUMERIC",
+ "BIGNUMERIC",
"ARRAY",
"STRUCT"
],
@@ -4504,6 +4840,7 @@
"Encoded as RFC 3339 full-date \"T\" partial-time: 1985-04-12T23:20:50.52",
"Encoded as WKT",
"Encoded as a decimal string.",
+ "Encoded as a decimal string.",
"Encoded as a list with types matching Type.array_type.",
"Encoded as a list with fields of type Type.struct_type[i]. List is used\nbecause a JSON object cannot have duplicate field names."
],
@@ -5008,6 +5345,34 @@
},
"type": "object"
},
+ "TestIamPermissionsRequest": {
+ "description": "Request message for `TestIamPermissions` method.",
+ "id": "TestIamPermissionsRequest",
+ "properties": {
+ "permissions": {
+ "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "TestIamPermissionsResponse": {
+ "description": "Response message for `TestIamPermissions` method.",
+ "id": "TestIamPermissionsResponse",
+ "properties": {
+ "permissions": {
+ "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"TimePartitioning": {
"id": "TimePartitioning",
"properties": {
@@ -5247,6 +5612,10 @@
],
"type": "string"
},
+ "preserveInputStructs": {
+ "description": "Whether to preserve the input structs in output feature names.\nSuppose there is a struct A with field b.\nWhen false (default), the output feature name is A_b.\nWhen true, the output feature name is A.b.",
+ "type": "boolean"
+ },
"subsample": {
"description": "Subsample fraction of the training data to grow tree to prevent\noverfitting for boosted tree models.",
"format": "double",
@@ -5300,6 +5669,7 @@
"type": "object"
},
"UserDefinedFunctionResource": {
+ "description": "This is used for defining User Defined Function (UDF) resources only when using legacy SQL. Users of Standard SQL should leverage either DDL (e.g. CREATE [TEMPORARY] FUNCTION ... ) or the Routines API to define UDF resources. For additional information on migrating, see: https://cloud.google.com/bigquery/docs/reference/standard-sql/migrating-from-legacy-sql#differences_in_user-defined_javascript_functions",
"id": "UserDefinedFunctionResource",
"properties": {
"inlineCode": {
diff --git a/etc/api/bigqueryconnection/v1beta1/bigqueryconnection-api.json b/etc/api/bigqueryconnection/v1beta1/bigqueryconnection-api.json
index 035b174efe..4c7d72d1e7 100644
--- a/etc/api/bigqueryconnection/v1beta1/bigqueryconnection-api.json
+++ b/etc/api/bigqueryconnection/v1beta1/bigqueryconnection-api.json
@@ -302,7 +302,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED",
+ "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:setIamPolicy",
"httpMethod": "POST",
"id": "bigqueryconnection.projects.locations.connections.setIamPolicy",
@@ -331,7 +331,7 @@
]
},
"testIamPermissions": {
- "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
+ "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:testIamPermissions",
"httpMethod": "POST",
"id": "bigqueryconnection.projects.locations.connections.testIamPermissions",
@@ -395,11 +395,11 @@
}
}
},
- "revision": "20200331",
+ "revision": "20200626",
"rootUrl": "https://bigqueryconnection.googleapis.com/",
"schemas": {
"AuditConfig": {
- "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
+ "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n },\n {\n \"log_type\": \"ADMIN_READ\"\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\"\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"auditLogConfigs": {
@@ -417,7 +417,7 @@
"type": "object"
},
"AuditLogConfig": {
- "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
+ "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
"id": "AuditLogConfig",
"properties": {
"exemptedMembers": {
@@ -452,7 +452,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
@@ -599,7 +599,7 @@
"properties": {
"options": {
"$ref": "GetPolicyOptions",
- "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`. This field is only used by Cloud IAM."
+ "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`."
}
},
"type": "object"
@@ -609,7 +609,7 @@
"id": "GetPolicyOptions",
"properties": {
"requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.",
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -635,7 +635,7 @@
"type": "object"
},
"Policy": {
- "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"auditConfigs": {
@@ -658,7 +658,7 @@
"type": "string"
},
"version": {
- "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -674,7 +674,7 @@
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
},
"updateMask": {
- "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.",
+ "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\n\n`paths: \"bindings, etag\"`",
"format": "google-fieldmask",
"type": "string"
}
diff --git a/etc/api/bigquerydatatransfer/v1/bigquerydatatransfer-api.json b/etc/api/bigquerydatatransfer/v1/bigquerydatatransfer-api.json
index ac4bb68df4..55edd69047 100644
--- a/etc/api/bigquerydatatransfer/v1/bigquerydatatransfer-api.json
+++ b/etc/api/bigquerydatatransfer/v1/bigquerydatatransfer-api.json
@@ -1265,7 +1265,7 @@
}
}
},
- "revision": "20200326",
+ "revision": "20200502",
"rootUrl": "https://bigquerydatatransfer.googleapis.com/",
"schemas": {
"CheckValidCredsRequest": {
diff --git a/etc/api/bigqueryreservation/v1/bigqueryreservation-api.json b/etc/api/bigqueryreservation/v1/bigqueryreservation-api.json
index c4f6309588..ba54a1e55b 100644
--- a/etc/api/bigqueryreservation/v1/bigqueryreservation-api.json
+++ b/etc/api/bigqueryreservation/v1/bigqueryreservation-api.json
@@ -210,17 +210,17 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
- "searchAssignments": {
- "description": "Looks up assignments for a specified resource for a particular region.\nIf the request is about a project:\n 1) Assignments created on the project will be returned if they exist.\n 2) Otherwise assignments created on the closest ancestor will be\n returned. 3) Assignments for different JobTypes will all be returned.\nSame logic applies if the request is about a folder.\nIf the request is about an organization, then assignments created on the\norganization will be returned (organization doesn't have ancestors).\nComparing to ListAssignments, there are some behavior\ndifferences:\n 1) permission on the assignee will be verified in this API.\n 2) Hierarchy lookup (project->folder->organization) happens in this API.\n 3) Parent here is projects/*/locations/*, instead of\n projects/*/locations/*reservations/*.\nNote \"-\" cannot be used for projects\nnor locations.",
- "flatPath": "v1/projects/{projectsId}/locations/{locationsId}:searchAssignments",
+ "searchAllAssignments": {
+ "description": "Looks up assignments for a specified resource for a particular region.\nIf the request is about a project:\n\n1. Assignments created on the project will be returned if they exist.\n2. Otherwise assignments created on the closest ancestor will be\n returned.\n3. Assignments for different JobTypes will all be returned.\n\nThe same logic applies if the request is about a folder.\n\nIf the request is about an organization, then assignments created on the\norganization will be returned (organization doesn't have ancestors).\n\nComparing to ListAssignments, there are some behavior\ndifferences:\n\n1. permission on the assignee will be verified in this API.\n2. Hierarchy lookup (project->folder->organization) happens in this API.\n3. Parent here is `projects/*/locations/*`, instead of\n `projects/*/locations/*reservations/*`.",
+ "flatPath": "v1/projects/{projectsId}/locations/{locationsId}:searchAllAssignments",
"httpMethod": "GET",
- "id": "bigqueryreservation.projects.locations.searchAssignments",
+ "id": "bigqueryreservation.projects.locations.searchAllAssignments",
"parameterOrder": [
"parent"
],
"parameters": {
"pageSize": {
- "description": "The maximum number of items to return.",
+ "description": "The maximum number of items to return per page.",
"format": "int32",
"location": "query",
"type": "integer"
@@ -231,14 +231,56 @@
"type": "string"
},
"parent": {
- "description": "Required. The resource name of the admin project(containing project and location),\ne.g.:\n \"projects/myproject/locations/US\".",
+ "description": "Required. The resource name with location (project name could be the wildcard '-'),\ne.g.:\n `projects/-/locations/US`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
},
"query": {
- "description": "Please specify resource name as assignee in the query.\ne.g., \"assignee=projects/myproject\"\n \"assignee=folders/123\"\n \"assignee=organizations/456\"",
+ "description": "Please specify resource name as assignee in the query.\n\nExamples:\n\n* `assignee=projects/myproject`\n* `assignee=folders/123`\n* `assignee=organizations/456`",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}:searchAllAssignments",
+ "response": {
+ "$ref": "SearchAllAssignmentsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/bigquery",
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "searchAssignments": {
+ "description": "Looks up assignments for a specified resource for a particular region.\nIf the request is about a project:\n\n1. Assignments created on the project will be returned if they exist.\n2. Otherwise assignments created on the closest ancestor will be\n returned.\n3. Assignments for different JobTypes will all be returned.\n\nThe same logic applies if the request is about a folder.\n\nIf the request is about an organization, then assignments created on the\norganization will be returned (organization doesn't have ancestors).\n\nComparing to ListAssignments, there are some behavior\ndifferences:\n\n1. permission on the assignee will be verified in this API.\n2. Hierarchy lookup (project->folder->organization) happens in this API.\n3. Parent here is `projects/*/locations/*`, instead of\n `projects/*/locations/*reservations/*`.\n\n**Note** \"-\" cannot be used for projects\nnor locations.",
+ "flatPath": "v1/projects/{projectsId}/locations/{locationsId}:searchAssignments",
+ "httpMethod": "GET",
+ "id": "bigqueryreservation.projects.locations.searchAssignments",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "The maximum number of items to return per page.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "The next_page_token value returned from a previous List request, if any.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. The resource name of the admin project(containing project and location),\ne.g.:\n `projects/myproject/locations/US`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "query": {
+ "description": "Please specify resource name as assignee in the query.\n\nExamples:\n\n* `assignee=projects/myproject`\n* `assignee=folders/123`\n* `assignee=organizations/456`",
"location": "query",
"type": "string"
}
@@ -253,7 +295,7 @@
]
},
"updateBiReservation": {
- "description": "Updates a BI reservation.\nOnly fields specified in the field_mask are updated.\nSingleton BI reservation always exists with default size 0.\nIn order to reserve BI capacity it needs to be updated to an amount\ngreater than 0. In order to release BI capacity reservation size\nmust be set to 0.",
+ "description": "Updates a BI reservation.\n\nOnly fields specified in the `field_mask` are updated.\n\nA singleton BI reservation always exists with default size 0.\nIn order to reserve BI capacity it needs to be updated to an amount\ngreater than 0. In order to release BI capacity reservation size\nmust be set to 0.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/biReservation",
"httpMethod": "PATCH",
"id": "bigqueryreservation.projects.locations.updateBiReservation",
@@ -306,7 +348,7 @@
"type": "boolean"
},
"parent": {
- "description": "Required. Resource name of the parent reservation. E.g.,\n projects/myproject/locations/US",
+ "description": "Required. Resource name of the parent reservation. E.g.,\n `projects/myproject/locations/US`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
@@ -335,7 +377,7 @@
],
"parameters": {
"name": {
- "description": "Required. Resource name of the capacity commitment to delete. E.g.,\n projects/myproject/locations/US/capacityCommitments/123",
+ "description": "Required. Resource name of the capacity commitment to delete. E.g.,\n `projects/myproject/locations/US/capacityCommitments/123`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/capacityCommitments/[^/]+$",
"required": true,
@@ -361,7 +403,7 @@
],
"parameters": {
"name": {
- "description": "Required. Resource name of the capacity commitment to retrieve. E.g.,\n projects/myproject/locations/US/capacityCommitments/123",
+ "description": "Required. Resource name of the capacity commitment to retrieve. E.g.,\n `projects/myproject/locations/US/capacityCommitments/123`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/capacityCommitments/[^/]+$",
"required": true,
@@ -398,7 +440,7 @@
"type": "string"
},
"parent": {
- "description": "Required. Resource name of the parent reservation. E.g.,\n projects/myproject/locations/US",
+ "description": "Required. Resource name of the parent reservation. E.g.,\n `projects/myproject/locations/US`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
@@ -415,7 +457,7 @@
]
},
"merge": {
- "description": "Merges capacity commitments of the same plan into one. Resulting capacity\ncommitment has the longer commitment_end_time out of the two. Attempting to\nmerge capacity commitments of different plan will fail with the error code\n`google.rpc.Code.FAILED_PRECONDITION`.",
+ "description": "Merges capacity commitments of the same plan into a single commitment.\n\nThe resulting capacity commitment has the greater commitment_end_time\nout of the to-be-merged capacity commitments.\n\nAttempting to merge capacity commitments of different plan will fail\nwith the error code `google.rpc.Code.FAILED_PRECONDITION`.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/capacityCommitments:merge",
"httpMethod": "POST",
"id": "bigqueryreservation.projects.locations.capacityCommitments.merge",
@@ -424,7 +466,7 @@
],
"parameters": {
"parent": {
- "description": "Parent resource that identifies admin project and location e.g.,\nprojects/myproject/locations/us",
+ "description": "Parent resource that identifies admin project and location e.g.,\n `projects/myproject/locations/us`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
@@ -444,7 +486,7 @@
]
},
"patch": {
- "description": "Updates an existing capacity commitment.\n\nOnly plan and renewal_plan fields can be updated.\nPlan can only be changed to a plan of a longer commitment period.\nAttempting to change to a plan with shorter commitment period will fail\nwith the error code `google.rpc.Code.FAILED_PRECONDITION`.",
+ "description": "Updates an existing capacity commitment.\n\nOnly `plan` and `renewal_plan` fields can be updated.\n\nPlan can only be changed to a plan of a longer commitment period.\nAttempting to change to a plan with shorter commitment period will fail\nwith the error code `google.rpc.Code.FAILED_PRECONDITION`.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/capacityCommitments/{capacityCommitmentsId}",
"httpMethod": "PATCH",
"id": "bigqueryreservation.projects.locations.capacityCommitments.patch",
@@ -453,7 +495,7 @@
],
"parameters": {
"name": {
- "description": "Output only. The resource name of the capacity commitment, e.g.,\n projects/myproject/locations/US/capacityCommitments/123",
+ "description": "Output only. The resource name of the capacity commitment, e.g.,\n`projects/myproject/locations/US/capacityCommitments/123`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/capacityCommitments/[^/]+$",
"required": true,
@@ -479,7 +521,7 @@
]
},
"split": {
- "description": "Splits capacity commitment to two commitments of the same plan and\ncommitment_end_time. A common use case to do that is to perform a downgrade\ne.g., in order to downgrade from 10000 slots to 8000, one might split 10000\ncapacity commitment to 2000 and 8000, change the plan of the first one to\nflex and then delete it.",
+ "description": "Splits capacity commitment to two commitments of the same plan and\n`commitment_end_time`.\n\nA common use case is to enable downgrading commitments.\n\nFor example, in order to downgrade from 10000 slots to 8000, you might\nsplit a 10000 capacity commitment into commitments of 2000 and 8000. Then,\nyou would change the plan of the first one to `FLEX` and then delete it.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/capacityCommitments/{capacityCommitmentsId}:split",
"httpMethod": "POST",
"id": "bigqueryreservation.projects.locations.capacityCommitments.split",
@@ -488,7 +530,7 @@
],
"parameters": {
"name": {
- "description": "Required. The resource name e.g.,:\n projects/myproject/locations/US/capacityCommitments/123",
+ "description": "Required. The resource name e.g.,:\n `projects/myproject/locations/US/capacityCommitments/123`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/capacityCommitments/[^/]+$",
"required": true,
@@ -521,7 +563,7 @@
],
"parameters": {
"parent": {
- "description": "Required. Project, location. E.g.,\n projects/myproject/locations/US",
+ "description": "Required. Project, location. E.g.,\n`projects/myproject/locations/US`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
@@ -555,7 +597,7 @@
],
"parameters": {
"name": {
- "description": "Required. Resource name of the reservation to retrieve. E.g.,\n projects/myproject/locations/US/reservations/team1-prod",
+ "description": "Required. Resource name of the reservation to retrieve. E.g.,\n `projects/myproject/locations/US/reservations/team1-prod`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$",
"required": true,
@@ -581,7 +623,7 @@
],
"parameters": {
"name": {
- "description": "Required. Resource name of the reservation to retrieve. E.g.,\n projects/myproject/locations/US/reservations/team1-prod",
+ "description": "Required. Resource name of the reservation to retrieve. E.g.,\n `projects/myproject/locations/US/reservations/team1-prod`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$",
"required": true,
@@ -607,7 +649,7 @@
],
"parameters": {
"pageSize": {
- "description": "The maximum number of items to return.",
+ "description": "The maximum number of items to return per page.",
"format": "int32",
"location": "query",
"type": "integer"
@@ -618,7 +660,7 @@
"type": "string"
},
"parent": {
- "description": "Required. The parent resource name containing project and location, e.g.:\n \"projects/myproject/locations/US\"",
+ "description": "Required. The parent resource name containing project and location, e.g.:\n `projects/myproject/locations/US`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
@@ -644,7 +686,7 @@
],
"parameters": {
"name": {
- "description": "The resource name of the reservation, e.g.,\n\"projects/*/locations/*/reservations/team1-prod\".",
+ "description": "The resource name of the reservation, e.g.,\n`projects/*/locations/*/reservations/team1-prod`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$",
"required": true,
@@ -674,7 +716,7 @@
"assignments": {
"methods": {
"create": {
- "description": "Creates an object which allows the given project to submit jobs\nof a certain type using slots from the specified reservation. Currently a\nresource (project, folder, organization) can only have one assignment per\n{job_type, location}, and that reservation will be used for all jobs of the\nmatching type. Within the organization, different assignments can be\ncreated on projects, folders or organization level. During query execution,\nthe assignment is looked up at the project, folder and organization levels\nin that order. The first assignment found is applied to the query. When\ncreating assignments, it does not matter if other assignments exist at\nhigher levels. E.g: organizationA contains project1, project2. Assignments\nfor organizationA, project1 and project2 could all be created, mapping to\nthe same or different reservations.\nReturns `google.rpc.Code.PERMISSION_DENIED` if user does not have\n'bigquery.admin' permissions on the project using the reservation\nand the project that owns this reservation.\nReturns `google.rpc.Code.INVALID_ARGUMENT` when location of the assignment\ndoes not match location of the reservation.",
+ "description": "Creates an assignment object which allows the given project to submit jobs\nof a certain type using slots from the specified reservation.\n\nCurrently a\nresource (project, folder, organization) can only have one assignment per\neach (job_type, location) combination, and that reservation will be used\nfor all jobs of the matching type.\n\nDifferent assignments can be created on different levels of the\nprojects, folders or organization hierarchy. During query execution,\nthe assignment is looked up at the project, folder and organization levels\nin that order. The first assignment found is applied to the query.\n\nWhen creating assignments, it does not matter if other assignments exist at\nhigher levels.\n\nExample:\n\n* The organization `organizationA` contains two projects, `project1`\n and `project2`.\n* Assignments for all three entities (`organizationA`, `project1`, and\n `project2`) could all be created and mapped to the same or different\n reservations.\n\nReturns `google.rpc.Code.PERMISSION_DENIED` if user does not have\n'bigquery.admin' permissions on the project using the reservation\nand the project that owns this reservation.\n\nReturns `google.rpc.Code.INVALID_ARGUMENT` when location of the assignment\ndoes not match location of the reservation.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/assignments",
"httpMethod": "POST",
"id": "bigqueryreservation.projects.locations.reservations.assignments.create",
@@ -683,7 +725,7 @@
],
"parameters": {
"parent": {
- "description": "Required. The parent resource name of the assignment\nE.g.: projects/myproject/locations/US/reservations/team1-prod",
+ "description": "Required. The parent resource name of the assignment\nE.g. `projects/myproject/locations/US/reservations/team1-prod`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$",
"required": true,
@@ -703,7 +745,7 @@
]
},
"delete": {
- "description": "Deletes a assignment. No expansion will happen.\nE.g:\norganizationA contains project1 and project2. Reservation res1 exists.\nCreateAssignment was invoked previously and following assignments were\ncreated explicitly:\n \n \nThen deletion of won't affect . After\ndeletion of , queries from project1 will still use\nres1, while queries from project2 will use on-demand mode.",
+ "description": "Deletes a assignment. No expansion will happen.\n\nExample:\n\n* Organization `organizationA` contains two projects, `project1` and\n `project2`.\n* Reservation `res1` exists and was created previously.\n* CreateAssignment was used previously to define the following\n associations between entities and reservations: ``\n and ``\n\nIn this example, deletion of the `` assignment won't\naffect the other assignment ``. After said deletion,\nqueries from `project1` will still use `res1` while queries from\n`project2` will switch to use on-demand mode.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/assignments/{assignmentsId}",
"httpMethod": "DELETE",
"id": "bigqueryreservation.projects.locations.reservations.assignments.delete",
@@ -712,7 +754,7 @@
],
"parameters": {
"name": {
- "description": "Required. Name of the resource, e.g.:\n projects/myproject/locations/US/reservations/team1-prod/assignments/123",
+ "description": "Required. Name of the resource, e.g.\n `projects/myproject/locations/US/reservations/team1-prod/assignments/123`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+/assignments/[^/]+$",
"required": true,
@@ -729,7 +771,7 @@
]
},
"list": {
- "description": "Lists assignments.\nOnly explicitly created assignments will be returned. E.g:\norganizationA contains project1 and project2. Reservation res1 exists.\nCreateAssignment was invoked previously and following assignments were\ncreated explicitly:\n \n \nThen this API will just return the above two assignments for reservation\nres1, and no expansion/merge will happen. Wildcard \"-\" can be used for\nreservations in the request. In that case all assignments belongs to the\nspecified project and location will be listed. Note\n\"-\" cannot be used for projects nor locations.",
+ "description": "Lists assignments.\n\nOnly explicitly created assignments will be returned.\n\nExample:\n\n* Organization `organizationA` contains two projects, `project1` and\n `project2`.\n* Reservation `res1` exists and was created previously.\n* CreateAssignment was used previously to define the following\n associations between entities and reservations: ``\n and ``\n\nIn this example, ListAssignments will just return the above two assignments\nfor reservation `res1`, and no expansion/merge will happen.\n\nThe wildcard \"-\" can be used for\nreservations in the request. In that case all assignments belongs to the\nspecified project and location will be listed.\n\n**Note** \"-\" cannot be used for projects nor locations.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/assignments",
"httpMethod": "GET",
"id": "bigqueryreservation.projects.locations.reservations.assignments.list",
@@ -738,7 +780,7 @@
],
"parameters": {
"pageSize": {
- "description": "The maximum number of items to return.",
+ "description": "The maximum number of items to return per page.",
"format": "int32",
"location": "query",
"type": "integer"
@@ -749,7 +791,7 @@
"type": "string"
},
"parent": {
- "description": "Required. The parent resource name e.g.:\nprojects/myproject/locations/US/reservations/team1-prod\nOr:\nprojects/myproject/locations/US/reservations/-",
+ "description": "Required. The parent resource name e.g.:\n\n`projects/myproject/locations/US/reservations/team1-prod`\n\nOr:\n\n`projects/myproject/locations/US/reservations/-`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$",
"required": true,
@@ -766,7 +808,7 @@
]
},
"move": {
- "description": "Moves a assignment under a new reservation. Customers can do this by\ndeleting the existing assignment followed by creating another assignment\nunder the new reservation, but this method provides a transactional way to\ndo so, to make sure the assignee always has an associated reservation.\nWithout the method customers might see some queries run on-demand which\nmight be unexpected.",
+ "description": "Moves an assignment under a new reservation.\n\nThis differs from removing an existing assignment and recreating a new one\nby providing a transactional change that ensures an assignee always has an\nassociated reservation.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/assignments/{assignmentsId}:move",
"httpMethod": "POST",
"id": "bigqueryreservation.projects.locations.reservations.assignments.move",
@@ -775,7 +817,7 @@
],
"parameters": {
"name": {
- "description": "Required. The resource name of the assignment,\ne.g.:\n projects/myproject/locations/US/reservations/team1-prod/assignments/123",
+ "description": "Required. The resource name of the assignment,\ne.g.\n`projects/myproject/locations/US/reservations/team1-prod/assignments/123`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+/assignments/[^/]+$",
"required": true,
@@ -803,7 +845,7 @@
}
}
},
- "revision": "20200403",
+ "revision": "20200702",
"rootUrl": "https://bigqueryreservation.googleapis.com/",
"schemas": {
"Assignment": {
@@ -811,7 +853,7 @@
"id": "Assignment",
"properties": {
"assignee": {
- "description": "The resource which will use the reservation. E.g.\nprojects/myproject, folders/123, organizations/456.",
+ "description": "The resource which will use the reservation. E.g.\n`projects/myproject`, `folders/123`, or `organizations/456`.",
"type": "string"
},
"jobType": {
@@ -819,17 +861,19 @@
"enum": [
"JOB_TYPE_UNSPECIFIED",
"PIPELINE",
- "QUERY"
+ "QUERY",
+ "ML_EXTERNAL"
],
"enumDescriptions": [
"Invalid type. Requests with this value will be rejected with\nerror code `google.rpc.Code.INVALID_ARGUMENT`.",
"Pipeline (load/export) jobs from the project will use the reservation.",
- "Query jobs from the project will use the reservation."
+ "Query jobs from the project will use the reservation.",
+ "BigQuery ML jobs that use services external to BigQuery for model\ntraining. These jobs will not utilize idle slots from other reservations."
],
"type": "string"
},
"name": {
- "description": "Output only. Name of the resource. E.g.:\nprojects/myproject/locations/US/reservations/team1-prod/assignments/123.",
+ "description": "Output only. Name of the resource. E.g.:\n`projects/myproject/locations/US/reservations/team1-prod/assignments/123`.",
"type": "string"
},
"state": {
@@ -871,7 +915,7 @@
"type": "object"
},
"CapacityCommitment": {
- "description": "Capacity commitment is a way to purchase compute capacity for BigQuery jobs\n(in the form of slots) with some committed period of usage. Monthly and\nannual commitments renew by default. Only flex commitments can be removed. In\norder to remove monthly or annual commitments, their plan needs to be changed\nto flex first.\n\nA capacity commitment resource exists as a child resource of the admin\nproject.",
+ "description": "Capacity commitment is a way to purchase compute capacity for BigQuery jobs\n(in the form of slots) with some committed period of usage. Annual\ncommitments renew by default. Commitments can be removed after their\ncommitment end time passes.\n\nIn order to remove annual commitment, its plan needs to be changed\nto monthly or flex first.\n\nA capacity commitment resource exists as a child resource of the admin\nproject.",
"id": "CapacityCommitment",
"properties": {
"commitmentEndTime": {
@@ -879,12 +923,17 @@
"format": "google-datetime",
"type": "string"
},
+ "commitmentStartTime": {
+ "description": "Output only. The start of the current commitment period. It is applicable only for\nACTIVE capacity commitments.",
+ "format": "google-datetime",
+ "type": "string"
+ },
"failureStatus": {
"$ref": "Status",
"description": "Output only. For FAILED commitment plan, provides the reason of failure."
},
"name": {
- "description": "Output only. The resource name of the capacity commitment, e.g.,\n projects/myproject/locations/US/capacityCommitments/123",
+ "description": "Output only. The resource name of the capacity commitment, e.g.,\n`projects/myproject/locations/US/capacityCommitments/123`",
"type": "string"
},
"plan": {
@@ -892,30 +941,34 @@
"enum": [
"COMMITMENT_PLAN_UNSPECIFIED",
"FLEX",
+ "TRIAL",
"MONTHLY",
"ANNUAL"
],
"enumDescriptions": [
"Invalid plan value. Requests with this value will be rejected with\nerror code `google.rpc.Code.INVALID_ARGUMENT`.",
"Flex commitments have committed period of 1 minute after becoming ACTIVE.\nAfter that, they are not in a committed period anymore and can be removed\nany time.",
- "Monthly commitments have a committed period of 30 days after becoming\nACTIVE.",
- "Annual commitments have a committed period of 365 days after becoming\nACTIVE."
+ "Trial commitments have a committed period of 182 days after becoming\nACTIVE. After that, they are converted to a new commitment based on the\n`renewal_plan`. Default `renewal_plan` for Trial commitment is Flex so\nthat it can be deleted right after committed period ends.",
+ "Monthly commitments have a committed period of 30 days after becoming\nACTIVE. After that, they are not in a committed period anymore and can be\nremoved any time.",
+ "Annual commitments have a committed period of 365 days after becoming\nACTIVE. After that they are converted to a new commitment based on the\nrenewal_plan."
],
"type": "string"
},
"renewalPlan": {
- "description": "The plan this capacity commitment is converted to after commitment_end_time\npasses. Once the plan is changed, committed period is extended according to\ncommitment plan. Only applicable for ANNUAL commitments.",
+ "description": "The plan this capacity commitment is converted to after commitment_end_time\npasses. Once the plan is changed, committed period is extended according to\ncommitment plan. Only applicable for ANNUAL and TRIAL commitments.",
"enum": [
"COMMITMENT_PLAN_UNSPECIFIED",
"FLEX",
+ "TRIAL",
"MONTHLY",
"ANNUAL"
],
"enumDescriptions": [
"Invalid plan value. Requests with this value will be rejected with\nerror code `google.rpc.Code.INVALID_ARGUMENT`.",
"Flex commitments have committed period of 1 minute after becoming ACTIVE.\nAfter that, they are not in a committed period anymore and can be removed\nany time.",
- "Monthly commitments have a committed period of 30 days after becoming\nACTIVE.",
- "Annual commitments have a committed period of 365 days after becoming\nACTIVE."
+ "Trial commitments have a committed period of 182 days after becoming\nACTIVE. After that, they are converted to a new commitment based on the\n`renewal_plan`. Default `renewal_plan` for Trial commitment is Flex so\nthat it can be deleted right after committed period ends.",
+ "Monthly commitments have a committed period of 30 days after becoming\nACTIVE. After that, they are not in a committed period anymore and can be\nremoved any time.",
+ "Annual commitments have a committed period of 365 days after becoming\nACTIVE. After that they are converted to a new commitment based on the\nrenewal_plan."
],
"type": "string"
},
@@ -1037,7 +1090,7 @@
"id": "MergeCapacityCommitmentsRequest",
"properties": {
"capacityCommitmentIds": {
- "description": "Ids of capacity commitments to merge.\nThese capacity commitments must exist under admin project and location\nspecified in the parent.",
+ "description": "Ids of capacity commitments to merge.\nThese capacity commitments must exist under admin project and location\nspecified in the parent.\nID is the last portion of capacity commitment name e.g., 'abc' for\nprojects/myproject/locations/US/capacityCommitments/abc",
"items": {
"type": "string"
},
@@ -1047,11 +1100,11 @@
"type": "object"
},
"MoveAssignmentRequest": {
- "description": "The request for\nReservationService.MoveAssignment.\nNote: \"bigquery.reservationAssignments.create\" permission is required on the\ndestination_id. Note: \"bigquery.reservationAssignments.create\" and\n\"bigquery.reservationAssignments.delete\" permission is required on the\nrelated assignee.",
+ "description": "The request for\nReservationService.MoveAssignment.\n\n**Note**: \"bigquery.reservationAssignments.create\" permission is required on\nthe destination_id.\n\n**Note**: \"bigquery.reservationAssignments.create\" and\n\"bigquery.reservationAssignments.delete\" permission are required on the\nrelated assignee.",
"id": "MoveAssignmentRequest",
"properties": {
"destinationId": {
- "description": "The new reservation ID, e.g.:\n projects/myotherproject/locations/US/reservations/team2-prod",
+ "description": "The new reservation ID, e.g.:\n `projects/myotherproject/locations/US/reservations/team2-prod`",
"type": "string"
}
},
@@ -1101,17 +1154,35 @@
"type": "boolean"
},
"name": {
- "description": "The resource name of the reservation, e.g.,\n\"projects/*/locations/*/reservations/team1-prod\".",
+ "description": "The resource name of the reservation, e.g.,\n`projects/*/locations/*/reservations/team1-prod`.",
"type": "string"
},
"slotCapacity": {
- "description": "Minimum slots available to this reservation. A slot is a unit of\ncomputational power in BigQuery, and serves as the unit of parallelism.\nQueries using this reservation might use more slots during runtime if\nignore_idle_slots is set to false.\nIf the new reservation's slot capacity exceed the parent's slot capacity or\nif total slot capacity of the new reservation and its siblings exceeds the\nparent's slot capacity, the request will fail with\n`google.rpc.Code.RESOURCE_EXHAUSTED`.",
+ "description": "Minimum slots available to this reservation. A slot is a unit of\ncomputational power in BigQuery, and serves as the unit of parallelism.\n\nQueries using this reservation might use more slots during runtime if\nignore_idle_slots is set to false.\n\nIf the new reservation's slot capacity exceed the parent's slot capacity or\nif total slot capacity of the new reservation and its siblings exceeds the\nparent's slot capacity, the request will fail with\n`google.rpc.Code.RESOURCE_EXHAUSTED`.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
+ "SearchAllAssignmentsResponse": {
+ "description": "The response for ReservationService.SearchAllAssignments.",
+ "id": "SearchAllAssignmentsResponse",
+ "properties": {
+ "assignments": {
+ "description": "List of assignments visible to the user.",
+ "items": {
+ "$ref": "Assignment"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "Token to retrieve the next page of results, or empty if there are no\nmore results in the list.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"SearchAssignmentsResponse": {
"description": "The response for ReservationService.SearchAssignments.",
"id": "SearchAssignmentsResponse",
diff --git a/etc/api/bigqueryreservation/v1alpha2/bigqueryreservation-api.json b/etc/api/bigqueryreservation/v1alpha2/bigqueryreservation-api.json
index 9b78a64758..724d430559 100644
--- a/etc/api/bigqueryreservation/v1alpha2/bigqueryreservation-api.json
+++ b/etc/api/bigqueryreservation/v1alpha2/bigqueryreservation-api.json
@@ -614,7 +614,7 @@
}
}
},
- "revision": "20200403",
+ "revision": "20200702",
"rootUrl": "https://bigqueryreservation.googleapis.com/",
"schemas": {
"CreateSlotPoolMetadata": {
@@ -830,12 +830,14 @@
"enum": [
"COMMITMENT_PLAN_UNSPECIFIED",
"FLEX",
+ "TRIAL",
"MONTHLY",
"ANNUAL"
],
"enumDescriptions": [
"Invalid plan value. Requests with this value will be rejected with\nerror code `google.rpc.Code.INVALID_ARGUMENT`.",
"Slot pool can be removed at any point, even after becoming ACTIVE.",
+ "Trial commitments have a committed period of 182 days after becoming\nACTIVE. After that, they are converted to a new commitment based on the\nrenewal_plan. Default renewal_plan for Trial commitment is Flex so that\nit can be deleted right after committed period ends.",
"Slot pool cannot be removed for 30 days after becoming ACTIVE.",
"Slot pool cannot be removed for 365 days after becoming ACTIVE.\nNote: annual commitments are automatically downgraded to monthly after\n365 days."
],
diff --git a/etc/api/bigqueryreservation/v1beta1/bigqueryreservation-api.json b/etc/api/bigqueryreservation/v1beta1/bigqueryreservation-api.json
index 2941fa9dd6..ed2412e519 100644
--- a/etc/api/bigqueryreservation/v1beta1/bigqueryreservation-api.json
+++ b/etc/api/bigqueryreservation/v1beta1/bigqueryreservation-api.json
@@ -139,7 +139,7 @@
]
},
"searchAssignments": {
- "description": "Looks up assignments for a specified resource for a particular region.\nIf the request is about a project:\n 1) Assignments created on the project will be returned if they exist.\n 2) Otherwise assignments created on the closest ancestor will be\n returned. 3) Assignments for different JobTypes will all be returned.\nSame logic applies if the request is about a folder.\nIf the request is about an organization, then assignments created on the\norganization will be returned (organization doesn't have ancestors).\nComparing to ListAssignments, there are some behavior\ndifferences:\n 1) permission on the assignee will be verified in this API.\n 2) Hierarchy lookup (project->folder->organization) happens in this API.\n 3) Parent here is projects/*/locations/*, instead of\n projects/*/locations/*reservations/*.\nNote \"-\" cannot be used for projects\nnor locations.",
+ "description": "Looks up assignments for a specified resource for a particular region.\nIf the request is about a project:\n\n1. Assignments created on the project will be returned if they exist.\n2. Otherwise assignments created on the closest ancestor will be\n returned.\n3. Assignments for different JobTypes will all be returned.\n\nThe same logic applies if the request is about a folder.\n\nIf the request is about an organization, then assignments created on the\norganization will be returned (organization doesn't have ancestors).\n\nComparing to ListAssignments, there are some behavior\ndifferences:\n\n1. permission on the assignee will be verified in this API.\n2. Hierarchy lookup (project->folder->organization) happens in this API.\n3. Parent here is `projects/*/locations/*`, instead of\n `projects/*/locations/*reservations/*`.\n\n**Note** \"-\" cannot be used for projects\nnor locations.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}:searchAssignments",
"httpMethod": "GET",
"id": "bigqueryreservation.projects.locations.searchAssignments",
@@ -159,14 +159,14 @@
"type": "string"
},
"parent": {
- "description": "Required. The resource name of the admin project(containing project and location),\ne.g.:\n \"projects/myproject/locations/US\".",
+ "description": "Required. The resource name of the admin project(containing project and location),\ne.g.:\n `projects/myproject/locations/US`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
},
"query": {
- "description": "Please specify resource name as assignee in the query.\ne.g., \"assignee=projects/myproject\"\n \"assignee=folders/123\"\n \"assignee=organizations/456\"",
+ "description": "Please specify resource name as assignee in the query.\n\nExamples:\n\n* `assignee=projects/myproject`\n* `assignee=folders/123`\n* `assignee=organizations/456`",
"location": "query",
"type": "string"
}
@@ -181,7 +181,7 @@
]
},
"updateBiReservation": {
- "description": "Updates a BI reservation.\nOnly fields specified in the field_mask are updated.\nSingleton BI reservation always exists with default size 0.\nIn order to reserve BI capacity it needs to be updated to an amount\ngreater than 0. In order to release BI capacity reservation size\nmust be set to 0.",
+ "description": "Updates a BI reservation.\n\nOnly fields specified in the `field_mask` are updated.\n\nA singleton BI reservation always exists with default size 0.\nIn order to reserve BI capacity it needs to be updated to an amount\ngreater than 0. In order to release BI capacity reservation size\nmust be set to 0.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/biReservation",
"httpMethod": "PATCH",
"id": "bigqueryreservation.projects.locations.updateBiReservation",
@@ -234,7 +234,7 @@
"type": "boolean"
},
"parent": {
- "description": "Required. Resource name of the parent reservation. E.g.,\n projects/myproject/locations/US",
+ "description": "Required. Resource name of the parent reservation. E.g.,\n `projects/myproject/locations/US`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
@@ -263,7 +263,7 @@
],
"parameters": {
"name": {
- "description": "Required. Resource name of the capacity commitment to delete. E.g.,\n projects/myproject/locations/US/capacityCommitments/123",
+ "description": "Required. Resource name of the capacity commitment to delete. E.g.,\n `projects/myproject/locations/US/capacityCommitments/123`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/capacityCommitments/[^/]+$",
"required": true,
@@ -289,7 +289,7 @@
],
"parameters": {
"name": {
- "description": "Required. Resource name of the capacity commitment to retrieve. E.g.,\n projects/myproject/locations/US/capacityCommitments/123",
+ "description": "Required. Resource name of the capacity commitment to retrieve. E.g.,\n `projects/myproject/locations/US/capacityCommitments/123`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/capacityCommitments/[^/]+$",
"required": true,
@@ -326,7 +326,7 @@
"type": "string"
},
"parent": {
- "description": "Required. Resource name of the parent reservation. E.g.,\n projects/myproject/locations/US",
+ "description": "Required. Resource name of the parent reservation. E.g.,\n `projects/myproject/locations/US`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
@@ -343,7 +343,7 @@
]
},
"merge": {
- "description": "Merges capacity commitments of the same plan into one. Resulting capacity\ncommitment has the longer commitment_end_time out of the two. Attempting to\nmerge capacity commitments of different plan will fail with the error code\n`google.rpc.Code.FAILED_PRECONDITION`.",
+ "description": "Merges capacity commitments of the same plan into a single commitment.\n\nThe resulting capacity commitment has the greater commitment_end_time\nout of the to-be-merged capacity commitments.\n\nAttempting to merge capacity commitments of different plan will fail\nwith the error code `google.rpc.Code.FAILED_PRECONDITION`.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/capacityCommitments:merge",
"httpMethod": "POST",
"id": "bigqueryreservation.projects.locations.capacityCommitments.merge",
@@ -352,7 +352,7 @@
],
"parameters": {
"parent": {
- "description": "Parent resource that identifies admin project and location e.g.,\nprojects/myproject/locations/us",
+ "description": "Parent resource that identifies admin project and location e.g.,\n `projects/myproject/locations/us`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
@@ -372,7 +372,7 @@
]
},
"patch": {
- "description": "Updates an existing capacity commitment.\n\nOnly plan and renewal_plan fields can be updated.\nPlan can only be changed to a plan of a longer commitment period.\nAttempting to change to a plan with shorter commitment period will fail\nwith the error code `google.rpc.Code.FAILED_PRECONDITION`.",
+ "description": "Updates an existing capacity commitment.\n\nOnly `plan` and `renewal_plan` fields can be updated.\n\nPlan can only be changed to a plan of a longer commitment period.\nAttempting to change to a plan with shorter commitment period will fail\nwith the error code `google.rpc.Code.FAILED_PRECONDITION`.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/capacityCommitments/{capacityCommitmentsId}",
"httpMethod": "PATCH",
"id": "bigqueryreservation.projects.locations.capacityCommitments.patch",
@@ -381,7 +381,7 @@
],
"parameters": {
"name": {
- "description": "Output only. The resource name of the capacity commitment, e.g.,\n projects/myproject/locations/US/capacityCommitments/123",
+ "description": "Output only. The resource name of the capacity commitment, e.g.,\n`projects/myproject/locations/US/capacityCommitments/123`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/capacityCommitments/[^/]+$",
"required": true,
@@ -407,7 +407,7 @@
]
},
"split": {
- "description": "Splits capacity commitment to two commitments of the same plan and\ncommitment_end_time. A common use case to do that is to perform a downgrade\ne.g., in order to downgrade from 10000 slots to 8000, one might split 10000\ncapacity commitment to 2000 and 8000, change the plan of the first one to\nflex and then delete it.",
+ "description": "Splits capacity commitment to two commitments of the same plan and\n`commitment_end_time`.\n\nA common use case is to enable downgrading commitments.\n\nFor example, in order to downgrade from 10000 slots to 8000, you might\nsplit a 10000 capacity commitment into commitments of 2000 and 8000. Then,\nyou would change the plan of the first one to `FLEX` and then delete it.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/capacityCommitments/{capacityCommitmentsId}:split",
"httpMethod": "POST",
"id": "bigqueryreservation.projects.locations.capacityCommitments.split",
@@ -416,7 +416,7 @@
],
"parameters": {
"name": {
- "description": "Required. The resource name e.g.,:\n projects/myproject/locations/US/capacityCommitments/123",
+ "description": "Required. The resource name e.g.,:\n `projects/myproject/locations/US/capacityCommitments/123`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/capacityCommitments/[^/]+$",
"required": true,
@@ -449,7 +449,7 @@
],
"parameters": {
"parent": {
- "description": "Required. Project, location. E.g.,\n projects/myproject/locations/US",
+ "description": "Required. Project, location. E.g.,\n`projects/myproject/locations/US`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
@@ -483,7 +483,7 @@
],
"parameters": {
"name": {
- "description": "Required. Resource name of the reservation to retrieve. E.g.,\n projects/myproject/locations/US/reservations/team1-prod",
+ "description": "Required. Resource name of the reservation to retrieve. E.g.,\n `projects/myproject/locations/US/reservations/team1-prod`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$",
"required": true,
@@ -509,7 +509,7 @@
],
"parameters": {
"name": {
- "description": "Required. Resource name of the reservation to retrieve. E.g.,\n projects/myproject/locations/US/reservations/team1-prod",
+ "description": "Required. Resource name of the reservation to retrieve. E.g.,\n `projects/myproject/locations/US/reservations/team1-prod`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$",
"required": true,
@@ -551,7 +551,7 @@
"type": "string"
},
"parent": {
- "description": "Required. The parent resource name containing project and location, e.g.:\n \"projects/myproject/locations/US\"",
+ "description": "Required. The parent resource name containing project and location, e.g.:\n `projects/myproject/locations/US`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
@@ -577,7 +577,7 @@
],
"parameters": {
"name": {
- "description": "The resource name of the reservation, e.g.,\n\"projects/*/locations/*/reservations/team1-prod\".",
+ "description": "The resource name of the reservation, e.g.,\n`projects/*/locations/*/reservations/team1-prod`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$",
"required": true,
@@ -607,7 +607,7 @@
"assignments": {
"methods": {
"create": {
- "description": "Returns `google.rpc.Code.PERMISSION_DENIED` if user does not have\n'bigquery.admin' permissions on the project using the reservation\nand the project that owns this reservation.\nReturns `google.rpc.Code.INVALID_ARGUMENT` when location of the assignment\ndoes not match location of the reservation.",
+ "description": "Creates an assignment object which allows the given project to submit jobs\nof a certain type using slots from the specified reservation.\n\nCurrently a\nresource (project, folder, organization) can only have one assignment per\neach (job_type, location) combination, and that reservation will be used\nfor all jobs of the matching type.\n\nDifferent assignments can be created on different levels of the\nprojects, folders or organization hierarchy. During query execution,\nthe assignment is looked up at the project, folder and organization levels\nin that order. The first assignment found is applied to the query.\n\nWhen creating assignments, it does not matter if other assignments exist at\nhigher levels.\n\nExample:\n\n* The organization `organizationA` contains two projects, `project1`\n and `project2`.\n* Assignments for all three entities (`organizationA`, `project1`, and\n `project2`) could all be created and mapped to the same or different\n reservations.\n\nReturns `google.rpc.Code.PERMISSION_DENIED` if user does not have\n'bigquery.admin' permissions on the project using the reservation\nand the project that owns this reservation.\n\nReturns `google.rpc.Code.INVALID_ARGUMENT` when location of the assignment\ndoes not match location of the reservation.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/assignments",
"httpMethod": "POST",
"id": "bigqueryreservation.projects.locations.reservations.assignments.create",
@@ -616,7 +616,7 @@
],
"parameters": {
"parent": {
- "description": "Required. The parent resource name of the assignment\nE.g.: projects/myproject/locations/US/reservations/team1-prod",
+ "description": "Required. The parent resource name of the assignment\nE.g. `projects/myproject/locations/US/reservations/team1-prod`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$",
"required": true,
@@ -636,7 +636,7 @@
]
},
"delete": {
- "description": "Deletes a assignment. No expansion will happen.\nE.g:\norganizationA contains project1 and project2. Reservation res1 exists.\nCreateAssignment was invoked previously and following assignments were\ncreated explicitly:\n \n \nThen deletion of won't affect . After\ndeletion of , queries from project1 will still use\nres1, while queries from project2 will use on-demand mode.",
+ "description": "Deletes a assignment. No expansion will happen.\n\nExample:\n\n* Organization `organizationA` contains two projects, `project1` and\n `project2`.\n* Reservation `res1` exists and was created previously.\n* CreateAssignment was used previously to define the following\n associations between entities and reservations: ``\n and ``\n\nIn this example, deletion of the `` assignment won't\naffect the other assignment ``. After said deletion,\nqueries from `project1` will still use `res1` while queries from\n`project2` will switch to use on-demand mode.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/assignments/{assignmentsId}",
"httpMethod": "DELETE",
"id": "bigqueryreservation.projects.locations.reservations.assignments.delete",
@@ -645,7 +645,7 @@
],
"parameters": {
"name": {
- "description": "Required. Name of the resource, e.g.:\n projects/myproject/locations/US/reservations/team1-prod/assignments/123",
+ "description": "Required. Name of the resource, e.g.\n `projects/myproject/locations/US/reservations/team1-prod/assignments/123`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+/assignments/[^/]+$",
"required": true,
@@ -662,7 +662,7 @@
]
},
"list": {
- "description": "Lists assignments.\nOnly explicitly created assignments will be returned. E.g:\norganizationA contains project1 and project2. Reservation res1 exists.\nCreateAssignment was invoked previously and following assignments were\ncreated explicitly:\n \n \nThen this API will just return the above two assignments for reservation\nres1, and no expansion/merge will happen. Wildcard \"-\" can be used for\nreservations in the request. In that case all assignments belongs to the\nspecified project and location will be listed. Note\n\"-\" cannot be used for projects nor locations.",
+ "description": "Lists assignments.\n\nOnly explicitly created assignments will be returned.\n\nExample:\n\n* Organization `organizationA` contains two projects, `project1` and\n `project2`.\n* Reservation `res1` exists and was created previously.\n* CreateAssignment was used previously to define the following\n associations between entities and reservations: ``\n and ``\n\nIn this example, ListAssignments will just return the above two assignments\nfor reservation `res1`, and no expansion/merge will happen.\n\nThe wildcard \"-\" can be used for\nreservations in the request. In that case all assignments belongs to the\nspecified project and location will be listed.\n\n**Note** \"-\" cannot be used for projects nor locations.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/assignments",
"httpMethod": "GET",
"id": "bigqueryreservation.projects.locations.reservations.assignments.list",
@@ -682,7 +682,7 @@
"type": "string"
},
"parent": {
- "description": "Required. The parent resource name e.g.:\nprojects/myproject/locations/US/reservations/team1-prod\nOr:\nprojects/myproject/locations/US/reservations/-",
+ "description": "Required. The parent resource name e.g.:\n\n`projects/myproject/locations/US/reservations/team1-prod`\n\nOr:\n\n`projects/myproject/locations/US/reservations/-`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$",
"required": true,
@@ -699,7 +699,7 @@
]
},
"move": {
- "description": "Moves a assignment under a new reservation. Customers can do this by\ndeleting the existing assignment followed by creating another assignment\nunder the new reservation, but this method provides a transactional way to\ndo so, to make sure the assignee always has an associated reservation.\nWithout the method customers might see some queries run on-demand which\nmight be unexpected.",
+ "description": "Moves an assignment under a new reservation.\n\nThis differs from removing an existing assignment and recreating a new one\nby providing a transactional change that ensures an assignee always has an\nassociated reservation.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/assignments/{assignmentsId}:move",
"httpMethod": "POST",
"id": "bigqueryreservation.projects.locations.reservations.assignments.move",
@@ -708,7 +708,7 @@
],
"parameters": {
"name": {
- "description": "Required. The resource name of the assignment,\ne.g.:\n projects/myproject/locations/US/reservations/team1-prod/assignments/123",
+ "description": "Required. The resource name of the assignment,\ne.g.\n`projects/myproject/locations/US/reservations/team1-prod/assignments/123`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+/assignments/[^/]+$",
"required": true,
@@ -736,7 +736,7 @@
}
}
},
- "revision": "20200403",
+ "revision": "20200702",
"rootUrl": "https://bigqueryreservation.googleapis.com/",
"schemas": {
"Assignment": {
@@ -744,7 +744,7 @@
"id": "Assignment",
"properties": {
"assignee": {
- "description": "The resource which will use the reservation. E.g.\nprojects/myproject, folders/123, organizations/456.",
+ "description": "The resource which will use the reservation. E.g.\n`projects/myproject`, `folders/123`, or `organizations/456`.",
"type": "string"
},
"jobType": {
@@ -752,17 +752,19 @@
"enum": [
"JOB_TYPE_UNSPECIFIED",
"PIPELINE",
- "QUERY"
+ "QUERY",
+ "ML_EXTERNAL"
],
"enumDescriptions": [
"Invalid type. Requests with this value will be rejected with\nerror code `google.rpc.Code.INVALID_ARGUMENT`.",
"Pipeline (load/export) jobs from the project will use the reservation.",
- "Query jobs from the project will use the reservation."
+ "Query jobs from the project will use the reservation.",
+ "BigQuery ML jobs that use services external to BigQuery for model\ntraining. These jobs will not utilize idle slots from other reservations."
],
"type": "string"
},
"name": {
- "description": "Output only. Name of the resource. E.g.:\nprojects/myproject/locations/US/reservations/team1-prod/assignments/123.",
+ "description": "Output only. Name of the resource. E.g.:\n`projects/myproject/locations/US/reservations/team1-prod/assignments/123`.",
"type": "string"
},
"state": {
@@ -782,23 +784,6 @@
},
"type": "object"
},
- "Autoscale": {
- "description": "Auto scaling settings and current situation.\nSystem will create a dedicated FLEX capacity commitment to hold the slots\nfor auto-scale. Users won't be able to manage it,to avoid conflicts.\nScale-up will happen, if there are always pending tasks for the past 10\nminutes.\nScale-down will happen, if the system knows that scale-up won't be\ntriggered again.\nNote this is an alpha feature.",
- "id": "Autoscale",
- "properties": {
- "currentSlots": {
- "description": "Output only. The slot capacity added to this reservation when autoscale happens. Will\nbe between [0, max_slots].",
- "format": "int64",
- "type": "string"
- },
- "maxSlots": {
- "description": "Number of slots to be scaled when needed.",
- "format": "int64",
- "type": "string"
- }
- },
- "type": "object"
- },
"BiReservation": {
"description": "Represents a BI Reservation.",
"id": "BiReservation",
@@ -821,7 +806,7 @@
"type": "object"
},
"CapacityCommitment": {
- "description": "Capacity commitment is a way to purchase compute capacity for BigQuery jobs\n(in the form of slots) with some committed period of usage. Monthly and\nannual commitments renew by default. Only flex commitments can be removed. In\norder to remove monthly or annual commitments, their plan needs to be changed\nto flex first.\n\nA capacity commitment resource exists as a child resource of the admin\nproject.",
+ "description": "Capacity commitment is a way to purchase compute capacity for BigQuery jobs\n(in the form of slots) with some committed period of usage. Annual\ncommitments renew by default. Commitments can be removed after their\ncommitment end time passes.\n\nIn order to remove annual commitment, its plan needs to be changed\nto monthly or flex first.\n\nA capacity commitment resource exists as a child resource of the admin\nproject.",
"id": "CapacityCommitment",
"properties": {
"commitmentEndTime": {
@@ -829,12 +814,17 @@
"format": "google-datetime",
"type": "string"
},
+ "commitmentStartTime": {
+ "description": "Output only. The start of the current commitment period. It is applicable only for\nACTIVE capacity commitments.",
+ "format": "google-datetime",
+ "type": "string"
+ },
"failureStatus": {
"$ref": "Status",
"description": "Output only. For FAILED commitment plan, provides the reason of failure."
},
"name": {
- "description": "Output only. The resource name of the capacity commitment, e.g.,\n projects/myproject/locations/US/capacityCommitments/123",
+ "description": "Output only. The resource name of the capacity commitment, e.g.,\n`projects/myproject/locations/US/capacityCommitments/123`",
"type": "string"
},
"plan": {
@@ -842,14 +832,16 @@
"enum": [
"COMMITMENT_PLAN_UNSPECIFIED",
"FLEX",
+ "TRIAL",
"MONTHLY",
"ANNUAL"
],
"enumDescriptions": [
"Invalid plan value. Requests with this value will be rejected with\nerror code `google.rpc.Code.INVALID_ARGUMENT`.",
"Flex commitments have committed period of 1 minute after becoming ACTIVE.\nAfter that, they are not in a committed period anymore and can be removed\nany time.",
- "Monthly commitments have a committed period of 30 days after becoming\nACTIVE.",
- "Annual commitments have a committed period of 365 days after becoming\nACTIVE."
+ "Trial commitments have a committed period of 182 days after becoming\nACTIVE. After that, they are converted to a new commitment based on the\n`renewal_plan`. Default `renewal_plan` for Trial commitment is Flex so\nthat it can be deleted right after committed period ends.",
+ "Monthly commitments have a committed period of 30 days after becoming\nACTIVE. After that, they are not in a committed period anymore and can be\nremoved any time.",
+ "Annual commitments have a committed period of 365 days after becoming\nACTIVE. After that they are converted to a new commitment based on the\nrenewal_plan."
],
"type": "string"
},
@@ -858,14 +850,16 @@
"enum": [
"COMMITMENT_PLAN_UNSPECIFIED",
"FLEX",
+ "TRIAL",
"MONTHLY",
"ANNUAL"
],
"enumDescriptions": [
"Invalid plan value. Requests with this value will be rejected with\nerror code `google.rpc.Code.INVALID_ARGUMENT`.",
"Flex commitments have committed period of 1 minute after becoming ACTIVE.\nAfter that, they are not in a committed period anymore and can be removed\nany time.",
- "Monthly commitments have a committed period of 30 days after becoming\nACTIVE.",
- "Annual commitments have a committed period of 365 days after becoming\nACTIVE."
+ "Trial commitments have a committed period of 182 days after becoming\nACTIVE. After that, they are converted to a new commitment based on the\n`renewal_plan`. Default `renewal_plan` for Trial commitment is Flex so\nthat it can be deleted right after committed period ends.",
+ "Monthly commitments have a committed period of 30 days after becoming\nACTIVE. After that, they are not in a committed period anymore and can be\nremoved any time.",
+ "Annual commitments have a committed period of 365 days after becoming\nACTIVE. After that they are converted to a new commitment based on the\nrenewal_plan."
],
"type": "string"
},
@@ -969,7 +963,7 @@
"id": "MergeCapacityCommitmentsRequest",
"properties": {
"capacityCommitmentIds": {
- "description": "Ids of capacity commitments to merge.\nThese capacity commitments must exist under admin project and location\nspecified in the parent.",
+ "description": "Ids of capacity commitments to merge.\nThese capacity commitments must exist under admin project and location\nspecified in the parent.\nID is the last portion of capacity commitment name e.g., 'abc' for\nprojects/myproject/locations/US/capacityCommitments/abc",
"items": {
"type": "string"
},
@@ -979,11 +973,11 @@
"type": "object"
},
"MoveAssignmentRequest": {
- "description": "The request for\nReservationService.MoveAssignment.\nNote: \"bigquery.reservationAssignments.create\" permission is required on the\ndestination_id. Note: \"bigquery.reservationAssignments.create\" and\n\"bigquery.reservationAssignments.delete\" permission is required on the\nrelated assignee.",
+ "description": "The request for\nReservationService.MoveAssignment.\n\n**Note**: \"bigquery.reservationAssignments.create\" permission is required on\nthe destination_id.\n\n**Note**: \"bigquery.reservationAssignments.create\" and\n\"bigquery.reservationAssignments.delete\" permission are required on the\nrelated assignee.",
"id": "MoveAssignmentRequest",
"properties": {
"destinationId": {
- "description": "The new reservation ID, e.g.:\n projects/myotherproject/locations/US/reservations/team2-prod",
+ "description": "The new reservation ID, e.g.:\n `projects/myotherproject/locations/US/reservations/team2-prod`",
"type": "string"
}
},
@@ -993,20 +987,16 @@
"description": "A reservation is a mechanism used to guarantee slots to users.",
"id": "Reservation",
"properties": {
- "autoscale": {
- "$ref": "Autoscale",
- "description": "The configuration parameters for the auto scaling feature. Note this is an\nalpha feature."
- },
"ignoreIdleSlots": {
"description": "If false, any query using this reservation will use idle slots from other\nreservations within the same admin project. If true, a query using this\nreservation will execute with the slot capacity specified above at most.",
"type": "boolean"
},
"name": {
- "description": "The resource name of the reservation, e.g.,\n\"projects/*/locations/*/reservations/team1-prod\".",
+ "description": "The resource name of the reservation, e.g.,\n`projects/*/locations/*/reservations/team1-prod`.",
"type": "string"
},
"slotCapacity": {
- "description": "Minimum slots available to this reservation. A slot is a unit of\ncomputational power in BigQuery, and serves as the unit of parallelism.\nQueries using this reservation might use more slots during runtime if\nignore_idle_slots is set to false.\nIf the new reservation's slot capacity exceed the parent's slot capacity or\nif total slot capacity of the new reservation and its siblings exceeds the\nparent's slot capacity, the request will fail with\n`google.rpc.Code.RESOURCE_EXHAUSTED`.",
+ "description": "Minimum slots available to this reservation. A slot is a unit of\ncomputational power in BigQuery, and serves as the unit of parallelism.\n\nQueries using this reservation might use more slots during runtime if\nignore_idle_slots is set to false.\n\nIf the new reservation's slot capacity exceed the parent's slot capacity or\nif total slot capacity of the new reservation and its siblings exceeds the\nparent's slot capacity, the request will fail with\n`google.rpc.Code.RESOURCE_EXHAUSTED`.",
"format": "int64",
"type": "string"
}
diff --git a/etc/api/bigtableadmin/v1/bigtableadmin-api.json b/etc/api/bigtableadmin/v1/bigtableadmin-api.json
index 66c186c74f..ee3bc03015 100644
--- a/etc/api/bigtableadmin/v1/bigtableadmin-api.json
+++ b/etc/api/bigtableadmin/v1/bigtableadmin-api.json
@@ -96,7 +96,7 @@
},
"protocol": "rest",
"resources": {},
- "revision": "20200211",
+ "revision": "20200609",
"rootUrl": "https://bigtableadmin.googleapis.com/",
"schemas": {
"Cluster": {
@@ -104,7 +104,7 @@
"id": "Cluster",
"properties": {
"defaultStorageType": {
- "description": "(`CreationOnly`)\nThe type of storage used by this cluster to serve its\nparent instance's tables, unless explicitly overridden.",
+ "description": "Immutable. The type of storage used by this cluster to serve its\nparent instance's tables, unless explicitly overridden.",
"enum": [
"STORAGE_TYPE_UNSPECIFIED",
"SSD",
@@ -118,11 +118,11 @@
"type": "string"
},
"location": {
- "description": "(`CreationOnly`)\nThe location where this cluster's nodes and storage reside. For best\nperformance, clients should be located as close as possible to this\ncluster. Currently only zones are supported, so values should be of the\nform `projects/{project}/locations/{zone}`.",
+ "description": "Immutable. The location where this cluster's nodes and storage reside. For best\nperformance, clients should be located as close as possible to this\ncluster. Currently only zones are supported, so values should be of the\nform `projects/{project}/locations/{zone}`.",
"type": "string"
},
"name": {
- "description": "Required. (`OutputOnly`)\nThe unique name of the cluster. Values are of the form\n`projects/{project}/instances/{instance}/clusters/a-z*`.",
+ "description": "The unique name of the cluster. Values are of the form\n`projects/{project}/instances/{instance}/clusters/a-z*`.",
"type": "string"
},
"serveNodes": {
@@ -131,7 +131,7 @@
"type": "integer"
},
"state": {
- "description": "(`OutputOnly`)\nThe current state of the cluster.",
+ "description": "Output only. The current state of the cluster.",
"enum": [
"STATE_NOT_KNOWN",
"READY",
@@ -261,11 +261,11 @@
"type": "object"
},
"name": {
- "description": "Required. (`OutputOnly`)\nThe unique name of the instance. Values are of the form\n`projects/{project}/instances/a-z+[a-z0-9]`.",
+ "description": "The unique name of the instance. Values are of the form\n`projects/{project}/instances/a-z+[a-z0-9]`.",
"type": "string"
},
"state": {
- "description": "(`OutputOnly`)\nThe current state of the instance.",
+ "description": "Output only. The current state of the instance.",
"enum": [
"STATE_NOT_KNOWN",
"READY",
@@ -288,7 +288,7 @@
"enumDescriptions": [
"The type of the instance is unspecified. If set when creating an\ninstance, a `PRODUCTION` instance will be created. If set when updating\nan instance, the type will be left unchanged.",
"An instance meant for production use. `serve_nodes` must be set\non the cluster.",
- "The instance is meant for development and testing purposes only; it has\nno performance or uptime guarantees and is not covered by SLA.\nAfter a development instance is created, it can be upgraded by\nupdating the instance to type `PRODUCTION`. An instance created\nas a production instance cannot be changed to a development instance.\nWhen creating a development instance, `serve_nodes` on the cluster must\nnot be set."
+ "DEPRECATED: Prefer PRODUCTION for all use cases, as it no longer enforces\na higher minimum node count than DEVELOPMENT."
],
"type": "string"
}
diff --git a/etc/api/bigtableadmin/v2/bigtableadmin-api.json b/etc/api/bigtableadmin/v2/bigtableadmin-api.json
index 9e34686048..d7aa86b6a9 100644
--- a/etc/api/bigtableadmin/v2/bigtableadmin-api.json
+++ b/etc/api/bigtableadmin/v2/bigtableadmin-api.json
@@ -143,7 +143,7 @@
"name": {
"description": "The name of the operation resource to be cancelled.",
"location": "path",
- "pattern": "^operations/.+$",
+ "pattern": "^operations/.*$",
"required": true,
"type": "string"
}
@@ -173,7 +173,7 @@
"name": {
"description": "The name of the operation resource to be deleted.",
"location": "path",
- "pattern": "^operations/.+$",
+ "pattern": "^operations/.*$",
"required": true,
"type": "string"
}
@@ -203,7 +203,7 @@
"name": {
"description": "The name of the operation resource.",
"location": "path",
- "pattern": "^operations/.+$",
+ "pattern": "^operations/.*$",
"required": true,
"type": "string"
}
@@ -245,7 +245,7 @@
"name": {
"description": "The name of the operation's parent resource.",
"location": "path",
- "pattern": "^operations/projects/.+$",
+ "pattern": "^operations/projects/.*$",
"required": true,
"type": "string"
},
@@ -458,7 +458,7 @@
],
"parameters": {
"name": {
- "description": "Required. (`OutputOnly`)\nThe unique name of the instance. Values are of the form\n`projects/{project}/instances/a-z+[a-z0-9]`.",
+ "description": "The unique name of the instance. Values are of the form\n`projects/{project}/instances/a-z+[a-z0-9]`.",
"location": "path",
"pattern": "^projects/[^/]+/instances/[^/]+$",
"required": true,
@@ -563,7 +563,7 @@
],
"parameters": {
"name": {
- "description": "Required. (`OutputOnly`)\nThe unique name of the instance. Values are of the form\n`projects/{project}/instances/a-z+[a-z0-9]`.",
+ "description": "The unique name of the instance. Values are of the form\n`projects/{project}/instances/a-z+[a-z0-9]`.",
"location": "path",
"pattern": "^projects/[^/]+/instances/[^/]+$",
"required": true,
@@ -755,7 +755,7 @@
"type": "boolean"
},
"name": {
- "description": "(`OutputOnly`)\nThe unique name of the app profile. Values are of the form\n`projects//instances//appProfiles/_a-zA-Z0-9*`.",
+ "description": "The unique name of the app profile. Values are of the form\n`projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.",
"location": "path",
"pattern": "^projects/[^/]+/instances/[^/]+/appProfiles/[^/]+$",
"required": true,
@@ -933,7 +933,7 @@
],
"parameters": {
"name": {
- "description": "Required. (`OutputOnly`)\nThe unique name of the cluster. Values are of the form\n`projects/{project}/instances/{instance}/clusters/a-z*`.",
+ "description": "The unique name of the cluster. Values are of the form\n`projects/{project}/instances/{instance}/clusters/a-z*`.",
"location": "path",
"pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+$",
"required": true,
@@ -961,7 +961,7 @@
"backups": {
"methods": {
"getIamPolicy": {
- "description": "Gets the access control policy for a Table or Backup resource.\nReturns an empty policy if the resource exists but does not have a policy\nset.",
+ "description": "Gets the access control policy for a Table resource.\nReturns an empty policy if the resource exists but does not have a policy\nset.",
"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}/backups/{backupsId}:getIamPolicy",
"httpMethod": "POST",
"id": "bigtableadmin.projects.instances.clusters.backups.getIamPolicy",
@@ -993,7 +993,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the access control policy on a Table or Backup resource.\nReplaces any existing policy.",
+ "description": "Sets the access control policy on a Table resource.\nReplaces any existing policy.",
"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}/backups/{backupsId}:setIamPolicy",
"httpMethod": "POST",
"id": "bigtableadmin.projects.instances.clusters.backups.setIamPolicy",
@@ -1262,7 +1262,7 @@
]
},
"getIamPolicy": {
- "description": "Gets the access control policy for a Table or Backup resource.\nReturns an empty policy if the resource exists but does not have a policy\nset.",
+ "description": "Gets the access control policy for a Table resource.\nReturns an empty policy if the resource exists but does not have a policy\nset.",
"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}:getIamPolicy",
"httpMethod": "POST",
"id": "bigtableadmin.projects.instances.tables.getIamPolicy",
@@ -1379,7 +1379,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the access control policy on a Table or Backup resource.\nReplaces any existing policy.",
+ "description": "Sets the access control policy on a Table resource.\nReplaces any existing policy.",
"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}:setIamPolicy",
"httpMethod": "POST",
"id": "bigtableadmin.projects.instances.tables.setIamPolicy",
@@ -1531,7 +1531,7 @@
}
}
},
- "revision": "20200211",
+ "revision": "20200609",
"rootUrl": "https://bigtableadmin.googleapis.com/",
"schemas": {
"AppProfile": {
@@ -1539,7 +1539,7 @@
"id": "AppProfile",
"properties": {
"description": {
- "description": "Optional long form description of the use case for this AppProfile.",
+ "description": "Long form description of the use case for this AppProfile.",
"type": "string"
},
"etag": {
@@ -1551,7 +1551,7 @@
"description": "Use a multi-cluster routing policy."
},
"name": {
- "description": "(`OutputOnly`)\nThe unique name of the app profile. Values are of the form\n`projects//instances//appProfiles/_a-zA-Z0-9*`.",
+ "description": "The unique name of the app profile. Values are of the form\n`projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.",
"type": "string"
},
"singleClusterRouting": {
@@ -1562,7 +1562,7 @@
"type": "object"
},
"AuditConfig": {
- "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
+ "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n },\n {\n \"log_type\": \"ADMIN_READ\"\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\"\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"auditLogConfigs": {
@@ -1580,7 +1580,7 @@
"type": "object"
},
"AuditLogConfig": {
- "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
+ "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
"id": "AuditLogConfig",
"properties": {
"exemptedMembers": {
@@ -1615,7 +1615,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
@@ -1658,7 +1658,7 @@
"id": "Cluster",
"properties": {
"defaultStorageType": {
- "description": "(`CreationOnly`)\nThe type of storage used by this cluster to serve its\nparent instance's tables, unless explicitly overridden.",
+ "description": "Immutable. The type of storage used by this cluster to serve its\nparent instance's tables, unless explicitly overridden.",
"enum": [
"STORAGE_TYPE_UNSPECIFIED",
"SSD",
@@ -1672,11 +1672,11 @@
"type": "string"
},
"location": {
- "description": "(`CreationOnly`)\nThe location where this cluster's nodes and storage reside. For best\nperformance, clients should be located as close as possible to this\ncluster. Currently only zones are supported, so values should be of the\nform `projects/{project}/locations/{zone}`.",
+ "description": "Immutable. The location where this cluster's nodes and storage reside. For best\nperformance, clients should be located as close as possible to this\ncluster. Currently only zones are supported, so values should be of the\nform `projects/{project}/locations/{zone}`.",
"type": "string"
},
"name": {
- "description": "Required. (`OutputOnly`)\nThe unique name of the cluster. Values are of the form\n`projects/{project}/instances/{instance}/clusters/a-z*`.",
+ "description": "The unique name of the cluster. Values are of the form\n`projects/{project}/instances/{instance}/clusters/a-z*`.",
"type": "string"
},
"serveNodes": {
@@ -1685,7 +1685,7 @@
"type": "integer"
},
"state": {
- "description": "(`OutputOnly`)\nThe current state of the cluster.",
+ "description": "Output only. The current state of the cluster.",
"enum": [
"STATE_NOT_KNOWN",
"READY",
@@ -1950,7 +1950,7 @@
"properties": {
"options": {
"$ref": "GetPolicyOptions",
- "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`. This field is only used by Cloud IAM."
+ "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`."
}
},
"type": "object"
@@ -1960,7 +1960,7 @@
"id": "GetPolicyOptions",
"properties": {
"requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.",
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -1983,11 +1983,11 @@
"type": "object"
},
"name": {
- "description": "Required. (`OutputOnly`)\nThe unique name of the instance. Values are of the form\n`projects/{project}/instances/a-z+[a-z0-9]`.",
+ "description": "The unique name of the instance. Values are of the form\n`projects/{project}/instances/a-z+[a-z0-9]`.",
"type": "string"
},
"state": {
- "description": "(`OutputOnly`)\nThe current state of the instance.",
+ "description": "Output only. The current state of the instance.",
"enum": [
"STATE_NOT_KNOWN",
"READY",
@@ -2010,7 +2010,7 @@
"enumDescriptions": [
"The type of the instance is unspecified. If set when creating an\ninstance, a `PRODUCTION` instance will be created. If set when updating\nan instance, the type will be left unchanged.",
"An instance meant for production use. `serve_nodes` must be set\non the cluster.",
- "The instance is meant for development and testing purposes only; it has\nno performance or uptime guarantees and is not covered by SLA.\nAfter a development instance is created, it can be upgraded by\nupdating the instance to type `PRODUCTION`. An instance created\nas a production instance cannot be changed to a development instance.\nWhen creating a development instance, `serve_nodes` on the cluster must\nnot be set."
+ "DEPRECATED: Prefer PRODUCTION for all use cases, as it no longer enforces\na higher minimum node count than DEVELOPMENT."
],
"type": "string"
}
@@ -2289,7 +2289,7 @@
"type": "object"
},
"Policy": {
- "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"auditConfigs": {
@@ -2312,7 +2312,7 @@
"type": "string"
},
"version": {
- "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -2328,7 +2328,7 @@
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
},
"updateMask": {
- "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.",
+ "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\n\n`paths: \"bindings, etag\"`",
"format": "google-fieldmask",
"type": "string"
}
@@ -2404,11 +2404,11 @@
"additionalProperties": {
"$ref": "ColumnFamily"
},
- "description": "(`CreationOnly`)\nThe column families configured for this table, mapped by column family ID.\nViews: `SCHEMA_VIEW`, `FULL`",
+ "description": "The column families configured for this table, mapped by column family ID.\nViews: `SCHEMA_VIEW`, `FULL`",
"type": "object"
},
"granularity": {
- "description": "(`CreationOnly`)\nThe granularity (i.e. `MILLIS`) at which timestamps are stored in\nthis table. Timestamps not matching the granularity will be rejected.\nIf unspecified at creation time, the value will be set to `MILLIS`.\nViews: `SCHEMA_VIEW`, `FULL`.",
+ "description": "Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this\ntable. Timestamps not matching the granularity will be rejected.\nIf unspecified at creation time, the value will be set to `MILLIS`.\nViews: `SCHEMA_VIEW`, `FULL`.",
"enum": [
"TIMESTAMP_GRANULARITY_UNSPECIFIED",
"MILLIS"
@@ -2420,7 +2420,7 @@
"type": "string"
},
"name": {
- "description": "Output only. The unique name of the table. Values are of the form\n`projects//instances//tables/_a-zA-Z0-9*`.\nViews: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`",
+ "description": "The unique name of the table. Values are of the form\n`projects/{project}/instances/{instance}/tables/_a-zA-Z0-9*`.\nViews: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`",
"type": "string"
}
},
diff --git a/etc/api/billingbudgets/v1beta1/billingbudgets-api.json b/etc/api/billingbudgets/v1beta1/billingbudgets-api.json
index dced394dff..da332924f3 100644
--- a/etc/api/billingbudgets/v1beta1/billingbudgets-api.json
+++ b/etc/api/billingbudgets/v1beta1/billingbudgets-api.json
@@ -256,7 +256,7 @@
}
}
},
- "revision": "20200405",
+ "revision": "20200704",
"rootUrl": "https://billingbudgets.googleapis.com/",
"schemas": {
"GoogleCloudBillingBudgetsV1beta1AllUpdatesRule": {
@@ -356,6 +356,16 @@
],
"type": "string"
},
+ "labels": {
+ "additionalProperties": {
+ "items": {
+ "type": "any"
+ },
+ "type": "array"
+ },
+ "description": "Optional. A single label and value pair specifying that usage from only this set of\nlabeled resources should be included in the budget. Currently, multiple\nentries or multiple values per entry are not allowed. If omitted, the\nreport will include all labeled and unlabeled usage.",
+ "type": "object"
+ },
"projects": {
"description": "Optional. A set of projects of the form `projects/{project}`,\nspecifying that usage from only this set of projects should be\nincluded in the budget. If omitted, the report will include all usage for\nthe billing account, regardless of which project the usage occurred on.\nOnly zero or one project can be specified currently.",
"items": {
@@ -369,6 +379,13 @@
"type": "string"
},
"type": "array"
+ },
+ "subaccounts": {
+ "description": "Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying\nthat usage from only this set of subaccounts should be included in the\nbudget. If a subaccount is set to the name of the resller account, usage\nfrom the reseller account will be included. If omitted, the report will\ninclude usage from the reseller account and all subaccounts, if they exist.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
}
},
"type": "object"
diff --git a/etc/api/binaryauthorization/v1/binaryauthorization-api.json b/etc/api/binaryauthorization/v1/binaryauthorization-api.json
index 125d9ea20b..f866d856ec 100644
--- a/etc/api/binaryauthorization/v1/binaryauthorization-api.json
+++ b/etc/api/binaryauthorization/v1/binaryauthorization-api.json
@@ -257,7 +257,7 @@
],
"parameters": {
"options.requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.",
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"location": "query",
"type": "integer"
@@ -315,7 +315,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED",
+ "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
"flatPath": "v1/projects/{projectsId}/attestors/{attestorsId}:setIamPolicy",
"httpMethod": "POST",
"id": "binaryauthorization.projects.attestors.setIamPolicy",
@@ -343,7 +343,7 @@
]
},
"testIamPermissions": {
- "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
+ "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
"flatPath": "v1/projects/{projectsId}/attestors/{attestorsId}:testIamPermissions",
"httpMethod": "POST",
"id": "binaryauthorization.projects.attestors.testIamPermissions",
@@ -412,7 +412,7 @@
],
"parameters": {
"options.requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.",
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"location": "query",
"type": "integer"
@@ -434,7 +434,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED",
+ "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
"flatPath": "v1/projects/{projectsId}/policy:setIamPolicy",
"httpMethod": "POST",
"id": "binaryauthorization.projects.policy.setIamPolicy",
@@ -462,7 +462,7 @@
]
},
"testIamPermissions": {
- "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
+ "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
"flatPath": "v1/projects/{projectsId}/policy:testIamPermissions",
"httpMethod": "POST",
"id": "binaryauthorization.projects.policy.testIamPermissions",
@@ -494,7 +494,7 @@
}
}
},
- "revision": "20200327",
+ "revision": "20200619",
"rootUrl": "https://binaryauthorization.googleapis.com/",
"schemas": {
"AdmissionRule": {
@@ -605,7 +605,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
@@ -651,7 +651,7 @@
"type": "object"
},
"IamPolicy": {
- "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "IamPolicy",
"properties": {
"bindings": {
@@ -667,7 +667,7 @@
"type": "string"
},
"version": {
- "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
diff --git a/etc/api/binaryauthorization/v1beta1/binaryauthorization-api.json b/etc/api/binaryauthorization/v1beta1/binaryauthorization-api.json
index db27d4ba96..dae481506d 100644
--- a/etc/api/binaryauthorization/v1beta1/binaryauthorization-api.json
+++ b/etc/api/binaryauthorization/v1beta1/binaryauthorization-api.json
@@ -257,7 +257,7 @@
],
"parameters": {
"options.requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.",
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"location": "query",
"type": "integer"
@@ -315,7 +315,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED",
+ "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
"flatPath": "v1beta1/projects/{projectsId}/attestors/{attestorsId}:setIamPolicy",
"httpMethod": "POST",
"id": "binaryauthorization.projects.attestors.setIamPolicy",
@@ -343,7 +343,7 @@
]
},
"testIamPermissions": {
- "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
+ "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
"flatPath": "v1beta1/projects/{projectsId}/attestors/{attestorsId}:testIamPermissions",
"httpMethod": "POST",
"id": "binaryauthorization.projects.attestors.testIamPermissions",
@@ -412,7 +412,7 @@
],
"parameters": {
"options.requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.",
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"location": "query",
"type": "integer"
@@ -434,7 +434,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED",
+ "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
"flatPath": "v1beta1/projects/{projectsId}/policy:setIamPolicy",
"httpMethod": "POST",
"id": "binaryauthorization.projects.policy.setIamPolicy",
@@ -462,7 +462,7 @@
]
},
"testIamPermissions": {
- "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
+ "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
"flatPath": "v1beta1/projects/{projectsId}/policy:testIamPermissions",
"httpMethod": "POST",
"id": "binaryauthorization.projects.policy.testIamPermissions",
@@ -494,7 +494,7 @@
}
}
},
- "revision": "20200327",
+ "revision": "20200619",
"rootUrl": "https://binaryauthorization.googleapis.com/",
"schemas": {
"AdmissionRule": {
@@ -605,7 +605,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
@@ -651,7 +651,7 @@
"type": "object"
},
"IamPolicy": {
- "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "IamPolicy",
"properties": {
"bindings": {
@@ -667,7 +667,7 @@
"type": "string"
},
"version": {
- "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
diff --git a/etc/api/blogger/v2/blogger-api.json b/etc/api/blogger/v2/blogger-api.json
index d7b5a18e26..9ae3112b8c 100644
--- a/etc/api/blogger/v2/blogger-api.json
+++ b/etc/api/blogger/v2/blogger-api.json
@@ -8,38 +8,64 @@
}
}
},
- "basePath": "/blogger/v2/",
- "baseUrl": "https://www.googleapis.com/blogger/v2/",
- "batchPath": "batch/blogger/v2",
- "description": "API for access to the data within Blogger.",
+ "basePath": "",
+ "baseUrl": "https://blogger.googleapis.com/",
+ "batchPath": "batch",
+ "canonicalName": "Blogger",
+ "description": "The Blogger API provides access to posts, comments and pages of a\n Blogger blog.",
"discoveryVersion": "v1",
- "documentationLink": "https://developers.google.com/blogger/docs/2.0/json/getting_started",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/5n8J-SrfC_3u-tnboDRXTbXXKhw\"",
+ "documentationLink": "https://developers.google.com/blogger/docs/3.0/getting_started",
+ "fullyEncodeReservedExpansion": true,
"icons": {
- "x16": "https://www.google.com/images/icons/product/blogger-16.png",
- "x32": "https://www.google.com/images/icons/product/blogger-32.png"
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"id": "blogger:v2",
"kind": "discovery#restDescription",
- "labels": [
- "limited_availability"
- ],
+ "mtlsRootUrl": "https://blogger.mtls.googleapis.com/",
"name": "blogger",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "alt": {
- "default": "json",
- "description": "Data format for the response.",
+ "$.xgafv": {
+ "description": "V1 error format.",
"enum": [
- "json"
+ "1",
+ "2"
],
"enumDescriptions": [
- "Responses with Content-Type of application/json"
+ "v1 error format",
+ "v2 error format"
],
"location": "query",
"type": "string"
},
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "alt": {
+ "default": "json",
+ "description": "Data format for response.",
+ "enum": [
+ "json",
+ "media",
+ "proto"
+ ],
+ "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",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
@@ -62,12 +88,17 @@
"type": "boolean"
},
"quotaUser": {
- "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
+ "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",
"type": "string"
},
- "userIp": {
- "description": "Deprecated. Please use quotaUser instead.",
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
}
@@ -77,7 +108,8 @@
"blogs": {
"methods": {
"get": {
- "description": "Gets one blog by id.",
+ "description": "Gets a blog by id.",
+ "flatPath": "v2/blogs/{blogId}",
"httpMethod": "GET",
"id": "blogger.blogs.get",
"parameterOrder": [
@@ -85,26 +117,49 @@
],
"parameters": {
"blogId": {
- "description": "The ID of the blog to get.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "blogs/{blogId}",
+ "path": "v2/blogs/{blogId}",
"response": {
"$ref": "Blog"
},
"scopes": [
"https://www.googleapis.com/auth/blogger"
]
+ },
+ "list": {
+ "description": "Lists blogs by user id, possibly filtered.",
+ "flatPath": "v2/users/{userId}/blogs",
+ "httpMethod": "GET",
+ "id": "blogger.blogs.list",
+ "parameterOrder": [
+ "userId"
+ ],
+ "parameters": {
+ "userId": {
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2/users/{userId}/blogs",
+ "response": {
+ "$ref": "BlogList"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/blogger"
+ ]
}
}
},
"comments": {
"methods": {
"get": {
- "description": "Gets one comment by id.",
+ "description": "Gets a comment by blog id, post id and comment id.",
+ "flatPath": "v2/blogs/{blogId}/posts/{postId}/comments/{commentId}",
"httpMethod": "GET",
"id": "blogger.comments.get",
"parameterOrder": [
@@ -114,25 +169,22 @@
],
"parameters": {
"blogId": {
- "description": "ID of the blog to containing the comment.",
"location": "path",
"required": true,
"type": "string"
},
"commentId": {
- "description": "The ID of the comment to get.",
"location": "path",
"required": true,
"type": "string"
},
"postId": {
- "description": "ID of the post to fetch posts from.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "blogs/{blogId}/posts/{postId}/comments/{commentId}",
+ "path": "v2/blogs/{blogId}/posts/{postId}/comments/{commentId}",
"response": {
"$ref": "Comment"
},
@@ -141,7 +193,8 @@
]
},
"list": {
- "description": "Retrieves the comments for a blog, possibly filtered.",
+ "description": "Lists comments.",
+ "flatPath": "v2/blogs/{blogId}/posts/{postId}/comments",
"httpMethod": "GET",
"id": "blogger.comments.list",
"parameterOrder": [
@@ -150,41 +203,34 @@
],
"parameters": {
"blogId": {
- "description": "ID of the blog to fetch comments from.",
"location": "path",
"required": true,
"type": "string"
},
"fetchBodies": {
- "description": "Whether the body content of the comments is included.",
"location": "query",
"type": "boolean"
},
"maxResults": {
- "description": "Maximum number of comments to include in the result.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "Continuation token if request is paged.",
"location": "query",
"type": "string"
},
"postId": {
- "description": "ID of the post to fetch posts from.",
"location": "path",
"required": true,
"type": "string"
},
"startDate": {
- "description": "Earliest date of comment to fetch, a date-time with RFC 3339 formatting.",
- "format": "date-time",
"location": "query",
"type": "string"
}
},
- "path": "blogs/{blogId}/posts/{postId}/comments",
+ "path": "v2/blogs/{blogId}/posts/{postId}/comments",
"response": {
"$ref": "CommentList"
},
@@ -197,7 +243,8 @@
"pages": {
"methods": {
"get": {
- "description": "Gets one blog page by id.",
+ "description": "Gets a page by blog id and page id.",
+ "flatPath": "v2/blogs/{blogId}/pages/{pageId}",
"httpMethod": "GET",
"id": "blogger.pages.get",
"parameterOrder": [
@@ -206,19 +253,17 @@
],
"parameters": {
"blogId": {
- "description": "ID of the blog containing the page.",
"location": "path",
"required": true,
"type": "string"
},
"pageId": {
- "description": "The ID of the page to get.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "blogs/{blogId}/pages/{pageId}",
+ "path": "v2/blogs/{blogId}/pages/{pageId}",
"response": {
"$ref": "Page"
},
@@ -227,7 +272,8 @@
]
},
"list": {
- "description": "Retrieves pages for a blog, possibly filtered.",
+ "description": "Lists pages.",
+ "flatPath": "v2/blogs/{blogId}/pages",
"httpMethod": "GET",
"id": "blogger.pages.list",
"parameterOrder": [
@@ -235,18 +281,16 @@
],
"parameters": {
"blogId": {
- "description": "ID of the blog to fetch pages from.",
"location": "path",
"required": true,
"type": "string"
},
"fetchBodies": {
- "description": "Whether to retrieve the Page bodies.",
"location": "query",
"type": "boolean"
}
},
- "path": "blogs/{blogId}/pages",
+ "path": "v2/blogs/{blogId}/pages",
"response": {
"$ref": "PageList"
},
@@ -259,7 +303,8 @@
"posts": {
"methods": {
"get": {
- "description": "Get a post by id.",
+ "description": "Gets a post by blog id and post id",
+ "flatPath": "v2/blogs/{blogId}/posts/{postId}",
"httpMethod": "GET",
"id": "blogger.posts.get",
"parameterOrder": [
@@ -268,19 +313,17 @@
],
"parameters": {
"blogId": {
- "description": "ID of the blog to fetch the post from.",
"location": "path",
"required": true,
"type": "string"
},
"postId": {
- "description": "The ID of the post",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "blogs/{blogId}/posts/{postId}",
+ "path": "v2/blogs/{blogId}/posts/{postId}",
"response": {
"$ref": "Post"
},
@@ -289,7 +332,8 @@
]
},
"list": {
- "description": "Retrieves a list of posts, possibly filtered.",
+ "description": "Lists posts.",
+ "flatPath": "v2/blogs/{blogId}/posts",
"httpMethod": "GET",
"id": "blogger.posts.list",
"parameterOrder": [
@@ -297,35 +341,29 @@
],
"parameters": {
"blogId": {
- "description": "ID of the blog to fetch posts from.",
"location": "path",
"required": true,
"type": "string"
},
"fetchBodies": {
- "description": "Whether the body content of posts is included.",
"location": "query",
"type": "boolean"
},
"maxResults": {
- "description": "Maximum number of posts to fetch.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "Continuation token if the request is paged.",
"location": "query",
"type": "string"
},
"startDate": {
- "description": "Earliest post date to fetch, a date-time with RFC 3339 formatting.",
- "format": "date-time",
"location": "query",
"type": "string"
}
},
- "path": "blogs/{blogId}/posts",
+ "path": "v2/blogs/{blogId}/posts",
"response": {
"$ref": "PostList"
},
@@ -338,7 +376,8 @@
"users": {
"methods": {
"get": {
- "description": "Gets one user by id.",
+ "description": "Gets a user by user id.",
+ "flatPath": "v2/users/{userId}",
"httpMethod": "GET",
"id": "blogger.users.get",
"parameterOrder": [
@@ -346,13 +385,12 @@
],
"parameters": {
"userId": {
- "description": "The ID of the user to get.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "users/{userId}",
+ "path": "v2/users/{userId}",
"response": {
"$ref": "User"
},
@@ -360,56 +398,29 @@
"https://www.googleapis.com/auth/blogger"
]
}
- },
- "resources": {
- "blogs": {
- "methods": {
- "list": {
- "description": "Retrieves a list of blogs, possibly filtered.",
- "httpMethod": "GET",
- "id": "blogger.users.blogs.list",
- "parameterOrder": [
- "userId"
- ],
- "parameters": {
- "userId": {
- "description": "ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or the user's profile identifier.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "users/{userId}/blogs",
- "response": {
- "$ref": "BlogList"
- },
- "scopes": [
- "https://www.googleapis.com/auth/blogger"
- ]
- }
- }
- }
}
}
},
- "revision": "20200204",
- "rootUrl": "https://www.googleapis.com/",
+ "revision": "20200707",
+ "rootUrl": "https://blogger.googleapis.com/",
"schemas": {
"Blog": {
"id": "Blog",
"properties": {
+ "customMetaData": {
+ "description": "The JSON custom meta-data for the Blog.",
+ "type": "string"
+ },
"description": {
"description": "The description of this blog. This is displayed underneath the title.",
"type": "string"
},
"id": {
"description": "The identifier for this resource.",
- "format": "int64",
"type": "string"
},
"kind": {
- "default": "blogger#blog",
- "description": "The kind of this entry. Always blogger#blog",
+ "description": "The kind of this entry. Always blogger#blog.",
"type": "string"
},
"locale": {
@@ -452,6 +463,13 @@
"posts": {
"description": "The container of posts in this blog.",
"properties": {
+ "items": {
+ "description": "The List of Posts for this Blog.",
+ "items": {
+ "$ref": "Post"
+ },
+ "type": "array"
+ },
"selfLink": {
"description": "The URL of the container for posts in this blog.",
"type": "string"
@@ -466,16 +484,26 @@
},
"published": {
"description": "RFC 3339 date-time when this blog was published.",
- "format": "date-time",
"type": "string"
},
"selfLink": {
"description": "The API REST URL to fetch this resource from.",
"type": "string"
},
+ "status": {
+ "description": "The status of the blog.",
+ "enum": [
+ "LIVE",
+ "DELETED"
+ ],
+ "enumDescriptions": [
+ "",
+ ""
+ ],
+ "type": "string"
+ },
"updated": {
"description": "RFC 3339 date-time when this blog was last updated.",
- "format": "date-time",
"type": "string"
},
"url": {
@@ -488,6 +516,13 @@
"BlogList": {
"id": "BlogList",
"properties": {
+ "blogUserInfos": {
+ "description": "Admin level list of blog per-user information.",
+ "items": {
+ "$ref": "BlogUserInfo"
+ },
+ "type": "array"
+ },
"items": {
"description": "The list of Blogs this user has Authorship or Admin rights over.",
"items": {
@@ -496,8 +531,67 @@
"type": "array"
},
"kind": {
- "default": "blogger#blogList",
- "description": "The kind of this entity. Always blogger#blogList",
+ "description": "The kind of this entity. Always blogger#blogList.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "BlogPerUserInfo": {
+ "id": "BlogPerUserInfo",
+ "properties": {
+ "blogId": {
+ "description": "ID of the Blog resource.",
+ "type": "string"
+ },
+ "hasAdminAccess": {
+ "description": "True if the user has Admin level access to the blog.",
+ "type": "boolean"
+ },
+ "kind": {
+ "description": "The kind of this entity. Always blogger#blogPerUserInfo.",
+ "type": "string"
+ },
+ "photosAlbumKey": {
+ "description": "The Photo Album Key for the user when adding photos to the blog.",
+ "type": "string"
+ },
+ "role": {
+ "description": "Access permissions that the user has for the blog (ADMIN, AUTHOR, or\nREADER).",
+ "enum": [
+ "VIEW_TYPE_UNSPECIFIED",
+ "READER",
+ "AUTHOR",
+ "ADMIN"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ },
+ "userId": {
+ "description": "ID of the User.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "BlogUserInfo": {
+ "id": "BlogUserInfo",
+ "properties": {
+ "blog": {
+ "$ref": "Blog",
+ "description": "The Blog resource."
+ },
+ "blog_user_info": {
+ "$ref": "BlogPerUserInfo",
+ "description": "Information about a User for the Blog."
+ },
+ "kind": {
+ "description": "The kind of this entity. Always blogger#blogUserInfo.",
"type": "string"
}
},
@@ -514,21 +608,21 @@
"type": "string"
},
"id": {
- "description": "The identifier of the Comment creator.",
+ "description": "The identifier of the creator.",
"type": "string"
},
"image": {
- "description": "The comment creator's avatar.",
+ "description": "The creator's avatar.",
"properties": {
"url": {
- "description": "The comment creator's avatar URL.",
+ "description": "The creator's avatar URL.",
"type": "string"
}
},
"type": "object"
},
"url": {
- "description": "The URL of the Comment creator's Profile page.",
+ "description": "The URL of the creator's Profile page.",
"type": "string"
}
},
@@ -539,7 +633,6 @@
"properties": {
"id": {
"description": "The identifier of the blog containing this comment.",
- "format": "int64",
"type": "string"
}
},
@@ -551,7 +644,6 @@
},
"id": {
"description": "The identifier for this resource.",
- "format": "int64",
"type": "string"
},
"inReplyTo": {
@@ -559,15 +651,13 @@
"properties": {
"id": {
"description": "The identified of the parent of this comment.",
- "format": "int64",
"type": "string"
}
},
"type": "object"
},
"kind": {
- "default": "blogger#comment",
- "description": "The kind of this entry. Always blogger#comment",
+ "description": "The kind of this entry. Always blogger#comment.",
"type": "string"
},
"post": {
@@ -575,7 +665,6 @@
"properties": {
"id": {
"description": "The identifier of the post containing this comment.",
- "format": "int64",
"type": "string"
}
},
@@ -583,16 +672,30 @@
},
"published": {
"description": "RFC 3339 date-time when this comment was published.",
- "format": "date-time",
"type": "string"
},
"selfLink": {
"description": "The API REST URL to fetch this resource from.",
"type": "string"
},
+ "status": {
+ "description": "The status of the comment (only populated for admin users).",
+ "enum": [
+ "LIVE",
+ "EMPTIED",
+ "PENDING",
+ "SPAM"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ },
"updated": {
"description": "RFC 3339 date-time when this comment was last updated.",
- "format": "date-time",
"type": "string"
}
},
@@ -601,6 +704,10 @@
"CommentList": {
"id": "CommentList",
"properties": {
+ "etag": {
+ "description": "Etag of the response.",
+ "type": "string"
+ },
"items": {
"description": "The List of Comments for a Post.",
"items": {
@@ -609,8 +716,7 @@
"type": "array"
},
"kind": {
- "default": "blogger#commentList",
- "description": "The kind of this entry. Always blogger#commentList",
+ "description": "The kind of this entry. Always blogger#commentList.",
"type": "string"
},
"nextPageToken": {
@@ -635,21 +741,21 @@
"type": "string"
},
"id": {
- "description": "The identifier of the Page creator.",
+ "description": "The identifier of the creator.",
"type": "string"
},
"image": {
- "description": "The page author's avatar.",
+ "description": "The creator's avatar.",
"properties": {
"url": {
- "description": "The page author's avatar URL.",
+ "description": "The creator's avatar URL.",
"type": "string"
}
},
"type": "object"
},
"url": {
- "description": "The URL of the Page creator's Profile page.",
+ "description": "The URL of the creator's Profile page.",
"type": "string"
}
},
@@ -660,7 +766,6 @@
"properties": {
"id": {
"description": "The identifier of the blog containing this page.",
- "format": "int64",
"type": "string"
}
},
@@ -670,32 +775,44 @@
"description": "The body content of this Page, in HTML.",
"type": "string"
},
+ "etag": {
+ "description": "Etag of the resource.",
+ "type": "string"
+ },
"id": {
"description": "The identifier for this resource.",
- "format": "int64",
"type": "string"
},
"kind": {
- "default": "blogger#page",
- "description": "The kind of this entity. Always blogger#page",
+ "description": "The kind of this entity. Always blogger#page.",
"type": "string"
},
"published": {
"description": "RFC 3339 date-time when this Page was published.",
- "format": "date-time",
"type": "string"
},
"selfLink": {
"description": "The API REST URL to fetch this resource from.",
"type": "string"
},
+ "status": {
+ "description": "The status of the page for admin resources (either LIVE or DRAFT).",
+ "enum": [
+ "LIVE",
+ "DRAFT"
+ ],
+ "enumDescriptions": [
+ "",
+ ""
+ ],
+ "type": "string"
+ },
"title": {
- "description": "The title of this entity. This is the name displayed in the Admin user interface.",
+ "description": "The title of this entity. This is the name displayed in the Admin user\ninterface.",
"type": "string"
},
"updated": {
"description": "RFC 3339 date-time when this Page was last updated.",
- "format": "date-time",
"type": "string"
},
"url": {
@@ -708,6 +825,10 @@
"PageList": {
"id": "PageList",
"properties": {
+ "etag": {
+ "description": "Etag of the response.",
+ "type": "string"
+ },
"items": {
"description": "The list of Pages for a Blog.",
"items": {
@@ -716,8 +837,11 @@
"type": "array"
},
"kind": {
- "default": "blogger#pageList",
- "description": "The kind of this entity. Always blogger#pageList",
+ "description": "The kind of this entity. Always blogger#pageList.",
+ "type": "string"
+ },
+ "nextPageToken": {
+ "description": "Pagination token to fetch the next page, if one exists.",
"type": "string"
}
},
@@ -734,21 +858,21 @@
"type": "string"
},
"id": {
- "description": "The identifier of the Post creator.",
+ "description": "The identifier of the creator.",
"type": "string"
},
"image": {
- "description": "The Post author's avatar.",
+ "description": "The creator's avatar.",
"properties": {
"url": {
- "description": "The Post author's avatar URL.",
+ "description": "The creator's avatar URL.",
"type": "string"
}
},
"type": "object"
},
"url": {
- "description": "The URL of the Post creator's Profile page.",
+ "description": "The URL of the creator's Profile page.",
"type": "string"
}
},
@@ -759,7 +883,6 @@
"properties": {
"id": {
"description": "The identifier of the Blog that contains this Post.",
- "format": "int64",
"type": "string"
}
},
@@ -769,14 +892,32 @@
"description": "The content of the Post. May contain HTML markup.",
"type": "string"
},
- "id": {
- "description": "The identifier of this Post.",
- "format": "int64",
+ "customMetaData": {
+ "description": "The JSON meta-data for the Post.",
"type": "string"
},
+ "etag": {
+ "description": "Etag of the resource.",
+ "type": "string"
+ },
+ "id": {
+ "description": "The identifier of this Post.",
+ "type": "string"
+ },
+ "images": {
+ "description": "Display image for the Post.",
+ "items": {
+ "properties": {
+ "url": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
"kind": {
- "default": "blogger#post",
- "description": "The kind of this entity. Always blogger#post",
+ "description": "The kind of this entity. Always blogger#post.",
"type": "string"
},
"labels": {
@@ -786,14 +927,58 @@
},
"type": "array"
},
+ "location": {
+ "description": "The location for geotagged posts.",
+ "properties": {
+ "lat": {
+ "description": "Location's latitude.",
+ "format": "double",
+ "type": "number"
+ },
+ "lng": {
+ "description": "Location's longitude.",
+ "format": "double",
+ "type": "number"
+ },
+ "name": {
+ "description": "Location name.",
+ "type": "string"
+ },
+ "span": {
+ "description": "Location's viewport span. Can be used when rendering a map preview.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"published": {
"description": "RFC 3339 date-time when this Post was published.",
- "format": "date-time",
+ "type": "string"
+ },
+ "readerComments": {
+ "description": "Comment control and display setting for readers of this post.",
+ "enum": [
+ "ALLOW",
+ "DONT_ALLOW_SHOW_EXISTING",
+ "DONT_ALLOW_HIDE_EXISTING"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ ""
+ ],
"type": "string"
},
"replies": {
"description": "The container of comments on this Post.",
"properties": {
+ "items": {
+ "description": "The List of Comments for this Post.",
+ "items": {
+ "$ref": "Comment"
+ },
+ "type": "array"
+ },
"selfLink": {
"description": "The URL of the comments on this post.",
"type": "string"
@@ -810,13 +995,30 @@
"description": "The API REST URL to fetch this resource from.",
"type": "string"
},
+ "status": {
+ "description": "Status of the post. Only set for admin-level requests.",
+ "enum": [
+ "LIVE",
+ "DRAFT",
+ "SCHEDULED"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ },
"title": {
"description": "The title of the Post.",
"type": "string"
},
+ "titleLink": {
+ "description": "The title link URL, similar to atom's related link.",
+ "type": "string"
+ },
"updated": {
"description": "RFC 3339 date-time when this Post was last updated.",
- "format": "date-time",
"type": "string"
},
"url": {
@@ -829,6 +1031,10 @@
"PostList": {
"id": "PostList",
"properties": {
+ "etag": {
+ "description": "Etag of the response.",
+ "type": "string"
+ },
"items": {
"description": "The list of Posts for this Blog.",
"items": {
@@ -837,8 +1043,7 @@
"type": "array"
},
"kind": {
- "default": "blogger#postList",
- "description": "The kind of this entity. Always blogger#postList",
+ "description": "The kind of this entity. Always blogger#postList.",
"type": "string"
},
"nextPageToken": {
@@ -871,7 +1076,6 @@
},
"created": {
"description": "The timestamp of when this profile was created, in seconds since epoch.",
- "format": "date-time",
"type": "string"
},
"displayName": {
@@ -883,23 +1087,22 @@
"type": "string"
},
"kind": {
- "default": "blogger#user",
- "description": "The kind of this entity. Always blogger#user",
+ "description": "The kind of this entity. Always blogger#user.",
"type": "string"
},
"locale": {
"description": "This user's locale",
"properties": {
"country": {
- "description": "The user's country setting.",
+ "description": "The country this blog's locale is set to.",
"type": "string"
},
"language": {
- "description": "The user's language setting.",
+ "description": "The language this blog is authored in.",
"type": "string"
},
"variant": {
- "description": "The user's language variant setting.",
+ "description": "The language variant this blog is authored in.",
"type": "string"
}
},
@@ -917,7 +1120,7 @@
"type": "object"
}
},
- "servicePath": "blogger/v2/",
- "title": "Blogger API",
+ "servicePath": "",
+ "title": "Blogger API v3",
"version": "v2"
}
\ No newline at end of file
diff --git a/etc/api/blogger/v3/blogger-api.json b/etc/api/blogger/v3/blogger-api.json
index fb2e78e809..e8e3a9d9bc 100644
Binary files a/etc/api/blogger/v3/blogger-api.json and b/etc/api/blogger/v3/blogger-api.json differ
diff --git a/etc/api/books/v1/books-api.json b/etc/api/books/v1/books-api.json
index 523dde3f69..6e3fc2a213 100644
--- a/etc/api/books/v1/books-api.json
+++ b/etc/api/books/v1/books-api.json
@@ -8,35 +8,62 @@
}
}
},
- "basePath": "/books/v1/",
- "baseUrl": "https://www.googleapis.com/books/v1/",
+ "basePath": "",
+ "baseUrl": "https://www.googleapis.com/",
"batchPath": "batch/books/v1",
- "description": "Searches for books and manages your Google Books library.",
+ "description": "The Google Books API allows clients to access the Google Books repository.",
"discoveryVersion": "v1",
- "documentationLink": "https://developers.google.com/books/docs/v1/getting_started",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/FivGHh5u6W1RctbrVrrDR-2aAQM\"",
+ "documentationLink": "https://code.google.com/apis/books/docs/v1/getting_started.html",
"icons": {
- "x16": "https://www.google.com/images/icons/product/ebooks-16.png",
- "x32": "https://www.google.com/images/icons/product/ebooks-32.png"
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"id": "books:v1",
"kind": "discovery#restDescription",
+ "mtlsRootUrl": "https://www.mtls.googleapis.com/",
"name": "books",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "alt": {
- "default": "json",
- "description": "Data format for the response.",
+ "$.xgafv": {
+ "description": "V1 error format.",
"enum": [
- "json"
+ "1",
+ "2"
],
"enumDescriptions": [
- "Responses with Content-Type of application/json"
+ "v1 error format",
+ "v2 error format"
],
"location": "query",
"type": "string"
},
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "alt": {
+ "default": "json",
+ "description": "Data format for response.",
+ "enum": [
+ "json",
+ "media",
+ "proto"
+ ],
+ "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",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
@@ -59,12 +86,17 @@
"type": "boolean"
},
"quotaUser": {
- "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
+ "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",
"type": "string"
},
- "userIp": {
- "description": "Deprecated. Please use quotaUser instead.",
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
}
@@ -75,6 +107,7 @@
"methods": {
"get": {
"description": "Retrieves metadata for a specific bookshelf for the specified user.",
+ "flatPath": "books/v1/users/{userId}/bookshelves/{shelf}",
"httpMethod": "GET",
"id": "books.bookshelves.get",
"parameterOrder": [
@@ -100,7 +133,7 @@
"type": "string"
}
},
- "path": "users/{userId}/bookshelves/{shelf}",
+ "path": "books/v1/users/{userId}/bookshelves/{shelf}",
"response": {
"$ref": "Bookshelf"
},
@@ -110,6 +143,7 @@
},
"list": {
"description": "Retrieves a list of public bookshelves for the specified user.",
+ "flatPath": "books/v1/users/{userId}/bookshelves",
"httpMethod": "GET",
"id": "books.bookshelves.list",
"parameterOrder": [
@@ -128,7 +162,7 @@
"type": "string"
}
},
- "path": "users/{userId}/bookshelves",
+ "path": "books/v1/users/{userId}/bookshelves",
"response": {
"$ref": "Bookshelves"
},
@@ -142,6 +176,7 @@
"methods": {
"list": {
"description": "Retrieves volumes in a specific bookshelf for the specified user.",
+ "flatPath": "books/v1/users/{userId}/bookshelves/{shelf}/volumes",
"httpMethod": "GET",
"id": "books.bookshelves.volumes.list",
"parameterOrder": [
@@ -153,7 +188,6 @@
"description": "Maximum number of results to return",
"format": "uint32",
"location": "query",
- "minimum": "0",
"type": "integer"
},
"shelf": {
@@ -176,7 +210,6 @@
"description": "Index of the first element to return (starts at 0)",
"format": "uint32",
"location": "query",
- "minimum": "0",
"type": "integer"
},
"userId": {
@@ -186,7 +219,7 @@
"type": "string"
}
},
- "path": "users/{userId}/bookshelves/{shelf}/volumes",
+ "path": "books/v1/users/{userId}/bookshelves/{shelf}/volumes",
"response": {
"$ref": "Volumes"
},
@@ -201,9 +234,11 @@
"cloudloading": {
"methods": {
"addBook": {
- "description": "",
+ "description": "Add a user-upload volume and triggers processing.",
+ "flatPath": "books/v1/cloudloading/addBook",
"httpMethod": "POST",
"id": "books.cloudloading.addBook",
+ "parameterOrder": [],
"parameters": {
"drive_document_id": {
"description": "A drive document id. The upload_client_token must not be set.",
@@ -221,11 +256,12 @@
"type": "string"
},
"upload_client_token": {
+ "description": "Scotty upload token.",
"location": "query",
"type": "string"
}
},
- "path": "cloudloading/addBook",
+ "path": "books/v1/cloudloading/addBook",
"response": {
"$ref": "BooksCloudloadingResource"
},
@@ -235,29 +271,33 @@
},
"deleteBook": {
"description": "Remove the book and its contents",
+ "flatPath": "books/v1/cloudloading/deleteBook",
"httpMethod": "POST",
"id": "books.cloudloading.deleteBook",
- "parameterOrder": [
- "volumeId"
- ],
+ "parameterOrder": [],
"parameters": {
"volumeId": {
"description": "The id of the book to be removed.",
"location": "query",
- "required": true,
"type": "string"
}
},
- "path": "cloudloading/deleteBook",
+ "path": "books/v1/cloudloading/deleteBook",
+ "response": {
+ "$ref": "Empty"
+ },
"scopes": [
"https://www.googleapis.com/auth/books"
]
},
"updateBook": {
- "description": "",
+ "description": "Updates a user-upload volume.",
+ "flatPath": "books/v1/cloudloading/updateBook",
"httpMethod": "POST",
"id": "books.cloudloading.updateBook",
- "path": "cloudloading/updateBook",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "books/v1/cloudloading/updateBook",
"request": {
"$ref": "BooksCloudloadingResource"
},
@@ -274,20 +314,18 @@
"methods": {
"listOfflineMetadata": {
"description": "Returns a list of offline dictionary metadata available",
+ "flatPath": "books/v1/dictionary/listOfflineMetadata",
"httpMethod": "GET",
"id": "books.dictionary.listOfflineMetadata",
- "parameterOrder": [
- "cpksver"
- ],
+ "parameterOrder": [],
"parameters": {
"cpksver": {
"description": "The device/version ID from which to request the data.",
"location": "query",
- "required": true,
"type": "string"
}
},
- "path": "dictionary/listOfflineMetadata",
+ "path": "books/v1/dictionary/listOfflineMetadata",
"response": {
"$ref": "Metadata"
},
@@ -301,8 +339,10 @@
"methods": {
"getFamilyInfo": {
"description": "Gets information regarding the family that the user is part of.",
+ "flatPath": "books/v1/familysharing/getFamilyInfo",
"httpMethod": "GET",
"id": "books.familysharing.getFamilyInfo",
+ "parameterOrder": [],
"parameters": {
"source": {
"description": "String to identify the originator of this request.",
@@ -310,7 +350,7 @@
"type": "string"
}
},
- "path": "familysharing/getFamilyInfo",
+ "path": "books/v1/familysharing/getFamilyInfo",
"response": {
"$ref": "FamilyInfo"
},
@@ -319,9 +359,11 @@
]
},
"share": {
- "description": "Initiates sharing of the content with the user's family. Empty response indicates success.",
+ "description": "Initiates sharing of the content with the user's family. Empty response\nindicates success.",
+ "flatPath": "books/v1/familysharing/share",
"httpMethod": "POST",
"id": "books.familysharing.share",
+ "parameterOrder": [],
"parameters": {
"docId": {
"description": "The docid to share.",
@@ -339,15 +381,20 @@
"type": "string"
}
},
- "path": "familysharing/share",
+ "path": "books/v1/familysharing/share",
+ "response": {
+ "$ref": "Empty"
+ },
"scopes": [
"https://www.googleapis.com/auth/books"
]
},
"unshare": {
- "description": "Initiates revoking content that has already been shared with the user's family. Empty response indicates success.",
+ "description": "Initiates revoking content that has already been shared with the user's\nfamily. Empty response indicates success.",
+ "flatPath": "books/v1/familysharing/unshare",
"httpMethod": "POST",
"id": "books.familysharing.unshare",
+ "parameterOrder": [],
"parameters": {
"docId": {
"description": "The docid to unshare.",
@@ -365,7 +412,10 @@
"type": "string"
}
},
- "path": "familysharing/unshare",
+ "path": "books/v1/familysharing/unshare",
+ "response": {
+ "$ref": "Empty"
+ },
"scopes": [
"https://www.googleapis.com/auth/books"
]
@@ -376,6 +426,7 @@
"methods": {
"get": {
"description": "Gets the layer summary for a volume.",
+ "flatPath": "books/v1/volumes/{volumeId}/layersummary/{summaryId}",
"httpMethod": "GET",
"id": "books.layers.get",
"parameterOrder": [
@@ -406,7 +457,7 @@
"type": "string"
}
},
- "path": "volumes/{volumeId}/layersummary/{summaryId}",
+ "path": "books/v1/volumes/{volumeId}/layersummary/{summaryId}",
"response": {
"$ref": "Layersummary"
},
@@ -416,6 +467,7 @@
},
"list": {
"description": "List the layer summaries for a volume.",
+ "flatPath": "books/v1/volumes/{volumeId}/layersummary",
"httpMethod": "GET",
"id": "books.layers.list",
"parameterOrder": [
@@ -431,8 +483,6 @@
"description": "Maximum number of results to return",
"format": "uint32",
"location": "query",
- "maximum": "200",
- "minimum": "0",
"type": "integer"
},
"pageToken": {
@@ -452,7 +502,7 @@
"type": "string"
}
},
- "path": "volumes/{volumeId}/layersummary",
+ "path": "books/v1/volumes/{volumeId}/layersummary",
"response": {
"$ref": "Layersummaries"
},
@@ -466,13 +516,13 @@
"methods": {
"get": {
"description": "Gets the annotation data.",
+ "flatPath": "books/v1/volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}",
"httpMethod": "GET",
"id": "books.layers.annotationData.get",
"parameterOrder": [
"volumeId",
"layerId",
- "annotationDataId",
- "contentVersion"
+ "annotationDataId"
],
"parameters": {
"allowWebDefinitions": {
@@ -489,11 +539,10 @@
"contentVersion": {
"description": "The content version for the volume you are trying to retrieve.",
"location": "query",
- "required": true,
"type": "string"
},
"h": {
- "description": "The requested pixel height for any images. If height is provided width must also be provided.",
+ "description": "The requested pixel height for any images. If height is provided width must\nalso be provided.",
"format": "int32",
"location": "query",
"type": "integer"
@@ -505,7 +554,7 @@
"type": "string"
},
"locale": {
- "description": "The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.",
+ "description": "The locale information for the data. ISO-639-1 language and ISO-3166-1\ncountry code. Ex: 'en_US'.",
"location": "query",
"type": "string"
},
@@ -513,7 +562,6 @@
"description": "The requested scale for the image.",
"format": "int32",
"location": "query",
- "minimum": "0",
"type": "integer"
},
"source": {
@@ -528,15 +576,15 @@
"type": "string"
},
"w": {
- "description": "The requested pixel width for any images. If width is provided height must also be provided.",
+ "description": "The requested pixel width for any images. If width is provided height must\nalso be provided.",
"format": "int32",
"location": "query",
"type": "integer"
}
},
- "path": "volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}",
+ "path": "books/v1/volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}",
"response": {
- "$ref": "Annotationdata"
+ "$ref": "DictionaryAnnotationdata"
},
"scopes": [
"https://www.googleapis.com/auth/books"
@@ -544,16 +592,16 @@
},
"list": {
"description": "Gets the annotation data for a volume and layer.",
+ "flatPath": "books/v1/volumes/{volumeId}/layers/{layerId}/data",
"httpMethod": "GET",
"id": "books.layers.annotationData.list",
"parameterOrder": [
"volumeId",
- "layerId",
- "contentVersion"
+ "layerId"
],
"parameters": {
"annotationDataId": {
- "description": "The list of Annotation Data Ids to retrieve. Pagination is ignored if this is set.",
+ "description": "The list of Annotation Data Ids to retrieve. Pagination is ignored if this\nis set.",
"location": "query",
"repeated": true,
"type": "string"
@@ -561,11 +609,10 @@
"contentVersion": {
"description": "The content version for the requested volume.",
"location": "query",
- "required": true,
"type": "string"
},
"h": {
- "description": "The requested pixel height for any images. If height is provided width must also be provided.",
+ "description": "The requested pixel height for any images. If height is provided width must\nalso be provided.",
"format": "int32",
"location": "query",
"type": "integer"
@@ -577,7 +624,7 @@
"type": "string"
},
"locale": {
- "description": "The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.",
+ "description": "The locale information for the data. ISO-639-1 language and ISO-3166-1\ncountry code. Ex: 'en_US'.",
"location": "query",
"type": "string"
},
@@ -585,8 +632,6 @@
"description": "Maximum number of results to return",
"format": "uint32",
"location": "query",
- "maximum": "200",
- "minimum": "0",
"type": "integer"
},
"pageToken": {
@@ -598,7 +643,6 @@
"description": "The requested scale for the image.",
"format": "int32",
"location": "query",
- "minimum": "0",
"type": "integer"
},
"source": {
@@ -607,12 +651,12 @@
"type": "string"
},
"updatedMax": {
- "description": "RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive).",
+ "description": "RFC 3339 timestamp to restrict to items updated prior to this timestamp\n(exclusive).",
"location": "query",
"type": "string"
},
"updatedMin": {
- "description": "RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive).",
+ "description": "RFC 3339 timestamp to restrict to items updated since this timestamp\n(inclusive).",
"location": "query",
"type": "string"
},
@@ -623,13 +667,13 @@
"type": "string"
},
"w": {
- "description": "The requested pixel width for any images. If width is provided height must also be provided.",
+ "description": "The requested pixel width for any images. If width is provided height must\nalso be provided.",
"format": "int32",
"location": "query",
"type": "integer"
}
},
- "path": "volumes/{volumeId}/layers/{layerId}/data",
+ "path": "books/v1/volumes/{volumeId}/layers/{layerId}/data",
"response": {
"$ref": "Annotationsdata"
},
@@ -643,6 +687,7 @@
"methods": {
"get": {
"description": "Gets the volume annotation.",
+ "flatPath": "books/v1/volumes/{volumeId}/layers/{layerId}/annotations/{annotationId}",
"httpMethod": "GET",
"id": "books.layers.volumeAnnotations.get",
"parameterOrder": [
@@ -664,7 +709,7 @@
"type": "string"
},
"locale": {
- "description": "The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.",
+ "description": "The locale information for the data. ISO-639-1 language and ISO-3166-1\ncountry code. Ex: 'en_US'.",
"location": "query",
"type": "string"
},
@@ -680,7 +725,7 @@
"type": "string"
}
},
- "path": "volumes/{volumeId}/layers/{layerId}/annotations/{annotationId}",
+ "path": "books/v1/volumes/{volumeId}/layers/{layerId}/annotations/{annotationId}",
"response": {
"$ref": "Volumeannotation"
},
@@ -690,18 +735,17 @@
},
"list": {
"description": "Gets the volume annotations for a volume and layer.",
+ "flatPath": "books/v1/volumes/{volumeId}/layers/{layerId}",
"httpMethod": "GET",
"id": "books.layers.volumeAnnotations.list",
"parameterOrder": [
"volumeId",
- "layerId",
- "contentVersion"
+ "layerId"
],
"parameters": {
"contentVersion": {
"description": "The content version for the requested volume.",
"location": "query",
- "required": true,
"type": "string"
},
"endOffset": {
@@ -721,7 +765,7 @@
"type": "string"
},
"locale": {
- "description": "The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.",
+ "description": "The locale information for the data. ISO-639-1 language and ISO-3166-1\ncountry code. Ex: 'en_US'.",
"location": "query",
"type": "string"
},
@@ -729,8 +773,6 @@
"description": "Maximum number of results to return",
"format": "uint32",
"location": "query",
- "maximum": "200",
- "minimum": "0",
"type": "integer"
},
"pageToken": {
@@ -739,7 +781,7 @@
"type": "string"
},
"showDeleted": {
- "description": "Set to true to return deleted annotations. updatedMin must be in the request to use this. Defaults to false.",
+ "description": "Set to true to return deleted annotations. updatedMin must be in the\nrequest to use this. Defaults to false.",
"location": "query",
"type": "boolean"
},
@@ -759,12 +801,12 @@
"type": "string"
},
"updatedMax": {
- "description": "RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive).",
+ "description": "RFC 3339 timestamp to restrict to items updated prior to this timestamp\n(exclusive).",
"location": "query",
"type": "string"
},
"updatedMin": {
- "description": "RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive).",
+ "description": "RFC 3339 timestamp to restrict to items updated since this timestamp\n(inclusive).",
"location": "query",
"type": "string"
},
@@ -780,7 +822,7 @@
"type": "string"
}
},
- "path": "volumes/{volumeId}/layers/{layerId}",
+ "path": "books/v1/volumes/{volumeId}/layers/{layerId}",
"response": {
"$ref": "Volumeannotations"
},
@@ -796,9 +838,18 @@
"methods": {
"getUserSettings": {
"description": "Gets the current settings for the user.",
+ "flatPath": "books/v1/myconfig/getUserSettings",
"httpMethod": "GET",
"id": "books.myconfig.getUserSettings",
- "path": "myconfig/getUserSettings",
+ "parameterOrder": [],
+ "parameters": {
+ "country": {
+ "description": "Unused. Added only to workaround TEX mandatory request template requirement",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "books/v1/myconfig/getUserSettings",
"response": {
"$ref": "Usersettings"
},
@@ -808,17 +859,14 @@
},
"releaseDownloadAccess": {
"description": "Release downloaded content access restriction.",
+ "flatPath": "books/v1/myconfig/releaseDownloadAccess",
"httpMethod": "POST",
"id": "books.myconfig.releaseDownloadAccess",
- "parameterOrder": [
- "volumeIds",
- "cpksver"
- ],
+ "parameterOrder": [],
"parameters": {
"cpksver": {
"description": "The device/version ID from which to release the restriction.",
"location": "query",
- "required": true,
"type": "string"
},
"locale": {
@@ -835,11 +883,10 @@
"description": "The volume(s) to release restrictions for.",
"location": "query",
"repeated": true,
- "required": true,
"type": "string"
}
},
- "path": "myconfig/releaseDownloadAccess",
+ "path": "books/v1/myconfig/releaseDownloadAccess",
"response": {
"$ref": "DownloadAccesses"
},
@@ -849,33 +896,24 @@
},
"requestAccess": {
"description": "Request concurrent and download access restrictions.",
+ "flatPath": "books/v1/myconfig/requestAccess",
"httpMethod": "POST",
"id": "books.myconfig.requestAccess",
- "parameterOrder": [
- "source",
- "volumeId",
- "nonce",
- "cpksver"
- ],
+ "parameterOrder": [],
"parameters": {
"cpksver": {
"description": "The device/version ID from which to request the restrictions.",
"location": "query",
- "required": true,
"type": "string"
},
"licenseTypes": {
- "description": "The type of access license to request. If not specified, the default is BOTH.",
+ "description": "The type of access license to request. If not specified, the default is\nBOTH.",
"enum": [
+ "LICENSE_TYPES_UNDEFINED",
"BOTH",
"CONCURRENT",
"DOWNLOAD"
],
- "enumDescriptions": [
- "Both concurrent and download licenses.",
- "Concurrent access license.",
- "Offline download access license."
- ],
"location": "query",
"type": "string"
},
@@ -887,54 +925,45 @@
"nonce": {
"description": "The client nonce value.",
"location": "query",
- "required": true,
"type": "string"
},
"source": {
"description": "String to identify the originator of this request.",
"location": "query",
- "required": true,
"type": "string"
},
"volumeId": {
"description": "The volume to request concurrent/download restrictions for.",
"location": "query",
- "required": true,
"type": "string"
}
},
- "path": "myconfig/requestAccess",
+ "path": "books/v1/myconfig/requestAccess",
"response": {
- "$ref": "RequestAccess"
+ "$ref": "RequestAccessData"
},
"scopes": [
"https://www.googleapis.com/auth/books"
]
},
"syncVolumeLicenses": {
- "description": "Request downloaded content access for specified volumes on the My eBooks shelf.",
+ "description": "Request downloaded content access for specified volumes on the My eBooks\nshelf.",
+ "flatPath": "books/v1/myconfig/syncVolumeLicenses",
"httpMethod": "POST",
"id": "books.myconfig.syncVolumeLicenses",
- "parameterOrder": [
- "source",
- "nonce",
- "cpksver"
- ],
+ "parameterOrder": [],
"parameters": {
"cpksver": {
"description": "The device/version ID from which to release the restriction.",
"location": "query",
- "required": true,
"type": "string"
},
"features": {
"description": "List of features supported by the client, i.e., 'RENTALS'",
"enum": [
+ "FEATURES_UNDEFINED",
"RENTALS"
],
- "enumDescriptions": [
- "Client supports rentals."
- ],
"location": "query",
"repeated": true,
"type": "string"
@@ -952,7 +981,6 @@
"nonce": {
"description": "The client nonce value.",
"location": "query",
- "required": true,
"type": "string"
},
"showPreorders": {
@@ -963,7 +991,6 @@
"source": {
"description": "String to identify the originator of this request.",
"location": "query",
- "required": true,
"type": "string"
},
"volumeIds": {
@@ -973,7 +1000,7 @@
"type": "string"
}
},
- "path": "myconfig/syncVolumeLicenses",
+ "path": "books/v1/myconfig/syncVolumeLicenses",
"response": {
"$ref": "Volumes"
},
@@ -982,10 +1009,13 @@
]
},
"updateUserSettings": {
- "description": "Sets the settings for the user. If a sub-object is specified, it will overwrite the existing sub-object stored in the server. Unspecified sub-objects will retain the existing value.",
+ "description": "Sets the settings for the user. If a sub-object is specified, it will\noverwrite the existing sub-object stored in the server. Unspecified\nsub-objects will retain the existing value.",
+ "flatPath": "books/v1/myconfig/updateUserSettings",
"httpMethod": "POST",
"id": "books.myconfig.updateUserSettings",
- "path": "myconfig/updateUserSettings",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "books/v1/myconfig/updateUserSettings",
"request": {
"$ref": "Usersettings"
},
@@ -1004,6 +1034,7 @@
"methods": {
"delete": {
"description": "Deletes an annotation.",
+ "flatPath": "books/v1/mylibrary/annotations/{annotationId}",
"httpMethod": "DELETE",
"id": "books.mylibrary.annotations.delete",
"parameterOrder": [
@@ -1022,15 +1053,20 @@
"type": "string"
}
},
- "path": "mylibrary/annotations/{annotationId}",
+ "path": "books/v1/mylibrary/annotations/{annotationId}",
+ "response": {
+ "$ref": "Empty"
+ },
"scopes": [
"https://www.googleapis.com/auth/books"
]
},
"insert": {
"description": "Inserts a new annotation.",
+ "flatPath": "books/v1/mylibrary/annotations",
"httpMethod": "POST",
"id": "books.mylibrary.annotations.insert",
+ "parameterOrder": [],
"parameters": {
"annotationId": {
"description": "The ID for the annotation to insert.",
@@ -1043,7 +1079,7 @@
"type": "string"
},
"showOnlySummaryInResponse": {
- "description": "Requests that only the summary of the specified layer be provided in the response.",
+ "description": "Requests that only the summary of the specified layer be provided in the\nresponse.",
"location": "query",
"type": "boolean"
},
@@ -1053,7 +1089,7 @@
"type": "string"
}
},
- "path": "mylibrary/annotations",
+ "path": "books/v1/mylibrary/annotations",
"request": {
"$ref": "Annotation"
},
@@ -1066,8 +1102,10 @@
},
"list": {
"description": "Retrieves a list of annotations, possibly filtered.",
+ "flatPath": "books/v1/mylibrary/annotations",
"httpMethod": "GET",
"id": "books.mylibrary.annotations.list",
+ "parameterOrder": [],
"parameters": {
"contentVersion": {
"description": "The content version for the requested volume.",
@@ -1089,8 +1127,6 @@
"description": "Maximum number of results to return",
"format": "uint32",
"location": "query",
- "maximum": "40",
- "minimum": "0",
"type": "integer"
},
"pageToken": {
@@ -1099,7 +1135,7 @@
"type": "string"
},
"showDeleted": {
- "description": "Set to true to return deleted annotations. updatedMin must be in the request to use this. Defaults to false.",
+ "description": "Set to true to return deleted annotations. updatedMin must be in the\nrequest to use this. Defaults to false.",
"location": "query",
"type": "boolean"
},
@@ -1109,12 +1145,12 @@
"type": "string"
},
"updatedMax": {
- "description": "RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive).",
+ "description": "RFC 3339 timestamp to restrict to items updated prior to this timestamp\n(exclusive).",
"location": "query",
"type": "string"
},
"updatedMin": {
- "description": "RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive).",
+ "description": "RFC 3339 timestamp to restrict to items updated since this timestamp\n(inclusive).",
"location": "query",
"type": "string"
},
@@ -1124,7 +1160,7 @@
"type": "string"
}
},
- "path": "mylibrary/annotations",
+ "path": "books/v1/mylibrary/annotations",
"response": {
"$ref": "Annotations"
},
@@ -1134,28 +1170,24 @@
},
"summary": {
"description": "Gets the summary of specified layers.",
+ "flatPath": "books/v1/mylibrary/annotations/summary",
"httpMethod": "POST",
"id": "books.mylibrary.annotations.summary",
- "parameterOrder": [
- "layerIds",
- "volumeId"
- ],
+ "parameterOrder": [],
"parameters": {
"layerIds": {
"description": "Array of layer IDs to get the summary for.",
"location": "query",
"repeated": true,
- "required": true,
"type": "string"
},
"volumeId": {
"description": "Volume id to get the summary for.",
"location": "query",
- "required": true,
"type": "string"
}
},
- "path": "mylibrary/annotations/summary",
+ "path": "books/v1/mylibrary/annotations/summary",
"response": {
"$ref": "AnnotationsSummary"
},
@@ -1165,6 +1197,7 @@
},
"update": {
"description": "Updates an existing annotation.",
+ "flatPath": "books/v1/mylibrary/annotations/{annotationId}",
"httpMethod": "PUT",
"id": "books.mylibrary.annotations.update",
"parameterOrder": [
@@ -1183,7 +1216,7 @@
"type": "string"
}
},
- "path": "mylibrary/annotations/{annotationId}",
+ "path": "books/v1/mylibrary/annotations/{annotationId}",
"request": {
"$ref": "Annotation"
},
@@ -1200,25 +1233,21 @@
"methods": {
"addVolume": {
"description": "Adds a volume to a bookshelf.",
+ "flatPath": "books/v1/mylibrary/bookshelves/{shelf}/addVolume",
"httpMethod": "POST",
"id": "books.mylibrary.bookshelves.addVolume",
"parameterOrder": [
- "shelf",
- "volumeId"
+ "shelf"
],
"parameters": {
"reason": {
"description": "The reason for which the book is added to the library.",
"enum": [
+ "REASON_UNDEFINED",
"IOS_PREX",
"IOS_SEARCH",
"ONBOARDING"
],
- "enumDescriptions": [
- "Volumes added from the PREX flow on iOS.",
- "Volumes added from the Search flow on iOS.",
- "Volumes added from the Onboarding flow."
- ],
"location": "query",
"type": "string"
},
@@ -1236,17 +1265,20 @@
"volumeId": {
"description": "ID of volume to add.",
"location": "query",
- "required": true,
"type": "string"
}
},
- "path": "mylibrary/bookshelves/{shelf}/addVolume",
+ "path": "books/v1/mylibrary/bookshelves/{shelf}/addVolume",
+ "response": {
+ "$ref": "Empty"
+ },
"scopes": [
"https://www.googleapis.com/auth/books"
]
},
"clearVolumes": {
"description": "Clears all volumes from a bookshelf.",
+ "flatPath": "books/v1/mylibrary/bookshelves/{shelf}/clearVolumes",
"httpMethod": "POST",
"id": "books.mylibrary.bookshelves.clearVolumes",
"parameterOrder": [
@@ -1265,13 +1297,17 @@
"type": "string"
}
},
- "path": "mylibrary/bookshelves/{shelf}/clearVolumes",
+ "path": "books/v1/mylibrary/bookshelves/{shelf}/clearVolumes",
+ "response": {
+ "$ref": "Empty"
+ },
"scopes": [
"https://www.googleapis.com/auth/books"
]
},
"get": {
- "description": "Retrieves metadata for a specific bookshelf belonging to the authenticated user.",
+ "description": "Retrieves metadata for a specific bookshelf belonging to the authenticated\nuser.",
+ "flatPath": "books/v1/mylibrary/bookshelves/{shelf}",
"httpMethod": "GET",
"id": "books.mylibrary.bookshelves.get",
"parameterOrder": [
@@ -1290,7 +1326,7 @@
"type": "string"
}
},
- "path": "mylibrary/bookshelves/{shelf}",
+ "path": "books/v1/mylibrary/bookshelves/{shelf}",
"response": {
"$ref": "Bookshelf"
},
@@ -1300,8 +1336,10 @@
},
"list": {
"description": "Retrieves a list of bookshelves belonging to the authenticated user.",
+ "flatPath": "books/v1/mylibrary/bookshelves",
"httpMethod": "GET",
"id": "books.mylibrary.bookshelves.list",
+ "parameterOrder": [],
"parameters": {
"source": {
"description": "String to identify the originator of this request.",
@@ -1309,7 +1347,7 @@
"type": "string"
}
},
- "path": "mylibrary/bookshelves",
+ "path": "books/v1/mylibrary/bookshelves",
"response": {
"$ref": "Bookshelves"
},
@@ -1319,12 +1357,11 @@
},
"moveVolume": {
"description": "Moves a volume within a bookshelf.",
+ "flatPath": "books/v1/mylibrary/bookshelves/{shelf}/moveVolume",
"httpMethod": "POST",
"id": "books.mylibrary.bookshelves.moveVolume",
"parameterOrder": [
- "shelf",
- "volumeId",
- "volumePosition"
+ "shelf"
],
"parameters": {
"shelf": {
@@ -1341,39 +1378,38 @@
"volumeId": {
"description": "ID of volume to move.",
"location": "query",
- "required": true,
"type": "string"
},
"volumePosition": {
- "description": "Position on shelf to move the item (0 puts the item before the current first item, 1 puts it between the first and the second and so on.)",
+ "description": "Position on shelf to move the item (0 puts the item before the current\nfirst item, 1 puts it between the first and the second and so on.)",
"format": "int32",
"location": "query",
- "required": true,
"type": "integer"
}
},
- "path": "mylibrary/bookshelves/{shelf}/moveVolume",
+ "path": "books/v1/mylibrary/bookshelves/{shelf}/moveVolume",
+ "response": {
+ "$ref": "Empty"
+ },
"scopes": [
"https://www.googleapis.com/auth/books"
]
},
"removeVolume": {
"description": "Removes a volume from a bookshelf.",
+ "flatPath": "books/v1/mylibrary/bookshelves/{shelf}/removeVolume",
"httpMethod": "POST",
"id": "books.mylibrary.bookshelves.removeVolume",
"parameterOrder": [
- "shelf",
- "volumeId"
+ "shelf"
],
"parameters": {
"reason": {
"description": "The reason for which the book is removed from the library.",
"enum": [
+ "REASON_UNDEFINED",
"ONBOARDING"
],
- "enumDescriptions": [
- "Samples removed from the Onboarding flow."
- ],
"location": "query",
"type": "string"
},
@@ -1391,11 +1427,13 @@
"volumeId": {
"description": "ID of volume to remove.",
"location": "query",
- "required": true,
"type": "string"
}
},
- "path": "mylibrary/bookshelves/{shelf}/removeVolume",
+ "path": "books/v1/mylibrary/bookshelves/{shelf}/removeVolume",
+ "response": {
+ "$ref": "Empty"
+ },
"scopes": [
"https://www.googleapis.com/auth/books"
]
@@ -1406,6 +1444,7 @@
"methods": {
"list": {
"description": "Gets volume information for volumes on a bookshelf.",
+ "flatPath": "books/v1/mylibrary/bookshelves/{shelf}/volumes",
"httpMethod": "GET",
"id": "books.mylibrary.bookshelves.volumes.list",
"parameterOrder": [
@@ -1421,18 +1460,14 @@
"description": "Maximum number of results to return",
"format": "uint32",
"location": "query",
- "minimum": "0",
"type": "integer"
},
"projection": {
"description": "Restrict information returned to a set of selected fields.",
"enum": [
- "full",
- "lite"
- ],
- "enumDescriptions": [
- "Includes all volume data.",
- "Includes a subset of fields in volumeInfo and accessInfo."
+ "PROJECTION_UNDEFINED",
+ "FULL",
+ "LITE"
],
"location": "query",
"type": "string"
@@ -1462,11 +1497,10 @@
"description": "Index of the first element to return (starts at 0)",
"format": "uint32",
"location": "query",
- "minimum": "0",
"type": "integer"
}
},
- "path": "mylibrary/bookshelves/{shelf}/volumes",
+ "path": "books/v1/mylibrary/bookshelves/{shelf}/volumes",
"response": {
"$ref": "Volumes"
},
@@ -1482,6 +1516,7 @@
"methods": {
"get": {
"description": "Retrieves my reading position information for a volume.",
+ "flatPath": "books/v1/mylibrary/readingpositions/{volumeId}",
"httpMethod": "GET",
"id": "books.mylibrary.readingpositions.get",
"parameterOrder": [
@@ -1505,7 +1540,7 @@
"type": "string"
}
},
- "path": "mylibrary/readingpositions/{volumeId}",
+ "path": "books/v1/mylibrary/readingpositions/{volumeId}",
"response": {
"$ref": "ReadingPosition"
},
@@ -1515,17 +1550,17 @@
},
"setPosition": {
"description": "Sets my reading position information for a volume.",
+ "flatPath": "books/v1/mylibrary/readingpositions/{volumeId}/setPosition",
"httpMethod": "POST",
"id": "books.mylibrary.readingpositions.setPosition",
"parameterOrder": [
- "volumeId",
- "timestamp",
- "position"
+ "volumeId"
],
"parameters": {
"action": {
"description": "Action that caused this reading position to be set.",
"enum": [
+ "ACTION_UNDEFINED",
"bookmark",
"chapter",
"next-page",
@@ -1533,14 +1568,6 @@
"scroll",
"search"
],
- "enumDescriptions": [
- "User chose bookmark within volume.",
- "User selected chapter from list.",
- "Next page event.",
- "Previous page event.",
- "User navigated to page.",
- "User chose search results within volume."
- ],
"location": "query",
"type": "string"
},
@@ -1557,7 +1584,6 @@
"position": {
"description": "Position string for the new volume reading position.",
"location": "query",
- "required": true,
"type": "string"
},
"source": {
@@ -1568,7 +1594,6 @@
"timestamp": {
"description": "RFC 3339 UTC format timestamp associated with this reading position.",
"location": "query",
- "required": true,
"type": "string"
},
"volumeId": {
@@ -1578,7 +1603,10 @@
"type": "string"
}
},
- "path": "mylibrary/readingpositions/{volumeId}/setPosition",
+ "path": "books/v1/mylibrary/readingpositions/{volumeId}/setPosition",
+ "response": {
+ "$ref": "Empty"
+ },
"scopes": [
"https://www.googleapis.com/auth/books"
]
@@ -1591,21 +1619,19 @@
"methods": {
"get": {
"description": "Returns notification details for a given notification id.",
+ "flatPath": "books/v1/notification/get",
"httpMethod": "GET",
"id": "books.notification.get",
- "parameterOrder": [
- "notification_id"
- ],
+ "parameterOrder": [],
"parameters": {
"locale": {
- "description": "ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating notification title and body.",
+ "description": "ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for\ngenerating notification title and body.",
"location": "query",
"type": "string"
},
"notification_id": {
"description": "String to identify the notification.",
"location": "query",
- "required": true,
"type": "string"
},
"source": {
@@ -1614,7 +1640,7 @@
"type": "string"
}
},
- "path": "notification/get",
+ "path": "books/v1/notification/get",
"response": {
"$ref": "Notification"
},
@@ -1628,8 +1654,10 @@
"methods": {
"listCategories": {
"description": "List categories for onboarding experience.",
+ "flatPath": "books/v1/onboarding/listCategories",
"httpMethod": "GET",
"id": "books.onboarding.listCategories",
+ "parameterOrder": [],
"parameters": {
"locale": {
"description": "ISO-639-1 language and ISO-3166-1 country code. Default is en-US if unset.",
@@ -1637,7 +1665,7 @@
"type": "string"
}
},
- "path": "onboarding/listCategories",
+ "path": "books/v1/onboarding/listCategories",
"response": {
"$ref": "Category"
},
@@ -1647,8 +1675,10 @@
},
"listCategoryVolumes": {
"description": "List available volumes under categories for onboarding experience.",
+ "flatPath": "books/v1/onboarding/listCategoryVolumes",
"httpMethod": "GET",
"id": "books.onboarding.listCategoryVolumes",
+ "parameterOrder": [],
"parameters": {
"categoryId": {
"description": "List of category ids requested.",
@@ -1662,15 +1692,12 @@
"type": "string"
},
"maxAllowedMaturityRating": {
- "description": "The maximum allowed maturity rating of returned volumes. Books with a higher maturity rating are filtered out.",
+ "description": "The maximum allowed maturity rating of returned volumes. Books with a\nhigher maturity rating are filtered out.",
"enum": [
- "mature",
+ "MAX_ALLOWED_MATURITY_RATING_UNDEFINED",
+ "MATURE",
"not-mature"
],
- "enumDescriptions": [
- "Show books which are rated mature or lower.",
- "Show books which are rated not mature."
- ],
"location": "query",
"type": "string"
},
@@ -1686,7 +1713,7 @@
"type": "string"
}
},
- "path": "onboarding/listCategoryVolumes",
+ "path": "books/v1/onboarding/listCategoryVolumes",
"response": {
"$ref": "Volume2"
},
@@ -1700,24 +1727,23 @@
"methods": {
"get": {
"description": "Returns a stream of personalized book clusters",
+ "flatPath": "books/v1/personalizedstream/get",
"httpMethod": "GET",
"id": "books.personalizedstream.get",
+ "parameterOrder": [],
"parameters": {
"locale": {
- "description": "ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating recommendations.",
+ "description": "ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for\ngenerating recommendations.",
"location": "query",
"type": "string"
},
"maxAllowedMaturityRating": {
- "description": "The maximum allowed maturity rating of returned recommendations. Books with a higher maturity rating are filtered out.",
+ "description": "The maximum allowed maturity rating of returned recommendations. Books with\na higher maturity rating are filtered out.",
"enum": [
- "mature",
+ "MAX_ALLOWED_MATURITY_RATING_UNDEFINED",
+ "MATURE",
"not-mature"
],
- "enumDescriptions": [
- "Show books which are rated mature or lower.",
- "Show books which are rated not mature."
- ],
"location": "query",
"type": "string"
},
@@ -1727,7 +1753,7 @@
"type": "string"
}
},
- "path": "personalizedstream/get",
+ "path": "books/v1/personalizedstream/get",
"response": {
"$ref": "Discoveryclusters"
},
@@ -1740,9 +1766,11 @@
"promooffer": {
"methods": {
"accept": {
- "description": "",
+ "description": "Accepts the promo offer.",
+ "flatPath": "books/v1/promooffer/accept",
"httpMethod": "POST",
"id": "books.promooffer.accept",
+ "parameterOrder": [],
"parameters": {
"androidId": {
"description": "device android_id",
@@ -1784,15 +1812,20 @@
"type": "string"
}
},
- "path": "promooffer/accept",
+ "path": "books/v1/promooffer/accept",
+ "response": {
+ "$ref": "Empty"
+ },
"scopes": [
"https://www.googleapis.com/auth/books"
]
},
"dismiss": {
- "description": "",
+ "description": "Marks the promo offer as dismissed.",
+ "flatPath": "books/v1/promooffer/dismiss",
"httpMethod": "POST",
"id": "books.promooffer.dismiss",
+ "parameterOrder": [],
"parameters": {
"androidId": {
"description": "device android_id",
@@ -1830,15 +1863,20 @@
"type": "string"
}
},
- "path": "promooffer/dismiss",
+ "path": "books/v1/promooffer/dismiss",
+ "response": {
+ "$ref": "Empty"
+ },
"scopes": [
"https://www.googleapis.com/auth/books"
]
},
"get": {
"description": "Returns a list of promo offers available to the user",
+ "flatPath": "books/v1/promooffer/get",
"httpMethod": "GET",
"id": "books.promooffer.get",
+ "parameterOrder": [],
"parameters": {
"androidId": {
"description": "device android_id",
@@ -1871,7 +1909,7 @@
"type": "string"
}
},
- "path": "promooffer/get",
+ "path": "books/v1/promooffer/get",
"response": {
"$ref": "Offers"
},
@@ -1885,21 +1923,19 @@
"methods": {
"get": {
"description": "Returns Series metadata for the given series ids.",
+ "flatPath": "books/v1/series/get",
"httpMethod": "GET",
"id": "books.series.get",
- "parameterOrder": [
- "series_id"
- ],
+ "parameterOrder": [],
"parameters": {
"series_id": {
"description": "String that identifies the series",
"location": "query",
"repeated": true,
- "required": true,
"type": "string"
}
},
- "path": "series/get",
+ "path": "books/v1/series/get",
"response": {
"$ref": "Series"
},
@@ -1913,11 +1949,10 @@
"methods": {
"get": {
"description": "Returns Series membership data given the series id.",
+ "flatPath": "books/v1/series/membership/get",
"httpMethod": "GET",
"id": "books.series.membership.get",
- "parameterOrder": [
- "series_id"
- ],
+ "parameterOrder": [],
"parameters": {
"page_size": {
"description": "Number of maximum results per page to be included in the response.",
@@ -1933,11 +1968,10 @@
"series_id": {
"description": "String that identifies the series",
"location": "query",
- "required": true,
"type": "string"
}
},
- "path": "series/membership/get",
+ "path": "books/v1/series/membership/get",
"response": {
"$ref": "Seriesmembership"
},
@@ -1953,6 +1987,7 @@
"methods": {
"get": {
"description": "Gets volume information for a single volume.",
+ "flatPath": "books/v1/volumes/{volumeId}",
"httpMethod": "GET",
"id": "books.volumes.get",
"parameterOrder": [
@@ -1977,18 +2012,15 @@
"projection": {
"description": "Restrict information returned to a set of selected fields.",
"enum": [
- "full",
- "lite"
- ],
- "enumDescriptions": [
- "Includes all volume data.",
- "Includes a subset of fields in volumeInfo and accessInfo."
+ "PROJECTION_UNDEFINED",
+ "FULL",
+ "LITE"
],
"location": "query",
"type": "string"
},
"source": {
- "description": "String to identify the originator of this request.",
+ "description": "string to identify the originator of this request.",
"location": "query",
"type": "string"
},
@@ -2003,7 +2035,7 @@
"type": "string"
}
},
- "path": "volumes/{volumeId}",
+ "path": "books/v1/volumes/{volumeId}",
"response": {
"$ref": "Volume"
},
@@ -2013,19 +2045,16 @@
},
"list": {
"description": "Performs a book search.",
+ "flatPath": "books/v1/volumes",
"httpMethod": "GET",
"id": "books.volumes.list",
- "parameterOrder": [
- "q"
- ],
+ "parameterOrder": [],
"parameters": {
"download": {
"description": "Restrict to volumes by download availability.",
"enum": [
- "epub"
- ],
- "enumDescriptions": [
- "All volumes with epub."
+ "DOWNLOAD_UNDEFINED",
+ "EPUB"
],
"location": "query",
"type": "string"
@@ -2033,19 +2062,13 @@
"filter": {
"description": "Filter search results.",
"enum": [
+ "FILTER_UNDEFINED",
"ebooks",
"free-ebooks",
"full",
"paid-ebooks",
"partial"
],
- "enumDescriptions": [
- "All Google eBooks.",
- "Google eBook with full volume text viewability.",
- "Public can view entire volume text.",
- "Google eBook with a price.",
- "Public able to see parts of text."
- ],
"location": "query",
"type": "string"
},
@@ -2057,26 +2080,20 @@
"libraryRestrict": {
"description": "Restrict search to this user's library.",
"enum": [
+ "LIBRARY_RESTRICT_UNDEFINED",
"my-library",
"no-restrict"
],
- "enumDescriptions": [
- "Restrict to the user's library, any shelf.",
- "Do not restrict based on user's library."
- ],
"location": "query",
"type": "string"
},
"maxAllowedMaturityRating": {
- "description": "The maximum allowed maturity rating of returned recommendations. Books with a higher maturity rating are filtered out.",
+ "description": "The maximum allowed maturity rating of returned recommendations. Books with\na higher maturity rating are filtered out.",
"enum": [
- "mature",
+ "MAX_ALLOWED_MATURITY_RATING_UNDEFINED",
+ "MATURE",
"not-mature"
],
- "enumDescriptions": [
- "Show books which are rated mature or lower.",
- "Show books which are rated not mature."
- ],
"location": "query",
"type": "string"
},
@@ -2084,20 +2101,15 @@
"description": "Maximum number of results to return.",
"format": "uint32",
"location": "query",
- "maximum": "40",
- "minimum": "0",
"type": "integer"
},
"orderBy": {
"description": "Sort search results.",
"enum": [
+ "ORDER_BY_UNDEFINED",
"newest",
"relevance"
],
- "enumDescriptions": [
- "Most recently published.",
- "Relevance to search terms."
- ],
"location": "query",
"type": "string"
},
@@ -2109,14 +2121,10 @@
"printType": {
"description": "Restrict to books or magazines.",
"enum": [
- "all",
- "books",
- "magazines"
- ],
- "enumDescriptions": [
- "All volume content types.",
- "Just books.",
- "Just magazines."
+ "PRINT_TYPE_UNDEFINED",
+ "ALL",
+ "BOOKS",
+ "MAGAZINES"
],
"location": "query",
"type": "string"
@@ -2124,12 +2132,9 @@
"projection": {
"description": "Restrict information returned to a set of selected fields.",
"enum": [
- "full",
- "lite"
- ],
- "enumDescriptions": [
- "Includes all volume data.",
- "Includes a subset of fields in volumeInfo and accessInfo."
+ "PROJECTION_UNDEFINED",
+ "FULL",
+ "LITE"
],
"location": "query",
"type": "string"
@@ -2137,7 +2142,6 @@
"q": {
"description": "Full-text search query string.",
"location": "query",
- "required": true,
"type": "string"
},
"showPreorders": {
@@ -2154,11 +2158,10 @@
"description": "Index of the first result to return (starts at 0)",
"format": "uint32",
"location": "query",
- "minimum": "0",
"type": "integer"
}
},
- "path": "volumes",
+ "path": "books/v1/volumes",
"response": {
"$ref": "Volumes"
},
@@ -2172,6 +2175,7 @@
"methods": {
"list": {
"description": "Return a list of associated books.",
+ "flatPath": "books/v1/volumes/{volumeId}/associated",
"httpMethod": "GET",
"id": "books.volumes.associated.list",
"parameterOrder": [
@@ -2181,33 +2185,26 @@
"association": {
"description": "Association type.",
"enum": [
+ "ASSOCIATION_UNDEFINED",
"end-of-sample",
"end-of-volume",
"related-for-play"
],
- "enumDescriptions": [
- "Recommendations for display end-of-sample.",
- "Recommendations for display end-of-volume.",
- "Related volumes for Play Store."
- ],
"location": "query",
"type": "string"
},
"locale": {
- "description": "ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating recommendations.",
+ "description": "ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for\ngenerating recommendations.",
"location": "query",
"type": "string"
},
"maxAllowedMaturityRating": {
- "description": "The maximum allowed maturity rating of returned recommendations. Books with a higher maturity rating are filtered out.",
+ "description": "The maximum allowed maturity rating of returned recommendations. Books with\na higher maturity rating are filtered out.",
"enum": [
- "mature",
+ "MAX_ALLOWED_MATURITY_RATING_UNDEFINED",
+ "MATURE",
"not-mature"
],
- "enumDescriptions": [
- "Show books which are rated mature or lower.",
- "Show books which are rated not mature."
- ],
"location": "query",
"type": "string"
},
@@ -2223,7 +2220,7 @@
"type": "string"
}
},
- "path": "volumes/{volumeId}/associated",
+ "path": "books/v1/volumes/{volumeId}/associated",
"response": {
"$ref": "Volumes"
},
@@ -2237,12 +2234,15 @@
"methods": {
"list": {
"description": "Return a list of books in My Library.",
+ "flatPath": "books/v1/volumes/mybooks",
"httpMethod": "GET",
"id": "books.volumes.mybooks.list",
+ "parameterOrder": [],
"parameters": {
"acquireMethod": {
"description": "How the book was acquired",
"enum": [
+ "ACQUIRE_METHOD_UNDEFINED",
"FAMILY_SHARED",
"PREORDERED",
"PREVIOUSLY_RENTED",
@@ -2252,16 +2252,6 @@
"SAMPLE",
"UPLOADED"
],
- "enumDescriptions": [
- "Books acquired via Family Sharing",
- "Preordered books (not yet available)",
- "User-rented books past their expiration time",
- "Public domain books",
- "Purchased books",
- "User-rented books",
- "Sample books",
- "User uploaded books"
- ],
"location": "query",
"repeated": true,
"type": "string"
@@ -2272,7 +2262,7 @@
"type": "string"
},
"locale": {
- "description": "ISO-639-1 language and ISO-3166-1 country code. Ex:'en_US'. Used for generating recommendations.",
+ "description": "ISO-639-1 language and ISO-3166-1 country code. Ex:'en_US'. Used for\ngenerating recommendations.",
"location": "query",
"type": "string"
},
@@ -2280,22 +2270,16 @@
"description": "Maximum number of results to return.",
"format": "uint32",
"location": "query",
- "maximum": "100",
- "minimum": "0",
"type": "integer"
},
"processingState": {
- "description": "The processing state of the user uploaded volumes to be returned. Applicable only if the UPLOADED is specified in the acquireMethod.",
+ "description": "The processing state of the user uploaded volumes to be returned.\nApplicable only if the UPLOADED is specified in the acquireMethod.",
"enum": [
+ "PROCESSING_STATE_UNDEFINED",
"COMPLETED_FAILED",
"COMPLETED_SUCCESS",
"RUNNING"
],
- "enumDescriptions": [
- "The volume processing hase failed.",
- "The volume processing was completed.",
- "The volume processing is not completed."
- ],
"location": "query",
"repeated": true,
"type": "string"
@@ -2309,11 +2293,10 @@
"description": "Index of the first result to return (starts at 0)",
"format": "uint32",
"location": "query",
- "minimum": "0",
"type": "integer"
}
},
- "path": "volumes/mybooks",
+ "path": "books/v1/volumes/mybooks",
"response": {
"$ref": "Volumes"
},
@@ -2327,24 +2310,23 @@
"methods": {
"list": {
"description": "Return a list of recommended books for the current user.",
+ "flatPath": "books/v1/volumes/recommended",
"httpMethod": "GET",
"id": "books.volumes.recommended.list",
+ "parameterOrder": [],
"parameters": {
"locale": {
- "description": "ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating recommendations.",
+ "description": "ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for\ngenerating recommendations.",
"location": "query",
"type": "string"
},
"maxAllowedMaturityRating": {
- "description": "The maximum allowed maturity rating of returned recommendations. Books with a higher maturity rating are filtered out.",
+ "description": "The maximum allowed maturity rating of returned recommendations. Books with\na higher maturity rating are filtered out.",
"enum": [
- "mature",
+ "MAX_ALLOWED_MATURITY_RATING_UNDEFINED",
+ "MATURE",
"not-mature"
],
- "enumDescriptions": [
- "Show books which are rated mature or lower.",
- "Show books which are rated not mature."
- ],
"location": "query",
"type": "string"
},
@@ -2354,7 +2336,7 @@
"type": "string"
}
},
- "path": "volumes/recommended",
+ "path": "books/v1/volumes/recommended",
"response": {
"$ref": "Volumes"
},
@@ -2364,30 +2346,24 @@
},
"rate": {
"description": "Rate a recommended book for the current user.",
+ "flatPath": "books/v1/volumes/recommended/rate",
"httpMethod": "POST",
"id": "books.volumes.recommended.rate",
- "parameterOrder": [
- "rating",
- "volumeId"
- ],
+ "parameterOrder": [],
"parameters": {
"locale": {
- "description": "ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating recommendations.",
+ "description": "ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for\ngenerating recommendations.",
"location": "query",
"type": "string"
},
"rating": {
"description": "Rating to be given to the volume.",
"enum": [
+ "RATING_UNDEFINED",
"HAVE_IT",
"NOT_INTERESTED"
],
- "enumDescriptions": [
- "Rating indicating a dismissal due to ownership.",
- "Rating indicating a negative dismissal of a volume."
- ],
"location": "query",
- "required": true,
"type": "string"
},
"source": {
@@ -2398,11 +2374,10 @@
"volumeId": {
"description": "ID of the source volume.",
"location": "query",
- "required": true,
"type": "string"
}
},
- "path": "volumes/recommended/rate",
+ "path": "books/v1/volumes/recommended/rate",
"response": {
"$ref": "BooksVolumesRecommendedRateResponse"
},
@@ -2416,11 +2391,13 @@
"methods": {
"list": {
"description": "Return a list of books uploaded by the current user.",
+ "flatPath": "books/v1/volumes/useruploaded",
"httpMethod": "GET",
"id": "books.volumes.useruploaded.list",
+ "parameterOrder": [],
"parameters": {
"locale": {
- "description": "ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating recommendations.",
+ "description": "ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for\ngenerating recommendations.",
"location": "query",
"type": "string"
},
@@ -2428,22 +2405,16 @@
"description": "Maximum number of results to return.",
"format": "uint32",
"location": "query",
- "maximum": "40",
- "minimum": "0",
"type": "integer"
},
"processingState": {
"description": "The processing state of the user uploaded volumes to be returned.",
"enum": [
+ "PROCESSING_STATE_UNDEFINED",
"COMPLETED_FAILED",
"COMPLETED_SUCCESS",
"RUNNING"
],
- "enumDescriptions": [
- "The volume processing hase failed.",
- "The volume processing was completed.",
- "The volume processing is not completed."
- ],
"location": "query",
"repeated": true,
"type": "string"
@@ -2457,17 +2428,16 @@
"description": "Index of the first result to return (starts at 0)",
"format": "uint32",
"location": "query",
- "minimum": "0",
"type": "integer"
},
"volumeId": {
- "description": "The ids of the volumes to be returned. If not specified all that match the processingState are returned.",
+ "description": "The ids of the volumes to be returned. If not specified all that match the\nprocessingState are returned.",
"location": "query",
"repeated": true,
"type": "string"
}
},
- "path": "volumes/useruploaded",
+ "path": "books/v1/volumes/useruploaded",
"response": {
"$ref": "Volumes"
},
@@ -2480,18 +2450,18 @@
}
}
},
- "revision": "20200310",
+ "revision": "20200707",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Annotation": {
"id": "Annotation",
"properties": {
"afterSelectedText": {
- "description": "Anchor text after excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty.",
+ "description": "Anchor text after excerpt. For requests, if the user bookmarked a screen\nthat has no flowing text on it, then this field should be empty.",
"type": "string"
},
"beforeSelectedText": {
- "description": "Anchor text before excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty.",
+ "description": "Anchor text before excerpt. For requests, if the user bookmarked a screen\nthat has no flowing text on it, then this field should be empty.",
"type": "string"
},
"clientVersionRanges": {
@@ -2522,7 +2492,6 @@
},
"created": {
"description": "Timestamp for the created time of this annotation.",
- "format": "date-time",
"type": "string"
},
"currentVersionRanges": {
@@ -2568,7 +2537,6 @@
"type": "string"
},
"kind": {
- "default": "books#annotation",
"description": "Resource type.",
"type": "string"
},
@@ -2579,16 +2547,16 @@
"layerSummary": {
"properties": {
"allowedCharacterCount": {
- "description": "Maximum allowed characters on this layer, especially for the \"copy\" layer.",
+ "description": "Maximum allowed characters on this layer, especially for the \"copy\"\nlayer.",
"format": "int32",
"type": "integer"
},
"limitType": {
- "description": "Type of limitation on this layer. \"limited\" or \"unlimited\" for the \"copy\" layer.",
+ "description": "Type of limitation on this layer. \"limited\" or \"unlimited\" for the \"copy\"\nlayer.",
"type": "string"
},
"remainingCharacterCount": {
- "description": "Remaining allowed characters on this layer, especially for the \"copy\" layer.",
+ "description": "Remaining allowed characters on this layer, especially for the \"copy\"\nlayer.",
"format": "int32",
"type": "integer"
}
@@ -2612,7 +2580,6 @@
},
"updated": {
"description": "Timestamp for the last time this annotation was modified.",
- "format": "date-time",
"type": "string"
},
"volumeId": {
@@ -2622,50 +2589,6 @@
},
"type": "object"
},
- "Annotationdata": {
- "id": "Annotationdata",
- "properties": {
- "annotationType": {
- "description": "The type of annotation this data is for.",
- "type": "string"
- },
- "data": {
- "type": "any"
- },
- "encoded_data": {
- "description": "Base64 encoded data for this annotation data.",
- "format": "byte",
- "type": "string"
- },
- "id": {
- "description": "Unique id for this annotation data.",
- "type": "string"
- },
- "kind": {
- "default": "books#annotationdata",
- "description": "Resource Type",
- "type": "string"
- },
- "layerId": {
- "description": "The Layer id for this data. *",
- "type": "string"
- },
- "selfLink": {
- "description": "URL for this resource. *",
- "type": "string"
- },
- "updated": {
- "description": "Timestamp for the last time this data was updated. (RFC 3339 UTC date-time format).",
- "format": "date-time",
- "type": "string"
- },
- "volumeId": {
- "description": "The volume id for this data. *",
- "type": "string"
- }
- },
- "type": "object"
- },
"Annotations": {
"id": "Annotations",
"properties": {
@@ -2677,16 +2600,15 @@
"type": "array"
},
"kind": {
- "default": "books#annotations",
"description": "Resource type.",
"type": "string"
},
"nextPageToken": {
- "description": "Token to pass in for pagination for the next page. This will not be present if this request does not have more results.",
+ "description": "Token to pass in for pagination for the next page. This will not be present\nif this request does not have more results.",
"type": "string"
},
"totalItems": {
- "description": "Total number of annotations found. This may be greater than the number of notes returned in this response if results have been paginated.",
+ "description": "Total number of annotations found. This may be greater than the number of\nnotes returned in this response if results have been paginated.",
"format": "int32",
"type": "integer"
}
@@ -2697,7 +2619,6 @@
"id": "AnnotationsSummary",
"properties": {
"kind": {
- "default": "books#annotationsSummary",
"type": "string"
},
"layers": {
@@ -2718,7 +2639,6 @@
"type": "integer"
},
"updated": {
- "format": "date-time",
"type": "string"
}
},
@@ -2735,17 +2655,16 @@
"items": {
"description": "A list of Annotation Data.",
"items": {
- "$ref": "Annotationdata"
+ "$ref": "GeoAnnotationdata"
},
"type": "array"
},
"kind": {
- "default": "books#annotationsdata",
"description": "Resource type",
"type": "string"
},
"nextPageToken": {
- "description": "Token to pass in for pagination for the next page. This will not be present if this request does not have more results.",
+ "description": "Token to pass in for pagination for the next page. This will not be present\nif this request does not have more results.",
"type": "string"
},
"totalItems": {
@@ -2796,30 +2715,6 @@
},
"type": "object"
},
- "BooksSubscriptionReleaseInfo": {
- "id": "BooksSubscriptionReleaseInfo",
- "properties": {
- "amountInMicros": {
- "description": "Amount in micros of the specified currency code.",
- "format": "int64",
- "type": "string"
- },
- "currencyCode": {
- "description": "Currency code of the amount.",
- "type": "string"
- },
- "releaseNumber": {
- "description": "The release number of this issue/volume/book.",
- "type": "string"
- },
- "releaseTimestampUs": {
- "description": "The release date.",
- "format": "int64",
- "type": "string"
- }
- },
- "type": "object"
- },
"BooksVolumesRecommendedRateResponse": {
"id": "BooksVolumesRecommendedRateResponse",
"properties": {
@@ -2837,8 +2732,7 @@
"type": "string"
},
"created": {
- "description": "Created time for this bookshelf (formatted UTC timestamp with millisecond resolution).",
- "format": "date-time",
+ "description": "Created time for this bookshelf (formatted UTC timestamp with millisecond\nresolution).",
"type": "string"
},
"description": {
@@ -2851,7 +2745,6 @@
"type": "integer"
},
"kind": {
- "default": "books#bookshelf",
"description": "Resource type for bookshelf metadata.",
"type": "string"
},
@@ -2864,8 +2757,7 @@
"type": "string"
},
"updated": {
- "description": "Last modified time of this bookshelf (formatted UTC timestamp with millisecond resolution).",
- "format": "date-time",
+ "description": "Last modified time of this bookshelf (formatted UTC timestamp with\nmillisecond resolution).",
"type": "string"
},
"volumeCount": {
@@ -2874,8 +2766,7 @@
"type": "integer"
},
"volumesLastUpdated": {
- "description": "Last time a volume was added or removed from this bookshelf (formatted UTC timestamp with millisecond resolution).",
- "format": "date-time",
+ "description": "Last time a volume was added or removed from this bookshelf (formatted UTC\ntimestamp with millisecond resolution).",
"type": "string"
}
},
@@ -2892,7 +2783,6 @@
"type": "array"
},
"kind": {
- "default": "books#bookshelves",
"description": "Resource type.",
"type": "string"
}
@@ -2921,7 +2811,6 @@
"type": "array"
},
"kind": {
- "default": "onboarding#category",
"description": "Resource type.",
"type": "string"
}
@@ -2936,7 +2825,6 @@
"type": "boolean"
},
"kind": {
- "default": "books#concurrentAccessRestriction",
"description": "Resource type.",
"type": "string"
},
@@ -2966,7 +2854,7 @@
"type": "string"
},
"source": {
- "description": "Client app identifier for verification. Download access and client-validation only.",
+ "description": "Client app identifier for verification. Download access and\nclient-validation only.",
"type": "string"
},
"timeWindowSeconds": {
@@ -2981,13 +2869,56 @@
},
"type": "object"
},
+ "DictionaryAnnotationdata": {
+ "id": "DictionaryAnnotationdata",
+ "properties": {
+ "annotationType": {
+ "description": "The type of annotation this data is for.",
+ "type": "string"
+ },
+ "data": {
+ "$ref": "Dictlayerdata",
+ "description": "JSON encoded data for this dictionary annotation data.\nEmitted with name 'data' in JSON output. Either this or geo_data will\nbe populated."
+ },
+ "encodedData": {
+ "description": "Base64 encoded data for this annotation data.",
+ "format": "byte",
+ "type": "string"
+ },
+ "id": {
+ "description": "Unique id for this annotation data.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Resource Type",
+ "type": "string"
+ },
+ "layerId": {
+ "description": "The Layer id for this data. *",
+ "type": "string"
+ },
+ "selfLink": {
+ "description": "URL for this resource. *",
+ "type": "string"
+ },
+ "updated": {
+ "description": "Timestamp for the last time this data was updated. (RFC 3339 UTC date-time\nformat).",
+ "type": "string"
+ },
+ "volumeId": {
+ "description": "The volume id for this data. *",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Dictlayerdata": {
"id": "Dictlayerdata",
"properties": {
"common": {
"properties": {
"title": {
- "description": "The display title and localized canonical name to use when searching for this entity on Google search.",
+ "description": "The display title and localized canonical name to use when searching for\nthis entity on Google search.",
"type": "string"
}
},
@@ -3155,7 +3086,7 @@
"type": "array"
},
"source": {
- "description": "The words with different meanings but not related words, e.g. \"go\" (game) and \"go\" (verb).",
+ "description": "The words with different meanings but not related words, e.g. \"go\"\n(game) and \"go\" (verb).",
"properties": {
"attribution": {
"type": "string"
@@ -3175,7 +3106,6 @@
"type": "object"
},
"kind": {
- "default": "books#dictlayerdata",
"type": "string"
}
},
@@ -3235,7 +3165,6 @@
"type": "array"
},
"kind": {
- "default": "books#discovery#clusters",
"description": "Resorce type.",
"type": "string"
},
@@ -3254,7 +3183,7 @@
"type": "boolean"
},
"downloadsAcquired": {
- "description": "If restricted, the number of content download licenses already acquired (including the requesting client, if licensed).",
+ "description": "If restricted, the number of content download licenses already acquired\n(including the requesting client, if licensed).",
"format": "int32",
"type": "integer"
},
@@ -3263,12 +3192,11 @@
"type": "boolean"
},
"kind": {
- "default": "books#downloadAccessRestriction",
"description": "Resource type.",
"type": "string"
},
"maxDownloadDevices": {
- "description": "If restricted, the maximum number of content download licenses for this volume.",
+ "description": "If restricted, the maximum number of content download licenses for this\nvolume.",
"format": "int32",
"type": "integer"
},
@@ -3281,7 +3209,7 @@
"type": "string"
},
"reasonCode": {
- "description": "Error/warning reason code. Additional codes may be added in the future. 0 OK 100 ACCESS_DENIED_PUBLISHER_LIMIT 101 ACCESS_DENIED_LIMIT 200 WARNING_USED_LAST_ACCESS",
+ "description": "Error/warning reason code. Additional codes may be added in the future. 0\nOK 100 ACCESS_DENIED_PUBLISHER_LIMIT 101 ACCESS_DENIED_LIMIT 200\nWARNING_USED_LAST_ACCESS",
"type": "string"
},
"restricted": {
@@ -3293,7 +3221,7 @@
"type": "string"
},
"source": {
- "description": "Client app identifier for verification. Download access and client-validation only.",
+ "description": "Client app identifier for verification. Download access and\nclient-validation only.",
"type": "string"
},
"volumeId": {
@@ -3314,18 +3242,22 @@
"type": "array"
},
"kind": {
- "default": "books#downloadAccesses",
"description": "Resource type.",
"type": "string"
}
},
"type": "object"
},
+ "Empty": {
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
+ },
"FamilyInfo": {
"id": "FamilyInfo",
"properties": {
"kind": {
- "default": "books#familyInfo",
"description": "Resource type.",
"type": "string"
},
@@ -3357,6 +3289,49 @@
},
"type": "object"
},
+ "GeoAnnotationdata": {
+ "id": "GeoAnnotationdata",
+ "properties": {
+ "annotationType": {
+ "description": "The type of annotation this data is for.",
+ "type": "string"
+ },
+ "data": {
+ "$ref": "Geolayerdata",
+ "description": "JSON encoded data for this geo annotation data.\nEmitted with name 'data' in JSON output. Either this or dict_data will\nbe populated."
+ },
+ "encodedData": {
+ "description": "Base64 encoded data for this annotation data.",
+ "format": "byte",
+ "type": "string"
+ },
+ "id": {
+ "description": "Unique id for this annotation data.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Resource Type",
+ "type": "string"
+ },
+ "layerId": {
+ "description": "The Layer id for this data. *",
+ "type": "string"
+ },
+ "selfLink": {
+ "description": "URL for this resource. *",
+ "type": "string"
+ },
+ "updated": {
+ "description": "Timestamp for the last time this data was updated. (RFC 3339 UTC date-time\nformat).",
+ "type": "string"
+ },
+ "volumeId": {
+ "description": "The volume id for this data. *",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Geolayerdata": {
"id": "Geolayerdata",
"properties": {
@@ -3379,7 +3354,7 @@
"type": "string"
},
"title": {
- "description": "The display title and localized canonical name to use when searching for this entity on Google search.",
+ "description": "The display title and localized canonical name to use when searching for\nthis entity on Google search.",
"type": "string"
}
},
@@ -3388,27 +3363,14 @@
"geo": {
"properties": {
"boundary": {
- "description": "The boundary of the location as a set of loops containing pairs of latitude, longitude coordinates.",
+ "description": "The boundary of the location as a set of loops containing pairs of\nlatitude, longitude coordinates.",
"items": {
- "items": {
- "properties": {
- "latitude": {
- "format": "uint32",
- "type": "integer"
- },
- "longitude": {
- "format": "uint32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "type": "array"
+ "type": "string"
},
"type": "array"
},
"cachePolicy": {
- "description": "The cache policy active for this data. EX: UNRESTRICTED, RESTRICTED, NEVER",
+ "description": "The cache policy active for this data. EX: UNRESTRICTED, RESTRICTED,\nNEVER",
"type": "string"
},
"countryCode": {
@@ -3426,11 +3388,11 @@
"type": "number"
},
"mapType": {
- "description": "The type of map that should be used for this location. EX: HYBRID, ROADMAP, SATELLITE, TERRAIN",
+ "description": "The type of map that should be used for this location. EX: HYBRID,\nROADMAP, SATELLITE, TERRAIN",
"type": "string"
},
"viewport": {
- "description": "The viewport for showing this location. This is a latitude, longitude rectangle.",
+ "description": "The viewport for showing this location. This is a latitude, longitude\nrectangle.",
"properties": {
"hi": {
"properties": {
@@ -3462,7 +3424,7 @@
"type": "object"
},
"zoom": {
- "description": "The Zoom level to use for the map. Zoom levels between 0 (the lowest zoom level, in which the entire world can be seen on one map) to 21+ (down to individual buildings). See: https://developers.google.com/maps/documentation/staticmaps/#Zoomlevels",
+ "description": "The Zoom level to use for the map. Zoom levels between 0 (the lowest zoom\nlevel, in which the entire world can be seen on one map) to 21+ (down to\nindividual buildings). See: https:\n//developers.google.com/maps/documentation/staticmaps/#Zoomlevels",
"format": "int32",
"type": "integer"
}
@@ -3470,7 +3432,6 @@
"type": "object"
},
"kind": {
- "default": "books#geolayerdata",
"type": "string"
}
},
@@ -3487,7 +3448,6 @@
"type": "array"
},
"kind": {
- "default": "books#layersummaries",
"description": "Resource type.",
"type": "string"
},
@@ -3536,7 +3496,6 @@
"type": "string"
},
"kind": {
- "default": "books#layersummary",
"description": "Resource Type",
"type": "string"
},
@@ -3549,12 +3508,11 @@
"type": "string"
},
"updated": {
- "description": "Timestamp for the last time an item in this layer was updated. (RFC 3339 UTC date-time format).",
- "format": "date-time",
+ "description": "Timestamp for the last time an item in this layer was updated. (RFC 3339\nUTC date-time format).",
"type": "string"
},
"volumeAnnotationsVersion": {
- "description": "The current version of this layer's volume annotations. Note that this version applies only to the data in the books.layers.volumeAnnotations.* responses. The actual annotation data is versioned separately.",
+ "description": "The current version of this layer's volume annotations. Note that this\nversion applies only to the data in the books.layers.volumeAnnotations.*\nresponses. The actual annotation data is versioned separately.",
"type": "string"
},
"volumeId": {
@@ -3594,7 +3552,6 @@
"type": "array"
},
"kind": {
- "default": "dictionary#metadata",
"description": "Resource type.",
"type": "string"
}
@@ -3631,7 +3588,6 @@
"type": "boolean"
},
"kind": {
- "default": "books#notification",
"description": "Resource type.",
"type": "string"
},
@@ -3711,7 +3667,6 @@
"type": "array"
},
"kind": {
- "default": "promooffer#offers",
"description": "Resource type.",
"type": "string"
}
@@ -3734,7 +3689,6 @@
"type": "string"
},
"kind": {
- "default": "books#readingPosition",
"description": "Resource type for a reading position.",
"type": "string"
},
@@ -3743,8 +3697,7 @@
"type": "string"
},
"updated": {
- "description": "Timestamp when this reading position was last updated (formatted UTC timestamp with millisecond resolution).",
- "format": "date-time",
+ "description": "Timestamp when this reading position was last updated (formatted UTC\ntimestamp with millisecond resolution).",
"type": "string"
},
"volumeId": {
@@ -3754,8 +3707,8 @@
},
"type": "object"
},
- "RequestAccess": {
- "id": "RequestAccess",
+ "RequestAccessData": {
+ "id": "RequestAccessData",
"properties": {
"concurrentAccess": {
"$ref": "ConcurrentAccessRestriction",
@@ -3766,7 +3719,6 @@
"description": "A download access response."
},
"kind": {
- "default": "books#requestAccess",
"description": "Resource type.",
"type": "string"
}
@@ -3799,16 +3751,15 @@
"type": "string"
},
"kind": {
- "default": "books#review",
"description": "Resource type for a review.",
"type": "string"
},
"rating": {
- "description": "Star rating for this review. Possible values are ONE, TWO, THREE, FOUR, FIVE or NOT_RATED.",
+ "description": "Star rating for this review. Possible values are ONE, TWO, THREE, FOUR,\nFIVE or NOT_RATED.",
"type": "string"
},
"source": {
- "description": "Information regarding the source of this review, when the review is not from a Google Books user.",
+ "description": "Information regarding the source of this review, when the review is not\nfrom a Google Books user.",
"properties": {
"description": {
"description": "Name of the source.",
@@ -3830,7 +3781,7 @@
"type": "string"
},
"type": {
- "description": "Source type for this review. Possible values are EDITORIAL, WEB_USER or GOOGLE_USER.",
+ "description": "Source type for this review. Possible values are EDITORIAL, WEB_USER or\nGOOGLE_USER.",
"type": "string"
},
"volumeId": {
@@ -3844,7 +3795,6 @@
"id": "Series",
"properties": {
"kind": {
- "default": "books#series",
"description": "Resource type.",
"type": "string"
},
@@ -3871,21 +3821,46 @@
},
"seriesSubscriptionReleaseInfo": {
"properties": {
- "cancellationTimestampUs": {
- "description": "Cancellation date of the series subscription (or when it ends).",
- "format": "int64",
+ "cancelTime": {
"type": "string"
},
"currentReleaseInfo": {
- "$ref": "BooksSubscriptionReleaseInfo",
- "description": "Release information for the last release."
+ "properties": {
+ "amountInMicros": {
+ "format": "double",
+ "type": "number"
+ },
+ "currencyCode": {
+ "type": "string"
+ },
+ "releaseNumber": {
+ "type": "string"
+ },
+ "releaseTime": {
+ "type": "string"
+ }
+ },
+ "type": "object"
},
"nextReleaseInfo": {
- "$ref": "BooksSubscriptionReleaseInfo",
- "description": "Release information for the next release."
+ "properties": {
+ "amountInMicros": {
+ "format": "double",
+ "type": "number"
+ },
+ "currencyCode": {
+ "type": "string"
+ },
+ "releaseNumber": {
+ "type": "string"
+ },
+ "releaseTime": {
+ "type": "string"
+ }
+ },
+ "type": "object"
},
"seriesSubscriptionType": {
- "description": "series subscription type.",
"type": "string"
}
},
@@ -3912,7 +3887,6 @@
"id": "Seriesmembership",
"properties": {
"kind": {
- "default": "books#series#membership",
"description": "Resorce type.",
"type": "string"
},
@@ -3932,7 +3906,6 @@
"id": "Usersettings",
"properties": {
"kind": {
- "default": "books#usersettings",
"description": "Resource type.",
"type": "string"
},
@@ -4000,14 +3973,14 @@
"id": "Volume",
"properties": {
"accessInfo": {
- "description": "Any information about a volume related to reading or obtaining that volume text. This information can depend on country (books may be public domain in one country but not in another, e.g.).",
+ "description": "Any information about a volume related to reading or obtaining that volume\ntext. This information can depend on country (books may be public domain in\none country but not in another, e.g.).",
"properties": {
"accessViewStatus": {
- "description": "Combines the access and viewability of this volume into a single status field for this user. Values can be FULL_PURCHASED, FULL_PUBLIC_DOMAIN, SAMPLE or NONE. (In LITE projection.)",
+ "description": "Combines the access and viewability of this volume into a single status\nfield for this user. Values can be FULL_PURCHASED, FULL_PUBLIC_DOMAIN,\nSAMPLE or NONE. (In LITE projection.)",
"type": "string"
},
"country": {
- "description": "The two-letter ISO_3166-1 country code for which this access information is valid. (In LITE projection.)",
+ "description": "The two-letter ISO_3166-1 country code for which this access information\nis valid. (In LITE projection.)",
"type": "string"
},
"downloadAccess": {
@@ -4015,11 +3988,11 @@
"description": "Information about a volume's download license access restrictions."
},
"driveImportedContentLink": {
- "description": "URL to the Google Drive viewer if this volume is uploaded by the user by selecting the file from Google Drive.",
+ "description": "URL to the Google Drive viewer if this volume is uploaded by the user by\nselecting the file from Google Drive.",
"type": "string"
},
"embeddable": {
- "description": "Whether this volume can be embedded in a viewport using the Embedded Viewer API.",
+ "description": "Whether this volume can be embedded in a viewport using the Embedded\nViewer API.",
"type": "boolean"
},
"epub": {
@@ -4034,14 +4007,14 @@
"type": "string"
},
"isAvailable": {
- "description": "Is a flowing text epub available either as public domain or for purchase. (In LITE projection.)",
+ "description": "Is a flowing text epub available either as public domain or for\npurchase. (In LITE projection.)",
"type": "boolean"
}
},
"type": "object"
},
"explicitOfflineLicenseManagement": {
- "description": "Whether this volume requires that the client explicitly request offline download license rather than have it done automatically when loading the content, if the client supports it.",
+ "description": "Whether this volume requires that the client explicitly request offline\ndownload license rather than have it done automatically when loading the\ncontent, if the client supports it.",
"type": "boolean"
},
"pdf": {
@@ -4056,7 +4029,7 @@
"type": "string"
},
"isAvailable": {
- "description": "Is a scanned image pdf available either as public domain or for purchase. (In LITE projection.)",
+ "description": "Is a scanned image pdf available either as public domain or for\npurchase. (In LITE projection.)",
"type": "boolean"
}
},
@@ -4071,26 +4044,26 @@
"type": "boolean"
},
"textToSpeechPermission": {
- "description": "Whether text-to-speech is permitted for this volume. Values can be ALLOWED, ALLOWED_FOR_ACCESSIBILITY, or NOT_ALLOWED.",
+ "description": "Whether text-to-speech is permitted for this volume. Values can be\nALLOWED, ALLOWED_FOR_ACCESSIBILITY, or NOT_ALLOWED.",
"type": "string"
},
"viewOrderUrl": {
- "description": "For ordered but not yet processed orders, we give a URL that can be used to go to the appropriate Google Wallet page.",
+ "description": "For ordered but not yet processed orders, we give a URL that can be used\nto go to the appropriate Google Wallet page.",
"type": "string"
},
"viewability": {
- "description": "The read access of a volume. Possible values are PARTIAL, ALL_PAGES, NO_PAGES or UNKNOWN. This value depends on the country listed above. A value of PARTIAL means that the publisher has allowed some portion of the volume to be viewed publicly, without purchase. This can apply to eBooks as well as non-eBooks. Public domain books will always have a value of ALL_PAGES.",
+ "description": "The read access of a volume. Possible values are PARTIAL, ALL_PAGES,\nNO_PAGES or UNKNOWN. This value depends on the country listed above. A\nvalue of PARTIAL means that the publisher has allowed some portion of the\nvolume to be viewed publicly, without purchase. This can apply to eBooks\nas well as non-eBooks. Public domain books will always have a value of\nALL_PAGES.",
"type": "string"
},
"webReaderLink": {
- "description": "URL to read this volume on the Google Books site. Link will not allow users to read non-viewable volumes.",
+ "description": "URL to read this volume on the Google Books site. Link will not allow\nusers to read non-viewable volumes.",
"type": "string"
}
},
"type": "object"
},
"etag": {
- "description": "Opaque identifier for a specific version of a volume resource. (In LITE projection)",
+ "description": "Opaque identifier for a specific version of a volume resource. (In LITE\nprojection)",
"type": "string"
},
"id": {
@@ -4098,7 +4071,6 @@
"type": "string"
},
"kind": {
- "default": "books#volume",
"description": "Resource type for a volume. (In LITE projection.)",
"type": "string"
},
@@ -4114,7 +4086,7 @@
"type": "string"
},
"volumeAnnotationsVersion": {
- "description": "The current version of this layer's volume annotations. Note that this version applies only to the data in the books.layers.volumeAnnotations.* responses. The actual annotation data is versioned separately.",
+ "description": "The current version of this layer's volume annotations. Note that this\nversion applies only to the data in the\nbooks.layers.volumeAnnotations.* responses. The actual annotation data\nis versioned separately.",
"type": "string"
}
},
@@ -4136,18 +4108,18 @@
"type": "object"
},
"saleInfo": {
- "description": "Any information about a volume related to the eBookstore and/or purchaseability. This information can depend on the country where the request originates from (i.e. books may not be for sale in certain countries).",
+ "description": "Any information about a volume related to the eBookstore and/or\npurchaseability. This information can depend on the country where the\nrequest originates from (i.e. books may not be for sale in certain\ncountries).",
"properties": {
"buyLink": {
- "description": "URL to purchase this volume on the Google Books site. (In LITE projection)",
+ "description": "URL to purchase this volume on the Google Books site. (In LITE\nprojection)",
"type": "string"
},
"country": {
- "description": "The two-letter ISO_3166-1 country code for which this sale information is valid. (In LITE projection.)",
+ "description": "The two-letter ISO_3166-1 country code for which this sale information is\nvalid. (In LITE projection.)",
"type": "string"
},
"isEbook": {
- "description": "Whether or not this volume is an eBook (can be added to the My eBooks shelf).",
+ "description": "Whether or not this volume is an eBook (can be added to the My eBooks\nshelf).",
"type": "boolean"
},
"listPrice": {
@@ -4224,11 +4196,10 @@
},
"onSaleDate": {
"description": "The date on which this book is available for sale.",
- "format": "date-time",
"type": "string"
},
"retailPrice": {
- "description": "The actual selling price of the book. This is the same as the suggested retail or list price unless there are offers or discounts on this volume. (In LITE projection.)",
+ "description": "The actual selling price of the book. This is the same as the suggested\nretail or list price unless there are offers or discounts on this volume.\n(In LITE projection.)",
"properties": {
"amount": {
"description": "Amount in the currency listed below. (In LITE projection.)",
@@ -4243,7 +4214,7 @@
"type": "object"
},
"saleability": {
- "description": "Whether or not this book is available for sale or offered for free in the Google eBookstore for the country listed above. Possible values are FOR_SALE, FOR_RENTAL_ONLY, FOR_SALE_AND_RENTAL, FREE, NOT_FOR_SALE, or FOR_PREORDER.",
+ "description": "Whether or not this book is available for sale or offered for free in the\nGoogle eBookstore for the country listed above. Possible values are\nFOR_SALE, FOR_RENTAL_ONLY, FOR_SALE_AND_RENTAL, FREE, NOT_FOR_SALE, or\nFOR_PREORDER.",
"type": "string"
}
},
@@ -4264,11 +4235,10 @@
"type": "string"
},
"userInfo": {
- "description": "User specific information related to this volume. (e.g. page this user last read or whether they purchased this book)",
+ "description": "User specific information related to this volume. (e.g. page this user last\nread or whether they purchased this book)",
"properties": {
"acquiredTime": {
- "description": "Timestamp when this volume was acquired by the user. (RFC 3339 UTC date-time format) Acquiring includes purchase, user upload, receiving family sharing, etc.",
- "format": "date-time",
+ "description": "Timestamp when this volume was acquired by the user. (RFC 3339 UTC\ndate-time format) Acquiring includes purchase, user upload, receiving\nfamily sharing, etc.",
"type": "string"
},
"acquisitionType": {
@@ -4291,7 +4261,6 @@
"type": "integer"
},
"updated": {
- "format": "date-time",
"type": "string"
}
},
@@ -4310,11 +4279,11 @@
"type": "string"
},
"isSharingAllowed": {
- "description": "Whether or not this volume can be shared with the family by the user. This includes sharing eligibility of both the volume and the user. If the value is true, the user can initiate a family sharing action.",
+ "description": "Whether or not this volume can be shared with the family by the user.\nThis includes sharing eligibility of both the volume and the user. If\nthe value is true, the user can initiate a family sharing action.",
"type": "boolean"
},
"isSharingDisabledByFop": {
- "description": "Whether or not sharing this volume is temporarily disabled due to issues with the Family Wallet.",
+ "description": "Whether or not sharing this volume is temporarily disabled due to\nissues with the Family Wallet.",
"type": "boolean"
}
},
@@ -4341,11 +4310,11 @@
"type": "boolean"
},
"isPreordered": {
- "description": "Whether or not this volume was pre-ordered by the authenticated user making the request. (In LITE projection.)",
+ "description": "Whether or not this volume was pre-ordered by the authenticated user\nmaking the request. (In LITE projection.)",
"type": "boolean"
},
"isPurchased": {
- "description": "Whether or not this volume was purchased by the authenticated user making the request. (In LITE projection.)",
+ "description": "Whether or not this volume was purchased by the authenticated user making\nthe request. (In LITE projection.)",
"type": "boolean"
},
"isUploaded": {
@@ -4354,7 +4323,7 @@
},
"readingPosition": {
"$ref": "ReadingPosition",
- "description": "The user's current reading position in the volume, if one is available. (In LITE projection.)"
+ "description": "The user's current reading position in the volume, if one is available.\n(In LITE projection.)"
},
"rentalPeriod": {
"description": "Period during this book is/was a valid rental.",
@@ -4379,8 +4348,7 @@
"description": "This user's review of this volume, if one exists."
},
"updated": {
- "description": "Timestamp when this volume was last modified by a user action, such as a reading position update, volume purchase or writing a review. (RFC 3339 UTC date-time format).",
- "format": "date-time",
+ "description": "Timestamp when this volume was last modified by a user action, such as a\nreading position update, volume purchase or writing a review. (RFC 3339\nUTC date-time format).",
"type": "string"
},
"userUploadedVolumeInfo": {
@@ -4402,7 +4370,7 @@
"type": "boolean"
},
"authors": {
- "description": "The names of the authors and/or editors for this volume. (In LITE projection)",
+ "description": "The names of the authors and/or editors for this volume. (In LITE\nprojection)",
"items": {
"type": "string"
},
@@ -4429,11 +4397,11 @@
"type": "boolean"
},
"contentVersion": {
- "description": "An identifier for the version of the volume content (text & images). (In LITE projection)",
+ "description": "An identifier for the version of the volume content (text & images). (In\nLITE projection)",
"type": "string"
},
"description": {
- "description": "A synopsis of the volume. The text of the description is formatted in HTML and includes simple formatting elements, such as b, i, and br tags. (In LITE projection.)",
+ "description": "A synopsis of the volume. The text of the description is formatted in\nHTML and includes simple formatting elements, such as b, i, and br tags.\n(In LITE projection.)",
"type": "string"
},
"dimensions": {
@@ -4455,10 +4423,10 @@
"type": "object"
},
"imageLinks": {
- "description": "A list of image links for all the sizes that are available. (In LITE projection.)",
+ "description": "A list of image links for all the sizes that are available. (In LITE\nprojection.)",
"properties": {
"extraLarge": {
- "description": "Image link for extra large size (width of ~1280 pixels). (In LITE projection)",
+ "description": "Image link for extra large size (width of ~1280 pixels). (In LITE\nprojection)",
"type": "string"
},
"large": {
@@ -4474,11 +4442,11 @@
"type": "string"
},
"smallThumbnail": {
- "description": "Image link for small thumbnail size (width of ~80 pixels). (In LITE projection)",
+ "description": "Image link for small thumbnail size (width of ~80 pixels). (In LITE\nprojection)",
"type": "string"
},
"thumbnail": {
- "description": "Image link for thumbnail size (width of ~128 pixels). (In LITE projection)",
+ "description": "Image link for thumbnail size (width of ~128 pixels). (In LITE\nprojection)",
"type": "string"
}
},
@@ -4502,15 +4470,15 @@
"type": "array"
},
"infoLink": {
- "description": "URL to view information about this volume on the Google Books site. (In LITE projection)",
+ "description": "URL to view information about this volume on the Google Books site. (In\nLITE projection)",
"type": "string"
},
"language": {
- "description": "Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as 'fr', 'en', etc.",
+ "description": "Best language for this volume (based on content). It is the two-letter\nISO 639-1 code such as 'fr', 'en', etc.",
"type": "string"
},
"mainCategory": {
- "description": "The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.",
+ "description": "The main category to which this volume belongs. It will be the category\nfrom the categories list returned below that has the highest weight.",
"type": "string"
},
"maturityRating": {
@@ -4567,7 +4535,15 @@
},
"readingModes": {
"description": "The reading modes available for this volume.",
- "type": "any"
+ "properties": {
+ "image": {
+ "type": "boolean"
+ },
+ "text": {
+ "type": "boolean"
+ }
+ },
+ "type": "object"
},
"samplePageCount": {
"description": "Total number of sample pages as per publisher metadata.",
@@ -4602,7 +4578,6 @@
"type": "array"
},
"kind": {
- "default": "onboarding#volume",
"description": "Resource type.",
"type": "string"
},
@@ -4662,7 +4637,6 @@
"type": "string"
},
"kind": {
- "default": "books#volumeannotation",
"description": "Resource Type",
"type": "string"
},
@@ -4686,8 +4660,7 @@
"type": "string"
},
"updated": {
- "description": "Timestamp for the last time this anntoation was updated. (RFC 3339 UTC date-time format).",
- "format": "date-time",
+ "description": "Timestamp for the last time this anntoation was updated. (RFC 3339 UTC\ndate-time format).",
"type": "string"
},
"volumeId": {
@@ -4708,12 +4681,11 @@
"type": "array"
},
"kind": {
- "default": "books#volumeannotations",
"description": "Resource type",
"type": "string"
},
"nextPageToken": {
- "description": "Token to pass in for pagination for the next page. This will not be present if this request does not have more results.",
+ "description": "Token to pass in for pagination for the next page. This will not be present\nif this request does not have more results.",
"type": "string"
},
"totalItems": {
@@ -4722,7 +4694,7 @@
"type": "integer"
},
"version": {
- "description": "The version string for all of the volume annotations in this layer (not just the ones in this response). Note: the version string doesn't apply to the annotation data, just the information in this response (e.g. the location of annotations in the book).",
+ "description": "The version string for all of the volume annotations in this layer (not\njust the ones in this response). Note: the version string\ndoesn't apply to the annotation data, just the information in this response\n(e.g. the location of annotations in the book).",
"type": "string"
}
},
@@ -4739,12 +4711,11 @@
"type": "array"
},
"kind": {
- "default": "books#volumes",
"description": "Resource type.",
"type": "string"
},
"totalItems": {
- "description": "Total number of volumes found. This might be greater than the number of volumes returned in this response if results have been paginated.",
+ "description": "Total number of volumes found. This might be greater than the number of\nvolumes returned in this response if results have been paginated.",
"format": "int32",
"type": "integer"
}
@@ -4755,11 +4726,10 @@
"id": "Volumeseriesinfo",
"properties": {
"bookDisplayNumber": {
- "description": "The display number string. This should be used only for display purposes and the actual sequence should be inferred from the below orderNumber.",
+ "description": "The display number string. This should be used only for display purposes\nand the actual sequence should be inferred from the below orderNumber.",
"type": "string"
},
"kind": {
- "default": "books#volume_series_info",
"description": "Resource type.",
"type": "string"
},
@@ -4792,7 +4762,7 @@
"type": "integer"
},
"seriesBookType": {
- "description": "The book type in the context of series. Examples - Single Issue, Collection Edition, etc.",
+ "description": "The book type in the context of series. Examples - Single Issue,\nCollection Edition, etc.",
"type": "string"
},
"seriesId": {
@@ -4808,7 +4778,8 @@
"type": "object"
}
},
- "servicePath": "books/v1/",
+ "servicePath": "",
"title": "Books API",
- "version": "v1"
+ "version": "v1",
+ "version_module": true
}
\ No newline at end of file
diff --git a/etc/api/calendar/v3/calendar-api.json b/etc/api/calendar/v3/calendar-api.json
index 8e90c296a9..4d2495c50d 100644
--- a/etc/api/calendar/v3/calendar-api.json
+++ b/etc/api/calendar/v3/calendar-api.json
@@ -26,7 +26,6 @@
"description": "Manipulates events and other calendar data.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/google-apps/calendar/firstapp",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/7Yu8Dg6pIx8hQ9JbwRYcDNjZYUM\"",
"icons": {
"x16": "http://www.google.com/images/icons/product/calendar-16.png",
"x32": "http://www.google.com/images/icons/product/calendar-32.png"
@@ -1724,7 +1723,7 @@
}
}
},
- "revision": "20200405",
+ "revision": "20200705",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Acl": {
@@ -1930,7 +1929,7 @@
},
"hidden": {
"default": "false",
- "description": "Whether the calendar has been hidden from the list. Optional. The default is False.",
+ "description": "Whether the calendar has been hidden from the list. Optional. The attribute is only returned when the calendar is hidden, in which case the value is true.",
"type": "boolean"
},
"id": {
@@ -2110,7 +2109,7 @@
},
"conferenceSolution": {
"$ref": "ConferenceSolution",
- "description": "The conference solution, such as Hangouts or Hangouts Meet.\nUnset for a conference with a failed create request.\nEither conferenceSolution and at least one entryPoint, or createRequest is required."
+ "description": "The conference solution, such as Hangouts or Google Meet.\nUnset for a conference with a failed create request.\nEither conferenceSolution and at least one entryPoint, or createRequest is required."
},
"createRequest": {
"$ref": "CreateConferenceRequest",
@@ -2205,7 +2204,7 @@
"id": "ConferenceSolutionKey",
"properties": {
"type": {
- "description": "The conference solution type.\nIf a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.\nThe possible values are: \n- \"eventHangout\" for Hangouts for consumers (http://hangouts.google.com)\n- \"eventNamedHangout\" for classic Hangouts for G Suite users (http://hangouts.google.com)\n- \"hangoutsMeet\" for Hangouts Meet (http://meet.google.com)\n- \"addOn\" for 3P conference providers",
+ "description": "The conference solution type.\nIf a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.\nThe possible values are: \n- \"eventHangout\" for Hangouts for consumers (http://hangouts.google.com)\n- \"eventNamedHangout\" for classic Hangouts for G Suite users (http://hangouts.google.com)\n- \"hangoutsMeet\" for Google Meet (http://meet.google.com)\n- \"addOn\" for 3P conference providers",
"type": "string"
}
},
@@ -2216,7 +2215,7 @@
"properties": {
"conferenceSolutionKey": {
"$ref": "ConferenceSolutionKey",
- "description": "The conference solution, such as Hangouts or Hangouts Meet."
+ "description": "The conference solution, such as Hangouts or Google Meet."
},
"requestId": {
"description": "The client-generated unique ID for this request.\nClients should regenerate this ID for every new request. If an ID provided is the same as for the previous request, the request is ignored.",
@@ -2325,7 +2324,7 @@
},
"conferenceData": {
"$ref": "ConferenceData",
- "description": "The conference-related information, such as details of a Hangouts Meet conference. To create new conference details use the createRequest field. To persist your changes, remember to set the conferenceDataVersion request parameter to 1 for all event modification requests."
+ "description": "The conference-related information, such as details of a Google Meet conference. To create new conference details use the createRequest field. To persist your changes, remember to set the conferenceDataVersion request parameter to 1 for all event modification requests."
},
"created": {
"description": "Creation time of the event (as a RFC3339 timestamp). Read-only.",
diff --git a/etc/api/chat/v1/chat-api.json b/etc/api/chat/v1/chat-api.json
index 2e7ab8193f..7ed95befc0 100644
--- a/etc/api/chat/v1/chat-api.json
+++ b/etc/api/chat/v1/chat-api.json
@@ -317,7 +317,7 @@
}
}
},
- "revision": "20200405",
+ "revision": "20200701",
"rootUrl": "https://chat.googleapis.com/",
"schemas": {
"ActionParameter": {
@@ -963,15 +963,23 @@
"id": "Space",
"properties": {
"displayName": {
- "description": "Output only. The display name (only if the space is a room).",
+ "description": "Output only. The display name (only if the space is a room).\nPlease note that this field might not be populated in direct messages\nbetween humans.",
"type": "string"
},
"name": {
"description": "Resource name of the space, in the form \"spaces/*\".\n\nExample: spaces/AAAAMpdlehYs",
"type": "string"
},
+ "singleUserBotDm": {
+ "description": "Whether the space is a DM between a bot and a single human.",
+ "type": "boolean"
+ },
+ "threaded": {
+ "description": "Whether the messages are threaded in this space.",
+ "type": "boolean"
+ },
"type": {
- "description": "Output only. The type of a space.",
+ "description": "Output only. The type of a space.\nThis is deprecated. Use `single_user_bot_dm` instead.",
"enum": [
"TYPE_UNSPECIFIED",
"ROOM",
@@ -979,7 +987,7 @@
],
"enumDescriptions": [
"",
- "A chat space where memberships are free to change. Messages in rooms are\nthreaded.",
+ "Multi-user spaces such as rooms and DMs between humans.",
"1:1 Direct Message between a human and a bot, where all messages are\nflat."
],
"type": "string"
diff --git a/etc/api/chromeuxreport/v1/chromeuxreport-api.json b/etc/api/chromeuxreport/v1/chromeuxreport-api.json
new file mode 100644
index 0000000000..f08e9fc33e
--- /dev/null
+++ b/etc/api/chromeuxreport/v1/chromeuxreport-api.json
@@ -0,0 +1,293 @@
+{
+ "basePath": "",
+ "baseUrl": "https://chromeuxreport.googleapis.com/",
+ "batchPath": "batch",
+ "canonicalName": "Chrome UX Report",
+ "description": "The Chrome UX Report API lets you view real user experience data for millions of websites.\n",
+ "discoveryVersion": "v1",
+ "documentationLink": "https://developers.google.com/web/tools/chrome-user-experience-report/api/reference",
+ "fullyEncodeReservedExpansion": true,
+ "icons": {
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
+ },
+ "id": "chromeuxreport:v1",
+ "kind": "discovery#restDescription",
+ "mtlsRootUrl": "https://chromeuxreport.mtls.googleapis.com/",
+ "name": "chromeuxreport",
+ "ownerDomain": "google.com",
+ "ownerName": "Google",
+ "parameters": {
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "alt": {
+ "default": "json",
+ "description": "Data format for response.",
+ "enum": [
+ "json",
+ "media",
+ "proto"
+ ],
+ "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",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "key": {
+ "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",
+ "type": "string"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "quotaUser": {
+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "protocol": "rest",
+ "resources": {
+ "records": {
+ "methods": {
+ "queryRecord": {
+ "description": "Queries the Chrome User Experience for a single `record` for a given site.\n\nReturns a `record` that contains one or more `metrics` corresponding to\nperformance data about the requested site.",
+ "flatPath": "v1/records:queryRecord",
+ "httpMethod": "POST",
+ "id": "chromeuxreport.records.queryRecord",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/records:queryRecord",
+ "request": {
+ "$ref": "QueryRequest"
+ },
+ "response": {
+ "$ref": "QueryResponse"
+ }
+ }
+ }
+ }
+ },
+ "revision": "20200708",
+ "rootUrl": "https://chromeuxreport.googleapis.com/",
+ "schemas": {
+ "Bin": {
+ "description": "A bin is a discrete portion of data spanning from start to end, or if no\nend is given, then from start to +inf.\n\nA bin's start and end values are given in the value type of the metric it\nrepresents. For example, \"first contentful paint\" is measured in\nmilliseconds and exposed as ints, therefore its metric bins will use int32s\nfor its start and end types. However, \"cumulative layout shift\" is measured\nin unitless decimals and is exposed as a decimal encoded as a string,\ntherefore its metric bins will use strings for its value type.",
+ "id": "Bin",
+ "properties": {
+ "density": {
+ "description": "The proportion of users that experienced this bin's value for the given\nmetric.",
+ "format": "double",
+ "type": "number"
+ },
+ "end": {
+ "description": "End is the end of the data bin. If end is not populated, then the bin has\nno end and is valid from start to +inf.",
+ "type": "any"
+ },
+ "start": {
+ "description": "Start is the beginning of the data bin.",
+ "type": "any"
+ }
+ },
+ "type": "object"
+ },
+ "Key": {
+ "description": "Key defines all the dimensions that identify this record as unique.",
+ "id": "Key",
+ "properties": {
+ "formFactor": {
+ "description": "The form factor is the device class that all users used to access the\nsite for this record.\n\nIf the form factor is unspecified, then aggregated data over all form\nfactors will be returned.",
+ "enum": [
+ "ALL_FORM_FACTORS",
+ "PHONE",
+ "DESKTOP",
+ "TABLET"
+ ],
+ "enumDescriptions": [
+ "The default value, representing all device classes.",
+ "The device class representing a \"mobile\"/\"phone\" sized client.",
+ "The device class representing a \"desktop\"/\"laptop\" type full size client.",
+ "The device class representing a \"tablet\" type client."
+ ],
+ "type": "string"
+ },
+ "origin": {
+ "description": "Origin specifies the origin that this record is for.\n\nNote: When specifying an origin, data for loads under this origin over\nall pages are aggregated into origin level user experience data.",
+ "type": "string"
+ },
+ "url": {
+ "description": "Url specifies a specific url that this record is for.\n\nNote: When specifying a \"url\" only data for that specific url will be\naggregated.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Metric": {
+ "description": "A `metric` is a set of user experience data for a single web performance\nmetric, like \"first contentful paint\". It contains a summary histogram of\nreal world Chrome usage as a series of `bins`.",
+ "id": "Metric",
+ "properties": {
+ "histogram": {
+ "description": "The histogram of user experiences for a metric. The histogram will have at\nleast one bin and the densities of all bins will add up to ~1.",
+ "items": {
+ "$ref": "Bin"
+ },
+ "type": "array"
+ },
+ "percentiles": {
+ "$ref": "Percentiles",
+ "description": "Common useful percentiles of the Metric. The value type for the\npercentiles will be the same as the value types given for the Histogram\nbins."
+ }
+ },
+ "type": "object"
+ },
+ "Percentiles": {
+ "description": "Percentiles contains synthetic values of a metric at a given statistical\npercentile. These are used for estimating a metric's value as experienced\nby a percentage of users out of the total number of users.",
+ "id": "Percentiles",
+ "properties": {
+ "p75": {
+ "description": "75% of users experienced the given metric at or below this value.",
+ "type": "any"
+ }
+ },
+ "type": "object"
+ },
+ "QueryRequest": {
+ "description": "Request payload sent by a physical web client.\n\nThis request includes all necessary context to load a particular\nuser experience record.",
+ "id": "QueryRequest",
+ "properties": {
+ "formFactor": {
+ "description": "The form factor is a query dimension that specifies the device class that\nthe record's data should belong to.\n\nNote: If no form factor is specified, then a special record with\naggregated data over all form factors will be returned.",
+ "enum": [
+ "ALL_FORM_FACTORS",
+ "PHONE",
+ "DESKTOP",
+ "TABLET"
+ ],
+ "enumDescriptions": [
+ "The default value, representing all device classes.",
+ "The device class representing a \"mobile\"/\"phone\" sized client.",
+ "The device class representing a \"desktop\"/\"laptop\" type full size client.",
+ "The device class representing a \"tablet\" type client."
+ ],
+ "type": "string"
+ },
+ "metrics": {
+ "description": "The metrics that should be included in the response.\nIf none are specified then any metrics found will be returned.\n\nAllowed values: [\"first_contentful_paint\",\n\"first_input_delay\", \"largest_contentful_paint\",\n\"cumulative_layout_shift\"]",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "origin": {
+ "description": "The url pattern \"origin\" refers to a url pattern that is the origin of\na website.\n\nExamples: \"https://example.com\", \"https://cloud.google.com\"",
+ "type": "string"
+ },
+ "url": {
+ "description": "The url pattern \"url\" refers to a url pattern that is any arbitrary url.\n\nExamples: \"https://example.com/\",\n \"https://cloud.google.com/why-google-cloud/\"",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "QueryResponse": {
+ "description": "Response payload sent back to a physical web client.\n\nThis response contains the record found based on the identiers present in a\n`QueryRequest`. The returned response will have a record, and sometimes\ndetails on normalization actions taken on the request that were necessary to\nmake the request successful.",
+ "id": "QueryResponse",
+ "properties": {
+ "record": {
+ "$ref": "Record",
+ "description": "The record that was found."
+ },
+ "urlNormalizationDetails": {
+ "$ref": "UrlNormalization",
+ "description": "These are details about automated normalization actions that were taken in\norder to make the requested `url_pattern` valid."
+ }
+ },
+ "type": "object"
+ },
+ "Record": {
+ "description": "Record is a single Chrome UX report data record. It contains use experience\nstatistics for a single url pattern and set of dimensions.",
+ "id": "Record",
+ "properties": {
+ "key": {
+ "$ref": "Key",
+ "description": "Key defines all of the unique querying parameters needed to look up a user\nexperience record."
+ },
+ "metrics": {
+ "additionalProperties": {
+ "$ref": "Metric"
+ },
+ "description": "Metrics is the map of user experience data available for the record defined\nin the key field. Metrics are keyed on the metric name.\n\nAllowed key values: [\"first_contentful_paint\",\n\"first_input_delay\", \"largest_contentful_paint\",\n\"cumulative_layout_shift\"]",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "UrlNormalization": {
+ "description": "Object representing the normalization actions taken to normalize a url to\nachieve a higher chance of successful lookup. These are simple automated\nchanges that are taken when looking up the provided `url_patten` would be\nknown to fail. Complex actions like following redirects are not handled.",
+ "id": "UrlNormalization",
+ "properties": {
+ "normalizedUrl": {
+ "description": "The URL after any normalization actions. This is a valid user experience\nURL that could reasonably be looked up.",
+ "type": "string"
+ },
+ "originalUrl": {
+ "description": "The original requested URL prior to any normalization actions.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "servicePath": "",
+ "title": "Chrome UX Report API",
+ "version": "v1",
+ "version_module": true
+}
\ No newline at end of file
diff --git a/etc/api/civicinfo/v2/civicinfo-api.json b/etc/api/civicinfo/v2/civicinfo-api.json
index 771935fa30..d5b162261c 100644
--- a/etc/api/civicinfo/v2/civicinfo-api.json
+++ b/etc/api/civicinfo/v2/civicinfo-api.json
@@ -1,34 +1,61 @@
{
- "basePath": "/civicinfo/v2/",
- "baseUrl": "https://www.googleapis.com/civicinfo/v2/",
- "batchPath": "batch/civicinfo/v2",
+ "basePath": "",
+ "baseUrl": "https://civicinfo.googleapis.com/",
+ "batchPath": "batch",
"canonicalName": "Civic Info",
"description": "Provides polling places, early vote locations, contest data, election officials, and government representatives for U.S. residential addresses.",
"discoveryVersion": "v1",
- "documentationLink": "https://developers.google.com/civic-information",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/1WnlVFZbiNK3xcDMHn8dwHwgifk\"",
+ "documentationLink": "https://developers.google.com/civic-information/",
"icons": {
- "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
- "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"id": "civicinfo:v2",
"kind": "discovery#restDescription",
+ "mtlsRootUrl": "https://civicinfo.mtls.googleapis.com/",
"name": "civicinfo",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "alt": {
- "default": "json",
- "description": "Data format for the response.",
+ "$.xgafv": {
+ "description": "V1 error format.",
"enum": [
- "json"
+ "1",
+ "2"
],
"enumDescriptions": [
- "Responses with Content-Type of application/json"
+ "v1 error format",
+ "v2 error format"
],
"location": "query",
"type": "string"
},
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "alt": {
+ "default": "json",
+ "description": "Data format for response.",
+ "enum": [
+ "json",
+ "media",
+ "proto"
+ ],
+ "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",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
@@ -51,12 +78,17 @@
"type": "boolean"
},
"quotaUser": {
- "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
+ "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",
"type": "string"
},
- "userIp": {
- "description": "Deprecated. Please use quotaUser instead.",
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
}
@@ -67,8 +99,10 @@
"methods": {
"search": {
"description": "Searches for political divisions by their natural name or OCD ID.",
+ "flatPath": "civicinfo/v2/divisions",
"httpMethod": "GET",
"id": "civicinfo.divisions.search",
+ "parameterOrder": [],
"parameters": {
"query": {
"description": "The search query. Queries can cover any parts of a OCD ID or a human readable division name. All words given in the query are treated as required patterns. In addition to that, most query operators of the Apache Lucene library are supported. See http://lucene.apache.org/core/2_9_4/queryparsersyntax.html",
@@ -76,10 +110,7 @@
"type": "string"
}
},
- "path": "divisions",
- "request": {
- "$ref": "DivisionSearchRequest"
- },
+ "path": "civicinfo/v2/divisions",
"response": {
"$ref": "DivisionSearchResponse"
}
@@ -90,18 +121,19 @@
"methods": {
"electionQuery": {
"description": "List of available elections to query.",
+ "flatPath": "civicinfo/v2/elections",
"httpMethod": "GET",
"id": "civicinfo.elections.electionQuery",
- "path": "elections",
- "request": {
- "$ref": "ElectionsQueryRequest"
- },
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "civicinfo/v2/elections",
"response": {
"$ref": "ElectionsQueryResponse"
}
},
"voterInfoQuery": {
"description": "Looks up information relevant to a voter based on the voter's registered address.",
+ "flatPath": "civicinfo/v2/voterinfo",
"httpMethod": "GET",
"id": "civicinfo.elections.voterInfoQuery",
"parameterOrder": [
@@ -116,7 +148,7 @@
},
"electionId": {
"default": "0",
- "description": "The unique ID of the election to look up. A list of election IDs can be obtained at https://www.googleapis.com/civicinfo/{version}/electionsIf no election ID is specified in the query and there is more than one election with data for the given voter, the additional elections are provided in the otherElections response field.",
+ "description": "The unique ID of the election to look up. A list of election IDs can be obtained at https://www.googleapis.com/civicinfo/{version}/elections. If no election ID is specified in the query and there is more than one election with data for the given voter, the additional elections are provided in the otherElections response field.",
"format": "int64",
"location": "query",
"type": "string"
@@ -129,15 +161,12 @@
},
"returnAllAvailableData": {
"default": "false",
- "description": "If set to true, the query will return the success codeand include any partial information when it is unable to determine a matching address or unable to determine the election for electionId=0 queries.",
+ "description": "If set to true, the query will return the success code and include any partial information when it is unable to determine a matching address or unable to determine the election for electionId=0 queries.",
"location": "query",
"type": "boolean"
}
},
- "path": "voterinfo",
- "request": {
- "$ref": "VoterInfoRequest"
- },
+ "path": "civicinfo/v2/voterinfo",
"response": {
"$ref": "VoterInfoResponse"
}
@@ -148,11 +177,13 @@
"methods": {
"representativeInfoByAddress": {
"description": "Looks up political geography and representative information for a single address.",
+ "flatPath": "civicinfo/v2/representatives",
"httpMethod": "GET",
"id": "civicinfo.representatives.representativeInfoByAddress",
+ "parameterOrder": [],
"parameters": {
"address": {
- "description": "The address to look up. May only be specified if the field ocdId is not given in the URL.",
+ "description": "The address to look up. May only be specified if the field ocdId is not given in the URL",
"location": "query",
"type": "string"
},
@@ -165,26 +196,15 @@
"levels": {
"description": "A list of office levels to filter by. Only offices that serve at least one of these levels will be returned. Divisions that don't contain a matching office will not be returned.",
"enum": [
- "administrativeArea1",
- "administrativeArea2",
- "country",
"international",
- "locality",
+ "country",
+ "administrativeArea1",
"regional",
- "special",
+ "administrativeArea2",
+ "locality",
"subLocality1",
- "subLocality2"
- ],
- "enumDescriptions": [
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- ""
+ "subLocality2",
+ "special"
],
"location": "query",
"repeated": true,
@@ -193,46 +213,31 @@
"roles": {
"description": "A list of office roles to filter by. Only offices fulfilling one of these roles will be returned. Divisions that don't contain a matching office will not be returned.",
"enum": [
- "deputyHeadOfGovernment",
- "executiveCouncil",
- "governmentOfficer",
- "headOfGovernment",
"headOfState",
+ "headOfGovernment",
+ "deputyHeadOfGovernment",
+ "governmentOfficer",
+ "executiveCouncil",
+ "legislatorUpperBody",
+ "legislatorLowerBody",
"highestCourtJudge",
"judge",
- "legislatorLowerBody",
- "legislatorUpperBody",
"schoolBoard",
"specialPurposeOfficer"
],
- "enumDescriptions": [
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- ""
- ],
"location": "query",
"repeated": true,
"type": "string"
}
},
- "path": "representatives",
- "request": {
- "$ref": "RepresentativeInfoRequest"
- },
+ "path": "civicinfo/v2/representatives",
"response": {
"$ref": "RepresentativeInfoResponse"
}
},
"representativeInfoByDivision": {
"description": "Looks up representative information for a single geographic division.",
+ "flatPath": "civicinfo/v2/representatives/{ocdId}",
"httpMethod": "GET",
"id": "civicinfo.representatives.representativeInfoByDivision",
"parameterOrder": [
@@ -242,26 +247,15 @@
"levels": {
"description": "A list of office levels to filter by. Only offices that serve at least one of these levels will be returned. Divisions that don't contain a matching office will not be returned.",
"enum": [
- "administrativeArea1",
- "administrativeArea2",
- "country",
"international",
- "locality",
+ "country",
+ "administrativeArea1",
"regional",
- "special",
+ "administrativeArea2",
+ "locality",
"subLocality1",
- "subLocality2"
- ],
- "enumDescriptions": [
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- ""
+ "subLocality2",
+ "special"
],
"location": "query",
"repeated": true,
@@ -281,40 +275,24 @@
"roles": {
"description": "A list of office roles to filter by. Only offices fulfilling one of these roles will be returned. Divisions that don't contain a matching office will not be returned.",
"enum": [
- "deputyHeadOfGovernment",
- "executiveCouncil",
- "governmentOfficer",
- "headOfGovernment",
"headOfState",
+ "headOfGovernment",
+ "deputyHeadOfGovernment",
+ "governmentOfficer",
+ "executiveCouncil",
+ "legislatorUpperBody",
+ "legislatorLowerBody",
"highestCourtJudge",
"judge",
- "legislatorLowerBody",
- "legislatorUpperBody",
"schoolBoard",
"specialPurposeOfficer"
],
- "enumDescriptions": [
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- ""
- ],
"location": "query",
"repeated": true,
"type": "string"
}
},
- "path": "representatives/{ocdId}",
- "request": {
- "$ref": "DivisionRepresentativeInfoRequest"
- },
+ "path": "civicinfo/v2/representatives/{ocdId}",
"response": {
"$ref": "RepresentativeInfoData"
}
@@ -322,8 +300,8 @@
}
}
},
- "revision": "20191030",
- "rootUrl": "https://www.googleapis.com/",
+ "revision": "20200706",
+ "rootUrl": "https://civicinfo.googleapis.com/",
"schemas": {
"AdministrationRegion": {
"description": "Describes information about a regional election administrative area.",
@@ -363,12 +341,6 @@
"description": "A URL provided by this administrative body for information on absentee voting.",
"type": "string"
},
- "addressLines": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
"ballotInfoUrl": {
"description": "A URL provided by this administrative body to give contest information to the voter.",
"type": "string"
@@ -518,7 +490,29 @@
},
"level": {
"description": "The levels of government of the office for this contest. There may be more than one in cases where a jurisdiction effectively acts at two different levels of government; for example, the mayor of the District of Columbia acts at \"locality\" level, but also effectively at both \"administrative-area-2\" and \"administrative-area-1\".",
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
"items": {
+ "enum": [
+ "international",
+ "country",
+ "administrativeArea1",
+ "regional",
+ "administrativeArea2",
+ "locality",
+ "subLocality1",
+ "subLocality2",
+ "special"
+ ],
"type": "string"
},
"type": "array"
@@ -537,8 +531,15 @@
"description": "The name of the office for this contest.",
"type": "string"
},
+ "primaryParties": {
+ "description": "If this is a partisan election, the name of the party/parties it is for.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"primaryParty": {
- "description": "If this is a partisan election, the name of the party it is for.",
+ "description": "[DEPRECATED] If this is a partisan election, the name of the party it is for. This field as deprecated in favor of the array \"primaryParties\", as contests may contain more than one party.",
"type": "string"
},
"referendumBallotResponses": {
@@ -586,7 +587,33 @@
},
"roles": {
"description": "The roles which this office fulfills.",
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
"items": {
+ "enum": [
+ "headOfState",
+ "headOfGovernment",
+ "deputyHeadOfGovernment",
+ "governmentOfficer",
+ "executiveCouncil",
+ "legislatorUpperBody",
+ "legislatorLowerBody",
+ "highestCourtJudge",
+ "judge",
+ "schoolBoard",
+ "specialPurposeOfficer"
+ ],
"type": "string"
},
"type": "array"
@@ -609,35 +636,6 @@
},
"type": "object"
},
- "ContextParams": {
- "id": "ContextParams",
- "properties": {
- "clientProfile": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "DivisionRepresentativeInfoRequest": {
- "description": "A request to look up representative information for a single division.",
- "id": "DivisionRepresentativeInfoRequest",
- "properties": {
- "contextParams": {
- "$ref": "ContextParams"
- }
- },
- "type": "object"
- },
- "DivisionSearchRequest": {
- "description": "A search request for political geographies.",
- "id": "DivisionSearchRequest",
- "properties": {
- "contextParams": {
- "$ref": "ContextParams"
- }
- },
- "type": "object"
- },
"DivisionSearchResponse": {
"description": "The result of a division search query.",
"id": "DivisionSearchResponse",
@@ -672,7 +670,7 @@
"type": "string"
},
"ocdId": {
- "description": "The unique Open Civic Data identifier for this division.",
+ "description": "The unique Open Civic Data identifier for this division",
"type": "string"
}
},
@@ -729,15 +727,6 @@
},
"type": "object"
},
- "ElectionsQueryRequest": {
- "id": "ElectionsQueryRequest",
- "properties": {
- "contextParams": {
- "$ref": "ContextParams"
- }
- },
- "type": "object"
- },
"ElectionsQueryResponse": {
"description": "The list of elections available for this version of the API.",
"id": "ElectionsQueryResponse",
@@ -765,35 +754,55 @@
"description": "An identifier for this district, relative to its scope. For example, the 34th State Senate district would have id \"34\" and a scope of stateUpper.",
"type": "string"
},
- "kgForeignKey": {
- "type": "string"
- },
"name": {
"description": "The name of the district.",
"type": "string"
},
"scope": {
"description": "The geographic scope of this district. If unspecified the district's geography is not known. One of: national, statewide, congressional, stateUpper, stateLower, countywide, judicial, schoolBoard, cityWide, township, countyCouncil, cityCouncil, ward, special",
+ "enum": [
+ "statewide",
+ "congressional",
+ "stateUpper",
+ "stateLower",
+ "countywide",
+ "judicial",
+ "schoolBoard",
+ "citywide",
+ "special",
+ "countyCouncil",
+ "township",
+ "ward",
+ "cityCouncil",
+ "national"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
"type": "string"
}
},
"type": "object"
},
- "FieldMetadataProto": {
- "id": "FieldMetadataProto",
- "properties": {
- "internal": {
- "$ref": "InternalFieldMetadataProto"
- }
- },
- "type": "object"
- },
"GeographicDivision": {
"description": "Describes a political geography.",
"id": "GeographicDivision",
"properties": {
"alsoKnownAs": {
- "description": "Any other valid OCD IDs that refer to the same division.\n\nBecause OCD IDs are meant to be human-readable and at least somewhat predictable, there are occasionally several identifiers for a single division. These identifiers are defined to be equivalent to one another, and one is always indicated as the primary identifier. The primary identifier will be returned in ocd_id above, and any other equivalent valid identifiers will be returned in this list.\n\nFor example, if this division's OCD ID is ocd-division/country:us/district:dc, this will contain ocd-division/country:us/state:dc.",
+ "description": "Any other valid OCD IDs that refer to the same division.\\n\\nBecause OCD IDs are meant to be human-readable and at least somewhat predictable, there are occasionally several identifiers for a single division. These identifiers are defined to be equivalent to one another, and one is always indicated as the primary identifier. The primary identifier will be returned in ocd_id above, and any other equivalent valid identifiers will be returned in this list.\\n\\nFor example, if this division's OCD ID is ocd-division/country:us/district:dc, this will contain ocd-division/country:us/state:dc.",
"items": {
"type": "string"
},
@@ -814,30 +823,6 @@
},
"type": "object"
},
- "InternalFieldMetadataProto": {
- "id": "InternalFieldMetadataProto",
- "properties": {
- "isAuto": {
- "type": "boolean"
- },
- "sourceSummary": {
- "$ref": "InternalSourceSummaryProto"
- }
- },
- "type": "object"
- },
- "InternalSourceSummaryProto": {
- "id": "InternalSourceSummaryProto",
- "properties": {
- "dataset": {
- "type": "string"
- },
- "provider": {
- "type": "string"
- }
- },
- "type": "object"
- },
"Office": {
"description": "Information about an Office held by one or more Officials.",
"id": "Office",
@@ -848,7 +833,29 @@
},
"levels": {
"description": "The levels of government of which this office is part. There may be more than one in cases where a jurisdiction effectively acts at two different levels of government; for example, the mayor of the District of Columbia acts at \"locality\" level, but also effectively at both \"administrative-area-2\" and \"administrative-area-1\".",
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
"items": {
+ "enum": [
+ "international",
+ "country",
+ "administrativeArea1",
+ "regional",
+ "administrativeArea2",
+ "locality",
+ "subLocality1",
+ "subLocality2",
+ "special"
+ ],
"type": "string"
},
"type": "array"
@@ -867,7 +874,33 @@
},
"roles": {
"description": "The roles which this office fulfills. Roles are not meant to be exhaustive, or to exactly specify the entire set of responsibilities of a given office, but are meant to be rough categories that are useful for general selection from or sorting of a list of offices.",
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
"items": {
+ "enum": [
+ "headOfState",
+ "headOfGovernment",
+ "deputyHeadOfGovernment",
+ "governmentOfficer",
+ "executiveCouncil",
+ "legislatorUpperBody",
+ "legislatorLowerBody",
+ "highestCourtJudge",
+ "judge",
+ "schoolBoard",
+ "specialPurposeOfficer"
+ ],
"type": "string"
},
"type": "array"
@@ -936,23 +969,6 @@
},
"type": "object"
},
- "PointProto": {
- "id": "PointProto",
- "properties": {
- "latE7": {
- "format": "uint32",
- "type": "integer"
- },
- "lngE7": {
- "format": "uint32",
- "type": "integer"
- },
- "metadata": {
- "$ref": "FieldMetadataProto"
- }
- },
- "type": "object"
- },
"PollingLocation": {
"description": "A location where a voter can vote. This may be an early vote site, an election day voting location, or a drop off location for a completed ballot.",
"id": "PollingLocation",
@@ -1009,124 +1025,14 @@
},
"type": "object"
},
- "PostalAddress": {
- "id": "PostalAddress",
- "properties": {
- "addressLines": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "administrativeAreaName": {
- "type": "string"
- },
- "countryName": {
- "type": "string"
- },
- "countryNameCode": {
- "type": "string"
- },
- "dependentLocalityName": {
- "type": "string"
- },
- "dependentThoroughfareName": {
- "type": "string"
- },
- "firmName": {
- "type": "string"
- },
- "isDisputed": {
- "type": "boolean"
- },
- "languageCode": {
- "type": "string"
- },
- "localityName": {
- "type": "string"
- },
- "postBoxNumber": {
- "type": "string"
- },
- "postalCodeNumber": {
- "type": "string"
- },
- "postalCodeNumberExtension": {
- "type": "string"
- },
- "premiseName": {
- "type": "string"
- },
- "recipientName": {
- "type": "string"
- },
- "sortingCode": {
- "type": "string"
- },
- "subAdministrativeAreaName": {
- "type": "string"
- },
- "subPremiseName": {
- "type": "string"
- },
- "thoroughfareName": {
- "type": "string"
- },
- "thoroughfareNumber": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "Provenance": {
- "id": "Provenance",
- "properties": {
- "collidedSegmentSource": {
- "$ref": "StreetSegmentList"
- },
- "ctclContestUuid": {
- "type": "string"
- },
- "ctclOfficeUuid": {
- "type": "string"
- },
- "datasetId": {
- "format": "int64",
- "type": "string"
- },
- "precinctId": {
- "format": "int64",
- "type": "string"
- },
- "precinctSplitId": {
- "format": "int64",
- "type": "string"
- },
- "tsStreetSegmentId": {
- "type": "string"
- },
- "vip5PrecinctId": {
- "type": "string"
- },
- "vip5StreetSegmentId": {
- "type": "string"
- },
- "vipStreetSegmentId": {
- "format": "int64",
- "type": "string"
- }
- },
- "type": "object"
- },
"RepresentativeInfoData": {
"id": "RepresentativeInfoData",
"properties": {
"divisions": {
"additionalProperties": {
- "$ref": "GeographicDivision",
- "description": "The unique Open Civic Data identifier for this division."
+ "$ref": "GeographicDivision"
},
- "description": "Political geographic divisions that contain the requested address.",
+ "description": "A map of political geographic divisions that contain the requested address, keyed by the unique Open Civic Data identifier for this division.",
"type": "object"
},
"offices": {
@@ -1146,26 +1052,15 @@
},
"type": "object"
},
- "RepresentativeInfoRequest": {
- "description": "A request for political geography and representative information for an address.",
- "id": "RepresentativeInfoRequest",
- "properties": {
- "contextParams": {
- "$ref": "ContextParams"
- }
- },
- "type": "object"
- },
"RepresentativeInfoResponse": {
"description": "The result of a representative info lookup query.",
"id": "RepresentativeInfoResponse",
"properties": {
"divisions": {
"additionalProperties": {
- "$ref": "GeographicDivision",
- "description": "The unique Open Civic Data identifier for this division."
+ "$ref": "GeographicDivision"
},
- "description": "Political geographic divisions that contain the requested address.",
+ "description": "A map of political geographic divisions that contain the requested address, keyed by the unique Open Civic Data identifier for this division.",
"type": "object"
},
"kind": {
@@ -1244,202 +1139,6 @@
},
"type": "object"
},
- "StreetSegment": {
- "id": "StreetSegment",
- "properties": {
- "administrationRegionIds": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "beforeGeocodeId": {
- "type": "string"
- },
- "catalistUniquePrecinctCode": {
- "type": "string"
- },
- "city": {
- "type": "string"
- },
- "cityCouncilDistrict": {
- "type": "string"
- },
- "congressionalDistrict": {
- "type": "string"
- },
- "contestIds": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "countyCouncilDistrict": {
- "type": "string"
- },
- "countyFips": {
- "type": "string"
- },
- "datasetId": {
- "format": "int64",
- "type": "string"
- },
- "earlyVoteSiteByIds": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "endHouseNumber": {
- "format": "int64",
- "type": "string"
- },
- "geocodedPoint": {
- "$ref": "PointProto"
- },
- "geographicDivisionOcdIds": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "id": {
- "type": "string"
- },
- "judicialDistrict": {
- "type": "string"
- },
- "mailOnly": {
- "type": "boolean"
- },
- "municipalDistrict": {
- "type": "string"
- },
- "ncoaAddress": {
- "type": "string"
- },
- "oddOrEvens": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "originalId": {
- "type": "string"
- },
- "pollinglocationByIds": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "precinctName": {
- "type": "string"
- },
- "precinctOcdId": {
- "type": "string"
- },
- "provenances": {
- "items": {
- "$ref": "Provenance"
- },
- "type": "array"
- },
- "published": {
- "type": "boolean"
- },
- "schoolDistrict": {
- "type": "string"
- },
- "startHouseNumber": {
- "format": "int64",
- "type": "string"
- },
- "startLatE7": {
- "format": "int32",
- "type": "integer"
- },
- "startLngE7": {
- "format": "int32",
- "type": "integer"
- },
- "state": {
- "type": "string"
- },
- "stateHouseDistrict": {
- "type": "string"
- },
- "stateSenateDistrict": {
- "type": "string"
- },
- "streetName": {
- "type": "string"
- },
- "subAdministrativeAreaName": {
- "type": "string"
- },
- "surrogateId": {
- "format": "int64",
- "type": "string"
- },
- "targetsmartUniquePrecinctCode": {
- "type": "string"
- },
- "townshipDistrict": {
- "type": "string"
- },
- "unitNumber": {
- "type": "string"
- },
- "unitType": {
- "type": "string"
- },
- "vanPrecinctCode": {
- "type": "string"
- },
- "voterGeographicDivisionOcdIds": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "wardDistrict": {
- "type": "string"
- },
- "wildcard": {
- "type": "boolean"
- },
- "zip": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "StreetSegmentList": {
- "id": "StreetSegmentList",
- "properties": {
- "segments": {
- "items": {
- "$ref": "StreetSegment"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VoterInfoRequest": {
- "description": "A request for information about a voter.",
- "id": "VoterInfoRequest",
- "properties": {
- "contextParams": {
- "$ref": "ContextParams"
- },
- "voterInfoSegmentResult": {
- "$ref": "VoterInfoSegmentResult"
- }
- },
- "type": "object"
- },
"VoterInfoResponse": {
"description": "The result of a voter info lookup query.",
"id": "VoterInfoResponse",
@@ -1499,12 +1198,6 @@
"precinctId": {
"type": "string"
},
- "segments": {
- "items": {
- "$ref": "StreetSegment"
- },
- "type": "array"
- },
"state": {
"description": "Local Election Information for the state that the voter votes in. For the US, there will only be one element in this array.",
"items": {
@@ -1514,28 +1207,10 @@
}
},
"type": "object"
- },
- "VoterInfoSegmentResult": {
- "id": "VoterInfoSegmentResult",
- "properties": {
- "generatedMillis": {
- "format": "int64",
- "type": "string"
- },
- "postalAddress": {
- "$ref": "PostalAddress"
- },
- "request": {
- "$ref": "VoterInfoRequest"
- },
- "response": {
- "$ref": "VoterInfoResponse"
- }
- },
- "type": "object"
}
},
- "servicePath": "civicinfo/v2/",
+ "servicePath": "",
"title": "Google Civic Information API",
- "version": "v2"
+ "version": "v2",
+ "version_module": true
}
\ No newline at end of file
diff --git a/etc/api/classroom/v1/classroom-api.json b/etc/api/classroom/v1/classroom-api.json
index 9382a41245..528311d7a8 100644
--- a/etc/api/classroom/v1/classroom-api.json
+++ b/etc/api/classroom/v1/classroom-api.json
@@ -1343,7 +1343,7 @@
"type": "string"
},
"pageSize": {
- "description": "Maximum number of items to return. Zero means no maximum.\n\nThe server may return fewer than the specified number of results.",
+ "description": "Maximum number of items to return. The default is 30 if unspecified or `0`.\n\nThe server may return fewer than the specified number of results.",
"format": "int32",
"location": "query",
"type": "integer"
@@ -1479,7 +1479,7 @@
"type": "string"
},
"pageSize": {
- "description": "Maximum number of items to return. Zero means no maximum.\n\nThe server may return fewer than the specified number of results.",
+ "description": "Maximum number of items to return. The default is 30 if unspecified or `0`.\n\nThe server may return fewer than the specified number of results.",
"format": "int32",
"location": "query",
"type": "integer"
@@ -1781,7 +1781,7 @@
"type": "string"
},
"pageSize": {
- "description": "Maximum number of items to return. Zero means no maximum.\n\nThe server may return fewer than the specified number of results.",
+ "description": "Maximum number of items to return. The default is 500 if unspecified or\n`0`.\n\nThe server may return fewer than the specified number of results.",
"format": "int32",
"location": "query",
"type": "integer"
@@ -2153,7 +2153,7 @@
}
}
},
- "revision": "20200408",
+ "revision": "20200708",
"rootUrl": "https://classroom.googleapis.com/",
"schemas": {
"Announcement": {
diff --git a/etc/api/cloudasset/v1/cloudasset-api.json b/etc/api/cloudasset/v1/cloudasset-api.json
index 37c1d5fe58..0a6833e098 100644
--- a/etc/api/cloudasset/v1/cloudasset-api.json
+++ b/etc/api/cloudasset/v1/cloudasset-api.json
@@ -272,7 +272,7 @@
"v1": {
"methods": {
"batchGetAssetsHistory": {
- "description": "Batch gets the update history of assets that overlap a time window.\nFor RESOURCE content, this API outputs history with asset in both\nnon-delete or deleted status.\nFor IAM_POLICY content, this API outputs history when the asset and its\nattached IAM POLICY both exist. This can create gaps in the output history.\nIf a specified asset does not exist, this API returns an INVALID_ARGUMENT\nerror.",
+ "description": "Batch gets the update history of assets that overlap a time window.\nFor IAM_POLICY content, this API outputs history when the asset and its\nattached IAM POLICY both exist. This can create gaps in the output history.\nOtherwise, this API outputs history with asset in both non-delete or\ndeleted status.\nIf a specified asset does not exist, this API returns an INVALID_ARGUMENT\nerror.",
"flatPath": "v1/{v1Id}/{v1Id1}:batchGetAssetsHistory",
"httpMethod": "GET",
"id": "cloudasset.batchGetAssetsHistory",
@@ -281,7 +281,7 @@
],
"parameters": {
"assetNames": {
- "description": "A list of the full names of the assets. For example:\n`//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.\nSee [Resource\nNames](https://cloud.google.com/apis/design/resource_names#full_resource_name)\nand [Resource Name\nFormat](https://cloud.google.com/asset-inventory/docs/resource-name-format)\nfor more info.\n\nThe request becomes a no-op if the asset name list is empty, and the max\nsize of the asset name list is 100 in one request.",
+ "description": "A list of the full names of the assets.\nSee: https://cloud.google.com/asset-inventory/docs/resource-name-format\nExample:\n\n`//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.\n\nThe request becomes a no-op if the asset name list is empty, and the max\nsize of the asset name list is 100 in one request.",
"location": "query",
"repeated": true,
"type": "string"
@@ -327,7 +327,7 @@
]
},
"exportAssets": {
- "description": "Exports assets with time and resource types to a given Cloud Storage\nlocation. The output format is newline-delimited JSON.\nThis API implements the google.longrunning.Operation API allowing you\nto keep track of the export.",
+ "description": "Exports assets with time and resource types to a given Cloud Storage\nlocation/BigQuery table. For Cloud Storage location destinations, the\noutput format is newline-delimited JSON. Each line represents a\ngoogle.cloud.asset.v1.Asset in the JSON format; for BigQuery table\ndestinations, the output table stores the fields in asset proto as columns.\nThis API implements the google.longrunning.Operation API\n, which allows you to keep track of the export. We recommend intervals of\nat least 2 seconds with exponential retry to poll the export operation\nresult. For regular-size resource parent, the export operation usually\nfinishes within 5 minutes.",
"flatPath": "v1/{v1Id}/{v1Id1}:exportAssets",
"httpMethod": "POST",
"id": "cloudasset.exportAssets",
@@ -357,28 +357,30 @@
}
}
},
- "revision": "20200403",
+ "revision": "20200613",
"rootUrl": "https://cloudasset.googleapis.com/",
"schemas": {
"Asset": {
- "description": "An asset in Google Cloud. An asset can be any resource in the Google Cloud\n[resource\nhierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),\na resource outside the Google Cloud resource hierarchy (such as Google\nKubernetes Engine clusters and objects), or a Cloud IAM policy.",
+ "description": "An asset in Google Cloud. An asset can be any resource in the Google Cloud\n[resource\nhierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),\na resource outside the Google Cloud resource hierarchy (such as Google\nKubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy).\nSee [Supported asset\ntypes](https://cloud.google.com/asset-inventory/docs/supported-asset-types)\nfor more information.",
"id": "Asset",
"properties": {
"accessLevel": {
- "$ref": "GoogleIdentityAccesscontextmanagerV1AccessLevel"
+ "$ref": "GoogleIdentityAccesscontextmanagerV1AccessLevel",
+ "description": "Please also refer to the [access level user\nguide](https://cloud.google.com/access-context-manager/docs/overview#access-levels)."
},
"accessPolicy": {
- "$ref": "GoogleIdentityAccesscontextmanagerV1AccessPolicy"
+ "$ref": "GoogleIdentityAccesscontextmanagerV1AccessPolicy",
+ "description": "Please also refer to the [access policy user\nguide](https://cloud.google.com/access-context-manager/docs/overview#access-policies)."
},
"ancestors": {
- "description": "The ancestry path of an asset in Google Cloud [resource\nhierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),\nrepresented as a list of relative resource names. An ancestry path starts\nwith the closest ancestor in the hierarchy and ends at root. If the asset\nis a project, folder, or organization, the ancestry path starts from the\nasset itself.\n\nFor example: `[\"projects/123456789\", \"folders/5432\", \"organizations/1234\"]`",
+ "description": "The ancestry path of an asset in Google Cloud [resource\nhierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),\nrepresented as a list of relative resource names. An ancestry path starts\nwith the closest ancestor in the hierarchy and ends at root. If the asset\nis a project, folder, or organization, the ancestry path starts from the\nasset itself.\n\nExample: `[\"projects/123456789\", \"folders/5432\", \"organizations/1234\"]`",
"items": {
"type": "string"
},
"type": "array"
},
"assetType": {
- "description": "The type of the asset. For example: \"compute.googleapis.com/Disk\"\n\nSee [Supported asset\ntypes](https://cloud.google.com/asset-inventory/docs/supported-asset-types)\nfor more information.",
+ "description": "The type of the asset. Example: `compute.googleapis.com/Disk`\n\nSee [Supported asset\ntypes](https://cloud.google.com/asset-inventory/docs/supported-asset-types)\nfor more information.",
"type": "string"
},
"iamPolicy": {
@@ -386,7 +388,7 @@
"description": "A representation of the Cloud IAM policy set on a Google Cloud resource.\nThere can be a maximum of one Cloud IAM policy set on any given resource.\nIn addition, Cloud IAM policies inherit their granted access scope from any\npolicies set on parent resources in the resource hierarchy. Therefore, the\neffectively policy is the union of both the policy set on this resource\nand each policy set on all of the resource's ancestry resource levels in\nthe hierarchy. See\n[this topic](https://cloud.google.com/iam/docs/policies#inheritance) for\nmore information."
},
"name": {
- "description": "The full name of the asset. For example:\n\"//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1\"\n\nSee [Resource\nnames](https://cloud.google.com/apis/design/resource_names#full_resource_name)\nfor more information.",
+ "description": "The full name of the asset. Example:\n`//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`\n\nSee [Resource\nnames](https://cloud.google.com/apis/design/resource_names#full_resource_name)\nfor more information.",
"type": "string"
},
"orgPolicy": {
@@ -401,13 +403,19 @@
"description": "A representation of the resource."
},
"servicePerimeter": {
- "$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeter"
+ "$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeter",
+ "description": "Please also refer to the [service perimeter user\nguide](https://cloud.google.com/vpc-service-controls/docs/overview)."
+ },
+ "updateTime": {
+ "description": "The last update timestamp of an asset. update_time is updated when\ncreate/update/delete operation is performed.",
+ "format": "google-datetime",
+ "type": "string"
}
},
"type": "object"
},
"AuditConfig": {
- "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
+ "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n },\n {\n \"log_type\": \"ADMIN_READ\"\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\"\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"auditLogConfigs": {
@@ -425,7 +433,7 @@
"type": "object"
},
"AuditLogConfig": {
- "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
+ "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
"id": "AuditLogConfig",
"properties": {
"exemptedMembers": {
@@ -469,7 +477,7 @@
"type": "object"
},
"BigQueryDestination": {
- "description": "A BigQuery destination.",
+ "description": "A BigQuery destination for exporting assets to.",
"id": "BigQueryDestination",
"properties": {
"dataset": {
@@ -493,7 +501,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
@@ -535,7 +543,7 @@
"id": "ExportAssetsRequest",
"properties": {
"assetTypes": {
- "description": "A list of asset types of which to take a snapshot for. For example:\n\"compute.googleapis.com/Disk\". If specified, only matching assets will be\nreturned. See [Introduction to Cloud Asset\nInventory](https://cloud.google.com/asset-inventory/docs/overview)\nfor all supported asset types.",
+ "description": "A list of asset types of which to take a snapshot for. Example:\n\"compute.googleapis.com/Disk\". If specified, only matching assets will be\nreturned. See [Introduction to Cloud Asset\nInventory](https://cloud.google.com/asset-inventory/docs/overview)\nfor all supported asset types.",
"items": {
"type": "string"
},
@@ -561,7 +569,7 @@
},
"outputConfig": {
"$ref": "OutputConfig",
- "description": "Required. Output configuration indicating where the results will be output\nto. All results will be in newline delimited JSON format."
+ "description": "Required. Output configuration indicating where the results will be output to."
},
"readTime": {
"description": "Timestamp to take an asset snapshot. This can only be set to a timestamp\nbetween the current time and the current time minus 35 days (inclusive).\nIf not specified, the current time will be used. Due to delays in resource\ndata collection and indexing, there is a volatile window during which\nrunning the same query may get different results.",
@@ -599,14 +607,14 @@
"id": "Feed",
"properties": {
"assetNames": {
- "description": "A list of the full names of the assets to receive updates. You must specify\neither or both of asset_names and asset_types. Only asset updates matching\nspecified asset_names and asset_types are exported to the feed. For\nexample:\n`//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.\nSee [Resource\nNames](https://cloud.google.com/apis/design/resource_names#full_resource_name)\nfor more info.",
+ "description": "A list of the full names of the assets to receive updates. You must specify\neither or both of asset_names and asset_types. Only asset updates matching\nspecified asset_names or asset_types are exported to the feed.\nExample:\n`//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.\nSee [Resource\nNames](https://cloud.google.com/apis/design/resource_names#full_resource_name)\nfor more info.",
"items": {
"type": "string"
},
"type": "array"
},
"assetTypes": {
- "description": "A list of types of the assets to receive updates. You must specify either\nor both of asset_names and asset_types. Only asset updates matching\nspecified asset_names and asset_types are exported to the feed.\nFor example: `\"compute.googleapis.com/Disk\"`\n\nSee [this\ntopic](https://cloud.google.com/asset-inventory/docs/supported-asset-types)\nfor a list of all supported asset types.",
+ "description": "A list of types of the assets to receive updates. You must specify either\nor both of asset_names and asset_types. Only asset updates matching\nspecified asset_names or asset_types are exported to the feed.\nExample: `\"compute.googleapis.com/Disk\"`\n\nSee [this\ntopic](https://cloud.google.com/asset-inventory/docs/supported-asset-types)\nfor a list of all supported asset types.",
"items": {
"type": "string"
},
@@ -657,11 +665,11 @@
"id": "GcsDestination",
"properties": {
"uri": {
- "description": "The uri of the Cloud Storage object. It's the same uri that is used by\ngsutil. For example: \"gs://bucket_name/object_name\". See [Viewing and\nEditing Object\nMetadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)\nfor more information.",
+ "description": "The uri of the Cloud Storage object. It's the same uri that is used by\ngsutil. Example: \"gs://bucket_name/object_name\". See [Viewing and\nEditing Object\nMetadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)\nfor more information.",
"type": "string"
},
"uriPrefix": {
- "description": "The uri prefix of all generated Cloud Storage objects. For example:\n\"gs://bucket_name/object_name_prefix\". Each object uri is in format:\n\"gs://bucket_name/object_name_prefix// and only\ncontains assets for that type. starts from 0. For example:\n\"gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0\" is\nthe first shard of output objects containing all\ncompute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be\nreturned if file with the same name \"gs://bucket_name/object_name_prefix\"\nalready exists.",
+ "description": "The uri prefix of all generated Cloud Storage objects. Example:\n\"gs://bucket_name/object_name_prefix\". Each object uri is in format:\n\"gs://bucket_name/object_name_prefix// and only\ncontains assets for that type. starts from 0. Example:\n\"gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0\" is\nthe first shard of output objects containing all\ncompute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be\nreturned if file with the same name \"gs://bucket_name/object_name_prefix\"\nalready exists.",
"type": "string"
}
},
@@ -711,7 +719,7 @@
"type": "array"
},
"inheritFromParent": {
- "description": "Determines the inheritance behavior for this `Policy`.\n\nBy default, a `ListPolicy` set at a resource supercedes any `Policy` set\nanywhere up the resource hierarchy. However, if `inherit_from_parent` is\nset to `true`, then the values from the effective `Policy` of the parent\nresource are inherited, meaning the values set in this `Policy` are\nadded to the values inherited up the hierarchy.\n\nSetting `Policy` hierarchies that inherit both allowed values and denied\nvalues isn't recommended in most circumstances to keep the configuration\nsimple and understandable. However, it is possible to set a `Policy` with\n`allowed_values` set that inherits a `Policy` with `denied_values` set.\nIn this case, the values that are allowed must be in `allowed_values` and\nnot present in `denied_values`.\n\nFor example, suppose you have a `Constraint`\n`constraints/serviceuser.services`, which has a `constraint_type` of\n`list_constraint`, and with `constraint_default` set to `ALLOW`.\nSuppose that at the Organization level, a `Policy` is applied that\nrestricts the allowed API activations to {`E1`, `E2`}. Then, if a\n`Policy` is applied to a project below the Organization that has\n`inherit_from_parent` set to `false` and field all_values set to DENY,\nthen an attempt to activate any API will be denied.\n\nThe following examples demonstrate different possible layerings for\n`projects/bar` parented by `organizations/foo`:\n\nExample 1 (no inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values:\"E2\"}\n `projects/bar` has `inherit_from_parent` `false` and values:\n {allowed_values: \"E3\" allowed_values: \"E4\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E3`, and `E4`.\n\nExample 2 (inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values:\"E2\"}\n `projects/bar` has a `Policy` with values:\n {value: \"E3\" value: \"E4\" inherit_from_parent: true}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`.\n\nExample 3 (inheriting both allowed and denied values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n `projects/bar` has a `Policy` with:\n {denied_values: \"E1\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe value accepted at `projects/bar` is `E2`.\n\nExample 4 (RestoreDefault):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values:\"E2\"}\n `projects/bar` has a `Policy` with values:\n {RestoreDefault: {}}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 5 (no policy inherits parent policy):\n `organizations/foo` has no `Policy` set.\n `projects/bar` has no `Policy` set.\nThe accepted values at both levels are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 6 (ListConstraint allowing all):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n `projects/bar` has a `Policy` with:\n {all: ALLOW}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nAny value is accepted at `projects/bar`.\n\nExample 7 (ListConstraint allowing none):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n `projects/bar` has a `Policy` with:\n {all: DENY}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nNo value is accepted at `projects/bar`.\n\nExample 10 (allowed and denied subtrees of Resource Manager hierarchy):\nGiven the following resource hierarchy\n O1->{F1, F2}; F1->{P1}; F2->{P2, P3},\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"under:organizations/O1\"}\n `projects/bar` has a `Policy` with:\n {allowed_values: \"under:projects/P3\"}\n {denied_values: \"under:folders/F2\"}\nThe accepted values at `organizations/foo` are `organizations/O1`,\n `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`,\n `projects/P3`.\nThe accepted values at `projects/bar` are `organizations/O1`,\n `folders/F1`, `projects/P1`.",
+ "description": "Determines the inheritance behavior for this `Policy`.\n\nBy default, a `ListPolicy` set at a resource supersedes any `Policy` set\nanywhere up the resource hierarchy. However, if `inherit_from_parent` is\nset to `true`, then the values from the effective `Policy` of the parent\nresource are inherited, meaning the values set in this `Policy` are\nadded to the values inherited up the hierarchy.\n\nSetting `Policy` hierarchies that inherit both allowed values and denied\nvalues isn't recommended in most circumstances to keep the configuration\nsimple and understandable. However, it is possible to set a `Policy` with\n`allowed_values` set that inherits a `Policy` with `denied_values` set.\nIn this case, the values that are allowed must be in `allowed_values` and\nnot present in `denied_values`.\n\nFor example, suppose you have a `Constraint`\n`constraints/serviceuser.services`, which has a `constraint_type` of\n`list_constraint`, and with `constraint_default` set to `ALLOW`.\nSuppose that at the Organization level, a `Policy` is applied that\nrestricts the allowed API activations to {`E1`, `E2`}. Then, if a\n`Policy` is applied to a project below the Organization that has\n`inherit_from_parent` set to `false` and field all_values set to DENY,\nthen an attempt to activate any API will be denied.\n\nThe following examples demonstrate different possible layerings for\n`projects/bar` parented by `organizations/foo`:\n\nExample 1 (no inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values:\"E2\"}\n `projects/bar` has `inherit_from_parent` `false` and values:\n {allowed_values: \"E3\" allowed_values: \"E4\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E3`, and `E4`.\n\nExample 2 (inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values:\"E2\"}\n `projects/bar` has a `Policy` with values:\n {value: \"E3\" value: \"E4\" inherit_from_parent: true}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`.\n\nExample 3 (inheriting both allowed and denied values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n `projects/bar` has a `Policy` with:\n {denied_values: \"E1\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe value accepted at `projects/bar` is `E2`.\n\nExample 4 (RestoreDefault):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values:\"E2\"}\n `projects/bar` has a `Policy` with values:\n {RestoreDefault: {}}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 5 (no policy inherits parent policy):\n `organizations/foo` has no `Policy` set.\n `projects/bar` has no `Policy` set.\nThe accepted values at both levels are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 6 (ListConstraint allowing all):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n `projects/bar` has a `Policy` with:\n {all: ALLOW}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nAny value is accepted at `projects/bar`.\n\nExample 7 (ListConstraint allowing none):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n `projects/bar` has a `Policy` with:\n {all: DENY}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nNo value is accepted at `projects/bar`.\n\nExample 10 (allowed and denied subtrees of Resource Manager hierarchy):\nGiven the following resource hierarchy\n O1->{F1, F2}; F1->{P1}; F2->{P2, P3},\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"under:organizations/O1\"}\n `projects/bar` has a `Policy` with:\n {allowed_values: \"under:projects/P3\"}\n {denied_values: \"under:folders/F2\"}\nThe accepted values at `organizations/foo` are `organizations/O1`,\n `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`,\n `projects/P3`.\nThe accepted values at `projects/bar` are `organizations/O1`,\n `folders/F1`, `projects/P1`.",
"type": "boolean"
},
"suggestedValue": {
@@ -730,7 +738,7 @@
"description": "For boolean `Constraints`, whether to enforce the `Constraint` or not."
},
"constraint": {
- "description": "The name of the `Constraint` the `Policy` is configuring, for example,\n`constraints/serviceuser.services`.\n\nImmutable after creation.",
+ "description": "The name of the `Constraint` the `Policy` is configuring, for example,\n`constraints/serviceuser.services`.\n\nA [list of available\nconstraints](/resource-manager/docs/organization-policy/org-policy-constraints)\nis available.\n\nImmutable after creation.",
"type": "string"
},
"etag": {
@@ -1143,7 +1151,7 @@
"properties": {
"bigqueryDestination": {
"$ref": "BigQueryDestination",
- "description": "Destination on BigQuery. The output table stores the fields in asset\nproto as columns in BigQuery. The resource/iam_policy field is converted\nto a record with each field to a column, except metadata to a single JSON\nstring."
+ "description": "Destination on BigQuery. The output table stores the fields in asset\nproto as columns in BigQuery."
},
"gcsDestination": {
"$ref": "GcsDestination",
@@ -1153,7 +1161,7 @@
"type": "object"
},
"Policy": {
- "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"auditConfigs": {
@@ -1176,7 +1184,7 @@
"type": "string"
},
"version": {
- "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -1188,7 +1196,7 @@
"id": "PubsubDestination",
"properties": {
"topic": {
- "description": "The name of the Pub/Sub topic to publish to.\nFor example: `projects/PROJECT_ID/topics/TOPIC_ID`.",
+ "description": "The name of the Pub/Sub topic to publish to.\nExample: `projects/PROJECT_ID/topics/TOPIC_ID`.",
"type": "string"
}
},
@@ -1207,23 +1215,27 @@
"type": "object"
},
"discoveryDocumentUri": {
- "description": "The URL of the discovery document containing the resource's JSON schema.\nFor example:\n\"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest\"\n\nThis value is unspecified for resources that do not have an API based on a\ndiscovery document, such as Cloud Bigtable.",
+ "description": "The URL of the discovery document containing the resource's JSON schema.\nExample:\n`https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`\n\nThis value is unspecified for resources that do not have an API based on a\ndiscovery document, such as Cloud Bigtable.",
"type": "string"
},
"discoveryName": {
- "description": "The JSON schema name listed in the discovery document. For example:\n\"Project\"\n\nThis value is unspecified for resources that do not have an API based on a\ndiscovery document, such as Cloud Bigtable.",
+ "description": "The JSON schema name listed in the discovery document. Example:\n`Project`\n\nThis value is unspecified for resources that do not have an API based on a\ndiscovery document, such as Cloud Bigtable.",
+ "type": "string"
+ },
+ "location": {
+ "description": "The location of the resource in Google Cloud, such as its zone and region.\nFor more information, see https://cloud.google.com/about/locations/.",
"type": "string"
},
"parent": {
- "description": "The full name of the immediate parent of this resource. See\n[Resource\nNames](https://cloud.google.com/apis/design/resource_names#full_resource_name)\nfor more information.\n\nFor Google Cloud assets, this value is the parent resource defined in the\n[Cloud IAM policy\nhierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).\nFor example:\n\"//cloudresourcemanager.googleapis.com/projects/my_project_123\"\n\nFor third-party assets, this field may be set differently.",
+ "description": "The full name of the immediate parent of this resource. See\n[Resource\nNames](https://cloud.google.com/apis/design/resource_names#full_resource_name)\nfor more information.\n\nFor Google Cloud assets, this value is the parent resource defined in the\n[Cloud IAM policy\nhierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).\nExample:\n`//cloudresourcemanager.googleapis.com/projects/my_project_123`\n\nFor third-party assets, this field may be set differently.",
"type": "string"
},
"resourceUrl": {
- "description": "The REST URL for accessing the resource. An HTTP `GET` request using this\nURL returns the resource itself. For example:\n\"https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123\"\n\nThis value is unspecified for resources without a REST API.",
+ "description": "The REST URL for accessing the resource. An HTTP `GET` request using this\nURL returns the resource itself. Example:\n`https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`\n\nThis value is unspecified for resources without a REST API.",
"type": "string"
},
"version": {
- "description": "The API version. For example: \"v1\"",
+ "description": "The API version. Example: `v1`",
"type": "string"
}
},
@@ -1276,7 +1288,7 @@
"type": "object"
},
"TimeWindow": {
- "description": "A time window specified by its \"start_time\" and \"end_time\".",
+ "description": "A time window specified by its `start_time` and `end_time`.",
"id": "TimeWindow",
"properties": {
"endTime": {
diff --git a/etc/api/cloudasset/v1beta1/cloudasset-api.json b/etc/api/cloudasset/v1beta1/cloudasset-api.json
index 52a4743bc2..548e520fbf 100644
--- a/etc/api/cloudasset/v1beta1/cloudasset-api.json
+++ b/etc/api/cloudasset/v1beta1/cloudasset-api.json
@@ -108,7 +108,7 @@
"folders": {
"methods": {
"exportAssets": {
- "description": "Exports assets with time and resource types to a given Cloud Storage\nlocation. The output format is newline-delimited JSON.\nThis API implements the google.longrunning.Operation API allowing you\nto keep track of the export.",
+ "description": "Exports assets with time and resource types to a given Cloud Storage\nlocation. The output format is newline-delimited JSON.\nThis API implements the google.longrunning.Operation API allowing you\nto keep track of the export. We recommend intervals of at least 2 seconds\nwith exponential retry to poll the export operation result. For\nregular-size resource parent, the export operation usually finishes within\n5 minutes.",
"flatPath": "v1beta1/folders/{foldersId}:exportAssets",
"httpMethod": "POST",
"id": "cloudasset.folders.exportAssets",
@@ -171,7 +171,7 @@
"organizations": {
"methods": {
"batchGetAssetsHistory": {
- "description": "Batch gets the update history of assets that overlap a time window.\nFor RESOURCE content, this API outputs history with asset in both\nnon-delete or deleted status.\nFor IAM_POLICY content, this API outputs history when the asset and its\nattached IAM POLICY both exist. This can create gaps in the output history.\nIf a specified asset does not exist, this API returns an INVALID_ARGUMENT\nerror.",
+ "description": "Batch gets the update history of assets that overlap a time window.\nFor IAM_POLICY content, this API outputs history when the asset and its\nattached IAM POLICY both exist. This can create gaps in the output history.\nOtherwise, this API outputs history with asset in both non-delete or\ndeleted status.\nIf a specified asset does not exist, this API returns an INVALID_ARGUMENT\nerror.",
"flatPath": "v1beta1/organizations/{organizationsId}:batchGetAssetsHistory",
"httpMethod": "GET",
"id": "cloudasset.organizations.batchGetAssetsHistory",
@@ -203,7 +203,7 @@
"type": "string"
},
"readTimeWindow.endTime": {
- "description": "End time of the time window (inclusive).\nCurrent timestamp if not specified.",
+ "description": "End time of the time window (inclusive). If not specified, the current\ntimestamp is used instead.",
"format": "google-datetime",
"location": "query",
"type": "string"
@@ -224,7 +224,7 @@
]
},
"exportAssets": {
- "description": "Exports assets with time and resource types to a given Cloud Storage\nlocation. The output format is newline-delimited JSON.\nThis API implements the google.longrunning.Operation API allowing you\nto keep track of the export.",
+ "description": "Exports assets with time and resource types to a given Cloud Storage\nlocation. The output format is newline-delimited JSON.\nThis API implements the google.longrunning.Operation API allowing you\nto keep track of the export. We recommend intervals of at least 2 seconds\nwith exponential retry to poll the export operation result. For\nregular-size resource parent, the export operation usually finishes within\n5 minutes.",
"flatPath": "v1beta1/organizations/{organizationsId}:exportAssets",
"httpMethod": "POST",
"id": "cloudasset.organizations.exportAssets",
@@ -287,7 +287,7 @@
"projects": {
"methods": {
"batchGetAssetsHistory": {
- "description": "Batch gets the update history of assets that overlap a time window.\nFor RESOURCE content, this API outputs history with asset in both\nnon-delete or deleted status.\nFor IAM_POLICY content, this API outputs history when the asset and its\nattached IAM POLICY both exist. This can create gaps in the output history.\nIf a specified asset does not exist, this API returns an INVALID_ARGUMENT\nerror.",
+ "description": "Batch gets the update history of assets that overlap a time window.\nFor IAM_POLICY content, this API outputs history when the asset and its\nattached IAM POLICY both exist. This can create gaps in the output history.\nOtherwise, this API outputs history with asset in both non-delete or\ndeleted status.\nIf a specified asset does not exist, this API returns an INVALID_ARGUMENT\nerror.",
"flatPath": "v1beta1/projects/{projectsId}:batchGetAssetsHistory",
"httpMethod": "GET",
"id": "cloudasset.projects.batchGetAssetsHistory",
@@ -319,7 +319,7 @@
"type": "string"
},
"readTimeWindow.endTime": {
- "description": "End time of the time window (inclusive).\nCurrent timestamp if not specified.",
+ "description": "End time of the time window (inclusive). If not specified, the current\ntimestamp is used instead.",
"format": "google-datetime",
"location": "query",
"type": "string"
@@ -340,7 +340,7 @@
]
},
"exportAssets": {
- "description": "Exports assets with time and resource types to a given Cloud Storage\nlocation. The output format is newline-delimited JSON.\nThis API implements the google.longrunning.Operation API allowing you\nto keep track of the export.",
+ "description": "Exports assets with time and resource types to a given Cloud Storage\nlocation. The output format is newline-delimited JSON.\nThis API implements the google.longrunning.Operation API allowing you\nto keep track of the export. We recommend intervals of at least 2 seconds\nwith exponential retry to poll the export operation result. For\nregular-size resource parent, the export operation usually finishes within\n5 minutes.",
"flatPath": "v1beta1/projects/{projectsId}:exportAssets",
"httpMethod": "POST",
"id": "cloudasset.projects.exportAssets",
@@ -401,34 +401,53 @@
}
}
},
- "revision": "20200403",
+ "revision": "20200613",
"rootUrl": "https://cloudasset.googleapis.com/",
"schemas": {
"Asset": {
- "description": "Cloud asset. This includes all Google Cloud Platform resources,\nCloud IAM policies, and other non-GCP assets.",
+ "description": "An asset in Google Cloud. An asset can be any resource in the Google Cloud\n[resource\nhierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),\na resource outside the Google Cloud resource hierarchy (such as Google\nKubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy).\nSee [Supported asset\ntypes](https://cloud.google.com/asset-inventory/docs/supported-asset-types)\nfor more information.",
"id": "Asset",
"properties": {
+ "accessLevel": {
+ "$ref": "GoogleIdentityAccesscontextmanagerV1AccessLevel",
+ "description": "Please also refer to the [access level user\nguide](https://cloud.google.com/access-context-manager/docs/overview#access-levels)."
+ },
+ "accessPolicy": {
+ "$ref": "GoogleIdentityAccesscontextmanagerV1AccessPolicy",
+ "description": "Please also refer to the [access policy user\nguide](https://cloud.google.com/access-context-manager/docs/overview#access-policies)."
+ },
"assetType": {
- "description": "Type of the asset. Example: \"google.compute.Disk\".",
+ "description": "The type of the asset. Example: `compute.googleapis.com/Disk`\n\nSee [Supported asset\ntypes](https://cloud.google.com/asset-inventory/docs/supported-asset-types)\nfor more information.",
"type": "string"
},
"iamPolicy": {
"$ref": "Policy",
- "description": "Representation of the actual Cloud IAM policy set on a cloud resource. For\neach resource, there must be at most one Cloud IAM policy set on it."
+ "description": "A representation of the Cloud IAM policy set on a Google Cloud resource.\nThere can be a maximum of one Cloud IAM policy set on any given resource.\nIn addition, Cloud IAM policies inherit their granted access scope from any\npolicies set on parent resources in the resource hierarchy. Therefore, the\neffectively policy is the union of both the policy set on this resource\nand each policy set on all of the resource's ancestry resource levels in\nthe hierarchy. See\n[this topic](https://cloud.google.com/iam/docs/policies#inheritance) for\nmore information."
},
"name": {
- "description": "The full name of the asset. For example:\n`//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.\nSee [Resource\nNames](https://cloud.google.com/apis/design/resource_names#full_resource_name)\nfor more information.",
+ "description": "The full name of the asset. Example:\n`//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`\n\nSee [Resource\nnames](https://cloud.google.com/apis/design/resource_names#full_resource_name)\nfor more information.",
"type": "string"
},
+ "orgPolicy": {
+ "description": "A representation of an [organization\npolicy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).\nThere can be more than one organization policy with different constraints\nset on a given resource.",
+ "items": {
+ "$ref": "GoogleCloudOrgpolicyV1Policy"
+ },
+ "type": "array"
+ },
"resource": {
"$ref": "Resource",
- "description": "Representation of the resource."
+ "description": "A representation of the resource."
+ },
+ "servicePerimeter": {
+ "$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeter",
+ "description": "Please also refer to the [service perimeter user\nguide](https://cloud.google.com/vpc-service-controls/docs/overview)."
}
},
"type": "object"
},
"AuditConfig": {
- "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
+ "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n },\n {\n \"log_type\": \"ADMIN_READ\"\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\"\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"auditLogConfigs": {
@@ -446,7 +465,7 @@
"type": "object"
},
"AuditLogConfig": {
- "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
+ "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
"id": "AuditLogConfig",
"properties": {
"exemptedMembers": {
@@ -495,7 +514,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
@@ -586,6 +605,428 @@
},
"type": "object"
},
+ "GoogleCloudOrgpolicyV1BooleanPolicy": {
+ "description": "Used in `policy_type` to specify how `boolean_policy` will behave at this\nresource.",
+ "id": "GoogleCloudOrgpolicyV1BooleanPolicy",
+ "properties": {
+ "enforced": {
+ "description": "If `true`, then the `Policy` is enforced. If `false`, then any\nconfiguration is acceptable.\n\nSuppose you have a `Constraint`\n`constraints/compute.disableSerialPortAccess` with `constraint_default`\nset to `ALLOW`. A `Policy` for that `Constraint` exhibits the following\nbehavior:\n - If the `Policy` at this resource has enforced set to `false`, serial\n port connection attempts will be allowed.\n - If the `Policy` at this resource has enforced set to `true`, serial\n port connection attempts will be refused.\n - If the `Policy` at this resource is `RestoreDefault`, serial port\n connection attempts will be allowed.\n - If no `Policy` is set at this resource or anywhere higher in the\n resource hierarchy, serial port connection attempts will be allowed.\n - If no `Policy` is set at this resource, but one exists higher in the\n resource hierarchy, the behavior is as if the`Policy` were set at\n this resource.\n\nThe following examples demonstrate the different possible layerings:\n\nExample 1 (nearest `Constraint` wins):\n `organizations/foo` has a `Policy` with:\n {enforced: false}\n `projects/bar` has no `Policy` set.\nThe constraint at `projects/bar` and `organizations/foo` will not be\nenforced.\n\nExample 2 (enforcement gets replaced):\n `organizations/foo` has a `Policy` with:\n {enforced: false}\n `projects/bar` has a `Policy` with:\n {enforced: true}\nThe constraint at `organizations/foo` is not enforced.\nThe constraint at `projects/bar` is enforced.\n\nExample 3 (RestoreDefault):\n `organizations/foo` has a `Policy` with:\n {enforced: true}\n `projects/bar` has a `Policy` with:\n {RestoreDefault: {}}\nThe constraint at `organizations/foo` is enforced.\nThe constraint at `projects/bar` is not enforced, because\n`constraint_default` for the `Constraint` is `ALLOW`.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudOrgpolicyV1ListPolicy": {
+ "description": "Used in `policy_type` to specify how `list_policy` behaves at this\nresource.\n\n`ListPolicy` can define specific values and subtrees of Cloud Resource\nManager resource hierarchy (`Organizations`, `Folders`, `Projects`) that\nare allowed or denied by setting the `allowed_values` and `denied_values`\nfields. This is achieved by using the `under:` and optional `is:` prefixes.\nThe `under:` prefix is used to denote resource subtree values.\nThe `is:` prefix is used to denote specific values, and is required only\nif the value contains a \":\". Values prefixed with \"is:\" are treated the\nsame as values with no prefix.\nAncestry subtrees must be in one of the following formats:\n - \"projects/\", e.g. \"projects/tokyo-rain-123\"\n - \"folders/\", e.g. \"folders/1234\"\n - \"organizations/\", e.g. \"organizations/1234\"\nThe `supports_under` field of the associated `Constraint` defines whether\nancestry prefixes can be used. You can set `allowed_values` and\n`denied_values` in the same `Policy` if `all_values` is\n`ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all\nvalues. If `all_values` is set to either `ALLOW` or `DENY`,\n`allowed_values` and `denied_values` must be unset.",
+ "id": "GoogleCloudOrgpolicyV1ListPolicy",
+ "properties": {
+ "allValues": {
+ "description": "The policy all_values state.",
+ "enum": [
+ "ALL_VALUES_UNSPECIFIED",
+ "ALLOW",
+ "DENY"
+ ],
+ "enumDescriptions": [
+ "Indicates that allowed_values or denied_values must be set.",
+ "A policy with this set allows all values.",
+ "A policy with this set denies all values."
+ ],
+ "type": "string"
+ },
+ "allowedValues": {
+ "description": "List of values allowed at this resource. Can only be set if `all_values`\nis set to `ALL_VALUES_UNSPECIFIED`.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "deniedValues": {
+ "description": "List of values denied at this resource. Can only be set if `all_values`\nis set to `ALL_VALUES_UNSPECIFIED`.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "inheritFromParent": {
+ "description": "Determines the inheritance behavior for this `Policy`.\n\nBy default, a `ListPolicy` set at a resource supersedes any `Policy` set\nanywhere up the resource hierarchy. However, if `inherit_from_parent` is\nset to `true`, then the values from the effective `Policy` of the parent\nresource are inherited, meaning the values set in this `Policy` are\nadded to the values inherited up the hierarchy.\n\nSetting `Policy` hierarchies that inherit both allowed values and denied\nvalues isn't recommended in most circumstances to keep the configuration\nsimple and understandable. However, it is possible to set a `Policy` with\n`allowed_values` set that inherits a `Policy` with `denied_values` set.\nIn this case, the values that are allowed must be in `allowed_values` and\nnot present in `denied_values`.\n\nFor example, suppose you have a `Constraint`\n`constraints/serviceuser.services`, which has a `constraint_type` of\n`list_constraint`, and with `constraint_default` set to `ALLOW`.\nSuppose that at the Organization level, a `Policy` is applied that\nrestricts the allowed API activations to {`E1`, `E2`}. Then, if a\n`Policy` is applied to a project below the Organization that has\n`inherit_from_parent` set to `false` and field all_values set to DENY,\nthen an attempt to activate any API will be denied.\n\nThe following examples demonstrate different possible layerings for\n`projects/bar` parented by `organizations/foo`:\n\nExample 1 (no inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values:\"E2\"}\n `projects/bar` has `inherit_from_parent` `false` and values:\n {allowed_values: \"E3\" allowed_values: \"E4\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E3`, and `E4`.\n\nExample 2 (inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values:\"E2\"}\n `projects/bar` has a `Policy` with values:\n {value: \"E3\" value: \"E4\" inherit_from_parent: true}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`.\n\nExample 3 (inheriting both allowed and denied values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n `projects/bar` has a `Policy` with:\n {denied_values: \"E1\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe value accepted at `projects/bar` is `E2`.\n\nExample 4 (RestoreDefault):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values:\"E2\"}\n `projects/bar` has a `Policy` with values:\n {RestoreDefault: {}}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 5 (no policy inherits parent policy):\n `organizations/foo` has no `Policy` set.\n `projects/bar` has no `Policy` set.\nThe accepted values at both levels are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 6 (ListConstraint allowing all):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n `projects/bar` has a `Policy` with:\n {all: ALLOW}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nAny value is accepted at `projects/bar`.\n\nExample 7 (ListConstraint allowing none):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n `projects/bar` has a `Policy` with:\n {all: DENY}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nNo value is accepted at `projects/bar`.\n\nExample 10 (allowed and denied subtrees of Resource Manager hierarchy):\nGiven the following resource hierarchy\n O1->{F1, F2}; F1->{P1}; F2->{P2, P3},\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"under:organizations/O1\"}\n `projects/bar` has a `Policy` with:\n {allowed_values: \"under:projects/P3\"}\n {denied_values: \"under:folders/F2\"}\nThe accepted values at `organizations/foo` are `organizations/O1`,\n `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`,\n `projects/P3`.\nThe accepted values at `projects/bar` are `organizations/O1`,\n `folders/F1`, `projects/P1`.",
+ "type": "boolean"
+ },
+ "suggestedValue": {
+ "description": "Optional. The Google Cloud Console will try to default to a configuration\nthat matches the value specified in this `Policy`. If `suggested_value`\nis not set, it will inherit the value specified higher in the hierarchy,\nunless `inherit_from_parent` is `false`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudOrgpolicyV1Policy": {
+ "description": "Defines a Cloud Organization `Policy` which is used to specify `Constraints`\nfor configurations of Cloud Platform resources.",
+ "id": "GoogleCloudOrgpolicyV1Policy",
+ "properties": {
+ "booleanPolicy": {
+ "$ref": "GoogleCloudOrgpolicyV1BooleanPolicy",
+ "description": "For boolean `Constraints`, whether to enforce the `Constraint` or not."
+ },
+ "constraint": {
+ "description": "The name of the `Constraint` the `Policy` is configuring, for example,\n`constraints/serviceuser.services`.\n\nA [list of available\nconstraints](/resource-manager/docs/organization-policy/org-policy-constraints)\nis available.\n\nImmutable after creation.",
+ "type": "string"
+ },
+ "etag": {
+ "description": "An opaque tag indicating the current version of the `Policy`, used for\nconcurrency control.\n\nWhen the `Policy` is returned from either a `GetPolicy` or a\n`ListOrgPolicy` request, this `etag` indicates the version of the current\n`Policy` to use when executing a read-modify-write loop.\n\nWhen the `Policy` is returned from a `GetEffectivePolicy` request, the\n`etag` will be unset.\n\nWhen the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value\nthat was returned from a `GetOrgPolicy` request as part of a\nread-modify-write loop for concurrency control. Not setting the `etag`in a\n`SetOrgPolicy` request will result in an unconditional write of the\n`Policy`.",
+ "format": "byte",
+ "type": "string"
+ },
+ "listPolicy": {
+ "$ref": "GoogleCloudOrgpolicyV1ListPolicy",
+ "description": "List of values either allowed or disallowed."
+ },
+ "restoreDefault": {
+ "$ref": "GoogleCloudOrgpolicyV1RestoreDefault",
+ "description": "Restores the default behavior of the constraint; independent of\n`Constraint` type."
+ },
+ "updateTime": {
+ "description": "The time stamp the `Policy` was previously updated. This is set by the\nserver, not specified by the caller, and represents the last time a call to\n`SetOrgPolicy` was made for that `Policy`. Any value set by the client will\nbe ignored.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "version": {
+ "description": "Version of the `Policy`. Default version is 0;",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudOrgpolicyV1RestoreDefault": {
+ "description": "Ignores policies set above this resource and restores the\n`constraint_default` enforcement behavior of the specific `Constraint` at\nthis resource.\n\nSuppose that `constraint_default` is set to `ALLOW` for the\n`Constraint` `constraints/serviceuser.services`. Suppose that organization\nfoo.com sets a `Policy` at their Organization resource node that restricts\nthe allowed service activations to deny all service activations. They\ncould then set a `Policy` with the `policy_type` `restore_default` on\nseveral experimental projects, restoring the `constraint_default`\nenforcement of the `Constraint` for only those projects, allowing those\nprojects to have all services activated.",
+ "id": "GoogleCloudOrgpolicyV1RestoreDefault",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleIdentityAccesscontextmanagerV1AccessLevel": {
+ "description": "An `AccessLevel` is a label that can be applied to requests to Google Cloud\nservices, along with a list of requirements necessary for the label to be\napplied.",
+ "id": "GoogleIdentityAccesscontextmanagerV1AccessLevel",
+ "properties": {
+ "basic": {
+ "$ref": "GoogleIdentityAccesscontextmanagerV1BasicLevel",
+ "description": "A `BasicLevel` composed of `Conditions`."
+ },
+ "custom": {
+ "$ref": "GoogleIdentityAccesscontextmanagerV1CustomLevel",
+ "description": "A `CustomLevel` written in the Common Expression Language."
+ },
+ "description": {
+ "description": "Description of the `AccessLevel` and its use. Does not affect behavior.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Required. Resource name for the Access Level. The `short_name` component\nmust begin with a letter and only include alphanumeric and '_'. Format:\n`accessPolicies/{policy_id}/accessLevels/{short_name}`. The maximum length\nof the `short_name` component is 50 characters.",
+ "type": "string"
+ },
+ "title": {
+ "description": "Human readable title. Must be unique within the Policy.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleIdentityAccesscontextmanagerV1AccessPolicy": {
+ "description": "`AccessPolicy` is a container for `AccessLevels` (which define the necessary\nattributes to use Google Cloud services) and `ServicePerimeters` (which\ndefine regions of services able to freely pass data within a perimeter). An\naccess policy is globally visible within an organization, and the\nrestrictions it specifies apply to all projects within an organization.",
+ "id": "GoogleIdentityAccesscontextmanagerV1AccessPolicy",
+ "properties": {
+ "etag": {
+ "description": "Output only. An opaque identifier for the current version of the\n`AccessPolicy`. This will always be a strongly validated etag, meaning that\ntwo Access Polices will be identical if and only if their etags are\nidentical. Clients should not expect this to be in any specific format.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Output only. Resource name of the `AccessPolicy`. Format:\n`accessPolicies/{policy_id}`",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. The parent of this `AccessPolicy` in the Cloud Resource\nHierarchy. Currently immutable once created. Format:\n`organizations/{organization_id}`",
+ "type": "string"
+ },
+ "title": {
+ "description": "Required. Human readable title. Does not affect behavior.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleIdentityAccesscontextmanagerV1BasicLevel": {
+ "description": "`BasicLevel` is an `AccessLevel` using a set of recommended features.",
+ "id": "GoogleIdentityAccesscontextmanagerV1BasicLevel",
+ "properties": {
+ "combiningFunction": {
+ "description": "How the `conditions` list should be combined to determine if a request is\ngranted this `AccessLevel`. If AND is used, each `Condition` in\n`conditions` must be satisfied for the `AccessLevel` to be applied. If OR\nis used, at least one `Condition` in `conditions` must be satisfied for the\n`AccessLevel` to be applied. Default behavior is AND.",
+ "enum": [
+ "AND",
+ "OR"
+ ],
+ "enumDescriptions": [
+ "All `Conditions` must be true for the `BasicLevel` to be true.",
+ "If at least one `Condition` is true, then the `BasicLevel` is true."
+ ],
+ "type": "string"
+ },
+ "conditions": {
+ "description": "Required. A list of requirements for the `AccessLevel` to be granted.",
+ "items": {
+ "$ref": "GoogleIdentityAccesscontextmanagerV1Condition"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleIdentityAccesscontextmanagerV1Condition": {
+ "description": "A condition necessary for an `AccessLevel` to be granted. The Condition is an\nAND over its fields. So a Condition is true if: 1) the request IP is from one\nof the listed subnetworks AND 2) the originating device complies with the\nlisted device policy AND 3) all listed access levels are granted AND 4) the\nrequest was sent at a time allowed by the DateTimeRestriction.",
+ "id": "GoogleIdentityAccesscontextmanagerV1Condition",
+ "properties": {
+ "devicePolicy": {
+ "$ref": "GoogleIdentityAccesscontextmanagerV1DevicePolicy",
+ "description": "Device specific restrictions, all restrictions must hold for the\nCondition to be true. If not specified, all devices are allowed."
+ },
+ "ipSubnetworks": {
+ "description": "CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for\na CIDR IP address block, the specified IP address portion must be properly\ntruncated (i.e. all the host bits must be zero) or the input is considered\nmalformed. For example, \"192.0.2.0/24\" is accepted but \"192.0.2.1/24\" is\nnot. Similarly, for IPv6, \"2001:db8::/32\" is accepted whereas\n\"2001:db8::1/32\" is not. The originating IP of a request must be in one of\nthe listed subnets in order for this Condition to be true. If empty, all IP\naddresses are allowed.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "members": {
+ "description": "The request must be made by one of the provided user or service\naccounts. Groups are not supported.\nSyntax:\n`user:{emailid}`\n`serviceAccount:{emailid}`\nIf not specified, a request may come from any user.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "negate": {
+ "description": "Whether to negate the Condition. If true, the Condition becomes a NAND over\nits non-empty fields, each field must be false for the Condition overall to\nbe satisfied. Defaults to false.",
+ "type": "boolean"
+ },
+ "regions": {
+ "description": "The request must originate from one of the provided countries/regions.\nMust be valid ISO 3166-1 alpha-2 codes.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "requiredAccessLevels": {
+ "description": "A list of other access levels defined in the same `Policy`, referenced by\nresource name. Referencing an `AccessLevel` which does not exist is an\nerror. All access levels listed must be granted for the Condition\nto be true. Example:\n\"`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME\"`",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleIdentityAccesscontextmanagerV1CustomLevel": {
+ "description": "`CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language\nto represent the necessary conditions for the level to apply to a request.\nSee CEL spec at: https://github.com/google/cel-spec",
+ "id": "GoogleIdentityAccesscontextmanagerV1CustomLevel",
+ "properties": {
+ "expr": {
+ "$ref": "Expr",
+ "description": "Required. A Cloud CEL expression evaluating to a boolean."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleIdentityAccesscontextmanagerV1DevicePolicy": {
+ "description": "`DevicePolicy` specifies device specific restrictions necessary to acquire a\ngiven access level. A `DevicePolicy` specifies requirements for requests from\ndevices to be granted access levels, it does not do any enforcement on the\ndevice. `DevicePolicy` acts as an AND over all specified fields, and each\nrepeated field is an OR over its elements. Any unset fields are ignored. For\nexample, if the proto is { os_type : DESKTOP_WINDOWS, os_type :\nDESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be\ntrue for requests originating from encrypted Linux desktops and encrypted\nWindows desktops.",
+ "id": "GoogleIdentityAccesscontextmanagerV1DevicePolicy",
+ "properties": {
+ "allowedDeviceManagementLevels": {
+ "description": "Allowed device management levels, an empty list allows all management\nlevels.",
+ "enumDescriptions": [
+ "The device's management level is not specified or not known.",
+ "The device is not managed.",
+ "Basic management is enabled, which is generally limited to monitoring and\nwiping the corporate account.",
+ "Complete device management. This includes more thorough monitoring and the\nability to directly manage the device (such as remote wiping). This can be\nenabled through the Android Enterprise Platform."
+ ],
+ "items": {
+ "enum": [
+ "MANAGEMENT_UNSPECIFIED",
+ "NONE",
+ "BASIC",
+ "COMPLETE"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "allowedEncryptionStatuses": {
+ "description": "Allowed encryptions statuses, an empty list allows all statuses.",
+ "enumDescriptions": [
+ "The encryption status of the device is not specified or not known.",
+ "The device does not support encryption.",
+ "The device supports encryption, but is currently unencrypted.",
+ "The device is encrypted."
+ ],
+ "items": {
+ "enum": [
+ "ENCRYPTION_UNSPECIFIED",
+ "ENCRYPTION_UNSUPPORTED",
+ "UNENCRYPTED",
+ "ENCRYPTED"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "osConstraints": {
+ "description": "Allowed OS versions, an empty list allows all types and all versions.",
+ "items": {
+ "$ref": "GoogleIdentityAccesscontextmanagerV1OsConstraint"
+ },
+ "type": "array"
+ },
+ "requireAdminApproval": {
+ "description": "Whether the device needs to be approved by the customer admin.",
+ "type": "boolean"
+ },
+ "requireCorpOwned": {
+ "description": "Whether the device needs to be corp owned.",
+ "type": "boolean"
+ },
+ "requireScreenlock": {
+ "description": "Whether or not screenlock is required for the DevicePolicy to be true.\nDefaults to `false`.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleIdentityAccesscontextmanagerV1OsConstraint": {
+ "description": "A restriction on the OS type and version of devices making requests.",
+ "id": "GoogleIdentityAccesscontextmanagerV1OsConstraint",
+ "properties": {
+ "minimumVersion": {
+ "description": "The minimum allowed OS version. If not set, any version of this OS\nsatisfies the constraint. Format: `\"major.minor.patch\"`.\nExamples: `\"10.5.301\"`, `\"9.2.1\"`.",
+ "type": "string"
+ },
+ "osType": {
+ "description": "Required. The allowed OS type.",
+ "enum": [
+ "OS_UNSPECIFIED",
+ "DESKTOP_MAC",
+ "DESKTOP_WINDOWS",
+ "DESKTOP_LINUX",
+ "DESKTOP_CHROME_OS",
+ "ANDROID",
+ "IOS"
+ ],
+ "enumDescriptions": [
+ "The operating system of the device is not specified or not known.",
+ "A desktop Mac operating system.",
+ "A desktop Windows operating system.",
+ "A desktop Linux operating system.",
+ "A desktop ChromeOS operating system.",
+ "An Android operating system.",
+ "An iOS operating system."
+ ],
+ "type": "string"
+ },
+ "requireVerifiedChromeOs": {
+ "description": "Only allows requests from devices with a verified Chrome OS.\nVerifications includes requirements that the device is enterprise-managed,\nconformant to domain policies, and the caller has permission to call\nthe API targeted by the request.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleIdentityAccesscontextmanagerV1ServicePerimeter": {
+ "description": "`ServicePerimeter` describes a set of Google Cloud resources which can freely\nimport and export data amongst themselves, but not export outside of the\n`ServicePerimeter`. If a request with a source within this `ServicePerimeter`\nhas a target outside of the `ServicePerimeter`, the request will be blocked.\nOtherwise the request is allowed. There are two types of Service Perimeter -\nRegular and Bridge. Regular Service Perimeters cannot overlap, a single\nGoogle Cloud project can only belong to a single regular Service Perimeter.\nService Perimeter Bridges can contain only Google Cloud projects as members,\na single Google Cloud project may belong to multiple Service Perimeter\nBridges.",
+ "id": "GoogleIdentityAccesscontextmanagerV1ServicePerimeter",
+ "properties": {
+ "description": {
+ "description": "Description of the `ServicePerimeter` and its use. Does not affect\nbehavior.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Required. Resource name for the ServicePerimeter. The `short_name`\ncomponent must begin with a letter and only include alphanumeric and '_'.\nFormat: `accessPolicies/{policy_id}/servicePerimeters/{short_name}`",
+ "type": "string"
+ },
+ "perimeterType": {
+ "description": "Perimeter type indicator. A single project is\nallowed to be a member of single regular perimeter, but multiple service\nperimeter bridges. A project cannot be a included in a perimeter bridge\nwithout being included in regular perimeter. For perimeter bridges,\nthe restricted service list as well as access level lists must be\nempty.",
+ "enum": [
+ "PERIMETER_TYPE_REGULAR",
+ "PERIMETER_TYPE_BRIDGE"
+ ],
+ "enumDescriptions": [
+ "Regular Perimeter.",
+ "Perimeter Bridge."
+ ],
+ "type": "string"
+ },
+ "spec": {
+ "$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig",
+ "description": "Proposed (or dry run) ServicePerimeter configuration. This configuration\nallows to specify and test ServicePerimeter configuration without enforcing\nactual access restrictions. Only allowed to be set when the\n\"use_explicit_dry_run_spec\" flag is set."
+ },
+ "status": {
+ "$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig",
+ "description": "Current ServicePerimeter configuration. Specifies sets of resources,\nrestricted services and access levels that determine perimeter\ncontent and boundaries."
+ },
+ "title": {
+ "description": "Human readable title. Must be unique within the Policy.",
+ "type": "string"
+ },
+ "useExplicitDryRunSpec": {
+ "description": "Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly\nexists for all Service Perimeters, and that spec is identical to the\nstatus for those Service Perimeters. When this flag is set, it inhibits the\ngeneration of the implicit spec, thereby allowing the user to explicitly\nprovide a configuration (\"spec\") to use in a dry-run version of the Service\nPerimeter. This allows the user to test changes to the enforced config\n(\"status\") without actually enforcing them. This testing is done through\nanalyzing the differences between currently enforced and suggested\nrestrictions. use_explicit_dry_run_spec must bet set to True if any of the\nfields in the spec are set to non-default values.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig": {
+ "description": "`ServicePerimeterConfig` specifies a set of Google Cloud resources that\ndescribe specific Service Perimeter configuration.",
+ "id": "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig",
+ "properties": {
+ "accessLevels": {
+ "description": "A list of `AccessLevel` resource names that allow resources within the\n`ServicePerimeter` to be accessed from the internet. `AccessLevels` listed\nmust be in the same policy as this `ServicePerimeter`. Referencing a\nnonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are\nlisted, resources within the perimeter can only be accessed via Google\nCloud calls with request origins within the perimeter. Example:\n`\"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL\"`.\nFor Service Perimeter Bridge, must be empty.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "resources": {
+ "description": "A list of Google Cloud resources that are inside of the service perimeter.\nCurrently only projects are allowed. Format: `projects/{project_number}`",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "restrictedServices": {
+ "description": "Google Cloud services that are subject to the Service Perimeter\nrestrictions. For example, if `storage.googleapis.com` is specified, access\nto the storage buckets inside the perimeter must meet the perimeter's\naccess restrictions.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "vpcAccessibleServices": {
+ "$ref": "GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices",
+ "description": "Configuration for APIs allowed within Perimeter."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices": {
+ "description": "Specifies how APIs are allowed to communicate within the Service\nPerimeter.",
+ "id": "GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices",
+ "properties": {
+ "allowedServices": {
+ "description": "The list of APIs usable within the Service Perimeter. Must be empty\nunless 'enable_restriction' is True.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "enableRestriction": {
+ "description": "Whether to restrict API calls within the Service Perimeter to the list of\nAPIs specified in 'allowed_services'.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
"Operation": {
"description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
"id": "Operation",
@@ -633,7 +1074,7 @@
"type": "object"
},
"Policy": {
- "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"auditConfigs": {
@@ -656,7 +1097,7 @@
"type": "string"
},
"version": {
- "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -664,7 +1105,7 @@
"type": "object"
},
"Resource": {
- "description": "Representation of a cloud resource.",
+ "description": "A representation of a Google Cloud resource.",
"id": "Resource",
"properties": {
"data": {
@@ -672,27 +1113,27 @@
"description": "Properties of the object.",
"type": "any"
},
- "description": "The content of the resource, in which some sensitive fields are scrubbed\naway and may not be present.",
+ "description": "The content of the resource, in which some sensitive fields are removed\nand may not be present.",
"type": "object"
},
"discoveryDocumentUri": {
- "description": "The URL of the discovery document containing the resource's JSON schema.\nFor example:\n`\"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest\"`.\nIt will be left unspecified for resources without a discovery-based API,\nsuch as Cloud Bigtable.",
+ "description": "The URL of the discovery document containing the resource's JSON schema.\nExample:\n`https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`\n\nThis value is unspecified for resources that do not have an API based on a\ndiscovery document, such as Cloud Bigtable.",
"type": "string"
},
"discoveryName": {
- "description": "The JSON schema name listed in the discovery document.\nExample: \"Project\". It will be left unspecified for resources (such as\nCloud Bigtable) without a discovery-based API.",
+ "description": "The JSON schema name listed in the discovery document. Example:\n`Project`\n\nThis value is unspecified for resources that do not have an API based on a\ndiscovery document, such as Cloud Bigtable.",
"type": "string"
},
"parent": {
- "description": "The full name of the immediate parent of this resource. See\n[Resource\nNames](https://cloud.google.com/apis/design/resource_names#full_resource_name)\nfor more information.\n\nFor GCP assets, it is the parent resource defined in the [Cloud IAM policy\nhierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).\nFor example:\n`\"//cloudresourcemanager.googleapis.com/projects/my_project_123\"`.\n\nFor third-party assets, it is up to the users to define.",
+ "description": "The full name of the immediate parent of this resource. See\n[Resource\nNames](https://cloud.google.com/apis/design/resource_names#full_resource_name)\nfor more information.\n\nFor Google Cloud assets, this value is the parent resource defined in the\n[Cloud IAM policy\nhierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).\nExample:\n`//cloudresourcemanager.googleapis.com/projects/my_project_123`\n\nFor third-party assets, this field may be set differently.",
"type": "string"
},
"resourceUrl": {
- "description": "The REST URL for accessing the resource. An HTTP GET operation using this\nURL returns the resource itself.\nExample:\n`https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`.\nIt will be left unspecified for resources without a REST API.",
+ "description": "The REST URL for accessing the resource. An HTTP `GET` request using this\nURL returns the resource itself. Example:\n`https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`\n\nThis value is unspecified for resources without a REST API.",
"type": "string"
},
"version": {
- "description": "The API version. Example: \"v1\".",
+ "description": "The API version. Example: `v1`",
"type": "string"
}
},
@@ -726,15 +1167,15 @@
"type": "object"
},
"TemporalAsset": {
- "description": "Temporal asset. In addition to the asset, the temporal asset includes the\nstatus of the asset and valid from and to time of it.",
+ "description": "An asset in Google Cloud and its temporal metadata, including the time window\nwhen it was observed and its status during that window.",
"id": "TemporalAsset",
"properties": {
"asset": {
"$ref": "Asset",
- "description": "Asset."
+ "description": "An asset in Google Cloud."
},
"deleted": {
- "description": "If the asset is deleted or not.",
+ "description": "Whether the asset has been deleted or not.",
"type": "boolean"
},
"window": {
@@ -745,11 +1186,11 @@
"type": "object"
},
"TimeWindow": {
- "description": "A time window of (start_time, end_time].",
+ "description": "A time window specified by its `start_time` and `end_time`.",
"id": "TimeWindow",
"properties": {
"endTime": {
- "description": "End time of the time window (inclusive).\nCurrent timestamp if not specified.",
+ "description": "End time of the time window (inclusive). If not specified, the current\ntimestamp is used instead.",
"format": "google-datetime",
"type": "string"
},
diff --git a/etc/api/cloudasset/v1p1beta1/cloudasset-api.json b/etc/api/cloudasset/v1p1beta1/cloudasset-api.json
new file mode 100644
index 0000000000..cc26d90a9c
--- /dev/null
+++ b/etc/api/cloudasset/v1p1beta1/cloudasset-api.json
@@ -0,0 +1,481 @@
+{
+ "auth": {
+ "oauth2": {
+ "scopes": {
+ "https://www.googleapis.com/auth/cloud-platform": {
+ "description": "View and manage your data across Google Cloud Platform services"
+ }
+ }
+ }
+ },
+ "basePath": "",
+ "baseUrl": "https://cloudasset.googleapis.com/",
+ "batchPath": "batch",
+ "canonicalName": "Cloud Asset",
+ "description": "The cloud asset API manages the history and inventory of cloud resources.",
+ "discoveryVersion": "v1",
+ "documentationLink": "https://cloud.google.com/asset-inventory/docs/quickstart",
+ "fullyEncodeReservedExpansion": true,
+ "icons": {
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
+ },
+ "id": "cloudasset:v1p1beta1",
+ "kind": "discovery#restDescription",
+ "mtlsRootUrl": "https://cloudasset.mtls.googleapis.com/",
+ "name": "cloudasset",
+ "ownerDomain": "google.com",
+ "ownerName": "Google",
+ "parameters": {
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "alt": {
+ "default": "json",
+ "description": "Data format for response.",
+ "enum": [
+ "json",
+ "media",
+ "proto"
+ ],
+ "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",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "key": {
+ "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",
+ "type": "string"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "quotaUser": {
+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "protocol": "rest",
+ "resources": {
+ "iamPolicies": {
+ "methods": {
+ "searchAll": {
+ "description": "Searches all the IAM policies within a given accessible CRM scope\n(project/folder/organization). This RPC gives callers especially\nadministrators the ability to search all the IAM policies within a scope,\neven if they don't have `.getIamPolicy` permission of all the IAM policies.\nCallers should have `cloud.assets.SearchAllIamPolicies` permission on the\nrequested scope, otherwise the request will be rejected.",
+ "flatPath": "v1p1beta1/{v1p1beta1Id}/{v1p1beta1Id1}/iamPolicies:searchAll",
+ "httpMethod": "GET",
+ "id": "cloudasset.iamPolicies.searchAll",
+ "parameterOrder": [
+ "scope"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "Optional. The page size for search result pagination. Page size is capped at 500 even\nif a larger value is given. If set to zero, server will pick an appropriate\ndefault. Returned results may be fewer than requested. When this happens,\nthere could be more results as long as `next_page_token` is returned.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "Optional. If present, retrieve the next batch of results from the preceding call to\nthis method. `page_token` must be the value of `next_page_token` from the\nprevious response. The values of all other method parameters must be\nidentical to those in the previous call.",
+ "location": "query",
+ "type": "string"
+ },
+ "query": {
+ "description": "Optional. The query statement. Examples:\n\n* \"policy:myuser@mydomain.com\"\n* \"policy:(myuser@mydomain.com viewer)\"",
+ "location": "query",
+ "type": "string"
+ },
+ "scope": {
+ "description": "Required. The relative name of an asset. The search is limited to the resources\nwithin the `scope`. The allowed value must be:\n\n* Organization number (such as \"organizations/123\")\n* Folder number(such as \"folders/1234\")\n* Project number (such as \"projects/12345\")\n* Project id (such as \"projects/abc\")",
+ "location": "path",
+ "pattern": "^[^/]+/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1p1beta1/{+scope}/iamPolicies:searchAll",
+ "response": {
+ "$ref": "SearchAllIamPoliciesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "resources": {
+ "methods": {
+ "searchAll": {
+ "description": "Searches all the resources within a given accessible CRM scope\n(project/folder/organization). This RPC gives callers especially\nadministrators the ability to search all the resources within a scope, even\nif they don't have `.get` permission of all the resources. Callers should\nhave `cloud.assets.SearchAllResources` permission on the requested scope,\notherwise the request will be rejected.",
+ "flatPath": "v1p1beta1/{v1p1beta1Id}/{v1p1beta1Id1}/resources:searchAll",
+ "httpMethod": "GET",
+ "id": "cloudasset.resources.searchAll",
+ "parameterOrder": [
+ "scope"
+ ],
+ "parameters": {
+ "assetTypes": {
+ "description": "Optional. A list of asset types that this request searches for. If empty, it will\nsearch all the supported asset types.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Optional. A comma separated list of fields specifying the sorting order of the\nresults. The default order is ascending. Add ` DESC` after the field name\nto indicate descending order. Redundant space characters are ignored. For\nexample, ` location DESC , name `.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Optional. The page size for search result pagination. Page size is capped at 500 even\nif a larger value is given. If set to zero, server will pick an appropriate\ndefault. Returned results may be fewer than requested. When this happens,\nthere could be more results as long as `next_page_token` is returned.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call\nto this method. `page_token` must be the value of `next_page_token` from\nthe previous response. The values of all other method parameters, must be\nidentical to those in the previous call.",
+ "location": "query",
+ "type": "string"
+ },
+ "query": {
+ "description": "Optional. The query statement.",
+ "location": "query",
+ "type": "string"
+ },
+ "scope": {
+ "description": "Required. The relative name of an asset. The search is limited to the resources\nwithin the `scope`. The allowed value must be:\n\n* Organization number (such as \"organizations/123\")\n* Folder number(such as \"folders/1234\")\n* Project number (such as \"projects/12345\")\n* Project id (such as \"projects/abc\")",
+ "location": "path",
+ "pattern": "^[^/]+/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1p1beta1/{+scope}/resources:searchAll",
+ "response": {
+ "$ref": "SearchAllResourcesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ }
+ },
+ "revision": "20200613",
+ "rootUrl": "https://cloudasset.googleapis.com/",
+ "schemas": {
+ "AuditConfig": {
+ "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n },\n {\n \"log_type\": \"ADMIN_READ\"\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\"\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
+ "id": "AuditConfig",
+ "properties": {
+ "auditLogConfigs": {
+ "description": "The configuration for logging of each type of permission.",
+ "items": {
+ "$ref": "AuditLogConfig"
+ },
+ "type": "array"
+ },
+ "service": {
+ "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com`.\n`allServices` is a special value that covers all services.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AuditLogConfig": {
+ "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
+ "id": "AuditLogConfig",
+ "properties": {
+ "exemptedMembers": {
+ "description": "Specifies the identities that do not cause logging for this type of\npermission.\nFollows the same format of Binding.members.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "logType": {
+ "description": "The log type that this config enables.",
+ "enum": [
+ "LOG_TYPE_UNSPECIFIED",
+ "ADMIN_READ",
+ "DATA_WRITE",
+ "DATA_READ"
+ ],
+ "enumDescriptions": [
+ "Default case. Should never be this.",
+ "Admin reads. Example: CloudIAM getIamPolicy",
+ "Data writes. Example: CloudSQL Users create",
+ "Data reads. Example: CloudSQL Users list"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Binding": {
+ "description": "Associates `members` with a `role`.",
+ "id": "Binding",
+ "properties": {
+ "condition": {
+ "$ref": "Expr",
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
+ },
+ "members": {
+ "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "role": {
+ "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Explanation": {
+ "description": "Explanation about the IAM policy search result.",
+ "id": "Explanation",
+ "properties": {
+ "matchedPermissions": {
+ "additionalProperties": {
+ "$ref": "Permissions"
+ },
+ "description": "The map from roles to their included permission matching the permission\nquery (e.g. containing `policy.role.permissions:`). A sample role string:\n\"roles/compute.instanceAdmin\". The roles can also be found in the\nreturned `policy` bindings. Note that the map is populated only if\nrequesting with a permission query.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "Expr": {
+ "description": "Represents a textual expression in the Common Expression Language (CEL)\nsyntax. CEL is a C-like expression language. The syntax and semantics of CEL\nare documented at https://github.com/google/cel-spec.\n\nExample (Comparison):\n\n title: \"Summary size limit\"\n description: \"Determines if a summary is less than 100 chars\"\n expression: \"document.summary.size() < 100\"\n\nExample (Equality):\n\n title: \"Requestor is owner\"\n description: \"Determines if requestor is the document owner\"\n expression: \"document.owner == request.auth.claims.email\"\n\nExample (Logic):\n\n title: \"Public documents\"\n description: \"Determine whether the document should be publicly visible\"\n expression: \"document.type != 'private' && document.type != 'internal'\"\n\nExample (Data Manipulation):\n\n title: \"Notification string\"\n description: \"Create a notification string with a timestamp.\"\n expression: \"'New message received at ' + string(document.create_time)\"\n\nThe exact variables and functions that may be referenced within an expression\nare determined by the service that evaluates it. See the service\ndocumentation for additional information.",
+ "id": "Expr",
+ "properties": {
+ "description": {
+ "description": "Optional. Description of the expression. This is a longer text which\ndescribes the expression, e.g. when hovered over it in a UI.",
+ "type": "string"
+ },
+ "expression": {
+ "description": "Textual representation of an expression in Common Expression Language\nsyntax.",
+ "type": "string"
+ },
+ "location": {
+ "description": "Optional. String indicating the location of the expression for error\nreporting, e.g. a file name and a position in the file.",
+ "type": "string"
+ },
+ "title": {
+ "description": "Optional. Title for the expression, i.e. a short string describing\nits purpose. This can be used e.g. in UIs which allow to enter the\nexpression.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "IamPolicySearchResult": {
+ "description": "The result for a IAM Policy search.",
+ "id": "IamPolicySearchResult",
+ "properties": {
+ "explanation": {
+ "$ref": "Explanation",
+ "description": "Explanation about the IAM policy search result. It contains additional\ninformation to explain why the search result matches the query."
+ },
+ "policy": {
+ "$ref": "Policy",
+ "description": "The IAM policy directly set on the given resource. Note that the original\nIAM policy can contain multiple bindings. This only contains the bindings\nthat match the given query. For queries that don't contain a constrain on\npolicies (e.g. an empty query), this contains all the bindings."
+ },
+ "project": {
+ "description": "The project that the associated GCP resource belongs to, in the form of\n`projects/{project_number}`. If an IAM policy is set on a resource (like VM\ninstance, Cloud Storage bucket), the project field will indicate the\nproject that contains the resource. If an IAM policy is set on a folder or\norgnization, the project field will be empty.",
+ "type": "string"
+ },
+ "resource": {
+ "description": "The [full resource\nname](https://cloud.google.com/apis/design/resource_names#full_resource_name)\nof the resource associated with this IAM policy.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Permissions": {
+ "description": "IAM permissions",
+ "id": "Permissions",
+ "properties": {
+ "permissions": {
+ "description": "A list of permissions. A sample permission string: \"compute.disk.get\".",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Policy": {
+ "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
+ "id": "Policy",
+ "properties": {
+ "auditConfigs": {
+ "description": "Specifies cloud audit logging configuration for this policy.",
+ "items": {
+ "$ref": "AuditConfig"
+ },
+ "type": "array"
+ },
+ "bindings": {
+ "description": "Associates a list of `members` to a `role`. Optionally, may specify a\n`condition` that determines how and when the `bindings` are applied. Each\nof the `bindings` must contain at least one member.",
+ "items": {
+ "$ref": "Binding"
+ },
+ "type": "array"
+ },
+ "etag": {
+ "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.",
+ "format": "byte",
+ "type": "string"
+ },
+ "version": {
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "SearchAllIamPoliciesResponse": {
+ "description": "Search all IAM policies response.",
+ "id": "SearchAllIamPoliciesResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "Set if there are more results than those appearing in this response; to get\nthe next set of results, call this method again, using this value as the\n`page_token`.",
+ "type": "string"
+ },
+ "results": {
+ "description": "A list of IamPolicy that match the search query. Related information such\nas the associated resource is returned along with the policy.",
+ "items": {
+ "$ref": "IamPolicySearchResult"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "SearchAllResourcesResponse": {
+ "description": "Search all resources response.",
+ "id": "SearchAllResourcesResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "If there are more results than those appearing in this response, then\n`next_page_token` is included. To get the next set of results, call this\nmethod again using the value of `next_page_token` as `page_token`.",
+ "type": "string"
+ },
+ "results": {
+ "description": "A list of resource that match the search query.",
+ "items": {
+ "$ref": "StandardResourceMetadata"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "StandardResourceMetadata": {
+ "description": "The standard metadata of a cloud resource.",
+ "id": "StandardResourceMetadata",
+ "properties": {
+ "additionalAttributes": {
+ "description": "Additional searchable attributes of this resource.\nInformational only. The exact set of attributes is subject to change.\nFor example: project id, DNS name etc.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "assetType": {
+ "description": "The type of this resource.\nFor example: \"compute.googleapis.com/Disk\".",
+ "type": "string"
+ },
+ "description": {
+ "description": "One or more paragraphs of text description of this resource. Maximum length\ncould be up to 1M bytes.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "The display name of this resource.",
+ "type": "string"
+ },
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Labels associated with this resource. See [Labelling and grouping GCP\nresources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)\nfor more information.",
+ "type": "object"
+ },
+ "location": {
+ "description": "Location can be \"global\", regional like \"us-east1\", or zonal like\n\"us-west1-b\".",
+ "type": "string"
+ },
+ "name": {
+ "description": "The full resource name. For example:\n`//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.\nSee [Resource\nNames](https://cloud.google.com/apis/design/resource_names#full_resource_name)\nfor more information.",
+ "type": "string"
+ },
+ "networkTags": {
+ "description": "Network tags associated with this resource. Like labels, network tags are a\ntype of annotations used to group GCP resources. See [Labelling GCP\nresources](lhttps://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)\nfor more information.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "project": {
+ "description": "The project that this resource belongs to, in the form of\n`projects/{project_number}`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "servicePath": "",
+ "title": "Cloud Asset API",
+ "version": "v1p1beta1",
+ "version_module": true
+}
\ No newline at end of file
diff --git a/etc/api/cloudasset/v1p4beta1/cloudasset-api.json b/etc/api/cloudasset/v1p4beta1/cloudasset-api.json
new file mode 100644
index 0000000000..3507e1ddeb
--- /dev/null
+++ b/etc/api/cloudasset/v1p4beta1/cloudasset-api.json
@@ -0,0 +1,723 @@
+{
+ "auth": {
+ "oauth2": {
+ "scopes": {
+ "https://www.googleapis.com/auth/cloud-platform": {
+ "description": "View and manage your data across Google Cloud Platform services"
+ }
+ }
+ }
+ },
+ "basePath": "",
+ "baseUrl": "https://cloudasset.googleapis.com/",
+ "batchPath": "batch",
+ "canonicalName": "Cloud Asset",
+ "description": "The cloud asset API manages the history and inventory of cloud resources.",
+ "discoveryVersion": "v1",
+ "documentationLink": "https://cloud.google.com/asset-inventory/docs/quickstart",
+ "fullyEncodeReservedExpansion": true,
+ "icons": {
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
+ },
+ "id": "cloudasset:v1p4beta1",
+ "kind": "discovery#restDescription",
+ "mtlsRootUrl": "https://cloudasset.mtls.googleapis.com/",
+ "name": "cloudasset",
+ "ownerDomain": "google.com",
+ "ownerName": "Google",
+ "parameters": {
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "alt": {
+ "default": "json",
+ "description": "Data format for response.",
+ "enum": [
+ "json",
+ "media",
+ "proto"
+ ],
+ "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",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "key": {
+ "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",
+ "type": "string"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "quotaUser": {
+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "protocol": "rest",
+ "resources": {
+ "v1p4beta1": {
+ "methods": {
+ "analyzeIamPolicy": {
+ "description": "Analyzes IAM policies to answer which identities have what accesses on\nwhich resources.",
+ "flatPath": "v1p4beta1/{v1p4beta1Id}/{v1p4beta1Id1}:analyzeIamPolicy",
+ "httpMethod": "GET",
+ "id": "cloudasset.analyzeIamPolicy",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "analysisQuery.accessSelector.permissions": {
+ "description": "Optional. The permissions to appear in result.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "analysisQuery.accessSelector.roles": {
+ "description": "Optional. The roles to appear in result.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "analysisQuery.identitySelector.identity": {
+ "description": "Required. The identity appear in the form of members in\n[IAM policy\nbinding](https://cloud.google.com/iam/reference/rest/v1/Binding).\n\nThe examples of supported forms are:\n\"user:mike@example.com\",\n\"group:admins@example.com\",\n\"domain:google.com\",\n\"serviceAccount:my-project-id@appspot.gserviceaccount.com\".\n\nNotice that wildcard characters (such as * and ?) are not supported.\nYou must give a specific identity.",
+ "location": "query",
+ "type": "string"
+ },
+ "analysisQuery.resourceSelector.fullResourceName": {
+ "description": "Required. The [full resource\nname](https://cloud.google.com/asset-inventory/docs/resource-name-format)\nof a resource of [supported resource\ntypes](https://cloud.google.com/asset-inventory/docs/supported-asset-types#analyzable_asset_types).",
+ "location": "query",
+ "type": "string"
+ },
+ "options.analyzeServiceAccountImpersonation": {
+ "description": "Optional. If true, the response will include access analysis from identities to\nresources via service account impersonation. This is a very expensive\noperation, because many derived queries will be executed. We highly\nrecommend you use AssetService.ExportIamPolicyAnalysis rpc instead.\n\nFor example, if the request analyzes for which resources user A has\npermission P, and there's an IAM policy states user A has\niam.serviceAccounts.getAccessToken permission to a service account SA,\nand there's another IAM policy states service account SA has permission P\nto a GCP folder F, then user A potentially has access to the GCP folder\nF. And those advanced analysis results will be included in\nAnalyzeIamPolicyResponse.service_account_impersonation_analysis.\n\nAnother example, if the request analyzes for who has\npermission P to a GCP folder F, and there's an IAM policy states user A\nhas iam.serviceAccounts.actAs permission to a service account SA, and\nthere's another IAM policy states service account SA has permission P to\nthe GCP folder F, then user A potentially has access to the GCP folder\nF. And those advanced analysis results will be included in\nAnalyzeIamPolicyResponse.service_account_impersonation_analysis.\n\nDefault is false.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "options.executionTimeout": {
+ "description": "Optional. Amount of time executable has to complete. See JSON representation of\n[Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).\n\nIf this field is set with a value less than the RPC deadline, and the\nexecution of your query hasn't finished in the specified\nexecution timeout, you will get a response with partial result.\nOtherwise, your query's execution will continue until the RPC deadline.\nIf it's not finished until then, you will get a DEADLINE_EXCEEDED error.\n\nDefault is empty.",
+ "format": "google-duration",
+ "location": "query",
+ "type": "string"
+ },
+ "options.expandGroups": {
+ "description": "Optional. If true, the identities section of the result will expand any\nGoogle groups appearing in an IAM policy binding.\n\nIf identity_selector is specified, the identity in the result will\nbe determined by the selector, and this flag will have no effect.\n\nDefault is false.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "options.expandResources": {
+ "description": "Optional. If true, the resource section of the result will expand any\nresource attached to an IAM policy to include resources lower in the\nresource hierarchy.\n\nFor example, if the request analyzes for which resources user A has\npermission P, and the results include an IAM policy with P on a GCP\nfolder, the results will also include resources in that folder with\npermission P.\n\nIf resource_selector is specified, the resource section of the result\nwill be determined by the selector, and this flag will have no effect.\nDefault is false.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "options.expandRoles": {
+ "description": "Optional. If true, the access section of result will expand any roles\nappearing in IAM policy bindings to include their permissions.\n\nIf access_selector is specified, the access section of the result\nwill be determined by the selector, and this flag will have no effect.\n\nDefault is false.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "options.outputGroupEdges": {
+ "description": "Optional. If true, the result will output group identity edges, starting\nfrom the binding's group members, to any expanded identities.\nDefault is false.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "options.outputResourceEdges": {
+ "description": "Optional. If true, the result will output resource edges, starting\nfrom the policy attached resource, to any expanded resources.\nDefault is false.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "parent": {
+ "description": "Required. The relative name of the root asset. Only resources and IAM policies within\nthe parent will be analyzed. This can only be an organization number (such\nas \"organizations/123\") or a folder number (such as \"folders/123\").\n\nTo know how to get organization id, visit [here\n](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id).\n\nTo know how to get folder id, visit [here\n](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).",
+ "location": "path",
+ "pattern": "^[^/]+/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1p4beta1/{+parent}:analyzeIamPolicy",
+ "response": {
+ "$ref": "AnalyzeIamPolicyResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "exportIamPolicyAnalysis": {
+ "description": "Exports the answers of which identities have what accesses on which\nresources to a Google Cloud Storage destination. The output format is\nthe JSON format that represents a AnalyzeIamPolicyResponse\nin the JSON format.\nThis method implements the google.longrunning.Operation, which allows\nyou to keep track of the export. We recommend intervals of at least 2\nseconds with exponential retry to poll the export operation result. The\nmetadata contains the request to help callers to map responses to requests.",
+ "flatPath": "v1p4beta1/{v1p4beta1Id}/{v1p4beta1Id1}:exportIamPolicyAnalysis",
+ "httpMethod": "POST",
+ "id": "cloudasset.exportIamPolicyAnalysis",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The relative name of the root asset. Only resources and IAM policies within\nthe parent will be analyzed. This can only be an organization number (such\nas \"organizations/123\") or a folder number (such as \"folders/123\").\n\nTo know how to get organization id, visit [here\n](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id).\n\nTo know how to get folder id, visit [here\n](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).",
+ "location": "path",
+ "pattern": "^[^/]+/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1p4beta1/{+parent}:exportIamPolicyAnalysis",
+ "request": {
+ "$ref": "ExportIamPolicyAnalysisRequest"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ }
+ },
+ "revision": "20200613",
+ "rootUrl": "https://cloudasset.googleapis.com/",
+ "schemas": {
+ "AccessSelector": {
+ "description": "Specifies roles and/or permissions to analyze, to determine both the\nidentities possessing them and the resources they control. If multiple\nvalues are specified, results will include identities and resources\nmatching any of them.",
+ "id": "AccessSelector",
+ "properties": {
+ "permissions": {
+ "description": "Optional. The permissions to appear in result.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "roles": {
+ "description": "Optional. The roles to appear in result.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "AnalyzeIamPolicyResponse": {
+ "description": "A response message for AssetService.AnalyzeIamPolicy.",
+ "id": "AnalyzeIamPolicyResponse",
+ "properties": {
+ "fullyExplored": {
+ "description": "Represents whether all entries in the main_analysis and\nservice_account_impersonation_analysis have been fully explored to\nanswer the query in the request.",
+ "type": "boolean"
+ },
+ "mainAnalysis": {
+ "$ref": "IamPolicyAnalysis",
+ "description": "The main analysis that matches the original request."
+ },
+ "nonCriticalErrors": {
+ "description": "A list of non-critical errors happened during the request handling to\nexplain why `fully_explored` is false, or empty if no error happened.",
+ "items": {
+ "$ref": "GoogleCloudAssetV1p4beta1AnalysisState"
+ },
+ "type": "array"
+ },
+ "serviceAccountImpersonationAnalysis": {
+ "description": "The service account impersonation analysis if\nAnalyzeIamPolicyRequest.analyze_service_account_impersonation is\nenabled.",
+ "items": {
+ "$ref": "IamPolicyAnalysis"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Binding": {
+ "description": "Associates `members` with a `role`.",
+ "id": "Binding",
+ "properties": {
+ "condition": {
+ "$ref": "Expr",
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
+ },
+ "members": {
+ "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "role": {
+ "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ExportIamPolicyAnalysisRequest": {
+ "description": "A request message for AssetService.ExportIamPolicyAnalysis.",
+ "id": "ExportIamPolicyAnalysisRequest",
+ "properties": {
+ "analysisQuery": {
+ "$ref": "IamPolicyAnalysisQuery",
+ "description": "Required. The request query."
+ },
+ "options": {
+ "$ref": "Options",
+ "description": "Optional. The request options."
+ },
+ "outputConfig": {
+ "$ref": "IamPolicyAnalysisOutputConfig",
+ "description": "Required. Output configuration indicating where the results will be output to."
+ }
+ },
+ "type": "object"
+ },
+ "Expr": {
+ "description": "Represents a textual expression in the Common Expression Language (CEL)\nsyntax. CEL is a C-like expression language. The syntax and semantics of CEL\nare documented at https://github.com/google/cel-spec.\n\nExample (Comparison):\n\n title: \"Summary size limit\"\n description: \"Determines if a summary is less than 100 chars\"\n expression: \"document.summary.size() < 100\"\n\nExample (Equality):\n\n title: \"Requestor is owner\"\n description: \"Determines if requestor is the document owner\"\n expression: \"document.owner == request.auth.claims.email\"\n\nExample (Logic):\n\n title: \"Public documents\"\n description: \"Determine whether the document should be publicly visible\"\n expression: \"document.type != 'private' && document.type != 'internal'\"\n\nExample (Data Manipulation):\n\n title: \"Notification string\"\n description: \"Create a notification string with a timestamp.\"\n expression: \"'New message received at ' + string(document.create_time)\"\n\nThe exact variables and functions that may be referenced within an expression\nare determined by the service that evaluates it. See the service\ndocumentation for additional information.",
+ "id": "Expr",
+ "properties": {
+ "description": {
+ "description": "Optional. Description of the expression. This is a longer text which\ndescribes the expression, e.g. when hovered over it in a UI.",
+ "type": "string"
+ },
+ "expression": {
+ "description": "Textual representation of an expression in Common Expression Language\nsyntax.",
+ "type": "string"
+ },
+ "location": {
+ "description": "Optional. String indicating the location of the expression for error\nreporting, e.g. a file name and a position in the file.",
+ "type": "string"
+ },
+ "title": {
+ "description": "Optional. Title for the expression, i.e. a short string describing\nits purpose. This can be used e.g. in UIs which allow to enter the\nexpression.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GcsDestination": {
+ "description": "A Cloud Storage location.",
+ "id": "GcsDestination",
+ "properties": {
+ "uri": {
+ "description": "Required. The uri of the Cloud Storage object. It's the same uri that is used by\ngsutil. For example: \"gs://bucket_name/object_name\". See [Viewing and\nEditing Object\nMetadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)\nfor more information.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudAssetV1p4beta1Access": {
+ "description": "An IAM role or permission under analysis.",
+ "id": "GoogleCloudAssetV1p4beta1Access",
+ "properties": {
+ "analysisState": {
+ "$ref": "GoogleCloudAssetV1p4beta1AnalysisState",
+ "description": "The analysis state of this access."
+ },
+ "permission": {
+ "description": "The permission.",
+ "type": "string"
+ },
+ "role": {
+ "description": "The role.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudAssetV1p4beta1AccessControlList": {
+ "description": "An access control list, derived from the above IAM policy binding, which\ncontains a set of resources and accesses. May include one\nitem from each set to compose an access control entry.\n\nNOTICE that there could be multiple access control lists for one IAM policy\nbinding. The access control lists are created based on resource and access\ncombinations.\n\nFor example, assume we have the following cases in one IAM policy binding:\n- Permission P1 and P2 apply to resource R1 and R2;\n- Permission P3 applies to resource R2 and R3;\n\nThis will result in the following access control lists:\n- AccessControlList 1: [R1, R2], [P1, P2]\n- AccessControlList 2: [R2, R3], [P3]",
+ "id": "GoogleCloudAssetV1p4beta1AccessControlList",
+ "properties": {
+ "accesses": {
+ "description": "The accesses that match one of the following conditions:\n- The access_selector, if it is specified in request;\n- Otherwise, access specifiers reachable from the policy binding's role.",
+ "items": {
+ "$ref": "GoogleCloudAssetV1p4beta1Access"
+ },
+ "type": "array"
+ },
+ "resourceEdges": {
+ "description": "Resource edges of the graph starting from the policy attached\nresource to any descendant resources. The Edge.source_node contains\nthe full resource name of a parent resource and Edge.target_node\ncontains the full resource name of a child resource. This field is\npresent only if the output_resource_edges option is enabled in request.",
+ "items": {
+ "$ref": "GoogleCloudAssetV1p4beta1Edge"
+ },
+ "type": "array"
+ },
+ "resources": {
+ "description": "The resources that match one of the following conditions:\n- The resource_selector, if it is specified in request;\n- Otherwise, resources reachable from the policy attached resource.",
+ "items": {
+ "$ref": "GoogleCloudAssetV1p4beta1Resource"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudAssetV1p4beta1AnalysisState": {
+ "description": "Represents the detailed state of an entity under analysis, such as a\nresource, an identity or an access.",
+ "id": "GoogleCloudAssetV1p4beta1AnalysisState",
+ "properties": {
+ "cause": {
+ "description": "The human-readable description of the cause of failure.",
+ "type": "string"
+ },
+ "code": {
+ "description": "The Google standard error code that best describes the state.\nFor example:\n- OK means the analysis on this entity has been successfully finished;\n- PERMISSION_DENIED means an access denied error is encountered;\n- DEADLINE_EXCEEDED means the analysis on this entity hasn't been started\nin time;",
+ "enum": [
+ "OK",
+ "CANCELLED",
+ "UNKNOWN",
+ "INVALID_ARGUMENT",
+ "DEADLINE_EXCEEDED",
+ "NOT_FOUND",
+ "ALREADY_EXISTS",
+ "PERMISSION_DENIED",
+ "UNAUTHENTICATED",
+ "RESOURCE_EXHAUSTED",
+ "FAILED_PRECONDITION",
+ "ABORTED",
+ "OUT_OF_RANGE",
+ "UNIMPLEMENTED",
+ "INTERNAL",
+ "UNAVAILABLE",
+ "DATA_LOSS"
+ ],
+ "enumDescriptions": [
+ "Not an error; returned on success\n\nHTTP Mapping: 200 OK",
+ "The operation was cancelled, typically by the caller.\n\nHTTP Mapping: 499 Client Closed Request",
+ "Unknown error. For example, this error may be returned when\na `Status` value received from another address space belongs to\nan error space that is not known in this address space. Also\nerrors raised by APIs that do not return enough error information\nmay be converted to this error.\n\nHTTP Mapping: 500 Internal Server Error",
+ "The client specified an invalid argument. Note that this differs\nfrom `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments\nthat are problematic regardless of the state of the system\n(e.g., a malformed file name).\n\nHTTP Mapping: 400 Bad Request",
+ "The deadline expired before the operation could complete. For operations\nthat change the state of the system, this error may be returned\neven if the operation has completed successfully. For example, a\nsuccessful response from a server could have been delayed long\nenough for the deadline to expire.\n\nHTTP Mapping: 504 Gateway Timeout",
+ "Some requested entity (e.g., file or directory) was not found.\n\nNote to server developers: if a request is denied for an entire class\nof users, such as gradual feature rollout or undocumented whitelist,\n`NOT_FOUND` may be used. If a request is denied for some users within\na class of users, such as user-based access control, `PERMISSION_DENIED`\nmust be used.\n\nHTTP Mapping: 404 Not Found",
+ "The entity that a client attempted to create (e.g., file or directory)\nalready exists.\n\nHTTP Mapping: 409 Conflict",
+ "The caller does not have permission to execute the specified\noperation. `PERMISSION_DENIED` must not be used for rejections\ncaused by exhausting some resource (use `RESOURCE_EXHAUSTED`\ninstead for those errors). `PERMISSION_DENIED` must not be\nused if the caller can not be identified (use `UNAUTHENTICATED`\ninstead for those errors). This error code does not imply the\nrequest is valid or the requested entity exists or satisfies\nother pre-conditions.\n\nHTTP Mapping: 403 Forbidden",
+ "The request does not have valid authentication credentials for the\noperation.\n\nHTTP Mapping: 401 Unauthorized",
+ "Some resource has been exhausted, perhaps a per-user quota, or\nperhaps the entire file system is out of space.\n\nHTTP Mapping: 429 Too Many Requests",
+ "The operation was rejected because the system is not in a state\nrequired for the operation's execution. For example, the directory\nto be deleted is non-empty, an rmdir operation is applied to\na non-directory, etc.\n\nService implementors can use the following guidelines to decide\nbetween `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`:\n (a) Use `UNAVAILABLE` if the client can retry just the failing call.\n (b) Use `ABORTED` if the client should retry at a higher level\n (e.g., when a client-specified test-and-set fails, indicating the\n client should restart a read-modify-write sequence).\n (c) Use `FAILED_PRECONDITION` if the client should not retry until\n the system state has been explicitly fixed. E.g., if an \"rmdir\"\n fails because the directory is non-empty, `FAILED_PRECONDITION`\n should be returned since the client should not retry unless\n the files are deleted from the directory.\n\nHTTP Mapping: 400 Bad Request",
+ "The operation was aborted, typically due to a concurrency issue such as\na sequencer check failure or transaction abort.\n\nSee the guidelines above for deciding between `FAILED_PRECONDITION`,\n`ABORTED`, and `UNAVAILABLE`.\n\nHTTP Mapping: 409 Conflict",
+ "The operation was attempted past the valid range. E.g., seeking or\nreading past end-of-file.\n\nUnlike `INVALID_ARGUMENT`, this error indicates a problem that may\nbe fixed if the system state changes. For example, a 32-bit file\nsystem will generate `INVALID_ARGUMENT` if asked to read at an\noffset that is not in the range [0,2^32-1], but it will generate\n`OUT_OF_RANGE` if asked to read from an offset past the current\nfile size.\n\nThere is a fair bit of overlap between `FAILED_PRECONDITION` and\n`OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific\nerror) when it applies so that callers who are iterating through\na space can easily look for an `OUT_OF_RANGE` error to detect when\nthey are done.\n\nHTTP Mapping: 400 Bad Request",
+ "The operation is not implemented or is not supported/enabled in this\nservice.\n\nHTTP Mapping: 501 Not Implemented",
+ "Internal errors. This means that some invariants expected by the\nunderlying system have been broken. This error code is reserved\nfor serious errors.\n\nHTTP Mapping: 500 Internal Server Error",
+ "The service is currently unavailable. This is most likely a\ntransient condition, which can be corrected by retrying with\na backoff. Note that it is not always safe to retry\nnon-idempotent operations.\n\nSee the guidelines above for deciding between `FAILED_PRECONDITION`,\n`ABORTED`, and `UNAVAILABLE`.\n\nHTTP Mapping: 503 Service Unavailable",
+ "Unrecoverable data loss or corruption.\n\nHTTP Mapping: 500 Internal Server Error"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudAssetV1p4beta1Edge": {
+ "description": "A directional edge.",
+ "id": "GoogleCloudAssetV1p4beta1Edge",
+ "properties": {
+ "sourceNode": {
+ "description": "The source node of the edge.",
+ "type": "string"
+ },
+ "targetNode": {
+ "description": "The target node of the edge.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudAssetV1p4beta1Identity": {
+ "description": "An identity under analysis.",
+ "id": "GoogleCloudAssetV1p4beta1Identity",
+ "properties": {
+ "analysisState": {
+ "$ref": "GoogleCloudAssetV1p4beta1AnalysisState",
+ "description": "The analysis state of this identity."
+ },
+ "name": {
+ "description": "The identity name in any form of members appear in\n[IAM policy\nbinding](https://cloud.google.com/iam/reference/rest/v1/Binding), such\nas:\n- user:foo@google.com\n- group:group1@google.com\n- serviceAccount:s1@prj1.iam.gserviceaccount.com\n- projectOwner:some_project_id\n- domain:google.com\n- allUsers\n- etc.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudAssetV1p4beta1IdentityList": {
+ "id": "GoogleCloudAssetV1p4beta1IdentityList",
+ "properties": {
+ "groupEdges": {
+ "description": "Group identity edges of the graph starting from the binding's\ngroup members to any node of the identities. The Edge.source_node\ncontains a group, such as \"group:parent@google.com\". The\nEdge.target_node contains a member of the group,\nsuch as \"group:child@google.com\" or \"user:foo@google.com\".\nThis field is present only if the output_group_edges option is enabled in\nrequest.",
+ "items": {
+ "$ref": "GoogleCloudAssetV1p4beta1Edge"
+ },
+ "type": "array"
+ },
+ "identities": {
+ "description": "Only the identities that match one of the following conditions will be\npresented:\n- The identity_selector, if it is specified in request;\n- Otherwise, identities reachable from the policy binding's members.",
+ "items": {
+ "$ref": "GoogleCloudAssetV1p4beta1Identity"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudAssetV1p4beta1Resource": {
+ "description": "A Google Cloud resource under analysis.",
+ "id": "GoogleCloudAssetV1p4beta1Resource",
+ "properties": {
+ "analysisState": {
+ "$ref": "GoogleCloudAssetV1p4beta1AnalysisState",
+ "description": "The analysis state of this resource."
+ },
+ "fullResourceName": {
+ "description": "The [full resource\nname](https://cloud.google.com/asset-inventory/docs/resource-name-format)",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "IamPolicyAnalysis": {
+ "description": "An analysis message to group the query and results.",
+ "id": "IamPolicyAnalysis",
+ "properties": {
+ "analysisQuery": {
+ "$ref": "IamPolicyAnalysisQuery",
+ "description": "The analysis query."
+ },
+ "analysisResults": {
+ "description": "A list of IamPolicyAnalysisResult that matches the analysis query, or\nempty if no result is found.",
+ "items": {
+ "$ref": "IamPolicyAnalysisResult"
+ },
+ "type": "array"
+ },
+ "fullyExplored": {
+ "description": "Represents whether all entries in the analysis_results have been\nfully explored to answer the query.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "IamPolicyAnalysisOutputConfig": {
+ "description": "Output configuration for export IAM policy analysis destination.",
+ "id": "IamPolicyAnalysisOutputConfig",
+ "properties": {
+ "gcsDestination": {
+ "$ref": "GcsDestination",
+ "description": "Destination on Cloud Storage."
+ }
+ },
+ "type": "object"
+ },
+ "IamPolicyAnalysisQuery": {
+ "description": "IAM policy analysis query message.",
+ "id": "IamPolicyAnalysisQuery",
+ "properties": {
+ "accessSelector": {
+ "$ref": "AccessSelector",
+ "description": "Optional. Specifies roles or permissions for analysis. This is optional."
+ },
+ "identitySelector": {
+ "$ref": "IdentitySelector",
+ "description": "Optional. Specifies an identity for analysis. Either ResourceSelector or\nIdentitySelector must be specified."
+ },
+ "parent": {
+ "description": "Required. The relative name of the root asset. Only resources and IAM policies within\nthe parent will be analyzed. This can only be an organization number (such\nas \"organizations/123\") or a folder number (such as \"folders/123\").\n\nTo know how to get organization id, visit [here\n](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id).\n\nTo know how to get folder id, visit [here\n](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).",
+ "type": "string"
+ },
+ "resourceSelector": {
+ "$ref": "ResourceSelector",
+ "description": "Optional. Specifies a resource for analysis. Either ResourceSelector or\nIdentitySelector must be specified."
+ }
+ },
+ "type": "object"
+ },
+ "IamPolicyAnalysisResult": {
+ "description": "IAM Policy analysis result, consisting of one IAM policy binding and derived\naccess control lists.",
+ "id": "IamPolicyAnalysisResult",
+ "properties": {
+ "accessControlLists": {
+ "description": "The access control lists derived from the iam_binding that match or\npotentially match resource and access selectors specified in the request.",
+ "items": {
+ "$ref": "GoogleCloudAssetV1p4beta1AccessControlList"
+ },
+ "type": "array"
+ },
+ "attachedResourceFullName": {
+ "description": "The [full resource\nname](https://cloud.google.com/asset-inventory/docs/resource-name-format)\nof the resource to which the iam_binding policy attaches.",
+ "type": "string"
+ },
+ "fullyExplored": {
+ "description": "Represents whether all analyses on the iam_binding have successfully\nfinished.",
+ "type": "boolean"
+ },
+ "iamBinding": {
+ "$ref": "Binding",
+ "description": "The Cloud IAM policy binding under analysis."
+ },
+ "identityList": {
+ "$ref": "GoogleCloudAssetV1p4beta1IdentityList",
+ "description": "The identity list derived from members of the iam_binding that match or\npotentially match identity selector specified in the request."
+ }
+ },
+ "type": "object"
+ },
+ "IdentitySelector": {
+ "description": "Specifies an identity for which to determine resource access, based on\nroles assigned either directly to them or to the groups they belong to,\ndirectly or indirectly.",
+ "id": "IdentitySelector",
+ "properties": {
+ "identity": {
+ "description": "Required. The identity appear in the form of members in\n[IAM policy\nbinding](https://cloud.google.com/iam/reference/rest/v1/Binding).\n\nThe examples of supported forms are:\n\"user:mike@example.com\",\n\"group:admins@example.com\",\n\"domain:google.com\",\n\"serviceAccount:my-project-id@appspot.gserviceaccount.com\".\n\nNotice that wildcard characters (such as * and ?) are not supported.\nYou must give a specific identity.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Operation": {
+ "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
+ "id": "Operation",
+ "properties": {
+ "done": {
+ "description": "If the value is `false`, it means the operation is still in progress.\nIf `true`, the operation is completed, and either `error` or `response` is\navailable.",
+ "type": "boolean"
+ },
+ "error": {
+ "$ref": "Status",
+ "description": "The error result of the operation in case of failure or cancellation."
+ },
+ "metadata": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.",
+ "type": "object"
+ },
+ "name": {
+ "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should be a resource name ending with `operations/{unique_id}`.",
+ "type": "string"
+ },
+ "response": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "Options": {
+ "description": "Contains request options.",
+ "id": "Options",
+ "properties": {
+ "analyzeServiceAccountImpersonation": {
+ "description": "Optional. If true, the response will include access analysis from identities to\nresources via service account impersonation. This is a very expensive\noperation, because many derived queries will be executed.\n\nFor example, if the request analyzes for which resources user A has\npermission P, and there's an IAM policy states user A has\niam.serviceAccounts.getAccessToken permission to a service account SA,\nand there's another IAM policy states service account SA has permission P\nto a GCP folder F, then user A potentially has access to the GCP folder\nF. And those advanced analysis results will be included in\nAnalyzeIamPolicyResponse.service_account_impersonation_analysis.\n\nAnother example, if the request analyzes for who has\npermission P to a GCP folder F, and there's an IAM policy states user A\nhas iam.serviceAccounts.actAs permission to a service account SA, and\nthere's another IAM policy states service account SA has permission P to\nthe GCP folder F, then user A potentially has access to the GCP folder\nF. And those advanced analysis results will be included in\nAnalyzeIamPolicyResponse.service_account_impersonation_analysis.\n\nDefault is false.",
+ "type": "boolean"
+ },
+ "expandGroups": {
+ "description": "Optional. If true, the identities section of the result will expand any\nGoogle groups appearing in an IAM policy binding.\n\nIf identity_selector is specified, the identity in the result will\nbe determined by the selector, and this flag will have no effect.\n\nDefault is false.",
+ "type": "boolean"
+ },
+ "expandResources": {
+ "description": "Optional. If true, the resource section of the result will expand any\nresource attached to an IAM policy to include resources lower in the\nresource hierarchy.\n\nFor example, if the request analyzes for which resources user A has\npermission P, and the results include an IAM policy with P on a GCP\nfolder, the results will also include resources in that folder with\npermission P.\n\nIf resource_selector is specified, the resource section of the result\nwill be determined by the selector, and this flag will have no effect.\nDefault is false.",
+ "type": "boolean"
+ },
+ "expandRoles": {
+ "description": "Optional. If true, the access section of result will expand any roles\nappearing in IAM policy bindings to include their permissions.\n\nIf access_selector is specified, the access section of the result\nwill be determined by the selector, and this flag will have no effect.\n\nDefault is false.",
+ "type": "boolean"
+ },
+ "outputGroupEdges": {
+ "description": "Optional. If true, the result will output group identity edges, starting\nfrom the binding's group members, to any expanded identities.\nDefault is false.",
+ "type": "boolean"
+ },
+ "outputResourceEdges": {
+ "description": "Optional. If true, the result will output resource edges, starting\nfrom the policy attached resource, to any expanded resources.\nDefault is false.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "ResourceSelector": {
+ "description": "Specifies the resource to analyze for access policies, which may be set\ndirectly on the resource, or on ancestors such as organizations, folders or\nprojects.",
+ "id": "ResourceSelector",
+ "properties": {
+ "fullResourceName": {
+ "description": "Required. The [full resource\nname](https://cloud.google.com/asset-inventory/docs/resource-name-format)\nof a resource of [supported resource\ntypes](https://cloud.google.com/asset-inventory/docs/supported-asset-types#analyzable_asset_types).",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Status": {
+ "description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors).",
+ "id": "Status",
+ "properties": {
+ "code": {
+ "description": "The status code, which should be an enum value of google.rpc.Code.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "details": {
+ "description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.",
+ "items": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "servicePath": "",
+ "title": "Cloud Asset API",
+ "version": "v1p4beta1",
+ "version_module": true
+}
\ No newline at end of file
diff --git a/etc/api/cloudbilling/v1/cloudbilling-api.json b/etc/api/cloudbilling/v1/cloudbilling-api.json
index faf909b707..8c145dfea7 100644
--- a/etc/api/cloudbilling/v1/cloudbilling-api.json
+++ b/etc/api/cloudbilling/v1/cloudbilling-api.json
@@ -160,7 +160,7 @@
],
"parameters": {
"options.requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.",
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"location": "query",
"type": "integer"
@@ -495,7 +495,7 @@
}
}
},
- "revision": "20200401",
+ "revision": "20200623",
"rootUrl": "https://cloudbilling.googleapis.com/",
"schemas": {
"AggregationInfo": {
@@ -537,7 +537,7 @@
"type": "object"
},
"AuditConfig": {
- "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
+ "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n },\n {\n \"log_type\": \"ADMIN_READ\"\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\"\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"auditLogConfigs": {
@@ -555,7 +555,7 @@
"type": "object"
},
"AuditLogConfig": {
- "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
+ "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
"id": "AuditLogConfig",
"properties": {
"exemptedMembers": {
@@ -613,7 +613,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
@@ -675,6 +675,36 @@
},
"type": "object"
},
+ "GeoTaxonomy": {
+ "description": "Encapsulates the geographic taxonomy data for a sku.",
+ "id": "GeoTaxonomy",
+ "properties": {
+ "regions": {
+ "description": "The list of regions associated with a sku. Empty for Global skus, which are\nassociated with all GCP regions.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "type": {
+ "description": "The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL.",
+ "enum": [
+ "TYPE_UNSPECIFIED",
+ "GLOBAL",
+ "REGIONAL",
+ "MULTI_REGIONAL"
+ ],
+ "enumDescriptions": [
+ "The type is not specified.",
+ "The sku is global in nature, e.g. a license sku. Global skus are\navailable in all regions, and so have an empty region list.",
+ "The sku is available in a specific region, e.g. \"us-west2\".",
+ "The sku is associated with multiple regions, e.g. \"us-west2\" and\n\"us-east1\"."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"ListBillingAccountsResponse": {
"description": "Response message for `ListBillingAccounts`.",
"id": "ListBillingAccountsResponse",
@@ -769,7 +799,7 @@
"type": "object"
},
"Policy": {
- "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"auditConfigs": {
@@ -792,7 +822,7 @@
"type": "string"
},
"version": {
- "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -923,7 +953,7 @@
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
},
"updateMask": {
- "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.",
+ "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\n\n`paths: \"bindings, etag\"`",
"format": "google-fieldmask",
"type": "string"
}
@@ -942,6 +972,10 @@
"description": "A human readable description of the SKU, has a maximum length of 256\ncharacters.",
"type": "string"
},
+ "geoTaxonomy": {
+ "$ref": "GeoTaxonomy",
+ "description": "The geographic taxonomy for this sku."
+ },
"name": {
"description": "The resource name for the SKU.\nExample: \"services/DA34-426B-A397/skus/AA95-CD31-42FE\"",
"type": "string"
diff --git a/etc/api/cloudbuild/v1/cloudbuild-api.json b/etc/api/cloudbuild/v1/cloudbuild-api.json
index 31307ddddd..e70a6d4d2a 100644
--- a/etc/api/cloudbuild/v1/cloudbuild-api.json
+++ b/etc/api/cloudbuild/v1/cloudbuild-api.json
@@ -159,47 +159,6 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
- },
- "list": {
- "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{name=users/*}/operations\"` to their service configuration.\nFor backwards compatibility, the default name includes the operations\ncollection id, however overriding users must ensure the name binding\nis the parent resource, without the operations collection id.",
- "flatPath": "v1/operations",
- "httpMethod": "GET",
- "id": "cloudbuild.operations.list",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "filter": {
- "description": "The standard list filter.",
- "location": "query",
- "type": "string"
- },
- "name": {
- "description": "The name of the operation's parent resource.",
- "location": "path",
- "pattern": "^operations$",
- "required": true,
- "type": "string"
- },
- "pageSize": {
- "description": "The standard list page size.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "pageToken": {
- "description": "The standard list page token.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1/{+name}",
- "response": {
- "$ref": "ListOperationsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
}
}
},
@@ -375,6 +334,67 @@
}
}
},
+ "locations": {
+ "resources": {
+ "operations": {
+ "methods": {
+ "cancel": {
+ "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.",
+ "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
+ "httpMethod": "POST",
+ "id": "cloudbuild.projects.locations.operations.cancel",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource to be cancelled.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}:cancel",
+ "request": {
+ "$ref": "CancelOperationRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.",
+ "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
+ "httpMethod": "GET",
+ "id": "cloudbuild.projects.locations.operations.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ }
+ }
+ },
"triggers": {
"methods": {
"create": {
@@ -574,7 +594,7 @@
}
}
},
- "revision": "20200323",
+ "revision": "20200704",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"ArtifactObjects": {
@@ -765,7 +785,7 @@
"type": "array"
},
"timeout": {
- "description": "Amount of time that this build should be allowed to run, to second\ngranularity. If this amount of time elapses, work on the build will cease\nand the build status will be `TIMEOUT`.\n\nDefault time is ten minutes.",
+ "description": "Amount of time that this build should be allowed to run, to second\ngranularity. If this amount of time elapses, work on the build will cease\nand the build status will be `TIMEOUT`.\n\n`timeout` starts ticking from `startTime`.\n\nDefault time is ten minutes.",
"format": "google-duration",
"type": "string"
},
@@ -799,6 +819,10 @@
"format": "int64",
"type": "string"
},
+ "dynamicSubstitutions": {
+ "description": "Option to specify whether or not to apply bash style string\noperations to the substitutions.\n\nNOTE: this is always enabled for triggered builds and cannot be\noverridden in the build configuration file.",
+ "type": "boolean"
+ },
"env": {
"description": "A list of global environment variable definitions that will exist for all\nbuild steps in this build. If a variable is defined in both globally and in\na build step, the variable will use the build step value.\n\nThe elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\"\nbeing given the value \"VALUE\".",
"items": {
@@ -821,16 +845,20 @@
"type": "string"
},
"logging": {
- "description": "Option to specify the logging mode, which determines where the logs are\nstored.",
+ "description": "Option to specify the logging mode, which determines if and where build\nlogs are stored.",
"enum": [
"LOGGING_UNSPECIFIED",
"LEGACY",
- "GCS_ONLY"
+ "GCS_ONLY",
+ "STACKDRIVER_ONLY",
+ "NONE"
],
"enumDescriptions": [
"The service determines the logging mode. The default is `LEGACY`. Do not\nrely on the default logging behavior as it may change in the future.",
- "Stackdriver logging and Cloud Storage logging are enabled.",
- "Only Cloud Storage logging is enabled."
+ "Cloud Logging (Stackdriver) and Cloud Storage logging are enabled.",
+ "Only Cloud Storage logging is enabled.",
+ "Only Cloud Logging (Stackdriver) is enabled. Note that logs for both the\nCloud Console UI and Cloud SDK are based on Cloud Storage logs, so\nneither will provide logs if this option is chosen.",
+ "Turn off all logging. No build logs will be captured."
],
"type": "string"
},
@@ -885,7 +913,7 @@
"type": "array"
},
"substitutionOption": {
- "description": "Option to specify behavior when there is an error in the substitution\nchecks.",
+ "description": "Option to specify behavior when there is an error in the substitution\nchecks.\n\nNOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot\nbe overridden in the build configuration file.",
"enum": [
"MUST_MATCH",
"ALLOW_LOOSE"
@@ -1158,6 +1186,17 @@
},
"type": "object"
},
+ "HTTPDelivery": {
+ "description": "HTTPDelivery is the delivery configuration for an HTTP notification.",
+ "id": "HTTPDelivery",
+ "properties": {
+ "uri": {
+ "description": "The URI to which JSON-containing HTTP POST requests should be sent.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Hash": {
"description": "Container message for hash values.",
"id": "Hash",
@@ -1220,18 +1259,113 @@
},
"type": "object"
},
- "ListOperationsResponse": {
- "description": "The response message for Operations.ListOperations.",
- "id": "ListOperationsResponse",
+ "Notification": {
+ "description": "Notification is the container which holds the data that is relevant to this\nparticular notification.",
+ "id": "Notification",
"properties": {
- "nextPageToken": {
- "description": "The standard List next-page token.",
+ "filter": {
+ "description": "The filter string to use for notification filtering.\nCurrently, this is assumed to be a CEL program.\nSee https://opensource.google/projects/cel for more.",
"type": "string"
},
- "operations": {
- "description": "A list of operations that matches the specified filter in the request.",
+ "httpDelivery": {
+ "$ref": "HTTPDelivery",
+ "description": "Configuration for HTTP delivery."
+ },
+ "slackDelivery": {
+ "$ref": "SlackDelivery",
+ "description": "Configuration for Slack delivery."
+ },
+ "smtpDelivery": {
+ "$ref": "SMTPDelivery",
+ "description": "Configuration for SMTP (email) delivery."
+ },
+ "structDelivery": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "Escape hatch for users to supply custom delivery configs.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "NotifierConfig": {
+ "description": "NotifierConfig is the top-level configuration message.",
+ "id": "NotifierConfig",
+ "properties": {
+ "apiVersion": {
+ "description": "The API version of this configuration format.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "The type of notifier to use (e.g. SMTPNotifier).",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "NotifierMetadata",
+ "description": "Metadata for referring to/handling/deploying this notifier."
+ },
+ "spec": {
+ "$ref": "NotifierSpec",
+ "description": "The actual configuration for this notifier."
+ }
+ },
+ "type": "object"
+ },
+ "NotifierMetadata": {
+ "description": "NotifierMetadata contains the data which can be used to reference or describe\nthis notifier.",
+ "id": "NotifierMetadata",
+ "properties": {
+ "name": {
+ "description": "The human-readable and user-given name for the notifier.\nFor example: \"repo-merge-email-notifier\".",
+ "type": "string"
+ },
+ "notifier": {
+ "description": "The string representing the name and version of notifier to deploy.\nExpected to be of the form of \"/:\".\nFor example: \"gcr.io/my-project/notifiers/smtp:1.2.34\".",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "NotifierSecret": {
+ "description": "NotifierSecret is the container that maps a secret name (reference) to its\nGoogle Cloud Secret Manager resource path.",
+ "id": "NotifierSecret",
+ "properties": {
+ "name": {
+ "description": "Name is the local name of the secret, such as the verbatim string\n\"my-smtp-password\".",
+ "type": "string"
+ },
+ "value": {
+ "description": "Value is interpreted to be a resource path for fetching the actual\n(versioned) secret data for this secret. For example, this would be a\nGoogle Cloud Secret Manager secret version resource path like:\n\"projects/my-project/secrets/my-secret/versions/latest\".",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "NotifierSecretRef": {
+ "description": "NotifierSecretRef contains the reference to a secret stored in the\ncorresponding NotifierSpec.",
+ "id": "NotifierSecretRef",
+ "properties": {
+ "secretRef": {
+ "description": "The value of `secret_ref` should be a `name` that is registered in a\n`Secret` in the `secrets` list of the `Spec`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "NotifierSpec": {
+ "description": "NotifierSpec is the configuration container for notifications.",
+ "id": "NotifierSpec",
+ "properties": {
+ "notification": {
+ "$ref": "Notification",
+ "description": "The configuration of this particular notifier."
+ },
+ "secrets": {
+ "description": "Configurations for secret resources used by this particular notifier.",
"items": {
- "$ref": "Operation"
+ "$ref": "NotifierSecret"
},
"type": "array"
}
@@ -1282,7 +1416,7 @@
"type": "string"
},
"commentControl": {
- "description": "Whether to block builds on a \"/gcbrun\" comment from a repository admin or\ncollaborator.",
+ "description": "Configure builds to run whether a repository owner or collaborator need to\ncomment `/gcbrun`.",
"enum": [
"COMMENTS_DISABLED",
"COMMENTS_ENABLED"
@@ -1409,6 +1543,40 @@
"properties": {},
"type": "object"
},
+ "SMTPDelivery": {
+ "description": "SMTPDelivery is the delivery configuration for an SMTP (email) notification.",
+ "id": "SMTPDelivery",
+ "properties": {
+ "fromAddress": {
+ "description": "This is the SMTP account/email that appears in the `From:` of the email.\nIf empty, it is assumed to be sender.",
+ "type": "string"
+ },
+ "password": {
+ "$ref": "NotifierSecretRef",
+ "description": "The SMTP sender's password."
+ },
+ "port": {
+ "description": "The SMTP port of the server.",
+ "type": "string"
+ },
+ "recipientAddresses": {
+ "description": "This is the list of addresses to which we send the email (i.e. in the `To:`\nof the email).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "senderAddress": {
+ "description": "This is the SMTP account/email that is used to send the message.",
+ "type": "string"
+ },
+ "server": {
+ "description": "The address of the SMTP server.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Secret": {
"description": "Pairs a set of secret environment variables containing encrypted\nvalues with the Cloud KMS key to use to decrypt the value.",
"id": "Secret",
@@ -1428,6 +1596,17 @@
},
"type": "object"
},
+ "SlackDelivery": {
+ "description": "SlackDelivery is the delivery configuration for delivering Slack messages via\nwebhooks. See Slack webhook documentation at:\nhttps://api.slack.com/messaging/webhooks.",
+ "id": "SlackDelivery",
+ "properties": {
+ "webhookUri": {
+ "$ref": "NotifierSecretRef",
+ "description": "The secret reference for the Slack webhook URI for sending messages to a\nchannel."
+ }
+ },
+ "type": "object"
+ },
"Source": {
"description": "Location of the source in a supported storage service.",
"id": "Source",
diff --git a/etc/api/cloudbuild/v1alpha1/cloudbuild-api.json b/etc/api/cloudbuild/v1alpha1/cloudbuild-api.json
index fc7984cae7..3567492cf3 100644
--- a/etc/api/cloudbuild/v1alpha1/cloudbuild-api.json
+++ b/etc/api/cloudbuild/v1alpha1/cloudbuild-api.json
@@ -107,6 +107,67 @@
"resources": {
"projects": {
"resources": {
+ "locations": {
+ "resources": {
+ "operations": {
+ "methods": {
+ "cancel": {
+ "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.",
+ "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
+ "httpMethod": "POST",
+ "id": "cloudbuild.projects.locations.operations.cancel",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource to be cancelled.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1alpha1/{+name}:cancel",
+ "request": {
+ "$ref": "CancelOperationRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.",
+ "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
+ "httpMethod": "GET",
+ "id": "cloudbuild.projects.locations.operations.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1alpha1/{+name}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ }
+ }
+ },
"workerPools": {
"methods": {
"create": {
@@ -245,7 +306,7 @@
}
}
},
- "revision": "20200323",
+ "revision": "20200704",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"ArtifactObjects": {
@@ -436,7 +497,7 @@
"type": "array"
},
"timeout": {
- "description": "Amount of time that this build should be allowed to run, to second\ngranularity. If this amount of time elapses, work on the build will cease\nand the build status will be `TIMEOUT`.\n\nDefault time is ten minutes.",
+ "description": "Amount of time that this build should be allowed to run, to second\ngranularity. If this amount of time elapses, work on the build will cease\nand the build status will be `TIMEOUT`.\n\n`timeout` starts ticking from `startTime`.\n\nDefault time is ten minutes.",
"format": "google-duration",
"type": "string"
},
@@ -470,6 +531,10 @@
"format": "int64",
"type": "string"
},
+ "dynamicSubstitutions": {
+ "description": "Option to specify whether or not to apply bash style string\noperations to the substitutions.\n\nNOTE: this is always enabled for triggered builds and cannot be\noverridden in the build configuration file.",
+ "type": "boolean"
+ },
"env": {
"description": "A list of global environment variable definitions that will exist for all\nbuild steps in this build. If a variable is defined in both globally and in\na build step, the variable will use the build step value.\n\nThe elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\"\nbeing given the value \"VALUE\".",
"items": {
@@ -492,16 +557,20 @@
"type": "string"
},
"logging": {
- "description": "Option to specify the logging mode, which determines where the logs are\nstored.",
+ "description": "Option to specify the logging mode, which determines if and where build\nlogs are stored.",
"enum": [
"LOGGING_UNSPECIFIED",
"LEGACY",
- "GCS_ONLY"
+ "GCS_ONLY",
+ "STACKDRIVER_ONLY",
+ "NONE"
],
"enumDescriptions": [
"The service determines the logging mode. The default is `LEGACY`. Do not\nrely on the default logging behavior as it may change in the future.",
- "Stackdriver logging and Cloud Storage logging are enabled.",
- "Only Cloud Storage logging is enabled."
+ "Cloud Logging (Stackdriver) and Cloud Storage logging are enabled.",
+ "Only Cloud Storage logging is enabled.",
+ "Only Cloud Logging (Stackdriver) is enabled. Note that logs for both the\nCloud Console UI and Cloud SDK are based on Cloud Storage logs, so\nneither will provide logs if this option is chosen.",
+ "Turn off all logging. No build logs will be captured."
],
"type": "string"
},
@@ -556,7 +625,7 @@
"type": "array"
},
"substitutionOption": {
- "description": "Option to specify behavior when there is an error in the substitution\nchecks.",
+ "description": "Option to specify behavior when there is an error in the substitution\nchecks.\n\nNOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot\nbe overridden in the build configuration file.",
"enum": [
"MUST_MATCH",
"ALLOW_LOOSE"
@@ -697,6 +766,12 @@
},
"type": "object"
},
+ "CancelOperationRequest": {
+ "description": "The request message for Operations.CancelOperation.",
+ "id": "CancelOperationRequest",
+ "properties": {},
+ "type": "object"
+ },
"Empty": {
"description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
"id": "Empty",
@@ -717,6 +792,17 @@
},
"type": "object"
},
+ "HTTPDelivery": {
+ "description": "HTTPDelivery is the delivery configuration for an HTTP notification.",
+ "id": "HTTPDelivery",
+ "properties": {
+ "uri": {
+ "description": "The URI to which JSON-containing HTTP POST requests should be sent.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Hash": {
"description": "Container message for hash values.",
"id": "Hash",
@@ -776,6 +862,154 @@
},
"type": "object"
},
+ "Notification": {
+ "description": "Notification is the container which holds the data that is relevant to this\nparticular notification.",
+ "id": "Notification",
+ "properties": {
+ "filter": {
+ "description": "The filter string to use for notification filtering.\nCurrently, this is assumed to be a CEL program.\nSee https://opensource.google/projects/cel for more.",
+ "type": "string"
+ },
+ "httpDelivery": {
+ "$ref": "HTTPDelivery",
+ "description": "Configuration for HTTP delivery."
+ },
+ "slackDelivery": {
+ "$ref": "SlackDelivery",
+ "description": "Configuration for Slack delivery."
+ },
+ "smtpDelivery": {
+ "$ref": "SMTPDelivery",
+ "description": "Configuration for SMTP (email) delivery."
+ },
+ "structDelivery": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "Escape hatch for users to supply custom delivery configs.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "NotifierConfig": {
+ "description": "NotifierConfig is the top-level configuration message.",
+ "id": "NotifierConfig",
+ "properties": {
+ "apiVersion": {
+ "description": "The API version of this configuration format.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "The type of notifier to use (e.g. SMTPNotifier).",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "NotifierMetadata",
+ "description": "Metadata for referring to/handling/deploying this notifier."
+ },
+ "spec": {
+ "$ref": "NotifierSpec",
+ "description": "The actual configuration for this notifier."
+ }
+ },
+ "type": "object"
+ },
+ "NotifierMetadata": {
+ "description": "NotifierMetadata contains the data which can be used to reference or describe\nthis notifier.",
+ "id": "NotifierMetadata",
+ "properties": {
+ "name": {
+ "description": "The human-readable and user-given name for the notifier.\nFor example: \"repo-merge-email-notifier\".",
+ "type": "string"
+ },
+ "notifier": {
+ "description": "The string representing the name and version of notifier to deploy.\nExpected to be of the form of \"/:\".\nFor example: \"gcr.io/my-project/notifiers/smtp:1.2.34\".",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "NotifierSecret": {
+ "description": "NotifierSecret is the container that maps a secret name (reference) to its\nGoogle Cloud Secret Manager resource path.",
+ "id": "NotifierSecret",
+ "properties": {
+ "name": {
+ "description": "Name is the local name of the secret, such as the verbatim string\n\"my-smtp-password\".",
+ "type": "string"
+ },
+ "value": {
+ "description": "Value is interpreted to be a resource path for fetching the actual\n(versioned) secret data for this secret. For example, this would be a\nGoogle Cloud Secret Manager secret version resource path like:\n\"projects/my-project/secrets/my-secret/versions/latest\".",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "NotifierSecretRef": {
+ "description": "NotifierSecretRef contains the reference to a secret stored in the\ncorresponding NotifierSpec.",
+ "id": "NotifierSecretRef",
+ "properties": {
+ "secretRef": {
+ "description": "The value of `secret_ref` should be a `name` that is registered in a\n`Secret` in the `secrets` list of the `Spec`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "NotifierSpec": {
+ "description": "NotifierSpec is the configuration container for notifications.",
+ "id": "NotifierSpec",
+ "properties": {
+ "notification": {
+ "$ref": "Notification",
+ "description": "The configuration of this particular notifier."
+ },
+ "secrets": {
+ "description": "Configurations for secret resources used by this particular notifier.",
+ "items": {
+ "$ref": "NotifierSecret"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Operation": {
+ "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
+ "id": "Operation",
+ "properties": {
+ "done": {
+ "description": "If the value is `false`, it means the operation is still in progress.\nIf `true`, the operation is completed, and either `error` or `response` is\navailable.",
+ "type": "boolean"
+ },
+ "error": {
+ "$ref": "Status",
+ "description": "The error result of the operation in case of failure or cancellation."
+ },
+ "metadata": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.",
+ "type": "object"
+ },
+ "name": {
+ "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should be a resource name ending with `operations/{unique_id}`.",
+ "type": "string"
+ },
+ "response": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
"RepoSource": {
"description": "Location of the source in a Google Cloud Source Repository.",
"id": "RepoSource",
@@ -860,6 +1094,40 @@
},
"type": "object"
},
+ "SMTPDelivery": {
+ "description": "SMTPDelivery is the delivery configuration for an SMTP (email) notification.",
+ "id": "SMTPDelivery",
+ "properties": {
+ "fromAddress": {
+ "description": "This is the SMTP account/email that appears in the `From:` of the email.\nIf empty, it is assumed to be sender.",
+ "type": "string"
+ },
+ "password": {
+ "$ref": "NotifierSecretRef",
+ "description": "The SMTP sender's password."
+ },
+ "port": {
+ "description": "The SMTP port of the server.",
+ "type": "string"
+ },
+ "recipientAddresses": {
+ "description": "This is the list of addresses to which we send the email (i.e. in the `To:`\nof the email).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "senderAddress": {
+ "description": "This is the SMTP account/email that is used to send the message.",
+ "type": "string"
+ },
+ "server": {
+ "description": "The address of the SMTP server.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Secret": {
"description": "Pairs a set of secret environment variables containing encrypted\nvalues with the Cloud KMS key to use to decrypt the value.",
"id": "Secret",
@@ -879,6 +1147,17 @@
},
"type": "object"
},
+ "SlackDelivery": {
+ "description": "SlackDelivery is the delivery configuration for delivering Slack messages via\nwebhooks. See Slack webhook documentation at:\nhttps://api.slack.com/messaging/webhooks.",
+ "id": "SlackDelivery",
+ "properties": {
+ "webhookUri": {
+ "$ref": "NotifierSecretRef",
+ "description": "The secret reference for the Slack webhook URI for sending messages to a\nchannel."
+ }
+ },
+ "type": "object"
+ },
"Source": {
"description": "Location of the source in a supported storage service.",
"id": "Source",
@@ -916,6 +1195,33 @@
},
"type": "object"
},
+ "Status": {
+ "description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors).",
+ "id": "Status",
+ "properties": {
+ "code": {
+ "description": "The status code, which should be an enum value of google.rpc.Code.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "details": {
+ "description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.",
+ "items": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"StorageSource": {
"description": "Location of the source in an archive file in Google Cloud Storage.",
"id": "StorageSource",
diff --git a/etc/api/cloudbuild/v1alpha2/cloudbuild-api.json b/etc/api/cloudbuild/v1alpha2/cloudbuild-api.json
index a3cbe36a4c..afc9e83942 100644
--- a/etc/api/cloudbuild/v1alpha2/cloudbuild-api.json
+++ b/etc/api/cloudbuild/v1alpha2/cloudbuild-api.json
@@ -107,6 +107,67 @@
"resources": {
"projects": {
"resources": {
+ "locations": {
+ "resources": {
+ "operations": {
+ "methods": {
+ "cancel": {
+ "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.",
+ "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
+ "httpMethod": "POST",
+ "id": "cloudbuild.projects.locations.operations.cancel",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource to be cancelled.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1alpha2/{+name}:cancel",
+ "request": {
+ "$ref": "CancelOperationRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.",
+ "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
+ "httpMethod": "GET",
+ "id": "cloudbuild.projects.locations.operations.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1alpha2/{+name}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ }
+ }
+ },
"workerPools": {
"methods": {
"create": {
@@ -256,7 +317,7 @@
}
}
},
- "revision": "20200323",
+ "revision": "20200704",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"ArtifactObjects": {
@@ -447,7 +508,7 @@
"type": "array"
},
"timeout": {
- "description": "Amount of time that this build should be allowed to run, to second\ngranularity. If this amount of time elapses, work on the build will cease\nand the build status will be `TIMEOUT`.\n\nDefault time is ten minutes.",
+ "description": "Amount of time that this build should be allowed to run, to second\ngranularity. If this amount of time elapses, work on the build will cease\nand the build status will be `TIMEOUT`.\n\n`timeout` starts ticking from `startTime`.\n\nDefault time is ten minutes.",
"format": "google-duration",
"type": "string"
},
@@ -481,6 +542,10 @@
"format": "int64",
"type": "string"
},
+ "dynamicSubstitutions": {
+ "description": "Option to specify whether or not to apply bash style string\noperations to the substitutions.\n\nNOTE: this is always enabled for triggered builds and cannot be\noverridden in the build configuration file.",
+ "type": "boolean"
+ },
"env": {
"description": "A list of global environment variable definitions that will exist for all\nbuild steps in this build. If a variable is defined in both globally and in\na build step, the variable will use the build step value.\n\nThe elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\"\nbeing given the value \"VALUE\".",
"items": {
@@ -503,16 +568,20 @@
"type": "string"
},
"logging": {
- "description": "Option to specify the logging mode, which determines where the logs are\nstored.",
+ "description": "Option to specify the logging mode, which determines if and where build\nlogs are stored.",
"enum": [
"LOGGING_UNSPECIFIED",
"LEGACY",
- "GCS_ONLY"
+ "GCS_ONLY",
+ "STACKDRIVER_ONLY",
+ "NONE"
],
"enumDescriptions": [
"The service determines the logging mode. The default is `LEGACY`. Do not\nrely on the default logging behavior as it may change in the future.",
- "Stackdriver logging and Cloud Storage logging are enabled.",
- "Only Cloud Storage logging is enabled."
+ "Cloud Logging (Stackdriver) and Cloud Storage logging are enabled.",
+ "Only Cloud Storage logging is enabled.",
+ "Only Cloud Logging (Stackdriver) is enabled. Note that logs for both the\nCloud Console UI and Cloud SDK are based on Cloud Storage logs, so\nneither will provide logs if this option is chosen.",
+ "Turn off all logging. No build logs will be captured."
],
"type": "string"
},
@@ -567,7 +636,7 @@
"type": "array"
},
"substitutionOption": {
- "description": "Option to specify behavior when there is an error in the substitution\nchecks.",
+ "description": "Option to specify behavior when there is an error in the substitution\nchecks.\n\nNOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot\nbe overridden in the build configuration file.",
"enum": [
"MUST_MATCH",
"ALLOW_LOOSE"
@@ -708,6 +777,12 @@
},
"type": "object"
},
+ "CancelOperationRequest": {
+ "description": "The request message for Operations.CancelOperation.",
+ "id": "CancelOperationRequest",
+ "properties": {},
+ "type": "object"
+ },
"Empty": {
"description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
"id": "Empty",
@@ -728,6 +803,17 @@
},
"type": "object"
},
+ "HTTPDelivery": {
+ "description": "HTTPDelivery is the delivery configuration for an HTTP notification.",
+ "id": "HTTPDelivery",
+ "properties": {
+ "uri": {
+ "description": "The URI to which JSON-containing HTTP POST requests should be sent.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Hash": {
"description": "Container message for hash values.",
"id": "Hash",
@@ -779,6 +865,154 @@
},
"type": "object"
},
+ "Notification": {
+ "description": "Notification is the container which holds the data that is relevant to this\nparticular notification.",
+ "id": "Notification",
+ "properties": {
+ "filter": {
+ "description": "The filter string to use for notification filtering.\nCurrently, this is assumed to be a CEL program.\nSee https://opensource.google/projects/cel for more.",
+ "type": "string"
+ },
+ "httpDelivery": {
+ "$ref": "HTTPDelivery",
+ "description": "Configuration for HTTP delivery."
+ },
+ "slackDelivery": {
+ "$ref": "SlackDelivery",
+ "description": "Configuration for Slack delivery."
+ },
+ "smtpDelivery": {
+ "$ref": "SMTPDelivery",
+ "description": "Configuration for SMTP (email) delivery."
+ },
+ "structDelivery": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "Escape hatch for users to supply custom delivery configs.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "NotifierConfig": {
+ "description": "NotifierConfig is the top-level configuration message.",
+ "id": "NotifierConfig",
+ "properties": {
+ "apiVersion": {
+ "description": "The API version of this configuration format.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "The type of notifier to use (e.g. SMTPNotifier).",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "NotifierMetadata",
+ "description": "Metadata for referring to/handling/deploying this notifier."
+ },
+ "spec": {
+ "$ref": "NotifierSpec",
+ "description": "The actual configuration for this notifier."
+ }
+ },
+ "type": "object"
+ },
+ "NotifierMetadata": {
+ "description": "NotifierMetadata contains the data which can be used to reference or describe\nthis notifier.",
+ "id": "NotifierMetadata",
+ "properties": {
+ "name": {
+ "description": "The human-readable and user-given name for the notifier.\nFor example: \"repo-merge-email-notifier\".",
+ "type": "string"
+ },
+ "notifier": {
+ "description": "The string representing the name and version of notifier to deploy.\nExpected to be of the form of \"/:\".\nFor example: \"gcr.io/my-project/notifiers/smtp:1.2.34\".",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "NotifierSecret": {
+ "description": "NotifierSecret is the container that maps a secret name (reference) to its\nGoogle Cloud Secret Manager resource path.",
+ "id": "NotifierSecret",
+ "properties": {
+ "name": {
+ "description": "Name is the local name of the secret, such as the verbatim string\n\"my-smtp-password\".",
+ "type": "string"
+ },
+ "value": {
+ "description": "Value is interpreted to be a resource path for fetching the actual\n(versioned) secret data for this secret. For example, this would be a\nGoogle Cloud Secret Manager secret version resource path like:\n\"projects/my-project/secrets/my-secret/versions/latest\".",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "NotifierSecretRef": {
+ "description": "NotifierSecretRef contains the reference to a secret stored in the\ncorresponding NotifierSpec.",
+ "id": "NotifierSecretRef",
+ "properties": {
+ "secretRef": {
+ "description": "The value of `secret_ref` should be a `name` that is registered in a\n`Secret` in the `secrets` list of the `Spec`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "NotifierSpec": {
+ "description": "NotifierSpec is the configuration container for notifications.",
+ "id": "NotifierSpec",
+ "properties": {
+ "notification": {
+ "$ref": "Notification",
+ "description": "The configuration of this particular notifier."
+ },
+ "secrets": {
+ "description": "Configurations for secret resources used by this particular notifier.",
+ "items": {
+ "$ref": "NotifierSecret"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Operation": {
+ "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
+ "id": "Operation",
+ "properties": {
+ "done": {
+ "description": "If the value is `false`, it means the operation is still in progress.\nIf `true`, the operation is completed, and either `error` or `response` is\navailable.",
+ "type": "boolean"
+ },
+ "error": {
+ "$ref": "Status",
+ "description": "The error result of the operation in case of failure or cancellation."
+ },
+ "metadata": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.",
+ "type": "object"
+ },
+ "name": {
+ "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should be a resource name ending with `operations/{unique_id}`.",
+ "type": "string"
+ },
+ "response": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
"RepoSource": {
"description": "Location of the source in a Google Cloud Source Repository.",
"id": "RepoSource",
@@ -863,6 +1097,40 @@
},
"type": "object"
},
+ "SMTPDelivery": {
+ "description": "SMTPDelivery is the delivery configuration for an SMTP (email) notification.",
+ "id": "SMTPDelivery",
+ "properties": {
+ "fromAddress": {
+ "description": "This is the SMTP account/email that appears in the `From:` of the email.\nIf empty, it is assumed to be sender.",
+ "type": "string"
+ },
+ "password": {
+ "$ref": "NotifierSecretRef",
+ "description": "The SMTP sender's password."
+ },
+ "port": {
+ "description": "The SMTP port of the server.",
+ "type": "string"
+ },
+ "recipientAddresses": {
+ "description": "This is the list of addresses to which we send the email (i.e. in the `To:`\nof the email).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "senderAddress": {
+ "description": "This is the SMTP account/email that is used to send the message.",
+ "type": "string"
+ },
+ "server": {
+ "description": "The address of the SMTP server.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Secret": {
"description": "Pairs a set of secret environment variables containing encrypted\nvalues with the Cloud KMS key to use to decrypt the value.",
"id": "Secret",
@@ -882,6 +1150,17 @@
},
"type": "object"
},
+ "SlackDelivery": {
+ "description": "SlackDelivery is the delivery configuration for delivering Slack messages via\nwebhooks. See Slack webhook documentation at:\nhttps://api.slack.com/messaging/webhooks.",
+ "id": "SlackDelivery",
+ "properties": {
+ "webhookUri": {
+ "$ref": "NotifierSecretRef",
+ "description": "The secret reference for the Slack webhook URI for sending messages to a\nchannel."
+ }
+ },
+ "type": "object"
+ },
"Source": {
"description": "Location of the source in a supported storage service.",
"id": "Source",
@@ -919,6 +1198,33 @@
},
"type": "object"
},
+ "Status": {
+ "description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors).",
+ "id": "Status",
+ "properties": {
+ "code": {
+ "description": "The status code, which should be an enum value of google.rpc.Code.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "details": {
+ "description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.",
+ "items": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"StorageSource": {
"description": "Location of the source in an archive file in Google Cloud Storage.",
"id": "StorageSource",
diff --git a/etc/api/clouddebugger/v2/clouddebugger-api.json b/etc/api/clouddebugger/v2/clouddebugger-api.json
index cff42d3d39..ed012025ee 100644
--- a/etc/api/clouddebugger/v2/clouddebugger-api.json
+++ b/etc/api/clouddebugger/v2/clouddebugger-api.json
@@ -144,6 +144,11 @@
"debuggeeId"
],
"parameters": {
+ "agentId": {
+ "description": "Identifies the agent.\nThis is the ID returned in the RegisterDebuggee response.",
+ "location": "query",
+ "type": "string"
+ },
"debuggeeId": {
"description": "Required. Identifies the debuggee.",
"location": "path",
@@ -393,6 +398,16 @@
"debuggeeId"
],
"parameters": {
+ "canaryOption": {
+ "description": "The canary option set by the user upon setting breakpoint.",
+ "enum": [
+ "CANARY_OPTION_UNSPECIFIED",
+ "CANARY_OPTION_TRY_ENABLE",
+ "CANARY_OPTION_TRY_DISABLE"
+ ],
+ "location": "query",
+ "type": "string"
+ },
"clientVersion": {
"description": "Required. The client version making the call.\nSchema: `domain/type/version` (e.g., `google.com/intellij/v1`).",
"location": "query",
@@ -424,7 +439,7 @@
}
}
},
- "revision": "20200405",
+ "revision": "20200703",
"rootUrl": "https://clouddebugger.googleapis.com/",
"schemas": {
"AliasContext": {
@@ -470,6 +485,11 @@
],
"type": "string"
},
+ "canaryExpireTime": {
+ "description": "The deadline for the breakpoint to stay in CANARY_ACTIVE state. The value\nis meaningless when the breakpoint is not in CANARY_ACTIVE state.",
+ "format": "google-datetime",
+ "type": "string"
+ },
"condition": {
"description": "Condition that triggers the breakpoint.\nThe condition is a compound boolean expression composed using expressions\nin a programming language at the source location.",
"type": "string"
@@ -542,6 +562,24 @@
},
"type": "array"
},
+ "state": {
+ "description": "The current state of the breakpoint.",
+ "enum": [
+ "STATE_UNSPECIFIED",
+ "STATE_CANARY_PENDING_AGENTS",
+ "STATE_CANARY_ACTIVE",
+ "STATE_ROLLING_TO_ALL",
+ "STATE_IS_FINAL"
+ ],
+ "enumDescriptions": [
+ "Breakpoint state UNSPECIFIED.",
+ "Enabling canary but no agents are available.",
+ "Enabling canary and successfully assigning canary agents.",
+ "Breakpoint rolling out to all agents.",
+ "Breakpoint is hit/complete/failed."
+ ],
+ "type": "string"
+ },
"status": {
"$ref": "StatusMessage",
"description": "Breakpoint status.\n\nThe status includes an error flag and a human readable message.\nThis field is usually unset. The message can be either\ninformational or an error message. Regardless, clients should always\ndisplay the text message back to the user.\n\nError status indicates complete failure of the breakpoint.\n\nExample (non-final state): `Still loading symbols...`\n\nExamples (final state):\n\n* `Invalid line number` referring to location\n* `Field f not found in class C` referring to condition"
@@ -621,6 +659,24 @@
"description": "Version ID of the agent.\nSchema: `domain/language-platform/vmajor.minor` (for example\n`google.com/java-gcp/v1.1`).",
"type": "string"
},
+ "canaryMode": {
+ "description": "Used when setting breakpoint canary for this debuggee.",
+ "enum": [
+ "CANARY_MODE_UNSPECIFIED",
+ "CANARY_MODE_ALWAYS_ENABLED",
+ "CANARY_MODE_ALWAYS_DISABLED",
+ "CANARY_MODE_DEFAULT_ENABLED",
+ "CANARY_MODE_DEFAULT_DISABLED"
+ ],
+ "enumDescriptions": [
+ "CANARY_MODE_UNSPECIFIED is equivalent to CANARY_MODE_ALWAYS_DISABLED so\nthat if the debuggee is not configured to use the canary feature, the\nfeature will be disabled.",
+ "Always enable breakpoint canary regardless of the value of breakpoint's\ncanary option.",
+ "Always disable breakpoint canary regardless of the value of breakpoint's\ncanary option.",
+ "Depends on the breakpoint's canary option. Enable canary by default if\nthe breakpoint's canary option is not specified.",
+ "Depends on the breakpoint's canary option. Disable canary by default if\nthe breakpoint's canary option is not specified."
+ ],
+ "type": "string"
+ },
"description": {
"description": "Human readable description of the debuggee.\nIncluding a human-readable project name, environment name and version\ninformation is recommended.",
"type": "string"
@@ -852,6 +908,10 @@
"description": "Response for registering a debuggee.",
"id": "RegisterDebuggeeResponse",
"properties": {
+ "agentId": {
+ "description": "A unique ID generated for the agent.\nEach RegisterDebuggee request will generate a new agent ID.",
+ "type": "string"
+ },
"debuggee": {
"$ref": "Debuggee",
"description": "Debuggee resource.\nThe field `id` is guaranteed to be set (in addition to the echoed fields).\nIf the field `is_disabled` is set to `true`, the agent should disable\nitself by removing all breakpoints and detaching from the application.\nIt should however continue to poll `RegisterDebuggee` until reenabled."
@@ -978,6 +1038,7 @@
"BREAKPOINT_CONDITION",
"BREAKPOINT_EXPRESSION",
"BREAKPOINT_AGE",
+ "BREAKPOINT_CANARY_FAILED",
"VARIABLE_NAME",
"VARIABLE_VALUE"
],
@@ -987,6 +1048,7 @@
"Status applies to the breakpoint and is related to its condition.",
"Status applies to the breakpoint and is related to its expressions.",
"Status applies to the breakpoint and is related to its age.",
+ "Status applies to the breakpoint when the breakpoint failed to exit the\ncanary state.",
"Status applies to the entire variable.",
"Status applies to variable value (variable name is valid)."
],
diff --git a/etc/api/clouderrorreporting/v1beta1/clouderrorreporting-api.json b/etc/api/clouderrorreporting/v1beta1/clouderrorreporting-api.json
index f24cfbcba2..946b2d77b8 100644
--- a/etc/api/clouderrorreporting/v1beta1/clouderrorreporting-api.json
+++ b/etc/api/clouderrorreporting/v1beta1/clouderrorreporting-api.json
@@ -354,7 +354,7 @@
],
"parameters": {
"groupName": {
- "description": "Required. The group resource name. Written as\nprojects/projectID/groups/group_name.\nCall\n\ngroupStats.list to return a list of groups belonging to\nthis project.\n\nExample: projects/my-project-123/groups/my-group",
+ "description": "Required. The group resource name. Written as\n`projects/{projectID}/groups/{group_name}`. Call\n[`groupStats.list`](https://cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groupStats/list)\nto return a list of groups belonging to this project.\n\nExample: `projects/my-project-123/groups/my-group`",
"location": "path",
"pattern": "^projects/[^/]+/groups/[^/]+$",
"required": true,
@@ -402,7 +402,7 @@
}
}
},
- "revision": "20200331",
+ "revision": "20200610",
"rootUrl": "https://clouderrorreporting.googleapis.com/",
"schemas": {
"DeleteEventsResponse": {
@@ -726,7 +726,7 @@
"id": "TrackingIssue",
"properties": {
"url": {
- "description": "A URL pointing to a related entry in an issue tracking system.\nExample: https://github.com/user/project/issues/4",
+ "description": "A URL pointing to a related entry in an issue tracking system.\nExample: `https://github.com/user/project/issues/4`",
"type": "string"
}
},
diff --git a/etc/api/cloudfunctions/v1/cloudfunctions-api.json b/etc/api/cloudfunctions/v1/cloudfunctions-api.json
index df98039445..af3ed8505b 100644
--- a/etc/api/cloudfunctions/v1/cloudfunctions-api.json
+++ b/etc/api/cloudfunctions/v1/cloudfunctions-api.json
@@ -392,7 +392,7 @@
],
"parameters": {
"options.requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.",
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"location": "query",
"type": "integer"
@@ -546,11 +546,11 @@
}
}
},
- "revision": "20200401",
+ "revision": "20200629",
"rootUrl": "https://cloudfunctions.googleapis.com/",
"schemas": {
"AuditConfig": {
- "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
+ "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n },\n {\n \"log_type\": \"ADMIN_READ\"\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\"\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"auditLogConfigs": {
@@ -568,7 +568,7 @@
"type": "object"
},
"AuditLogConfig": {
- "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
+ "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
"id": "AuditLogConfig",
"properties": {
"exemptedMembers": {
@@ -603,7 +603,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
@@ -658,6 +658,10 @@
"format": "int32",
"type": "integer"
},
+ "buildId": {
+ "description": "Output only. The Cloud Build ID of the latest successful deployment of the\nfunction.",
+ "type": "string"
+ },
"description": {
"description": "User-provided description of a function.",
"type": "string"
@@ -686,12 +690,14 @@
"enum": [
"INGRESS_SETTINGS_UNSPECIFIED",
"ALLOW_ALL",
- "ALLOW_INTERNAL_ONLY"
+ "ALLOW_INTERNAL_ONLY",
+ "ALLOW_INTERNAL_AND_GCLB"
],
"enumDescriptions": [
"Unspecified.",
"Allow HTTP traffic from public and private sources.",
- "Allow HTTP traffic from only private VPC sources."
+ "Allow HTTP traffic from only private VPC sources.",
+ "Allow HTTP traffic from private VPC sources and through GCLB."
],
"type": "string"
},
@@ -1033,6 +1039,10 @@
"description": "Metadata describing an Operation",
"id": "OperationMetadataV1",
"properties": {
+ "buildId": {
+ "description": "The Cloud Build ID of the function created or updated by an API call.\nThis field is only populated for Create and Update operations.",
+ "type": "string"
+ },
"request": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
@@ -1120,7 +1130,7 @@
"type": "object"
},
"Policy": {
- "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"auditConfigs": {
@@ -1143,7 +1153,7 @@
"type": "string"
},
"version": {
- "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -1165,7 +1175,7 @@
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
},
"updateMask": {
- "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.",
+ "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\n\n`paths: \"bindings, etag\"`",
"format": "google-fieldmask",
"type": "string"
}
diff --git a/etc/api/cloudfunctions/v1beta2/cloudfunctions-api.json b/etc/api/cloudfunctions/v1beta2/cloudfunctions-api.json
index 77c97c4167..de2874cee0 100644
--- a/etc/api/cloudfunctions/v1beta2/cloudfunctions-api.json
+++ b/etc/api/cloudfunctions/v1beta2/cloudfunctions-api.json
@@ -453,7 +453,7 @@
}
}
},
- "revision": "20200401",
+ "revision": "20200629",
"rootUrl": "https://cloudfunctions.googleapis.com/",
"schemas": {
"CallFunctionRequest": {
@@ -821,6 +821,10 @@
"description": "Metadata describing an Operation",
"id": "OperationMetadataV1",
"properties": {
+ "buildId": {
+ "description": "The Cloud Build ID of the function created or updated by an API call.\nThis field is only populated for Create and Update operations.",
+ "type": "string"
+ },
"request": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
diff --git a/etc/api/cloudidentity/v1/cloudidentity-api.json b/etc/api/cloudidentity/v1/cloudidentity-api.json
index 923dca35ef..0d742561ec 100644
--- a/etc/api/cloudidentity/v1/cloudidentity-api.json
+++ b/etc/api/cloudidentity/v1/cloudidentity-api.json
@@ -512,7 +512,7 @@
}
}
},
- "revision": "20200401",
+ "revision": "20200707",
"rootUrl": "https://cloudidentity.googleapis.com/",
"schemas": {
"EntityKey": {
diff --git a/etc/api/cloudidentity/v1beta1/cloudidentity-api.json b/etc/api/cloudidentity/v1beta1/cloudidentity-api.json
index 9aaacf88fd..137448236b 100644
--- a/etc/api/cloudidentity/v1beta1/cloudidentity-api.json
+++ b/etc/api/cloudidentity/v1beta1/cloudidentity-api.json
@@ -550,68 +550,17 @@
}
}
},
- "revision": "20200401",
+ "revision": "20200707",
"rootUrl": "https://cloudidentity.googleapis.com/",
"schemas": {
"AndroidAttributes": {
"description": "Resource representing the Android specific attributes of a Device.",
"id": "AndroidAttributes",
"properties": {
- "basebandVersion": {
- "description": "Baseband version of Android device.",
- "type": "string"
- },
- "bootloaderVersion": {
- "description": "Device bootloader version. Example: 0.6.7.",
- "type": "string"
- },
- "buildNumber": {
- "description": "Build number of Android device.",
- "type": "string"
- },
- "enabledDeveloperOptions": {
- "description": "Whether developer options is enabled on device.",
- "type": "boolean"
- },
"enabledUnknownSources": {
"description": "Whether applications from unknown sources can be installed on device.",
"type": "boolean"
},
- "enabledUsbDebugging": {
- "description": "Whether adb (USB debugging) is enabled on device.",
- "type": "boolean"
- },
- "encryptionState": {
- "description": "Device encryption state.",
- "enum": [
- "ENCRYPTION_STATE_UNSPECIFIED",
- "UNSUPPORTED_BY_DEVICE",
- "ENCRYPTED",
- "NOT_ENCRYPTED"
- ],
- "enumDescriptions": [
- "Encryption Status is not set.",
- "Device doesn't support encryption.",
- "Device is encrypted.",
- "Device is not encrypted."
- ],
- "type": "string"
- },
- "hardware": {
- "description": "Device hardware. Example: Sprout.",
- "type": "string"
- },
- "kernelVersion": {
- "description": "Kernel version of Android device.",
- "type": "string"
- },
- "otherAccounts": {
- "description": "Domain name for Google accounts on device. Type for other accounts on\ndevice. Will only be populated if |ownership_privilege| is\n|PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in\nto the device policy app if that account's domain has only one account.\nExamples: \"com.example\", \"xyz.com\".",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
"ownerProfileAccount": {
"description": "Whether this account is on an owner/primary profile.\nFor phones, only true for owner profiles. Android 4+ devices\ncan have secondary or restricted user profiles.",
"type": "boolean"
@@ -632,11 +581,6 @@
],
"type": "string"
},
- "securityPatchTime": {
- "description": "OS security patch update time on device.",
- "format": "google-datetime",
- "type": "string"
- },
"supportsWorkProfile": {
"description": "Whether device supports Android work profiles. If false, this service\nwill not block access to corp data even if an administrator turns on the\n\"Enforce Work Profile\" policy.",
"type": "boolean"
@@ -688,6 +632,135 @@
},
"type": "object"
},
+ "ClientState": {
+ "description": "Resource representing ClientState and supports updates from API users",
+ "id": "ClientState",
+ "properties": {
+ "assetTags": {
+ "description": "The caller can specify asset tags for this resource",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "complianceState": {
+ "description": "The compliance state of the resource as specified by the API client.",
+ "enum": [
+ "COMPLIANCE_STATE_UNSPECIFIED",
+ "COMPLIANT",
+ "NON_COMPLIANT"
+ ],
+ "enumDescriptions": [
+ "The compliance state of the resource is unknown or unspecified.",
+ "Device is compliant with third party policies",
+ "Device is not compliant with third party policies"
+ ],
+ "type": "string"
+ },
+ "createTime": {
+ "description": "Output only. The time the client state data was created.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "customId": {
+ "description": "This field may be used to store a unique identifier for the API resource\nwithin which these CustomAttributes are a field.",
+ "type": "string"
+ },
+ "etag": {
+ "description": "The token that needs to be passed back for\nconcurrency control in updates. Token needs to be passed back\nin UpdateRequest",
+ "type": "string"
+ },
+ "healthScore": {
+ "description": "The Health score of the resource",
+ "enum": [
+ "HEALTH_SCORE_UNSPECIFIED",
+ "VERY_POOR",
+ "POOR",
+ "NEUTRAL",
+ "GOOD",
+ "VERY_GOOD"
+ ],
+ "enumDescriptions": [
+ "Default value",
+ "The object is in very poor health as defined by the caller.",
+ "The object is in poor health as defined by the caller.",
+ "The object health is neither good nor poor, as defined by the caller.",
+ "The object is in good health as defined by the caller.",
+ "The object is in very good health as defined by the caller."
+ ],
+ "type": "string"
+ },
+ "keyValuePairs": {
+ "additionalProperties": {
+ "$ref": "CustomAttributeValue"
+ },
+ "description": "The map of key-value attributes stored by callers specific to a\ndevice. The total serialized length of this map may not exceed 10KB. No\nlimit is placed on the number of attributes in a map.",
+ "type": "object"
+ },
+ "lastUpdateTime": {
+ "description": "Output only. The time the client state data was last updated.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "managed": {
+ "description": "The management state of the resource as specified by the API client.",
+ "enum": [
+ "MANAGED_STATE_UNSPECIFIED",
+ "MANAGED",
+ "UNMANAGED"
+ ],
+ "enumDescriptions": [
+ "The management state of the resource is unknown or unspecified.",
+ "The resource is managed.",
+ "The resource is not managed."
+ ],
+ "type": "string"
+ },
+ "name": {
+ "description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of\nthe ClientState in format:\n`devices/{device_id}/deviceUsers/{device_user_id}/clientState/{partner_id}`,\nwhere partner_id corresponds to the partner storing the data.",
+ "type": "string"
+ },
+ "ownerType": {
+ "description": "Output only. The owner of the ClientState",
+ "enum": [
+ "OWNER_TYPE_UNSPECIFIED",
+ "OWNER_TYPE_CUSTOMER",
+ "OWNER_TYPE_PARTNER"
+ ],
+ "enumDescriptions": [
+ "Unknown owner type",
+ "Customer is the owner",
+ "Partner is the owner"
+ ],
+ "type": "string"
+ },
+ "scoreReason": {
+ "description": "A descriptive cause of the health score.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CustomAttributeValue": {
+ "description": "Additional custom attribute values may be one of these types",
+ "id": "CustomAttributeValue",
+ "properties": {
+ "boolValue": {
+ "description": "Represents a boolean value.",
+ "type": "boolean"
+ },
+ "numberValue": {
+ "description": "Represents a double value.",
+ "format": "double",
+ "type": "number"
+ },
+ "stringValue": {
+ "description": "Represents a string value.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Device": {
"description": "Represents a Device known to Google Cloud, independent of the device\nownership, type, and whether it is assigned or in use by a user.",
"id": "Device",
@@ -700,10 +773,22 @@
"description": "Asset tag of the device.",
"type": "string"
},
+ "basebandVersion": {
+ "description": "Output only. Baseband version of the device.",
+ "type": "string"
+ },
+ "bootloaderVersion": {
+ "description": "Output only. Device bootloader version. Example: 0.6.7.",
+ "type": "string"
+ },
"brand": {
"description": "Output only. Device brand. Example: Samsung.",
"type": "string"
},
+ "buildNumber": {
+ "description": "Output only. Build number of the device.",
+ "type": "string"
+ },
"compromisedState": {
"description": "Output only. Represents whether the Device is compromised.",
"enum": [
@@ -747,10 +832,38 @@
],
"type": "string"
},
+ "enabledDeveloperOptions": {
+ "description": "Output only. Whether developer options is enabled on device.",
+ "type": "boolean"
+ },
+ "enabledUsbDebugging": {
+ "description": "Output only. Whether USB debugging is enabled on device.",
+ "type": "boolean"
+ },
+ "encryptionState": {
+ "description": "Output only. Device encryption state.",
+ "enum": [
+ "ENCRYPTION_STATE_UNSPECIFIED",
+ "UNSUPPORTED_BY_DEVICE",
+ "ENCRYPTED",
+ "NOT_ENCRYPTED"
+ ],
+ "enumDescriptions": [
+ "Encryption Status is not set.",
+ "Device doesn't support encryption.",
+ "Device is encrypted.",
+ "Device is not encrypted."
+ ],
+ "type": "string"
+ },
"imei": {
"description": "Output only. IMEI number of device if GSM device; empty otherwise.",
"type": "string"
},
+ "kernelVersion": {
+ "description": "Output only. Kernel version of the device.",
+ "type": "string"
+ },
"lastSyncTime": {
"description": "Most recent time when device synced with this service.",
"format": "google-datetime",
@@ -802,8 +915,15 @@
"description": "Output only. OS version of the device. Example: Android 8.1.0.",
"type": "string"
},
+ "otherAccounts": {
+ "description": "Output only. Domain name for Google accounts on device. Type for other accounts on\ndevice. On Android, will only be populated if |ownership_privilege| is\n|PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in\nto the device policy app if that account's domain has only one account.\nExamples: \"com.example\", \"xyz.com\".",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"ownerType": {
- "description": "Whether the device is owned by the company or an individual",
+ "description": "Output only. Whether the device is owned by the company or an individual",
"enum": [
"DEVICE_OWNERSHIP_UNSPECIFIED",
"COMPANY",
@@ -820,6 +940,11 @@
"description": "Output only. OS release version. Example: 6.0.",
"type": "string"
},
+ "securityPatchTime": {
+ "description": "Output only. OS security patch update time on device.",
+ "format": "google-datetime",
+ "type": "string"
+ },
"serialNumber": {
"description": "Serial Number of device. Example: HT82V1A01076.",
"type": "string"
@@ -852,6 +977,11 @@
],
"type": "string"
},
+ "createTime": {
+ "description": "When the user first signed in to the device",
+ "format": "google-datetime",
+ "type": "string"
+ },
"firstSyncTime": {
"description": "Output only. Most recent time when user registered with this service.",
"format": "google-datetime",
@@ -1039,6 +1169,24 @@
},
"type": "object"
},
+ "ListClientStatesResponse": {
+ "description": "Response message that is returned in LRO result of ListClientStates\nOperation.",
+ "id": "ListClientStatesResponse",
+ "properties": {
+ "clientStates": {
+ "description": "Client states meeting the list restrictions.",
+ "items": {
+ "$ref": "ClientState"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "Token to retrieve the next page of results. Empty if there are no more\nresults.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"ListDeviceUsersResponse": {
"description": "Response message that is returned in LRO result of ListDeviceUsers Operation.",
"id": "ListDeviceUsersResponse",
@@ -1201,6 +1349,24 @@
},
"type": "array"
},
+ "type": {
+ "description": "Output only. The type of the membership.",
+ "enum": [
+ "TYPE_UNSPECIFIED",
+ "USER",
+ "SERVICE_ACCOUNT",
+ "GROUP",
+ "OTHER"
+ ],
+ "enumDescriptions": [
+ "Default. Should not be used.",
+ "Represents user type.",
+ "Represents service account type.",
+ "Represents group type.",
+ "Represents other type."
+ ],
+ "type": "string"
+ },
"updateTime": {
"description": "Output only. The time when the `Membership` was last updated.",
"format": "google-datetime",
diff --git a/etc/api/cloudiot/v1/cloudiot-api.json b/etc/api/cloudiot/v1/cloudiot-api.json
index 162af0e3ad..c7d20edbb7 100644
--- a/etc/api/cloudiot/v1/cloudiot-api.json
+++ b/etc/api/cloudiot/v1/cloudiot-api.json
@@ -928,7 +928,7 @@
}
}
},
- "revision": "20200331",
+ "revision": "20200519",
"rootUrl": "https://cloudiot.googleapis.com/",
"schemas": {
"BindDeviceToGatewayRequest": {
@@ -958,7 +958,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
@@ -1291,7 +1291,7 @@
"properties": {
"options": {
"$ref": "GetPolicyOptions",
- "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`. This field is only used by Cloud IAM."
+ "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`."
}
},
"type": "object"
@@ -1301,7 +1301,7 @@
"id": "GetPolicyOptions",
"properties": {
"requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.",
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -1432,7 +1432,7 @@
"type": "object"
},
"Policy": {
- "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"bindings": {
@@ -1448,7 +1448,7 @@
"type": "string"
},
"version": {
- "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
diff --git a/etc/api/cloudkms/v1/cloudkms-api.json b/etc/api/cloudkms/v1/cloudkms-api.json
index 059b7411b4..fbbb28ab96 100644
--- a/etc/api/cloudkms/v1/cloudkms-api.json
+++ b/etc/api/cloudkms/v1/cloudkms-api.json
@@ -254,7 +254,7 @@
],
"parameters": {
"options.requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.",
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"location": "query",
"type": "integer"
@@ -324,7 +324,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED",
+ "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}:setIamPolicy",
"httpMethod": "POST",
"id": "cloudkms.projects.locations.keyRings.setIamPolicy",
@@ -353,7 +353,7 @@
]
},
"testIamPermissions": {
- "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
+ "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}:testIamPermissions",
"httpMethod": "POST",
"id": "cloudkms.projects.locations.keyRings.testIamPermissions",
@@ -518,7 +518,7 @@
],
"parameters": {
"options.requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.",
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"location": "query",
"type": "integer"
@@ -632,7 +632,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED",
+ "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}:setIamPolicy",
"httpMethod": "POST",
"id": "cloudkms.projects.locations.keyRings.cryptoKeys.setIamPolicy",
@@ -661,7 +661,7 @@
]
},
"testIamPermissions": {
- "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
+ "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}:testIamPermissions",
"httpMethod": "POST",
"id": "cloudkms.projects.locations.keyRings.cryptoKeys.testIamPermissions",
@@ -1115,7 +1115,7 @@
],
"parameters": {
"options.requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.",
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"location": "query",
"type": "integer"
@@ -1185,7 +1185,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED",
+ "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/importJobs/{importJobsId}:setIamPolicy",
"httpMethod": "POST",
"id": "cloudkms.projects.locations.keyRings.importJobs.setIamPolicy",
@@ -1214,7 +1214,7 @@
]
},
"testIamPermissions": {
- "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
+ "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/importJobs/{importJobsId}:testIamPermissions",
"httpMethod": "POST",
"id": "cloudkms.projects.locations.keyRings.importJobs.testIamPermissions",
@@ -1251,7 +1251,7 @@
}
}
},
- "revision": "20200313",
+ "revision": "20200623",
"rootUrl": "https://cloudkms.googleapis.com/",
"schemas": {
"AsymmetricDecryptRequest": {
@@ -1262,6 +1262,11 @@
"description": "Required. The data encrypted with the named CryptoKeyVersion's public\nkey using OAEP.",
"format": "byte",
"type": "string"
+ },
+ "ciphertextCrc32c": {
+ "description": "Optional. An optional CRC32C checksum of the AsymmetricDecryptRequest.ciphertext.\nIf specified, KeyManagementService will verify the integrity of the\nreceived AsymmetricDecryptRequest.ciphertext using this checksum.\nKeyManagementService will report an error if the checksum verification\nfails. If you receive a checksum error, your client should verify that\nCRC32C(AsymmetricDecryptRequest.ciphertext) is equal to\nAsymmetricDecryptRequest.ciphertext_crc32c, and if so, perform a\nlimited number of retries. A persistent mismatch may indicate an issue in\nyour computation of the CRC32C checksum.\nNote: This field is defined as int64 for reasons of compatibility across\ndifferent languages. However, it is a non-negative integer, which will\nnever exceed 2^32-1, and can be safely downconverted to uint32 in languages\nthat support this type.\n\nNOTE: This field is in Beta.",
+ "format": "int64",
+ "type": "string"
}
},
"type": "object"
@@ -1274,6 +1279,15 @@
"description": "The decrypted data originally encrypted with the matching public key.",
"format": "byte",
"type": "string"
+ },
+ "plaintextCrc32c": {
+ "description": "Integrity verification field. A CRC32C checksum of the returned\nAsymmetricDecryptResponse.plaintext. An integrity check of\nAsymmetricDecryptResponse.plaintext can be performed by computing the\nCRC32C checksum of AsymmetricDecryptResponse.plaintext and comparing\nyour results to this field. Discard the response in case of non-matching\nchecksum values, and perform a limited number of retries. A persistent\nmismatch may indicate an issue in your computation of the CRC32C checksum.\nNote: This field is defined as int64 for reasons of compatibility across\ndifferent languages. However, it is a non-negative integer, which will\nnever exceed 2^32-1, and can be safely downconverted to uint32 in languages\nthat support this type.\n\nNOTE: This field is in Beta.",
+ "format": "int64",
+ "type": "string"
+ },
+ "verifiedCiphertextCrc32c": {
+ "description": "Integrity verification field. A flag indicating whether\nAsymmetricDecryptRequest.ciphertext_crc32c was received by\nKeyManagementService and used for the integrity verification of the\nciphertext. A false value of this\nfield indicates either that AsymmetricDecryptRequest.ciphertext_crc32c\nwas left unset or that it was not delivered to KeyManagementService. If\nyou've set AsymmetricDecryptRequest.ciphertext_crc32c but this field is\nstill false, discard the response and perform a limited number of retries.\n\nNOTE: This field is in Beta.",
+ "type": "boolean"
}
},
"type": "object"
@@ -1285,6 +1299,11 @@
"digest": {
"$ref": "Digest",
"description": "Required. The digest of the data to sign. The digest must be produced with\nthe same digest algorithm as specified by the key version's\nalgorithm."
+ },
+ "digestCrc32c": {
+ "description": "Optional. An optional CRC32C checksum of the AsymmetricSignRequest.digest. If\nspecified, KeyManagementService will verify the integrity of the\nreceived AsymmetricSignRequest.digest using this checksum.\nKeyManagementService will report an error if the checksum verification\nfails. If you receive a checksum error, your client should verify that\nCRC32C(AsymmetricSignRequest.digest) is equal to\nAsymmetricSignRequest.digest_crc32c, and if so, perform a limited\nnumber of retries. A persistent mismatch may indicate an issue in your\ncomputation of the CRC32C checksum.\nNote: This field is defined as int64 for reasons of compatibility across\ndifferent languages. However, it is a non-negative integer, which will\nnever exceed 2^32-1, and can be safely downconverted to uint32 in languages\nthat support this type.\n\nNOTE: This field is in Beta.",
+ "format": "int64",
+ "type": "string"
}
},
"type": "object"
@@ -1293,16 +1312,29 @@
"description": "Response message for KeyManagementService.AsymmetricSign.",
"id": "AsymmetricSignResponse",
"properties": {
+ "name": {
+ "description": "The resource name of the CryptoKeyVersion used for signing. Check\nthis field to verify that the intended resource was used for signing.\n\nNOTE: This field is in Beta.",
+ "type": "string"
+ },
"signature": {
"description": "The created signature.",
"format": "byte",
"type": "string"
+ },
+ "signatureCrc32c": {
+ "description": "Integrity verification field. A CRC32C checksum of the returned\nAsymmetricSignResponse.signature. An integrity check of\nAsymmetricSignResponse.signature can be performed by computing the\nCRC32C checksum of AsymmetricSignResponse.signature and comparing your\nresults to this field. Discard the response in case of non-matching\nchecksum values, and perform a limited number of retries. A persistent\nmismatch may indicate an issue in your computation of the CRC32C checksum.\nNote: This field is defined as int64 for reasons of compatibility across\ndifferent languages. However, it is a non-negative integer, which will\nnever exceed 2^32-1, and can be safely downconverted to uint32 in languages\nthat support this type.\n\nNOTE: This field is in Beta.",
+ "format": "int64",
+ "type": "string"
+ },
+ "verifiedDigestCrc32c": {
+ "description": "Integrity verification field. A flag indicating whether\nAsymmetricSignRequest.digest_crc32c was received by\nKeyManagementService and used for the integrity verification of the\ndigest. A false value of this field\nindicates either that AsymmetricSignRequest.digest_crc32c was left\nunset or that it was not delivered to KeyManagementService. If you've\nset AsymmetricSignRequest.digest_crc32c but this field is still false,\ndiscard the response and perform a limited number of retries.\n\nNOTE: This field is in Beta.",
+ "type": "boolean"
}
},
"type": "object"
},
"AuditConfig": {
- "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
+ "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n },\n {\n \"log_type\": \"ADMIN_READ\"\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\"\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"auditLogConfigs": {
@@ -1320,7 +1352,7 @@
"type": "object"
},
"AuditLogConfig": {
- "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
+ "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
"id": "AuditLogConfig",
"properties": {
"exemptedMembers": {
@@ -1355,7 +1387,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
@@ -1372,7 +1404,7 @@
"type": "object"
},
"CryptoKey": {
- "description": "A CryptoKey represents a logical key that can be used for cryptographic\noperations.\n\nA CryptoKey is made up of one or more versions, which\nrepresent the actual key material used in cryptographic operations.",
+ "description": "A CryptoKey represents a logical key that can be used for cryptographic\noperations.\n\nA CryptoKey is made up of zero or more versions,\nwhich represent the actual key material used in cryptographic operations.",
"id": "CryptoKey",
"properties": {
"createTime": {
@@ -1384,7 +1416,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Labels with user-defined metadata. For more information, see\n[Labeling Keys](/kms/docs/labeling-keys).",
+ "description": "Labels with user-defined metadata. For more information, see\n[Labeling Keys](https://cloud.google.com/kms/docs/labeling-keys).",
"type": "object"
},
"name": {
@@ -1636,10 +1668,20 @@
"format": "byte",
"type": "string"
},
+ "additionalAuthenticatedDataCrc32c": {
+ "description": "Optional. An optional CRC32C checksum of the\nDecryptRequest.additional_authenticated_data. If specified,\nKeyManagementService will verify the integrity of the received\nDecryptRequest.additional_authenticated_data using this checksum.\nKeyManagementService will report an error if the checksum verification\nfails. If you receive a checksum error, your client should verify that\nCRC32C(DecryptRequest.additional_authenticated_data) is equal to\nDecryptRequest.additional_authenticated_data_crc32c, and if so, perform\na limited number of retries. A persistent mismatch may indicate an issue in\nyour computation of the CRC32C checksum.\nNote: This field is defined as int64 for reasons of compatibility across\ndifferent languages. However, it is a non-negative integer, which will\nnever exceed 2^32-1, and can be safely downconverted to uint32 in languages\nthat support this type.\n\nNOTE: This field is in Beta.",
+ "format": "int64",
+ "type": "string"
+ },
"ciphertext": {
"description": "Required. The encrypted data originally returned in\nEncryptResponse.ciphertext.",
"format": "byte",
"type": "string"
+ },
+ "ciphertextCrc32c": {
+ "description": "Optional. An optional CRC32C checksum of the DecryptRequest.ciphertext. If\nspecified, KeyManagementService will verify the integrity of the\nreceived DecryptRequest.ciphertext using this checksum.\nKeyManagementService will report an error if the checksum verification\nfails. If you receive a checksum error, your client should verify that\nCRC32C(DecryptRequest.ciphertext) is equal to\nDecryptRequest.ciphertext_crc32c, and if so, perform a limited number\nof retries. A persistent mismatch may indicate an issue in your computation\nof the CRC32C checksum.\nNote: This field is defined as int64 for reasons of compatibility across\ndifferent languages. However, it is a non-negative integer, which will\nnever exceed 2^32-1, and can be safely downconverted to uint32 in languages\nthat support this type.\n\nNOTE: This field is in Beta.",
+ "format": "int64",
+ "type": "string"
}
},
"type": "object"
@@ -1652,6 +1694,11 @@
"description": "The decrypted data originally supplied in EncryptRequest.plaintext.",
"format": "byte",
"type": "string"
+ },
+ "plaintextCrc32c": {
+ "description": "Integrity verification field. A CRC32C checksum of the returned\nDecryptResponse.plaintext. An integrity check of\nDecryptResponse.plaintext can be performed by computing the CRC32C\nchecksum of DecryptResponse.plaintext and comparing your results to\nthis field. Discard the response in case of non-matching checksum values,\nand perform a limited number of retries. A persistent mismatch may indicate\nan issue in your computation of the CRC32C checksum. Note: receiving this\nresponse message indicates that KeyManagementService is able to\nsuccessfully decrypt the ciphertext.\nNote: This field is defined as int64 for reasons of compatibility across\ndifferent languages. However, it is a non-negative integer, which will\nnever exceed 2^32-1, and can be safely downconverted to uint32 in languages\nthat support this type.\n\nNOTE: This field is in Beta.",
+ "format": "int64",
+ "type": "string"
}
},
"type": "object"
@@ -1693,10 +1740,20 @@
"format": "byte",
"type": "string"
},
+ "additionalAuthenticatedDataCrc32c": {
+ "description": "Optional. An optional CRC32C checksum of the\nEncryptRequest.additional_authenticated_data. If specified,\nKeyManagementService will verify the integrity of the received\nEncryptRequest.additional_authenticated_data using this checksum.\nKeyManagementService will report an error if the checksum verification\nfails. If you receive a checksum error, your client should verify that\nCRC32C(EncryptRequest.additional_authenticated_data) is equal to\nEncryptRequest.additional_authenticated_data_crc32c, and if so, perform\na limited number of retries. A persistent mismatch may indicate an issue in\nyour computation of the CRC32C checksum.\nNote: This field is defined as int64 for reasons of compatibility across\ndifferent languages. However, it is a non-negative integer, which will\nnever exceed 2^32-1, and can be safely downconverted to uint32 in languages\nthat support this type.\n\nNOTE: This field is in Beta.",
+ "format": "int64",
+ "type": "string"
+ },
"plaintext": {
"description": "Required. The data to encrypt. Must be no larger than 64KiB.\n\nThe maximum size depends on the key version's\nprotection_level. For\nSOFTWARE keys, the plaintext must be no larger\nthan 64KiB. For HSM keys, the combined length of the\nplaintext and additional_authenticated_data fields must be no larger than\n8KiB.",
"format": "byte",
"type": "string"
+ },
+ "plaintextCrc32c": {
+ "description": "Optional. An optional CRC32C checksum of the EncryptRequest.plaintext. If\nspecified, KeyManagementService will verify the integrity of the\nreceived EncryptRequest.plaintext using this checksum.\nKeyManagementService will report an error if the checksum verification\nfails. If you receive a checksum error, your client should verify that\nCRC32C(EncryptRequest.plaintext) is equal to\nEncryptRequest.plaintext_crc32c, and if so, perform a limited number of\nretries. A persistent mismatch may indicate an issue in your computation of\nthe CRC32C checksum.\nNote: This field is defined as int64 for reasons of compatibility across\ndifferent languages. However, it is a non-negative integer, which will\nnever exceed 2^32-1, and can be safely downconverted to uint32 in languages\nthat support this type.\n\nNOTE: This field is in Beta.",
+ "format": "int64",
+ "type": "string"
}
},
"type": "object"
@@ -1710,9 +1767,22 @@
"format": "byte",
"type": "string"
},
+ "ciphertextCrc32c": {
+ "description": "Integrity verification field. A CRC32C checksum of the returned\nEncryptResponse.ciphertext. An integrity check of\nEncryptResponse.ciphertext can be performed by computing the CRC32C\nchecksum of EncryptResponse.ciphertext and comparing your results to\nthis field. Discard the response in case of non-matching checksum values,\nand perform a limited number of retries. A persistent mismatch may indicate\nan issue in your computation of the CRC32C checksum.\nNote: This field is defined as int64 for reasons of compatibility across\ndifferent languages. However, it is a non-negative integer, which will\nnever exceed 2^32-1, and can be safely downconverted to uint32 in languages\nthat support this type.\n\nNOTE: This field is in Beta.",
+ "format": "int64",
+ "type": "string"
+ },
"name": {
"description": "The resource name of the CryptoKeyVersion used in encryption. Check\nthis field to verify that the intended resource was used for encryption.",
"type": "string"
+ },
+ "verifiedAdditionalAuthenticatedDataCrc32c": {
+ "description": "Integrity verification field. A flag indicating whether\nEncryptRequest.additional_authenticated_data_crc32c was received by\nKeyManagementService and used for the integrity verification of the\nAAD. A false value of this\nfield indicates either that\nEncryptRequest.additional_authenticated_data_crc32c was left unset or\nthat it was not delivered to KeyManagementService. If you've set\nEncryptRequest.additional_authenticated_data_crc32c but this field is\nstill false, discard the response and perform a limited number of retries.\n\nNOTE: This field is in Beta.",
+ "type": "boolean"
+ },
+ "verifiedPlaintextCrc32c": {
+ "description": "Integrity verification field. A flag indicating whether\nEncryptRequest.plaintext_crc32c was received by\nKeyManagementService and used for the integrity verification of the\nplaintext. A false value of this field\nindicates either that EncryptRequest.plaintext_crc32c was left unset or\nthat it was not delivered to KeyManagementService. If you've set\nEncryptRequest.plaintext_crc32c but this field is still false, discard\nthe response and perform a limited number of retries.\n\nNOTE: This field is in Beta.",
+ "type": "boolean"
}
},
"type": "object"
@@ -2096,7 +2166,7 @@
"type": "object"
},
"Policy": {
- "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"auditConfigs": {
@@ -2119,7 +2189,7 @@
"type": "string"
},
"version": {
- "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -2172,9 +2242,18 @@
],
"type": "string"
},
+ "name": {
+ "description": "The name of the CryptoKeyVersion public key.\nProvided here for verification.\n\nNOTE: This field is in Beta.",
+ "type": "string"
+ },
"pem": {
"description": "The public key, encoded in PEM format. For more information, see the\n[RFC 7468](https://tools.ietf.org/html/rfc7468) sections for\n[General Considerations](https://tools.ietf.org/html/rfc7468#section-2) and\n[Textual Encoding of Subject Public Key Info]\n(https://tools.ietf.org/html/rfc7468#section-13).",
"type": "string"
+ },
+ "pemCrc32c": {
+ "description": "Integrity verification field. A CRC32C checksum of the returned\nPublicKey.pem. An integrity check of PublicKey.pem can be performed\nby computing the CRC32C checksum of PublicKey.pem and\ncomparing your results to this field. Discard the response in case of\nnon-matching checksum values, and perform a limited number of retries. A\npersistent mismatch may indicate an issue in your computation of the CRC32C\nchecksum.\nNote: This field is defined as int64 for reasons of compatibility across\ndifferent languages. However, it is a non-negative integer, which will\nnever exceed 2^32-1, and can be safely downconverted to uint32 in languages\nthat support this type.\n\nNOTE: This field is in Beta.",
+ "format": "int64",
+ "type": "string"
}
},
"type": "object"
@@ -2194,7 +2273,7 @@
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
},
"updateMask": {
- "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.",
+ "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\n\n`paths: \"bindings, etag\"`",
"format": "google-fieldmask",
"type": "string"
}
diff --git a/etc/api/cloudprofiler/v2/cloudprofiler-api.json b/etc/api/cloudprofiler/v2/cloudprofiler-api.json
index 277b29d105..b78e05aec9 100644
--- a/etc/api/cloudprofiler/v2/cloudprofiler-api.json
+++ b/etc/api/cloudprofiler/v2/cloudprofiler-api.json
@@ -216,7 +216,7 @@
}
}
},
- "revision": "20200405",
+ "revision": "20200704",
"rootUrl": "https://cloudprofiler.googleapis.com/",
"schemas": {
"CreateProfileRequest": {
diff --git a/etc/api/cloudresourcemanager/v1/cloudresourcemanager-api.json b/etc/api/cloudresourcemanager/v1/cloudresourcemanager-api.json
index d74145e29c..62bcf1c932 100644
--- a/etc/api/cloudresourcemanager/v1/cloudresourcemanager-api.json
+++ b/etc/api/cloudresourcemanager/v1/cloudresourcemanager-api.json
@@ -884,7 +884,7 @@
]
},
"getIamPolicy": {
- "description": "Returns the IAM access control policy for the specified Project.\nPermission is denied if the policy or the resource does not exist.\n\nAuthorization requires the Google IAM permission\n`resourcemanager.projects.getIamPolicy` on the project.\n\nFor additional information about resource structure and identification,\nsee [Resource Names](/apis/design/resource_names).",
+ "description": "Returns the IAM access control policy for the specified Project.\nPermission is denied if the policy or the resource does not exist.\n\nAuthorization requires the Google IAM permission\n`resourcemanager.projects.getIamPolicy` on the project.\n\nFor additional information about `resource` (e.g. my-project-id) structure\nand identification, see [Resource Names](/apis/design/resource_names).",
"flatPath": "v1/projects/{resource}:getIamPolicy",
"httpMethod": "POST",
"id": "cloudresourcemanager.projects.getIamPolicy",
@@ -948,7 +948,7 @@
"parameterOrder": [],
"parameters": {
"filter": {
- "description": "An expression for filtering the results of the request. Filter rules are\ncase insensitive. The fields eligible for filtering are:\n\n+ `name`\n+ `id`\n+ `labels.` (where *key* is the name of a label)\n+ `parent.type`\n+ `parent.id`\n\nSome examples of using labels as filters:\n\n| Filter | Description |\n|------------------|-----------------------------------------------------|\n| name:how* | The project's name starts with \"how\". |\n| name:Howl | The project's name is `Howl` or `howl`. |\n| name:HOWL | Equivalent to above. |\n| NAME:howl | Equivalent to above. |\n| labels.color:* | The project has the label `color`. |\n| labels.color:red | The project's label `color` has the value `red`. |\n| labels.color:red labels.size:big |The project's label `color` has\n the value `red` and its label `size` has the value `big`. |\n\nIf no filter is specified, the call will return projects for which the user\nhas the `resourcemanager.projects.get` permission.\n\nNOTE: To perform a by-parent query (eg., what projects are directly in a\nFolder), the caller must have the `resourcemanager.projects.list`\npermission on the parent and the filter must contain both a `parent.type`\nand a `parent.id` restriction\n(example: \"parent.type:folder parent.id:123\"). In this case an alternate\nsearch index is used which provides more consistent results.\n\nOptional.",
+ "description": "An expression for filtering the results of the request. Filter rules are\ncase insensitive. Some eligible fields for filtering are:\n\n+ `name`\n+ `id`\n+ `labels.` (where *key* is the name of a label)\n+ `parent.type`\n+ `parent.id`\n+ `lifecycleState`\n\nSome examples of filter strings:\n\n| Filter | Description |\n|------------------|-----------------------------------------------------|\n| name:how* | The project's name starts with \"how\". |\n| name:Howl | The project's name is `Howl` or `howl`. |\n| name:HOWL | Equivalent to above. |\n| NAME:howl | Equivalent to above. |\n| labels.color:* | The project has the label `color`. |\n| labels.color:red | The project's label `color` has the value `red`. |\n| labels.color:red labels.size:big | The project's label `color` |\n: : has the value `red` and its :\n: : label`size` has the value :\n: : `big`. :\n| lifecycleState:DELETE_REQUESTED | Only show projects that are |\n: : pending deletion. :\n\nIf no filter is specified, the call will return projects for which the user\nhas the `resourcemanager.projects.get` permission.\n\nNOTE: To perform a by-parent query (eg., what projects are directly in a\nFolder), the caller must have the `resourcemanager.projects.list`\npermission on the parent and the filter must contain both a `parent.type`\nand a `parent.id` restriction\n(example: \"parent.type:folder parent.id:123\"). In this case an alternate\nsearch index is used which provides more consistent results.\n\nOptional.",
"location": "query",
"type": "string"
},
@@ -1032,7 +1032,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the IAM access control policy for the specified Project. Overwrites\nany existing policy.\n\nThe following constraints apply when using `setIamPolicy()`:\n\n+ Project does not support `allUsers` and `allAuthenticatedUsers` as\n`members` in a `Binding` of a `Policy`.\n\n+ The owner role can be granted to a `user`, `serviceAccount`, or a group\nthat is part of an organization. For example,\ngroup@myownpersonaldomain.com could be added as an owner to a project in\nthe myownpersonaldomain.com organization, but not the examplepetstore.com\norganization.\n\n+ Service accounts can be made owners of a project directly\nwithout any restrictions. However, to be added as an owner, a user must be\ninvited via Cloud Platform console and must accept the invitation.\n\n+ A user cannot be granted the owner role using `setIamPolicy()`. The user\nmust be granted the owner role using the Cloud Platform Console and must\nexplicitly accept the invitation.\n\n+ You can only grant ownership of a project to a member by using the\nGCP Console. Inviting a member will deliver an invitation email that\nthey must accept. An invitation email is not generated if you are\ngranting a role other than owner, or if both the member you are inviting\nand the project are part of your organization.\n\n+ Membership changes that leave the project without any owners that have\naccepted the Terms of Service (ToS) will be rejected.\n\n+ If the project is not part of an organization, there must be at least\none owner who has accepted the Terms of Service (ToS) agreement in the\npolicy. Calling `setIamPolicy()` to remove the last ToS-accepted owner\nfrom the policy will fail. This restriction also applies to legacy\nprojects that no longer have owners who have accepted the ToS. Edits to\nIAM policies will be rejected until the lack of a ToS-accepting owner is\nrectified.\n\n+ This method will replace the existing policy, and cannot be used to\nappend additional IAM settings.\n\nNote: Removing service accounts from policies or changing their roles\ncan render services completely inoperable. It is important to understand\nhow the service account is being used before removing or updating its\nroles.\n\nAuthorization requires the Google IAM permission\n`resourcemanager.projects.setIamPolicy` on the project",
+ "description": "Sets the IAM access control policy for the specified Project.\n\nCAUTION: This method will replace the existing policy, and cannot be used\nto append additional IAM settings.\n\nNOTE: Removing service accounts from policies or changing their roles can\nrender services completely inoperable. It is important to understand how\nthe service account is being used before removing or updating its roles.\n\nFor additional information about `resource` (e.g. my-project-id) structure\nand identification, see [Resource Names](/apis/design/resource_names).\n\nThe following constraints apply when using `setIamPolicy()`:\n\n+ Project does not support `allUsers` and `allAuthenticatedUsers` as\n`members` in a `Binding` of a `Policy`.\n\n+ The owner role can be granted to a `user`, `serviceAccount`, or a group\nthat is part of an organization. For example,\ngroup@myownpersonaldomain.com could be added as an owner to a project in\nthe myownpersonaldomain.com organization, but not the examplepetstore.com\norganization.\n\n+ Service accounts can be made owners of a project directly\nwithout any restrictions. However, to be added as an owner, a user must be\ninvited via Cloud Platform console and must accept the invitation.\n\n+ A user cannot be granted the owner role using `setIamPolicy()`. The user\nmust be granted the owner role using the Cloud Platform Console and must\nexplicitly accept the invitation.\n\n+ You can only grant ownership of a project to a member by using the\nGCP Console. Inviting a member will deliver an invitation email that\nthey must accept. An invitation email is not generated if you are\ngranting a role other than owner, or if both the member you are inviting\nand the project are part of your organization.\n\n+ Membership changes that leave the project without any owners that have\naccepted the Terms of Service (ToS) will be rejected.\n\n+ If the project is not part of an organization, there must be at least\none owner who has accepted the Terms of Service (ToS) agreement in the\npolicy. Calling `setIamPolicy()` to remove the last ToS-accepted owner\nfrom the policy will fail. This restriction also applies to legacy\nprojects that no longer have owners who have accepted the ToS. Edits to\nIAM policies will be rejected until the lack of a ToS-accepting owner is\nrectified.\n\nAuthorization requires the Google IAM permission\n`resourcemanager.projects.setIamPolicy` on the project",
"flatPath": "v1/projects/{resource}:setIamPolicy",
"httpMethod": "POST",
"id": "cloudresourcemanager.projects.setIamPolicy",
@@ -1087,7 +1087,7 @@
]
},
"testIamPermissions": {
- "description": "Returns permissions that a caller has on the specified Project.\n\nThere are no permissions required for making this API call.",
+ "description": "Returns permissions that a caller has on the specified Project.\n\nFor additional information about `resource` (e.g. my-project-id) structure\nand identification, see [Resource Names](/apis/design/resource_names).\n\nThere are no permissions required for making this API call.",
"flatPath": "v1/projects/{resource}:testIamPermissions",
"httpMethod": "POST",
"id": "cloudresourcemanager.projects.testIamPermissions",
@@ -1171,7 +1171,7 @@
}
}
},
- "revision": "20200408",
+ "revision": "20200629",
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
"schemas": {
"Ancestor": {
@@ -1186,7 +1186,7 @@
"type": "object"
},
"AuditConfig": {
- "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
+ "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n },\n {\n \"log_type\": \"ADMIN_READ\"\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\"\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"auditLogConfigs": {
@@ -1204,7 +1204,7 @@
"type": "object"
},
"AuditLogConfig": {
- "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
+ "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
"id": "AuditLogConfig",
"properties": {
"exemptedMembers": {
@@ -1239,7 +1239,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
@@ -1289,7 +1289,7 @@
"type": "object"
},
"Constraint": {
- "description": "A `Constraint` describes a way in which a resource's configuration can be\nrestricted. For example, it controls which cloud services can be activated\nacross an organization, or whether a Compute Engine instance can have\nserial port connections established. `Constraints` can be configured by the\norganization's policy adminstrator to fit the needs of the organzation by\nsetting Policies for `Constraints` at different locations in the\norganization's resource hierarchy. Policies are inherited down the resource\nhierarchy from higher levels, but can also be overridden. For details about\nthe inheritance rules please read about\nPolicies.\n\n`Constraints` have a default behavior determined by the `constraint_default`\nfield, which is the enforcement behavior that is used in the absence of a\n`Policy` being defined or inherited for the resource in question.",
+ "description": "A `Constraint` describes a way in which a resource's configuration can be\nrestricted. For example, it controls which cloud services can be activated\nacross an organization, or whether a Compute Engine instance can have\nserial port connections established. `Constraints` can be configured by the\norganization's policy administrator to fit the needs of the organzation by\nsetting Policies for `Constraints` at different locations in the\norganization's resource hierarchy. Policies are inherited down the resource\nhierarchy from higher levels, but can also be overridden. For details about\nthe inheritance rules please read about\n[Policies](/resource-manager/reference/rest/v1/Policy).\n\n`Constraints` have a default behavior determined by the `constraint_default`\nfield, which is the enforcement behavior that is used in the absence of a\n`Policy` being defined or inherited for the resource in question.",
"id": "Constraint",
"properties": {
"booleanConstraint": {
@@ -1297,7 +1297,7 @@
"description": "Defines this constraint as being a BooleanConstraint."
},
"constraintDefault": {
- "description": "The evaluation behavior of this constraint in the absense of 'Policy'.",
+ "description": "The evaluation behavior of this constraint in the absence of 'Policy'.",
"enum": [
"CONSTRAINT_DEFAULT_UNSPECIFIED",
"ALLOW",
@@ -1438,7 +1438,7 @@
"type": "object"
},
"GetAncestryResponse": {
- "description": "Response from the GetAncestry method.",
+ "description": "Response from the\nprojects.getAncestry\nmethod.",
"id": "GetAncestryResponse",
"properties": {
"ancestor": {
@@ -1468,7 +1468,7 @@
"properties": {
"options": {
"$ref": "GetPolicyOptions",
- "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`. This field is only used by Cloud IAM."
+ "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`."
}
},
"type": "object"
@@ -1489,7 +1489,7 @@
"id": "GetPolicyOptions",
"properties": {
"requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.",
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -1532,7 +1532,7 @@
"type": "object"
},
"ListAvailableOrgPolicyConstraintsRequest": {
- "description": "The request sent to the [ListAvailableOrgPolicyConstraints]\ngoogle.cloud.OrgPolicy.v1.ListAvailableOrgPolicyConstraints] method.",
+ "description": "The request sent to the `ListAvailableOrgPolicyConstraints` method on the\nproject, folder, or organization.",
"id": "ListAvailableOrgPolicyConstraintsRequest",
"properties": {
"pageSize": {
@@ -1548,7 +1548,7 @@
"type": "object"
},
"ListAvailableOrgPolicyConstraintsResponse": {
- "description": "The response returned from the ListAvailableOrgPolicyConstraints method.\nReturns all `Constraints` that could be set at this level of the hierarchy\n(contrast with the response from `ListPolicies`, which returns all policies\nwhich are set).",
+ "description": "The response returned from the `ListAvailableOrgPolicyConstraints` method.\nReturns all `Constraints` that could be set at this level of the hierarchy\n(contrast with the response from `ListPolicies`, which returns all policies\nwhich are set).",
"id": "ListAvailableOrgPolicyConstraintsResponse",
"properties": {
"constraints": {
@@ -1615,7 +1615,7 @@
"type": "object"
},
"ListOrgPoliciesResponse": {
- "description": "The response returned from the ListOrgPolicies method. It will be empty\nif no `Policies` are set on the resource.",
+ "description": "The response returned from the `ListOrgPolicies` method. It will be empty\nif no `Policies` are set on the resource.",
"id": "ListOrgPoliciesResponse",
"properties": {
"nextPageToken": {
@@ -1665,7 +1665,7 @@
"type": "array"
},
"inheritFromParent": {
- "description": "Determines the inheritance behavior for this `Policy`.\n\nBy default, a `ListPolicy` set at a resource supercedes any `Policy` set\nanywhere up the resource hierarchy. However, if `inherit_from_parent` is\nset to `true`, then the values from the effective `Policy` of the parent\nresource are inherited, meaning the values set in this `Policy` are\nadded to the values inherited up the hierarchy.\n\nSetting `Policy` hierarchies that inherit both allowed values and denied\nvalues isn't recommended in most circumstances to keep the configuration\nsimple and understandable. However, it is possible to set a `Policy` with\n`allowed_values` set that inherits a `Policy` with `denied_values` set.\nIn this case, the values that are allowed must be in `allowed_values` and\nnot present in `denied_values`.\n\nFor example, suppose you have a `Constraint`\n`constraints/serviceuser.services`, which has a `constraint_type` of\n`list_constraint`, and with `constraint_default` set to `ALLOW`.\nSuppose that at the Organization level, a `Policy` is applied that\nrestricts the allowed API activations to {`E1`, `E2`}. Then, if a\n`Policy` is applied to a project below the Organization that has\n`inherit_from_parent` set to `false` and field all_values set to DENY,\nthen an attempt to activate any API will be denied.\n\nThe following examples demonstrate different possible layerings for\n`projects/bar` parented by `organizations/foo`:\n\nExample 1 (no inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values:\"E2\"}\n `projects/bar` has `inherit_from_parent` `false` and values:\n {allowed_values: \"E3\" allowed_values: \"E4\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E3`, and `E4`.\n\nExample 2 (inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values:\"E2\"}\n `projects/bar` has a `Policy` with values:\n {value: \"E3\" value: \"E4\" inherit_from_parent: true}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`.\n\nExample 3 (inheriting both allowed and denied values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n `projects/bar` has a `Policy` with:\n {denied_values: \"E1\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe value accepted at `projects/bar` is `E2`.\n\nExample 4 (RestoreDefault):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values:\"E2\"}\n `projects/bar` has a `Policy` with values:\n {RestoreDefault: {}}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 5 (no policy inherits parent policy):\n `organizations/foo` has no `Policy` set.\n `projects/bar` has no `Policy` set.\nThe accepted values at both levels are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 6 (ListConstraint allowing all):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n `projects/bar` has a `Policy` with:\n {all: ALLOW}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nAny value is accepted at `projects/bar`.\n\nExample 7 (ListConstraint allowing none):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n `projects/bar` has a `Policy` with:\n {all: DENY}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nNo value is accepted at `projects/bar`.\n\nExample 10 (allowed and denied subtrees of Resource Manager hierarchy):\nGiven the following resource hierarchy\n O1->{F1, F2}; F1->{P1}; F2->{P2, P3},\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"under:organizations/O1\"}\n `projects/bar` has a `Policy` with:\n {allowed_values: \"under:projects/P3\"}\n {denied_values: \"under:folders/F2\"}\nThe accepted values at `organizations/foo` are `organizations/O1`,\n `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`,\n `projects/P3`.\nThe accepted values at `projects/bar` are `organizations/O1`,\n `folders/F1`, `projects/P1`.",
+ "description": "Determines the inheritance behavior for this `Policy`.\n\nBy default, a `ListPolicy` set at a resource supersedes any `Policy` set\nanywhere up the resource hierarchy. However, if `inherit_from_parent` is\nset to `true`, then the values from the effective `Policy` of the parent\nresource are inherited, meaning the values set in this `Policy` are\nadded to the values inherited up the hierarchy.\n\nSetting `Policy` hierarchies that inherit both allowed values and denied\nvalues isn't recommended in most circumstances to keep the configuration\nsimple and understandable. However, it is possible to set a `Policy` with\n`allowed_values` set that inherits a `Policy` with `denied_values` set.\nIn this case, the values that are allowed must be in `allowed_values` and\nnot present in `denied_values`.\n\nFor example, suppose you have a `Constraint`\n`constraints/serviceuser.services`, which has a `constraint_type` of\n`list_constraint`, and with `constraint_default` set to `ALLOW`.\nSuppose that at the Organization level, a `Policy` is applied that\nrestricts the allowed API activations to {`E1`, `E2`}. Then, if a\n`Policy` is applied to a project below the Organization that has\n`inherit_from_parent` set to `false` and field all_values set to DENY,\nthen an attempt to activate any API will be denied.\n\nThe following examples demonstrate different possible layerings for\n`projects/bar` parented by `organizations/foo`:\n\nExample 1 (no inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values:\"E2\"}\n `projects/bar` has `inherit_from_parent` `false` and values:\n {allowed_values: \"E3\" allowed_values: \"E4\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E3`, and `E4`.\n\nExample 2 (inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values:\"E2\"}\n `projects/bar` has a `Policy` with values:\n {value: \"E3\" value: \"E4\" inherit_from_parent: true}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`.\n\nExample 3 (inheriting both allowed and denied values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n `projects/bar` has a `Policy` with:\n {denied_values: \"E1\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe value accepted at `projects/bar` is `E2`.\n\nExample 4 (RestoreDefault):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values:\"E2\"}\n `projects/bar` has a `Policy` with values:\n {RestoreDefault: {}}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 5 (no policy inherits parent policy):\n `organizations/foo` has no `Policy` set.\n `projects/bar` has no `Policy` set.\nThe accepted values at both levels are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 6 (ListConstraint allowing all):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n `projects/bar` has a `Policy` with:\n {all: ALLOW}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nAny value is accepted at `projects/bar`.\n\nExample 7 (ListConstraint allowing none):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n `projects/bar` has a `Policy` with:\n {all: DENY}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nNo value is accepted at `projects/bar`.\n\nExample 10 (allowed and denied subtrees of Resource Manager hierarchy):\nGiven the following resource hierarchy\n O1->{F1, F2}; F1->{P1}; F2->{P2, P3},\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"under:organizations/O1\"}\n `projects/bar` has a `Policy` with:\n {allowed_values: \"under:projects/P3\"}\n {denied_values: \"under:folders/F2\"}\nThe accepted values at `organizations/foo` are `organizations/O1`,\n `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`,\n `projects/P3`.\nThe accepted values at `projects/bar` are `organizations/O1`,\n `folders/F1`, `projects/P1`.",
"type": "boolean"
},
"suggestedValue": {
@@ -1737,7 +1737,7 @@
"description": "For boolean `Constraints`, whether to enforce the `Constraint` or not."
},
"constraint": {
- "description": "The name of the `Constraint` the `Policy` is configuring, for example,\n`constraints/serviceuser.services`.\n\nImmutable after creation.",
+ "description": "The name of the `Constraint` the `Policy` is configuring, for example,\n`constraints/serviceuser.services`.\n\nA [list of available\nconstraints](/resource-manager/docs/organization-policy/org-policy-constraints)\nis available.\n\nImmutable after creation.",
"type": "string"
},
"etag": {
@@ -1816,7 +1816,7 @@
"type": "object"
},
"Policy": {
- "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"auditConfigs": {
@@ -1839,7 +1839,7 @@
"type": "string"
},
"version": {
- "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -1859,7 +1859,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "The labels associated with this Project.\n\nLabel keys must be between 1 and 63 characters long and must conform\nto the following regular expression: \\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?.\n\nLabel values must be between 0 and 63 characters long and must conform\nto the regular expression (\\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?)?. A label\nvalue can be empty.\n\nNo more than 256 labels can be associated with a given resource.\n\nClients should store labels in a representation such as JSON that does not\ndepend on specific characters being disallowed.\n\nExample: \"environment\" : \"dev\"\nRead-write.",
+ "description": "The labels associated with this Project.\n\nLabel keys must be between 1 and 63 characters long and must conform\nto the following regular expression: a-z{0,62}.\n\nLabel values must be between 0 and 63 characters long and must conform\nto the regular expression [a-z0-9_-]{0,63}. A label value can be empty.\n\nNo more than 256 labels can be associated with a given resource.\n\nClients should store labels in a representation such as JSON that does not\ndepend on specific characters being disallowed.\n\nExample: \"environment\" : \"dev\"\nRead-write.",
"type": "object"
},
"lifecycleState": {
@@ -1986,7 +1986,7 @@
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
},
"updateMask": {
- "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.",
+ "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\n\n`paths: \"bindings, etag\"`",
"format": "google-fieldmask",
"type": "string"
}
diff --git a/etc/api/cloudresourcemanager/v1beta1/cloudresourcemanager-api.json b/etc/api/cloudresourcemanager/v1beta1/cloudresourcemanager-api.json
index 61d27e7629..9b1bdd1e94 100644
--- a/etc/api/cloudresourcemanager/v1beta1/cloudresourcemanager-api.json
+++ b/etc/api/cloudresourcemanager/v1beta1/cloudresourcemanager-api.json
@@ -455,7 +455,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the IAM access control policy for the specified Project. Overwrites\nany existing policy.\n\nThe following constraints apply when using `setIamPolicy()`:\n\n+ Project does not support `allUsers` and `allAuthenticatedUsers` as\n`members` in a `Binding` of a `Policy`.\n\n+ The owner role can be granted to a `user`, `serviceAccount`, or a group\nthat is part of an organization. For example,\ngroup@myownpersonaldomain.com could be added as an owner to a project in\nthe myownpersonaldomain.com organization, but not the examplepetstore.com\norganization.\n\n+ Service accounts can be made owners of a project directly\nwithout any restrictions. However, to be added as an owner, a user must be\ninvited via Cloud Platform console and must accept the invitation.\n\n+ A user cannot be granted the owner role using `setIamPolicy()`. The user\nmust be granted the owner role using the Cloud Platform Console and must\nexplicitly accept the invitation.\n\n+ Invitations to grant the owner role cannot be sent using\n`setIamPolicy()`; they must be sent only using the Cloud Platform Console.\n\n+ Membership changes that leave the project without any owners that have\naccepted the Terms of Service (ToS) will be rejected.\n\n+ If the project is not part of an organization, there must be at least\none owner who has accepted the Terms of Service (ToS) agreement in the\npolicy. Calling `setIamPolicy()` to remove the last ToS-accepted owner\nfrom the policy will fail. This restriction also applies to legacy\nprojects that no longer have owners who have accepted the ToS. Edits to\nIAM policies will be rejected until the lack of a ToS-accepting owner is\nrectified.\n\n+ This method will replace the existing policy, and cannot be used to\nappend additional IAM settings.\n\nNote: Removing service accounts from policies or changing their roles\ncan render services completely inoperable. It is important to understand\nhow the service account is being used before removing or updating its\nroles.",
+ "description": "Sets the IAM access control policy for the specified Project.\n\nCAUTION: This method will replace the existing policy, and cannot be used\nto append additional IAM settings.\n\nNOTE: Removing service accounts from policies or changing their roles can\nrender services completely inoperable. It is important to understand how\nthe service account is being used before removing or updating its roles.\n\nThe following constraints apply when using `setIamPolicy()`:\n\n+ Project does not support `allUsers` and `allAuthenticatedUsers` as\n`members` in a `Binding` of a `Policy`.\n\n+ The owner role can be granted to a `user`, `serviceAccount`, or a group\nthat is part of an organization. For example,\ngroup@myownpersonaldomain.com could be added as an owner to a project in\nthe myownpersonaldomain.com organization, but not the examplepetstore.com\norganization.\n\n+ Service accounts can be made owners of a project directly\nwithout any restrictions. However, to be added as an owner, a user must be\ninvited via Cloud Platform console and must accept the invitation.\n\n+ A user cannot be granted the owner role using `setIamPolicy()`. The user\nmust be granted the owner role using the Cloud Platform Console and must\nexplicitly accept the invitation.\n\n+ Invitations to grant the owner role cannot be sent using\n`setIamPolicy()`; they must be sent only using the Cloud Platform Console.\n\n+ Membership changes that leave the project without any owners that have\naccepted the Terms of Service (ToS) will be rejected.\n\n+ If the project is not part of an organization, there must be at least\none owner who has accepted the Terms of Service (ToS) agreement in the\npolicy. Calling `setIamPolicy()` to remove the last ToS-accepted owner\nfrom the policy will fail. This restriction also applies to legacy\nprojects that no longer have owners who have accepted the ToS. Edits to\nIAM policies will be rejected until the lack of a ToS-accepting owner is\nrectified.\n\nAuthorization requires the Google IAM permission\n`resourcemanager.projects.setIamPolicy` on the project",
"flatPath": "v1beta1/projects/{resource}:setIamPolicy",
"httpMethod": "POST",
"id": "cloudresourcemanager.projects.setIamPolicy",
@@ -566,7 +566,7 @@
}
}
},
- "revision": "20200408",
+ "revision": "20200629",
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
"schemas": {
"Ancestor": {
@@ -581,7 +581,7 @@
"type": "object"
},
"AuditConfig": {
- "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
+ "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n },\n {\n \"log_type\": \"ADMIN_READ\"\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\"\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"auditLogConfigs": {
@@ -599,7 +599,7 @@
"type": "object"
},
"AuditLogConfig": {
- "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
+ "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
"id": "AuditLogConfig",
"properties": {
"exemptedMembers": {
@@ -634,7 +634,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
@@ -748,13 +748,13 @@
"type": "object"
},
"GetAncestryRequest": {
- "description": "The request sent to the\nGetAncestry\nmethod.",
+ "description": "The request sent to the\n[google.cloudresourcemanager.projects.v1beta1.DeveloperProjects.GetAncestry]\nmethod.",
"id": "GetAncestryRequest",
"properties": {},
"type": "object"
},
"GetAncestryResponse": {
- "description": "Response from the GetAncestry method.",
+ "description": "Response from the\nprojects.getAncestry\nmethod.",
"id": "GetAncestryResponse",
"properties": {
"ancestor": {
@@ -773,7 +773,7 @@
"properties": {
"options": {
"$ref": "GetPolicyOptions",
- "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`. This field is only used by Cloud IAM."
+ "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`."
}
},
"type": "object"
@@ -783,7 +783,7 @@
"id": "GetPolicyOptions",
"properties": {
"requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.",
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -880,7 +880,7 @@
"type": "object"
},
"Policy": {
- "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"auditConfigs": {
@@ -903,7 +903,7 @@
"type": "string"
},
"version": {
- "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -923,7 +923,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "The labels associated with this Project.\n\nLabel keys must be between 1 and 63 characters long and must conform\nto the following regular expression: \\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?.\n\nLabel values must be between 0 and 63 characters long and must conform\nto the regular expression (\\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?)?. A label\nvalue can be empty.\n\nNo more than 256 labels can be associated with a given resource.\n\nClients should store labels in a representation such as JSON that does not\ndepend on specific characters being disallowed.\n\nExample: \"environment\" : \"dev\"\nRead-write.",
+ "description": "The labels associated with this Project.\n\nLabel keys must be between 1 and 63 characters long and must conform\nto the following regular expression: a-z{0,62}.\n\nLabel values must be between 0 and 63 characters long and must conform\nto the regular expression [a-z0-9_-]{0,63}. A label value can be empty.\n\nNo more than 256 labels can be associated with a given resource.\n\nClients should store labels in a representation such as JSON that does not\ndepend on specific characters being disallowed.\n\nExample: \"environment\" : \"dev\"\nRead-write.",
"type": "object"
},
"lifecycleState": {
@@ -1006,7 +1006,7 @@
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
},
"updateMask": {
- "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.",
+ "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\n\n`paths: \"bindings, etag\"`",
"format": "google-fieldmask",
"type": "string"
}
diff --git a/etc/api/cloudresourcemanager/v2/cloudresourcemanager-api.json b/etc/api/cloudresourcemanager/v2/cloudresourcemanager-api.json
index d894e1f0f2..49a82c8d6f 100644
--- a/etc/api/cloudresourcemanager/v2/cloudresourcemanager-api.json
+++ b/etc/api/cloudresourcemanager/v2/cloudresourcemanager-api.json
@@ -450,11 +450,11 @@
}
}
},
- "revision": "20200408",
+ "revision": "20200629",
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
"schemas": {
"AuditConfig": {
- "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
+ "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n },\n {\n \"log_type\": \"ADMIN_READ\"\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\"\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"auditLogConfigs": {
@@ -472,7 +472,7 @@
"type": "object"
},
"AuditLogConfig": {
- "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
+ "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
"id": "AuditLogConfig",
"properties": {
"exemptedMembers": {
@@ -507,7 +507,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
@@ -658,7 +658,7 @@
"properties": {
"options": {
"$ref": "GetPolicyOptions",
- "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`. This field is only used by Cloud IAM."
+ "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`."
}
},
"type": "object"
@@ -668,7 +668,7 @@
"id": "GetPolicyOptions",
"properties": {
"requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.",
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -740,7 +740,7 @@
"type": "object"
},
"Policy": {
- "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"auditConfigs": {
@@ -763,7 +763,7 @@
"type": "string"
},
"version": {
- "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -837,7 +837,7 @@
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
},
"updateMask": {
- "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.",
+ "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\n\n`paths: \"bindings, etag\"`",
"format": "google-fieldmask",
"type": "string"
}
diff --git a/etc/api/cloudresourcemanager/v2beta1/cloudresourcemanager-api.json b/etc/api/cloudresourcemanager/v2beta1/cloudresourcemanager-api.json
index 51370c6f6b..ead00a177d 100644
--- a/etc/api/cloudresourcemanager/v2beta1/cloudresourcemanager-api.json
+++ b/etc/api/cloudresourcemanager/v2beta1/cloudresourcemanager-api.json
@@ -450,11 +450,11 @@
}
}
},
- "revision": "20200408",
+ "revision": "20200629",
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
"schemas": {
"AuditConfig": {
- "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
+ "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n },\n {\n \"log_type\": \"ADMIN_READ\"\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\"\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"auditLogConfigs": {
@@ -472,7 +472,7 @@
"type": "object"
},
"AuditLogConfig": {
- "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
+ "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
"id": "AuditLogConfig",
"properties": {
"exemptedMembers": {
@@ -507,7 +507,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
@@ -658,7 +658,7 @@
"properties": {
"options": {
"$ref": "GetPolicyOptions",
- "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`. This field is only used by Cloud IAM."
+ "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`."
}
},
"type": "object"
@@ -668,7 +668,7 @@
"id": "GetPolicyOptions",
"properties": {
"requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.",
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -740,7 +740,7 @@
"type": "object"
},
"Policy": {
- "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"auditConfigs": {
@@ -763,7 +763,7 @@
"type": "string"
},
"version": {
- "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -837,7 +837,7 @@
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
},
"updateMask": {
- "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.",
+ "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\n\n`paths: \"bindings, etag\"`",
"format": "google-fieldmask",
"type": "string"
}
diff --git a/etc/api/cloudscheduler/v1/cloudscheduler-api.json b/etc/api/cloudscheduler/v1/cloudscheduler-api.json
index 0892da88bf..c1ea76428a 100644
--- a/etc/api/cloudscheduler/v1/cloudscheduler-api.json
+++ b/etc/api/cloudscheduler/v1/cloudscheduler-api.json
@@ -418,7 +418,7 @@
}
}
},
- "revision": "20200331",
+ "revision": "20200618",
"rootUrl": "https://cloudscheduler.googleapis.com/",
"schemas": {
"AppEngineHttpTarget": {
@@ -751,7 +751,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Attributes for this message. If this field is empty, the message must\ncontain non-empty data.",
+ "description": "Attributes for this message. If this field is empty, the message must\ncontain non-empty data. This can be used to filter messages on the\nsubscription.",
"type": "object"
},
"data": {
@@ -810,7 +810,7 @@
"type": "string"
},
"maxDoublings": {
- "description": "The time between retries will double `max_doublings` times.\n\nA job's retry interval starts at\nmin_backoff_duration, then doubles\n`max_doublings` times, then increases linearly, and finally\nretries retries at intervals of\nmax_backoff_duration up to\nretry_count times.\n\nFor example, if min_backoff_duration is\n10s, max_backoff_duration is 300s, and\n`max_doublings` is 3, then the a job will first be retried in 10s. The\nretry interval will double three times, and then increase linearly by\n2^3 * 10s. Finally, the job will retry at intervals of\nmax_backoff_duration until the job has\nbeen attempted retry_count times. Thus, the\nrequests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, ....\n\nThe default value of this field is 5.",
+ "description": "The time between retries will double `max_doublings` times.\n\nA job's retry interval starts at\nmin_backoff_duration, then doubles\n`max_doublings` times, then increases linearly, and finally\nretries at intervals of\nmax_backoff_duration up to\nretry_count times.\n\nFor example, if min_backoff_duration is\n10s, max_backoff_duration is 300s, and\n`max_doublings` is 3, then the a job will first be retried in 10s. The\nretry interval will double three times, and then increase linearly by\n2^3 * 10s. Finally, the job will retry at intervals of\nmax_backoff_duration until the job has\nbeen attempted retry_count times. Thus, the\nrequests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, ....\n\nThe default value of this field is 5.",
"format": "int32",
"type": "integer"
},
diff --git a/etc/api/cloudscheduler/v1beta1/cloudscheduler-api.json b/etc/api/cloudscheduler/v1beta1/cloudscheduler-api.json
index dc0d41c551..caf8d46138 100644
--- a/etc/api/cloudscheduler/v1beta1/cloudscheduler-api.json
+++ b/etc/api/cloudscheduler/v1beta1/cloudscheduler-api.json
@@ -418,7 +418,7 @@
}
}
},
- "revision": "20200331",
+ "revision": "20200618",
"rootUrl": "https://cloudscheduler.googleapis.com/",
"schemas": {
"AppEngineHttpTarget": {
@@ -751,7 +751,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Attributes for this message. If this field is empty, the message must\ncontain non-empty data.",
+ "description": "Attributes for this message. If this field is empty, the message must\ncontain non-empty data. This can be used to filter messages on the\nsubscription.",
"type": "object"
},
"data": {
@@ -810,7 +810,7 @@
"type": "string"
},
"maxDoublings": {
- "description": "The time between retries will double `max_doublings` times.\n\nA job's retry interval starts at\nmin_backoff_duration, then doubles\n`max_doublings` times, then increases linearly, and finally\nretries retries at intervals of\nmax_backoff_duration up to\nretry_count times.\n\nFor example, if min_backoff_duration is\n10s, max_backoff_duration is 300s, and\n`max_doublings` is 3, then the a job will first be retried in 10s. The\nretry interval will double three times, and then increase linearly by\n2^3 * 10s. Finally, the job will retry at intervals of\nmax_backoff_duration until the job has\nbeen attempted retry_count times. Thus, the\nrequests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, ....\n\nThe default value of this field is 5.",
+ "description": "The time between retries will double `max_doublings` times.\n\nA job's retry interval starts at\nmin_backoff_duration, then doubles\n`max_doublings` times, then increases linearly, and finally\nretries at intervals of\nmax_backoff_duration up to\nretry_count times.\n\nFor example, if min_backoff_duration is\n10s, max_backoff_duration is 300s, and\n`max_doublings` is 3, then the a job will first be retried in 10s. The\nretry interval will double three times, and then increase linearly by\n2^3 * 10s. Finally, the job will retry at intervals of\nmax_backoff_duration until the job has\nbeen attempted retry_count times. Thus, the\nrequests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, ....\n\nThe default value of this field is 5.",
"format": "int32",
"type": "integer"
},
diff --git a/etc/api/cloudsearch/v1/cloudsearch-api.json b/etc/api/cloudsearch/v1/cloudsearch-api.json
index 69e2016420..d7a7791c39 100644
--- a/etc/api/cloudsearch/v1/cloudsearch-api.json
+++ b/etc/api/cloudsearch/v1/cloudsearch-api.json
@@ -766,7 +766,7 @@
],
"parameters": {
"name": {
- "description": "Name of the Item to start a resumable upload.\nFormat: datasources/{source_id}/items/{item_id}.",
+ "description": "Name of the Item to start a resumable upload.\nFormat: datasources/{source_id}/items/{item_id}.\nThe maximum length is 1536 bytes.",
"location": "path",
"pattern": "^datasources/[^/]+/items/[^/]+$",
"required": true,
@@ -937,7 +937,7 @@
"type": "string"
},
"requestOptions.searchApplicationId": {
- "description": "Id of the application created using SearchApplicationsService.",
+ "description": "The ID generated when you create a search application using the\n[admin console](https://support.google.com/a/answer/9043922).",
"location": "query",
"type": "string"
},
@@ -1183,7 +1183,7 @@
"type": "boolean"
},
"name": {
- "description": "Name of the search application.\n Format: applications/{application_id}.",
+ "description": "Name of the search application.\n Format: searchapplications/{application_id}.",
"location": "path",
"pattern": "^searchapplications/[^/]+$",
"required": true,
@@ -1805,7 +1805,7 @@
}
}
},
- "revision": "20200331",
+ "revision": "20200629",
"rootUrl": "https://cloudsearch.googleapis.com/",
"schemas": {
"BooleanOperatorOptions": {
@@ -2396,7 +2396,7 @@
"type": "integer"
},
"percentage": {
- "description": "Percent of results that match the bucket value. This value is between\n(0-100]. Percentages are returned for all searches, but are an estimate.\nBecause percentages are always returned, you should render percentages\ninstead of counts.",
+ "description": "Percent of results that match the bucket value. The returned value is\nbetween (0-100], and is rounded down to an integer if fractional. If the\nvalue is not explicitly returned, it represents a percentage value that\nrounds to 0. Percentages are returned for all searches, but are an\nestimate. Because percentages are always returned, you should render\npercentages instead of counts.",
"format": "int32",
"type": "integer"
},
@@ -2874,7 +2874,7 @@
"type": "object"
},
"ItemAcl": {
- "description": "Access control list information for the item. For more information see\nhttps://developers.google.com/cloud-search/docs/guides/index-your-data#acls",
+ "description": "Access control list information for the item. For more information see\n[Map ACLs](/cloud-search/docs/guides/acls).",
"id": "ItemAcl",
"properties": {
"aclInheritanceType": {
@@ -3367,7 +3367,7 @@
"type": "array"
},
"objectDisplayLabel": {
- "description": "The user friendly label to display in the search result to indicate the\ntype of the item. This is OPTIONAL; if not provided, an object label isn't\ndisplayed on the context line of the search results. The maximum length\nis 32 characters.",
+ "description": "The user friendly label to display in the search result to indicate the\ntype of the item. This is OPTIONAL; if not provided, an object label isn't\ndisplayed on the context line of the search results. The maximum length\nis 64 characters.",
"type": "string"
}
},
@@ -3690,7 +3690,7 @@
"id": "PropertyDisplayOptions",
"properties": {
"displayLabel": {
- "description": "The user friendly label for the property that is used if the property\nis specified to be displayed in ObjectDisplayOptions. If provided, the\ndisplay label is shown in front of the property values when the property is\npart of the object display options. For example, if the property value is\n'1', the value by itself may not be useful context for the user. If the\ndisplay name given was 'priority', then the user sees 'priority : 1' in\nthe search results which provides clear context to search users. This is\nOPTIONAL; if not given, only the property values are displayed.\nThe maximum length is 32 characters.",
+ "description": "The user friendly label for the property that is used if the property\nis specified to be displayed in ObjectDisplayOptions. If provided, the\ndisplay label is shown in front of the property values when the property is\npart of the object display options. For example, if the property value is\n'1', the value by itself may not be useful context for the user. If the\ndisplay name given was 'priority', then the user sees 'priority : 1' in\nthe search results which provides clear context to search users. This is\nOPTIONAL; if not given, only the property values are displayed.\nThe maximum length is 64 characters.",
"type": "string"
}
},
@@ -4011,7 +4011,7 @@
"type": "string"
},
"searchApplicationId": {
- "description": "Id of the application created using SearchApplicationsService.",
+ "description": "The ID generated when you create a search application using the\n[admin console](https://support.google.com/a/answer/9043922).",
"type": "string"
},
"timeZone": {
@@ -4232,7 +4232,7 @@
"type": "string"
},
"operationIds": {
- "description": "IDs of the Long Running Operations (LROs) currently running for this\nschema. Output only field.",
+ "description": "Output only. IDs of the Long Running Operations (LROs) currently running for this\nschema. Output only field.",
"items": {
"type": "string"
},
diff --git a/etc/api/cloudshell/v1/cloudshell-api.json b/etc/api/cloudshell/v1/cloudshell-api.json
index bc3cd9ae62..d2969d9e13 100644
--- a/etc/api/cloudshell/v1/cloudshell-api.json
+++ b/etc/api/cloudshell/v1/cloudshell-api.json
@@ -229,7 +229,7 @@
}
}
},
- "revision": "20200409",
+ "revision": "20200704",
"rootUrl": "https://cloudshell.googleapis.com/",
"schemas": {
"CancelOperationRequest": {
@@ -300,13 +300,15 @@
"STATE_UNSPECIFIED",
"DISABLED",
"STARTING",
- "RUNNING"
+ "RUNNING",
+ "DELETING"
],
"enumDescriptions": [
"The environment's states is unknown.",
"The environment is not running and can't be connected to. Starting the\nenvironment will transition it to the STARTING state.",
"The environment is being started but is not yet ready to accept\nconnections.",
- "The environment is running and ready to accept connections. It will\nautomatically transition back to DISABLED after a period of inactivity or\nif another environment is started."
+ "The environment is running and ready to accept connections. It will\nautomatically transition back to DISABLED after a period of inactivity or\nif another environment is started.",
+ "The environment is being deleted and can't be connected to."
],
"type": "string"
},
@@ -439,7 +441,7 @@
"Startup is waiting for the user's disk to be unarchived. This can happen\nwhen the user returns to Cloud Shell after not having used it for a\nwhile, and suggests that startup will take longer than normal.",
"Startup is waiting for a VM to be assigned to the environment. This\nshould normally happen very quickly, but an environment might stay in\nthis state for an extended period of time if the system is experiencing\nheavy load.",
"Startup is waiting for compute resources to be assigned to the\nenvironment. This should normally happen very quickly, but an environment\nmight stay in this state for an extended period of time if the system is\nexperiencing heavy load.",
- "Startup is complete and the user should be able to establish an SSH\nconnection to their environment."
+ "Startup has completed. If the start operation was successful, the user\nshould be able to establish an SSH connection to their environment.\nOtherwise, the operation will contain details of the failure."
],
"type": "string"
}
diff --git a/etc/api/cloudshell/v1alpha1/cloudshell-api.json b/etc/api/cloudshell/v1alpha1/cloudshell-api.json
index ad6a5eda87..325ab6de56 100644
--- a/etc/api/cloudshell/v1alpha1/cloudshell-api.json
+++ b/etc/api/cloudshell/v1alpha1/cloudshell-api.json
@@ -288,7 +288,7 @@
}
}
},
- "revision": "20200409",
+ "revision": "20200704",
"rootUrl": "https://cloudshell.googleapis.com/",
"schemas": {
"AuthorizeEnvironmentRequest": {
@@ -384,13 +384,15 @@
"STATE_UNSPECIFIED",
"DISABLED",
"STARTING",
- "RUNNING"
+ "RUNNING",
+ "DELETING"
],
"enumDescriptions": [
"The environment's states is unknown.",
"The environment is not running and can't be connected to. Starting the\nenvironment will transition it to the STARTING state.",
"The environment is being started but is not yet ready to accept\nconnections.",
- "The environment is running and ready to accept connections. It will\nautomatically transition back to DISABLED after a period of inactivity or\nif another environment is started."
+ "The environment is running and ready to accept connections. It will\nautomatically transition back to DISABLED after a period of inactivity or\nif another environment is started.",
+ "The environment is being deleted and can't be connected to."
],
"type": "string"
},
@@ -505,7 +507,7 @@
"Startup is waiting for the user's disk to be unarchived. This can happen\nwhen the user returns to Cloud Shell after not having used it for a\nwhile, and suggests that startup will take longer than normal.",
"Startup is waiting for a VM to be assigned to the environment. This\nshould normally happen very quickly, but an environment might stay in\nthis state for an extended period of time if the system is experiencing\nheavy load.",
"Startup is waiting for compute resources to be assigned to the\nenvironment. This should normally happen very quickly, but an environment\nmight stay in this state for an extended period of time if the system is\nexperiencing heavy load.",
- "Startup is complete and the user should be able to establish an SSH\nconnection to their environment."
+ "Startup has completed. If the start operation was successful, the user\nshould be able to establish an SSH connection to their environment.\nOtherwise, the operation will contain details of the failure."
],
"type": "string"
}
@@ -519,6 +521,13 @@
"accessToken": {
"description": "The initial access token passed to the environment. If this is present and\nvalid, the environment will be pre-authenticated with gcloud so that the\nuser can run gcloud commands in Cloud Shell without having to log in. This\ncode can be updated later by calling AuthorizeEnvironment.",
"type": "string"
+ },
+ "publicKeys": {
+ "description": "Public keys that should be added to the environment before it is started.",
+ "items": {
+ "$ref": "PublicKey"
+ },
+ "type": "array"
}
},
"type": "object"
diff --git a/etc/api/cloudtasks/v2/cloudtasks-api.json b/etc/api/cloudtasks/v2/cloudtasks-api.json
index 293e32a76f..ebc1ba8f46 100644
--- a/etc/api/cloudtasks/v2/cloudtasks-api.json
+++ b/etc/api/cloudtasks/v2/cloudtasks-api.json
@@ -675,16 +675,16 @@
}
}
},
- "revision": "20200331",
+ "revision": "20200615",
"rootUrl": "https://cloudtasks.googleapis.com/",
"schemas": {
"AppEngineHttpRequest": {
- "description": "App Engine HTTP request.\n\nThe message defines the HTTP request that is sent to an App Engine app when\nthe task is dispatched.\n\nUsing AppEngineHttpRequest requires\n[`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control)\nGoogle IAM permission for the project\nand the following scope:\n\n`https://www.googleapis.com/auth/cloud-platform`\n\nThe task will be delivered to the App Engine app which belongs to the same\nproject as the queue. For more information, see\n[How Requests are\nRouted](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed)\nand how routing is affected by\n[dispatch\nfiles](https://cloud.google.com/appengine/docs/python/config/dispatchref).\nTraffic is encrypted during transport and never leaves Google datacenters.\nBecause this traffic is carried over a communication mechanism internal to\nGoogle, you cannot explicitly set the protocol (for example, HTTP or HTTPS).\nThe request to the handler, however, will appear to have used the HTTP\nprotocol.\n\nThe AppEngineRouting used to construct the URL that the task is\ndelivered to can be set at the queue-level or task-level:\n\n* If app_engine_routing_override is set on the\n queue, this value is used for all\n tasks in the queue, no matter what the setting is for the task-level\n app_engine_routing.\n\n\nThe `url` that the task will be sent to is:\n\n* `url =` host `+`\n relative_uri\n\nTasks can be dispatched to secure app handlers, unsecure app handlers, and\nURIs restricted with\n[`login:\nadmin`](https://cloud.google.com/appengine/docs/standard/python/config/appref).\nBecause tasks are not run as any user, they cannot be dispatched to URIs\nrestricted with\n[`login:\nrequired`](https://cloud.google.com/appengine/docs/standard/python/config/appref)\nTask dispatches also do not follow redirects.\n\nThe task attempt has succeeded if the app's request handler returns an HTTP\nresponse code in the range [`200` - `299`]. The task attempt has failed if\nthe app's handler returns a non-2xx response code or Cloud Tasks does\nnot receive response before the deadline. Failed\ntasks will be retried according to the\nretry configuration. `503` (Service Unavailable) is\nconsidered an App Engine system error instead of an application error and\nwill cause Cloud Tasks' traffic congestion control to temporarily throttle\nthe queue's dispatches. Unlike other types of task targets, a `429` (Too Many\nRequests) response from an app handler does not cause traffic congestion\ncontrol to throttle the queue.",
+ "description": "App Engine HTTP request.\n\nThe message defines the HTTP request that is sent to an App Engine app when\nthe task is dispatched.\n\nUsing AppEngineHttpRequest requires\n[`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control)\nGoogle IAM permission for the project\nand the following scope:\n\n`https://www.googleapis.com/auth/cloud-platform`\n\nThe task will be delivered to the App Engine app which belongs to the same\nproject as the queue. For more information, see\n[How Requests are\nRouted](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed)\nand how routing is affected by\n[dispatch\nfiles](https://cloud.google.com/appengine/docs/python/config/dispatchref).\nTraffic is encrypted during transport and never leaves Google datacenters.\nBecause this traffic is carried over a communication mechanism internal to\nGoogle, you cannot explicitly set the protocol (for example, HTTP or HTTPS).\nThe request to the handler, however, will appear to have used the HTTP\nprotocol.\n\nThe AppEngineRouting used to construct the URL that the task is\ndelivered to can be set at the queue-level or task-level:\n\n* If app_engine_routing_override is set on the\n queue, this value\n is used for all tasks in the queue, no matter what the setting is for the\n task-level\n app_engine_routing.\n\n\nThe `url` that the task will be sent to is:\n\n* `url =` host `+`\n relative_uri\n\nTasks can be dispatched to secure app handlers, unsecure app handlers, and\nURIs restricted with\n[`login:\nadmin`](https://cloud.google.com/appengine/docs/standard/python/config/appref).\nBecause tasks are not run as any user, they cannot be dispatched to URIs\nrestricted with\n[`login:\nrequired`](https://cloud.google.com/appengine/docs/standard/python/config/appref)\nTask dispatches also do not follow redirects.\n\nThe task attempt has succeeded if the app's request handler returns an HTTP\nresponse code in the range [`200` - `299`]. The task attempt has failed if\nthe app's handler returns a non-2xx response code or Cloud Tasks does\nnot receive response before the deadline. Failed\ntasks will be retried according to the\nretry configuration. `503` (Service Unavailable) is\nconsidered an App Engine system error instead of an application error and\nwill cause Cloud Tasks' traffic congestion control to temporarily throttle\nthe queue's dispatches. Unlike other types of task targets, a `429` (Too Many\nRequests) response from an app handler does not cause traffic congestion\ncontrol to throttle the queue.",
"id": "AppEngineHttpRequest",
"properties": {
"appEngineRouting": {
"$ref": "AppEngineRouting",
- "description": "Task-level setting for App Engine routing.\n\n* If app_engine_routing_override is set on the\n queue, this value is used for all\n tasks in the queue, no matter what the setting is for the task-level\n app_engine_routing."
+ "description": "Task-level setting for App Engine routing.\n\n* If app_engine_routing_override is set on the\n queue, this\n value is used for all tasks in the queue, no matter what the setting is\n for the task-level\n app_engine_routing."
},
"body": {
"description": "HTTP request body.\n\nA request body is allowed only if the HTTP method is POST or PUT. It is\nan error to set a body on a task with an incompatible HttpMethod.",
@@ -699,7 +699,7 @@
"type": "object"
},
"httpMethod": {
- "description": "The HTTP method to use for the request. The default is POST.\n\nThe app's request handler for the task's target URL must be able to handle\nHTTP requests with this http_method, otherwise the task attempt will fail\nwith error code 405 (Method Not Allowed). See\n[Writing a push task request\nhandler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)\nand the documentation for the request handlers in the language your app is\nwritten in e.g.\n[Python Request\nHandler](https://cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass).",
+ "description": "The HTTP method to use for the request. The default is POST.\n\nThe app's request handler for the task's target URL must be able to handle\nHTTP requests with this http_method, otherwise the task attempt fails with\nerror code 405 (Method Not Allowed). See [Writing a push task request\nhandler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)\nand the App Engine documentation for your runtime on [How Requests are\nHandled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).",
"enum": [
"HTTP_METHOD_UNSPECIFIED",
"POST",
@@ -784,7 +784,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
@@ -860,7 +860,7 @@
"properties": {
"options": {
"$ref": "GetPolicyOptions",
- "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`. This field is only used by Cloud IAM."
+ "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`."
}
},
"type": "object"
@@ -870,7 +870,7 @@
"id": "GetPolicyOptions",
"properties": {
"requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.",
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -1057,7 +1057,7 @@
"type": "object"
},
"Policy": {
- "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"bindings": {
@@ -1073,7 +1073,7 @@
"type": "string"
},
"version": {
- "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -1177,7 +1177,7 @@
"type": "string"
},
"maxDoublings": {
- "description": "The time between retries will double `max_doublings` times.\n\nA task's retry interval starts at\nmin_backoff, then doubles\n`max_doublings` times, then increases linearly, and finally\nretries retries at intervals of\nmax_backoff up to\nmax_attempts times.\n\nFor example, if min_backoff is 10s,\nmax_backoff is 300s, and\n`max_doublings` is 3, then the a task will first be retried in\n10s. The retry interval will double three times, and then\nincrease linearly by 2^3 * 10s. Finally, the task will retry at\nintervals of max_backoff until the\ntask has been attempted max_attempts\ntimes. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,\n240s, 300s, 300s, ....\n\nIf unspecified when the queue is created, Cloud Tasks will pick the\ndefault.\n\n\nThis field has the same meaning as\n[max_doublings in\nqueue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).",
+ "description": "The time between retries will double `max_doublings` times.\n\nA task's retry interval starts at\nmin_backoff, then doubles\n`max_doublings` times, then increases linearly, and finally\nretries at intervals of\nmax_backoff up to\nmax_attempts times.\n\nFor example, if min_backoff is 10s,\nmax_backoff is 300s, and\n`max_doublings` is 3, then the a task will first be retried in\n10s. The retry interval will double three times, and then\nincrease linearly by 2^3 * 10s. Finally, the task will retry at\nintervals of max_backoff until the\ntask has been attempted max_attempts\ntimes. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,\n240s, 300s, 300s, ....\n\nIf unspecified when the queue is created, Cloud Tasks will pick the\ndefault.\n\n\nThis field has the same meaning as\n[max_doublings in\nqueue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).",
"format": "int32",
"type": "integer"
},
@@ -1284,7 +1284,7 @@
"type": "integer"
},
"dispatchDeadline": {
- "description": "The deadline for requests sent to the worker. If the worker does not\nrespond by this deadline then the request is cancelled and the attempt\nis marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the\ntask according to the RetryConfig.\n\nNote that when the request is cancelled, Cloud Tasks will stop listing for\nthe response, but whether the worker stops processing depends on the\nworker. For example, if the worker is stuck, it may not react to cancelled\nrequests.\n\nThe default and maximum values depend on the type of request:\n\n* For HTTP tasks, the default is 10 minutes. The deadline\n must be in the interval [15 seconds, 30 minutes].\n\n* For App Engine tasks, 0 indicates that the\n request has the default deadline. The default deadline depends on the\n [scaling\n type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling)\n of the service: 10 minutes for standard apps with automatic scaling, 24\n hours for standard apps with manual and basic scaling, and 60 minutes for\n flex apps. If the request deadline is set, it must be in the interval [15\n seconds, 24 hours 15 seconds]. Regardless of the task's\n `dispatch_deadline`, the app handler will not run for longer than than\n the service's timeout. We recommend setting the `dispatch_deadline` to\n at most a few seconds more than the app handler's timeout. For more\n information see\n [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).\n\n`dispatch_deadline` will be truncated to the nearest millisecond. The\ndeadline is an approximate deadline.",
+ "description": "The deadline for requests sent to the worker. If the worker does not\nrespond by this deadline then the request is cancelled and the attempt\nis marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the\ntask according to the RetryConfig.\n\nNote that when the request is cancelled, Cloud Tasks will stop listening\nfor the response, but whether the worker stops processing depends on the\nworker. For example, if the worker is stuck, it may not react to cancelled\nrequests.\n\nThe default and maximum values depend on the type of request:\n\n* For HTTP tasks, the default is 10 minutes. The deadline\n must be in the interval [15 seconds, 30 minutes].\n\n* For App Engine tasks, 0 indicates that the\n request has the default deadline. The default deadline depends on the\n [scaling\n type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling)\n of the service: 10 minutes for standard apps with automatic scaling, 24\n hours for standard apps with manual and basic scaling, and 60 minutes for\n flex apps. If the request deadline is set, it must be in the interval [15\n seconds, 24 hours 15 seconds]. Regardless of the task's\n `dispatch_deadline`, the app handler will not run for longer than than\n the service's timeout. We recommend setting the `dispatch_deadline` to\n at most a few seconds more than the app handler's timeout. For more\n information see\n [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).\n\n`dispatch_deadline` will be truncated to the nearest millisecond. The\ndeadline is an approximate deadline.",
"format": "google-duration",
"type": "string"
},
diff --git a/etc/api/cloudtasks/v2beta2/cloudtasks-api.json b/etc/api/cloudtasks/v2beta2/cloudtasks-api.json
index 37652f09ce..545ec0cd0a 100644
--- a/etc/api/cloudtasks/v2beta2/cloudtasks-api.json
+++ b/etc/api/cloudtasks/v2beta2/cloudtasks-api.json
@@ -793,7 +793,7 @@
}
}
},
- "revision": "20200331",
+ "revision": "20200615",
"rootUrl": "https://cloudtasks.googleapis.com/",
"schemas": {
"AcknowledgeTaskRequest": {
@@ -809,7 +809,7 @@
"type": "object"
},
"AppEngineHttpRequest": {
- "description": "App Engine HTTP request.\n\nThe message defines the HTTP request that is sent to an App Engine app when\nthe task is dispatched.\n\nThis proto can only be used for tasks in a queue which has\napp_engine_http_target set.\n\nUsing AppEngineHttpRequest requires\n[`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control)\nGoogle IAM permission for the project\nand the following scope:\n\n`https://www.googleapis.com/auth/cloud-platform`\n\nThe task will be delivered to the App Engine app which belongs to the same\nproject as the queue. For more information, see\n[How Requests are\nRouted](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed)\nand how routing is affected by\n[dispatch\nfiles](https://cloud.google.com/appengine/docs/python/config/dispatchref).\nTraffic is encrypted during transport and never leaves Google datacenters.\nBecause this traffic is carried over a communication mechanism internal to\nGoogle, you cannot explicitly set the protocol (for example, HTTP or HTTPS).\nThe request to the handler, however, will appear to have used the HTTP\nprotocol.\n\nThe AppEngineRouting used to construct the URL that the task is\ndelivered to can be set at the queue-level or task-level:\n\n* If set,\n app_engine_routing_override\n is used for all tasks in the queue, no matter what the setting\n is for the\n task-level app_engine_routing.\n\n\nThe `url` that the task will be sent to is:\n\n* `url =` host `+`\n relative_url\n\nTasks can be dispatched to secure app handlers, unsecure app handlers, and\nURIs restricted with\n[`login:\nadmin`](https://cloud.google.com/appengine/docs/standard/python/config/appref).\nBecause tasks are not run as any user, they cannot be dispatched to URIs\nrestricted with\n[`login:\nrequired`](https://cloud.google.com/appengine/docs/standard/python/config/appref)\nTask dispatches also do not follow redirects.\n\nThe task attempt has succeeded if the app's request handler returns an HTTP\nresponse code in the range [`200` - `299`]. The task attempt has failed if\nthe app's handler returns a non-2xx response code or Cloud Tasks does\nnot receive response before the deadline. Failed\ntasks will be retried according to the\nretry configuration. `503` (Service Unavailable) is\nconsidered an App Engine system error instead of an application error and\nwill cause Cloud Tasks' traffic congestion control to temporarily throttle\nthe queue's dispatches. Unlike other types of task targets, a `429` (Too Many\nRequests) response from an app handler does not cause traffic congestion\ncontrol to throttle the queue.",
+ "description": "App Engine HTTP request.\n\nThe message defines the HTTP request that is sent to an App Engine app when\nthe task is dispatched.\n\nThis proto can only be used for tasks in a queue which has\napp_engine_http_target set.\n\nUsing AppEngineHttpRequest requires\n[`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control)\nGoogle IAM permission for the project\nand the following scope:\n\n`https://www.googleapis.com/auth/cloud-platform`\n\nThe task will be delivered to the App Engine app which belongs to the same\nproject as the queue. For more information, see\n[How Requests are\nRouted](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed)\nand how routing is affected by\n[dispatch\nfiles](https://cloud.google.com/appengine/docs/python/config/dispatchref).\nTraffic is encrypted during transport and never leaves Google datacenters.\nBecause this traffic is carried over a communication mechanism internal to\nGoogle, you cannot explicitly set the protocol (for example, HTTP or HTTPS).\nThe request to the handler, however, will appear to have used the HTTP\nprotocol.\n\nThe AppEngineRouting used to construct the URL that the task is\ndelivered to can be set at the queue-level or task-level:\n\n* If set,\n app_engine_routing_override\n is used for all tasks in the queue, no matter what the setting\n is for the\n task-level app_engine_routing.\n\n\nThe `url` that the task will be sent to is:\n\n* `url =` host `+`\n relative_url\n\nTasks can be dispatched to secure app handlers, unsecure app handlers, and\nURIs restricted with\n[`login:\nadmin`](https://cloud.google.com/appengine/docs/standard/python/config/appref).\nBecause tasks are not run as any user, they cannot be dispatched to URIs\nrestricted with\n[`login:\nrequired`](https://cloud.google.com/appengine/docs/standard/python/config/appref)\nTask dispatches also do not follow redirects.\n\nThe task attempt has succeeded if the app's request handler returns an HTTP\nresponse code in the range [`200` - `299`]. The task attempt has failed if\nthe app's handler returns a non-2xx response code or Cloud Tasks does\nnot receive response before the deadline. Failed\ntasks will be retried according to the\nretry configuration. `503` (Service Unavailable) is\nconsidered an App Engine system error instead of an application error and\nwill cause Cloud Tasks' traffic congestion control to temporarily throttle\nthe queue's dispatches. Unlike other types of task targets, a `429` (Too Many\nRequests) response from an app handler does not cause traffic congestion\ncontrol to throttle the queue.",
"id": "AppEngineHttpRequest",
"properties": {
"appEngineRouting": {
@@ -824,7 +824,7 @@
"type": "object"
},
"httpMethod": {
- "description": "The HTTP method to use for the request. The default is POST.\n\nThe app's request handler for the task's target URL must be able to handle\nHTTP requests with this http_method, otherwise the task attempt will fail\nwith error code 405 (Method Not Allowed). See\n[Writing a push task request\nhandler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)\nand the documentation for the request handlers in the language your app is\nwritten in e.g.\n[Python Request\nHandler](https://cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass).",
+ "description": "The HTTP method to use for the request. The default is POST.\n\nThe app's request handler for the task's target URL must be able to handle\nHTTP requests with this http_method, otherwise the task attempt fails with\nerror code 405 (Method Not Allowed). See [Writing a push task request\nhandler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)\nand the App Engine documentation for your runtime on [How Requests are\nHandled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).",
"enum": [
"HTTP_METHOD_UNSPECIFIED",
"POST",
@@ -921,7 +921,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
@@ -1023,7 +1023,7 @@
"properties": {
"options": {
"$ref": "GetPolicyOptions",
- "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`. This field is only used by Cloud IAM."
+ "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`."
}
},
"type": "object"
@@ -1033,7 +1033,7 @@
"id": "GetPolicyOptions",
"properties": {
"requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.",
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -1184,7 +1184,7 @@
"type": "object"
},
"Policy": {
- "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"bindings": {
@@ -1200,7 +1200,7 @@
"type": "string"
},
"version": {
- "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -1357,7 +1357,7 @@
"type": "string"
},
"maxDoublings": {
- "description": "The time between retries will double `max_doublings` times.\n\nA task's retry interval starts at\nmin_backoff, then doubles\n`max_doublings` times, then increases linearly, and finally\nretries retries at intervals of\nmax_backoff up to\nmax_attempts times.\n\nFor example, if min_backoff is 10s,\nmax_backoff is 300s, and\n`max_doublings` is 3, then the a task will first be retried in\n10s. The retry interval will double three times, and then\nincrease linearly by 2^3 * 10s. Finally, the task will retry at\nintervals of max_backoff until the\ntask has been attempted max_attempts\ntimes. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,\n240s, 300s, 300s, ....\n\nIf unspecified when the queue is created, Cloud Tasks will pick the\ndefault.\n\nThis field is output only for pull queues.\n\n\nThis field has the same meaning as\n[max_doublings in\nqueue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).",
+ "description": "The time between retries will double `max_doublings` times.\n\nA task's retry interval starts at\nmin_backoff, then doubles\n`max_doublings` times, then increases linearly, and finally\nretries at intervals of\nmax_backoff up to\nmax_attempts times.\n\nFor example, if min_backoff is 10s,\nmax_backoff is 300s, and\n`max_doublings` is 3, then the a task will first be retried in\n10s. The retry interval will double three times, and then\nincrease linearly by 2^3 * 10s. Finally, the task will retry at\nintervals of max_backoff until the\ntask has been attempted max_attempts\ntimes. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,\n240s, 300s, 300s, ....\n\nIf unspecified when the queue is created, Cloud Tasks will pick the\ndefault.\n\nThis field is output only for pull queues.\n\n\nThis field has the same meaning as\n[max_doublings in\nqueue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).",
"format": "int32",
"type": "integer"
},
diff --git a/etc/api/cloudtasks/v2beta3/cloudtasks-api.json b/etc/api/cloudtasks/v2beta3/cloudtasks-api.json
index 054621426e..ddc8cf40a2 100644
--- a/etc/api/cloudtasks/v2beta3/cloudtasks-api.json
+++ b/etc/api/cloudtasks/v2beta3/cloudtasks-api.json
@@ -675,7 +675,7 @@
}
}
},
- "revision": "20200331",
+ "revision": "20200615",
"rootUrl": "https://cloudtasks.googleapis.com/",
"schemas": {
"AppEngineHttpQueue": {
@@ -690,7 +690,7 @@
"type": "object"
},
"AppEngineHttpRequest": {
- "description": "App Engine HTTP request.\n\nThe message defines the HTTP request that is sent to an App Engine app when\nthe task is dispatched.\n\nUsing AppEngineHttpRequest requires\n[`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control)\nGoogle IAM permission for the project\nand the following scope:\n\n`https://www.googleapis.com/auth/cloud-platform`\n\nThe task will be delivered to the App Engine app which belongs to the same\nproject as the queue. For more information, see\n[How Requests are\nRouted](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed)\nand how routing is affected by\n[dispatch\nfiles](https://cloud.google.com/appengine/docs/python/config/dispatchref).\nTraffic is encrypted during transport and never leaves Google datacenters.\nBecause this traffic is carried over a communication mechanism internal to\nGoogle, you cannot explicitly set the protocol (for example, HTTP or HTTPS).\nThe request to the handler, however, will appear to have used the HTTP\nprotocol.\n\nThe AppEngineRouting used to construct the URL that the task is\ndelivered to can be set at the queue-level or task-level:\n\n* If set,\n app_engine_routing_override\n is used for all tasks in the queue, no matter what the setting\n is for the\n task-level app_engine_routing.\n\n\nThe `url` that the task will be sent to is:\n\n* `url =` host `+`\n relative_uri\n\nTasks can be dispatched to secure app handlers, unsecure app handlers, and\nURIs restricted with\n[`login:\nadmin`](https://cloud.google.com/appengine/docs/standard/python/config/appref).\nBecause tasks are not run as any user, they cannot be dispatched to URIs\nrestricted with\n[`login:\nrequired`](https://cloud.google.com/appengine/docs/standard/python/config/appref)\nTask dispatches also do not follow redirects.\n\nThe task attempt has succeeded if the app's request handler returns an HTTP\nresponse code in the range [`200` - `299`]. The task attempt has failed if\nthe app's handler returns a non-2xx response code or Cloud Tasks does\nnot receive response before the deadline. Failed\ntasks will be retried according to the\nretry configuration. `503` (Service Unavailable) is\nconsidered an App Engine system error instead of an application error and\nwill cause Cloud Tasks' traffic congestion control to temporarily throttle\nthe queue's dispatches. Unlike other types of task targets, a `429` (Too Many\nRequests) response from an app handler does not cause traffic congestion\ncontrol to throttle the queue.",
+ "description": "App Engine HTTP request.\n\nThe message defines the HTTP request that is sent to an App Engine app when\nthe task is dispatched.\n\nUsing AppEngineHttpRequest requires\n[`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control)\nGoogle IAM permission for the project\nand the following scope:\n\n`https://www.googleapis.com/auth/cloud-platform`\n\nThe task will be delivered to the App Engine app which belongs to the same\nproject as the queue. For more information, see\n[How Requests are\nRouted](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed)\nand how routing is affected by\n[dispatch\nfiles](https://cloud.google.com/appengine/docs/python/config/dispatchref).\nTraffic is encrypted during transport and never leaves Google datacenters.\nBecause this traffic is carried over a communication mechanism internal to\nGoogle, you cannot explicitly set the protocol (for example, HTTP or HTTPS).\nThe request to the handler, however, will appear to have used the HTTP\nprotocol.\n\nThe AppEngineRouting used to construct the URL that the task is\ndelivered to can be set at the queue-level or task-level:\n\n* If set,\n app_engine_routing_override\n is used for all tasks in the queue, no matter what the setting\n is for the\n task-level app_engine_routing.\n\n\nThe `url` that the task will be sent to is:\n\n* `url =` host `+`\n relative_uri\n\nTasks can be dispatched to secure app handlers, unsecure app handlers, and\nURIs restricted with\n[`login:\nadmin`](https://cloud.google.com/appengine/docs/standard/python/config/appref).\nBecause tasks are not run as any user, they cannot be dispatched to URIs\nrestricted with\n[`login:\nrequired`](https://cloud.google.com/appengine/docs/standard/python/config/appref)\nTask dispatches also do not follow redirects.\n\nThe task attempt has succeeded if the app's request handler returns an HTTP\nresponse code in the range [`200` - `299`]. The task attempt has failed if\nthe app's handler returns a non-2xx response code or Cloud Tasks does\nnot receive response before the deadline. Failed\ntasks will be retried according to the\nretry configuration. `503` (Service Unavailable) is\nconsidered an App Engine system error instead of an application error and\nwill cause Cloud Tasks' traffic congestion control to temporarily throttle\nthe queue's dispatches. Unlike other types of task targets, a `429` (Too Many\nRequests) response from an app handler does not cause traffic congestion\ncontrol to throttle the queue.",
"id": "AppEngineHttpRequest",
"properties": {
"appEngineRouting": {
@@ -710,7 +710,7 @@
"type": "object"
},
"httpMethod": {
- "description": "The HTTP method to use for the request. The default is POST.\n\nThe app's request handler for the task's target URL must be able to handle\nHTTP requests with this http_method, otherwise the task attempt will fail\nwith error code 405 (Method Not Allowed). See\n[Writing a push task request\nhandler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)\nand the documentation for the request handlers in the language your app is\nwritten in e.g.\n[Python Request\nHandler](https://cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass).",
+ "description": "The HTTP method to use for the request. The default is POST.\n\nThe app's request handler for the task's target URL must be able to handle\nHTTP requests with this http_method, otherwise the task attempt fails with\nerror code 405 (Method Not Allowed). See [Writing a push task request\nhandler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)\nand the App Engine documentation for your runtime on [How Requests are\nHandled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).",
"enum": [
"HTTP_METHOD_UNSPECIFIED",
"POST",
@@ -795,7 +795,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
@@ -871,7 +871,7 @@
"properties": {
"options": {
"$ref": "GetPolicyOptions",
- "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`. This field is only used by Cloud IAM."
+ "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`."
}
},
"type": "object"
@@ -881,7 +881,7 @@
"id": "GetPolicyOptions",
"properties": {
"requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.",
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -1068,7 +1068,7 @@
"type": "object"
},
"Policy": {
- "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"bindings": {
@@ -1084,7 +1084,7 @@
"type": "string"
},
"version": {
- "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -1141,6 +1141,20 @@
"The queue is disabled.\n\nA queue becomes `DISABLED` when\n[queue.yaml](https://cloud.google.com/appengine/docs/python/config/queueref)\nor\n[queue.xml](https://cloud.google.com/appengine/docs/standard/java/config/queueref)\nis uploaded which does not contain the queue. You cannot directly disable\na queue.\n\nWhen a queue is disabled, tasks can still be added to a queue\nbut the tasks are not dispatched.\n\nTo permanently delete this queue and all of its tasks, call\nDeleteQueue."
],
"type": "string"
+ },
+ "type": {
+ "description": "Immutable. The type of a queue (push or pull).\n\n`Queue.type` is an immutable property of the queue that is set at the queue\ncreation time. When left unspecified, the default value of `PUSH` is\nselected.",
+ "enum": [
+ "TYPE_UNSPECIFIED",
+ "PULL",
+ "PUSH"
+ ],
+ "enumDescriptions": [
+ "Default value.",
+ "A pull queue.",
+ "A push queue."
+ ],
+ "type": "string"
}
},
"type": "object"
@@ -1188,7 +1202,7 @@
"type": "string"
},
"maxDoublings": {
- "description": "The time between retries will double `max_doublings` times.\n\nA task's retry interval starts at\nmin_backoff, then doubles\n`max_doublings` times, then increases linearly, and finally\nretries retries at intervals of\nmax_backoff up to\nmax_attempts times.\n\nFor example, if min_backoff is 10s,\nmax_backoff is 300s, and\n`max_doublings` is 3, then the a task will first be retried in\n10s. The retry interval will double three times, and then\nincrease linearly by 2^3 * 10s. Finally, the task will retry at\nintervals of max_backoff until the\ntask has been attempted max_attempts\ntimes. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,\n240s, 300s, 300s, ....\n\nIf unspecified when the queue is created, Cloud Tasks will pick the\ndefault.\n\n\nThis field has the same meaning as\n[max_doublings in\nqueue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).",
+ "description": "The time between retries will double `max_doublings` times.\n\nA task's retry interval starts at\nmin_backoff, then doubles\n`max_doublings` times, then increases linearly, and finally\nretries at intervals of\nmax_backoff up to\nmax_attempts times.\n\nFor example, if min_backoff is 10s,\nmax_backoff is 300s, and\n`max_doublings` is 3, then the a task will first be retried in\n10s. The retry interval will double three times, and then\nincrease linearly by 2^3 * 10s. Finally, the task will retry at\nintervals of max_backoff until the\ntask has been attempted max_attempts\ntimes. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,\n240s, 300s, 300s, ....\n\nIf unspecified when the queue is created, Cloud Tasks will pick the\ndefault.\n\n\nThis field has the same meaning as\n[max_doublings in\nqueue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).",
"format": "int32",
"type": "integer"
},
@@ -1295,7 +1309,7 @@
"type": "integer"
},
"dispatchDeadline": {
- "description": "The deadline for requests sent to the worker. If the worker does not\nrespond by this deadline then the request is cancelled and the attempt\nis marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the\ntask according to the RetryConfig.\n\nNote that when the request is cancelled, Cloud Tasks will stop listing for\nthe response, but whether the worker stops processing depends on the\nworker. For example, if the worker is stuck, it may not react to cancelled\nrequests.\n\nThe default and maximum values depend on the type of request:\n\n* For HTTP tasks, the default is 10 minutes. The deadline\n must be in the interval [15 seconds, 30 minutes].\n\n* For App Engine tasks, 0 indicates that the\n request has the default deadline. The default deadline depends on the\n [scaling\n type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling)\n of the service: 10 minutes for standard apps with automatic scaling, 24\n hours for standard apps with manual and basic scaling, and 60 minutes for\n flex apps. If the request deadline is set, it must be in the interval [15\n seconds, 24 hours 15 seconds]. Regardless of the task's\n `dispatch_deadline`, the app handler will not run for longer than than\n the service's timeout. We recommend setting the `dispatch_deadline` to\n at most a few seconds more than the app handler's timeout. For more\n information see\n [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).\n\n`dispatch_deadline` will be truncated to the nearest millisecond. The\ndeadline is an approximate deadline.",
+ "description": "The deadline for requests sent to the worker. If the worker does not\nrespond by this deadline then the request is cancelled and the attempt\nis marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the\ntask according to the RetryConfig.\n\nNote that when the request is cancelled, Cloud Tasks will stop listening\nfor the response, but whether the worker stops processing depends on the\nworker. For example, if the worker is stuck, it may not react to cancelled\nrequests.\n\nThe default and maximum values depend on the type of request:\n\n* For HTTP tasks, the default is 10 minutes. The deadline\n must be in the interval [15 seconds, 30 minutes].\n\n* For App Engine tasks, 0 indicates that the\n request has the default deadline. The default deadline depends on the\n [scaling\n type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling)\n of the service: 10 minutes for standard apps with automatic scaling, 24\n hours for standard apps with manual and basic scaling, and 60 minutes for\n flex apps. If the request deadline is set, it must be in the interval [15\n seconds, 24 hours 15 seconds]. Regardless of the task's\n `dispatch_deadline`, the app handler will not run for longer than than\n the service's timeout. We recommend setting the `dispatch_deadline` to\n at most a few seconds more than the app handler's timeout. For more\n information see\n [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).\n\n`dispatch_deadline` will be truncated to the nearest millisecond. The\ndeadline is an approximate deadline.",
"format": "google-duration",
"type": "string"
},
diff --git a/etc/api/cloudtrace/v1/cloudtrace-api.json b/etc/api/cloudtrace/v1/cloudtrace-api.json
index ec5069f7ce..b0606b6884 100644
--- a/etc/api/cloudtrace/v1/cloudtrace-api.json
+++ b/etc/api/cloudtrace/v1/cloudtrace-api.json
@@ -251,7 +251,7 @@
}
}
},
- "revision": "20200330",
+ "revision": "20200622",
"rootUrl": "https://cloudtrace.googleapis.com/",
"schemas": {
"Empty": {
diff --git a/etc/api/cloudtrace/v2/cloudtrace-api.json b/etc/api/cloudtrace/v2/cloudtrace-api.json
index 0e47483d6b..d06eaa8666 100644
--- a/etc/api/cloudtrace/v2/cloudtrace-api.json
+++ b/etc/api/cloudtrace/v2/cloudtrace-api.json
@@ -181,7 +181,7 @@
}
}
},
- "revision": "20200330",
+ "revision": "20200622",
"rootUrl": "https://cloudtrace.googleapis.com/",
"schemas": {
"Annotation": {
@@ -227,7 +227,7 @@
"additionalProperties": {
"$ref": "AttributeValue"
},
- "description": "The set of attributes. Each attribute's key can be up to 128 bytes\nlong. The value can be a string up to 256 bytes, a signed 64-bit integer,\nor the Boolean values `true` and `false`. For example:\n\n \"/instance_id\": \"my-instance\"\n \"/http/user_agent\": \"\"\n \"/http/request_bytes\": 300\n \"abc.com/myattribute\": true",
+ "description": "The set of attributes. Each attribute's key can be up to 128 bytes\nlong. The value can be a string up to 256 bytes, a signed 64-bit integer,\nor the Boolean values `true` and `false`. For example:\n\n \"/instance_id\": { \"string_value\": { \"value\": \"my-instance\" } }\n \"/http/request_bytes\": { \"int_value\": 300 }\n \"abc.com/myattribute\": { \"bool_value\": false }",
"type": "object"
},
"droppedAttributesCount": {
diff --git a/etc/api/cloudtrace/v2beta1/cloudtrace-api.json b/etc/api/cloudtrace/v2beta1/cloudtrace-api.json
index 997a9a8fed..19353eec02 100644
--- a/etc/api/cloudtrace/v2beta1/cloudtrace-api.json
+++ b/etc/api/cloudtrace/v2beta1/cloudtrace-api.json
@@ -273,7 +273,7 @@
}
}
},
- "revision": "20200330",
+ "revision": "20200622",
"rootUrl": "https://cloudtrace.googleapis.com/",
"schemas": {
"Empty": {
diff --git a/etc/api/composer/v1/composer-api.json b/etc/api/composer/v1/composer-api.json
index 9914a44856..05672afd2a 100644
--- a/etc/api/composer/v1/composer-api.json
+++ b/etc/api/composer/v1/composer-api.json
@@ -401,7 +401,7 @@
}
}
},
- "revision": "20200406",
+ "revision": "20200625",
"rootUrl": "https://composer.googleapis.com/",
"schemas": {
"Empty": {
diff --git a/etc/api/composer/v1beta1/composer-api.json b/etc/api/composer/v1beta1/composer-api.json
index f951becc14..e6b334aa98 100644
--- a/etc/api/composer/v1beta1/composer-api.json
+++ b/etc/api/composer/v1beta1/composer-api.json
@@ -242,7 +242,7 @@
"type": "string"
},
"updateMask": {
- "description": "Required. A comma-separated list of paths, relative to `Environment`, of\nfields to update.\nFor example, to set the version of scikit-learn to install in the\nenvironment to 0.19.0 and to remove an existing installation of\nargparse, the `updateMask` parameter would include the following two\n`paths` values: \"config.softwareConfig.pypiPackages.scikit-learn\" and\n\"config.softwareConfig.pypiPackages.argparse\". The included patch\nenvironment would specify the scikit-learn version as follows:\n\n {\n \"config\":{\n \"softwareConfig\":{\n \"pypiPackages\":{\n \"scikit-learn\":\"==0.19.0\"\n }\n }\n }\n }\n\nNote that in the above example, any existing PyPI packages\nother than scikit-learn and argparse will be unaffected.\n\nOnly one update type may be included in a single request's `updateMask`.\nFor example, one cannot update both the PyPI packages and\nlabels in the same request. However, it is possible to update multiple\nmembers of a map field simultaneously in the same request. For example,\nto set the labels \"label1\" and \"label2\" while clearing \"label3\" (assuming\nit already exists), one can\nprovide the paths \"labels.label1\", \"labels.label2\", and \"labels.label3\"\nand populate the patch environment as follows:\n\n {\n \"labels\":{\n \"label1\":\"new-label1-value\"\n \"label2\":\"new-label2-value\"\n }\n }\n\nNote that in the above example, any existing labels that are not\nincluded in the `updateMask` will be unaffected.\n\nIt is also possible to replace an entire map field by providing the\nmap field's path in the `updateMask`. The new value of the field will\nbe that which is provided in the patch environment. For example, to\ndelete all pre-existing user-specified PyPI packages and\ninstall botocore at version 1.7.14, the `updateMask` would contain\nthe path \"config.softwareConfig.pypiPackages\", and\nthe patch environment would be the following:\n\n {\n \"config\":{\n \"softwareConfig\":{\n \"pypiPackages\":{\n \"botocore\":\"==1.7.14\"\n }\n }\n }\n }\n\nNote: Only the following fields can be updated:\n\n
\n \n
\n
Mask
\n
Purpose
\n
\n
\n
config.softwareConfig.pypiPackages\n
\n
Replace all custom custom PyPI packages. If a replacement\n package map is not included in `environment`, all custom\n PyPI packages are cleared. It is an error to provide both this mask and a\n mask specifying an individual package.
\n
\n
\n
config.softwareConfig.pypiPackages.packagename
\n
Update the custom PyPI package packagename,\n preserving other packages. To delete the package, include it in\n `updateMask`, and omit the mapping for it in\n `environment.config.softwareConfig.pypiPackages`. It is an error\n to provide both a mask of this form and the\n \"config.softwareConfig.pypiPackages\" mask.
\n
\n
\n
labels
\n
Replace all environment labels. If a replacement labels map is not\n included in `environment`, all labels are cleared. It is an error to\n provide both this mask and a mask specifying one or more individual\n labels.
\n
\n
\n
labels.labelName
\n
Set the label named labelName, while preserving other\n labels. To delete the label, include it in `updateMask` and omit its\n mapping in `environment.labels`. It is an error to provide both a\n mask of this form and the \"labels\" mask.
\n
\n
\n
config.nodeCount
\n
Horizontally scale the number of nodes in the environment. An integer\n greater than or equal to 3 must be provided in the `config.nodeCount`\n field.\n
\n
\n
\n
config.softwareConfig.airflowConfigOverrides
\n
Replace all Apache Airflow config overrides. If a replacement config\n overrides map is not included in `environment`, all config overrides\n are cleared.\n It is an error to provide both this mask and a mask specifying one or\n more individual config overrides.
Override the Apache Airflow config property name in the\n section named section, preserving other properties. To delete\n the property override, include it in `updateMask` and omit its mapping\n in `environment.config.softwareConfig.airflowConfigOverrides`.\n It is an error to provide both a mask of this form and the\n \"config.softwareConfig.airflowConfigOverrides\" mask.
\n
\n
\n
config.softwareConfig.envVariables
\n
Replace all environment variables. If a replacement environment\n variable map is not included in `environment`, all custom environment\n variables are cleared.\n It is an error to provide both this mask and a mask specifying one or\n more individual environment variables.
\n
\n
\n
config.softwareConfig.imageVersion
\n
Upgrade the version of the environment in-place. Refer to\n `SoftwareConfig.image_version` for information on how to format the new\n image version. Additionally, the new image version cannot effect a version\n downgrade and must match the current image version's Composer major\n version and Airflow major and minor versions. Consult the\n Cloud\n Composer Version List for valid values.
\n
\n \n
",
+ "description": "Required. A comma-separated list of paths, relative to `Environment`, of\nfields to update.\nFor example, to set the version of scikit-learn to install in the\nenvironment to 0.19.0 and to remove an existing installation of\nargparse, the `updateMask` parameter would include the following two\n`paths` values: \"config.softwareConfig.pypiPackages.scikit-learn\" and\n\"config.softwareConfig.pypiPackages.argparse\". The included patch\nenvironment would specify the scikit-learn version as follows:\n\n {\n \"config\":{\n \"softwareConfig\":{\n \"pypiPackages\":{\n \"scikit-learn\":\"==0.19.0\"\n }\n }\n }\n }\n\nNote that in the above example, any existing PyPI packages\nother than scikit-learn and argparse will be unaffected.\n\nOnly one update type may be included in a single request's `updateMask`.\nFor example, one cannot update both the PyPI packages and\nlabels in the same request. However, it is possible to update multiple\nmembers of a map field simultaneously in the same request. For example,\nto set the labels \"label1\" and \"label2\" while clearing \"label3\" (assuming\nit already exists), one can\nprovide the paths \"labels.label1\", \"labels.label2\", and \"labels.label3\"\nand populate the patch environment as follows:\n\n {\n \"labels\":{\n \"label1\":\"new-label1-value\"\n \"label2\":\"new-label2-value\"\n }\n }\n\nNote that in the above example, any existing labels that are not\nincluded in the `updateMask` will be unaffected.\n\nIt is also possible to replace an entire map field by providing the\nmap field's path in the `updateMask`. The new value of the field will\nbe that which is provided in the patch environment. For example, to\ndelete all pre-existing user-specified PyPI packages and\ninstall botocore at version 1.7.14, the `updateMask` would contain\nthe path \"config.softwareConfig.pypiPackages\", and\nthe patch environment would be the following:\n\n {\n \"config\":{\n \"softwareConfig\":{\n \"pypiPackages\":{\n \"botocore\":\"==1.7.14\"\n }\n }\n }\n }\n\nNote: Only the following fields can be updated:\n\n
\n \n
\n
Mask
\n
Purpose
\n
\n
\n
config.softwareConfig.pypiPackages\n
\n
Replace all custom custom PyPI packages. If a replacement\n package map is not included in `environment`, all custom\n PyPI packages are cleared. It is an error to provide both this mask and a\n mask specifying an individual package.
\n
\n
\n
config.softwareConfig.pypiPackages.packagename
\n
Update the custom PyPI package packagename,\n preserving other packages. To delete the package, include it in\n `updateMask`, and omit the mapping for it in\n `environment.config.softwareConfig.pypiPackages`. It is an error\n to provide both a mask of this form and the\n \"config.softwareConfig.pypiPackages\" mask.
\n
\n
\n
labels
\n
Replace all environment labels. If a replacement labels map is not\n included in `environment`, all labels are cleared. It is an error to\n provide both this mask and a mask specifying one or more individual\n labels.
\n
\n
\n
labels.labelName
\n
Set the label named labelName, while preserving other\n labels. To delete the label, include it in `updateMask` and omit its\n mapping in `environment.labels`. It is an error to provide both a\n mask of this form and the \"labels\" mask.
\n
\n
\n
config.nodeCount
\n
Horizontally scale the number of nodes in the environment. An integer\n greater than or equal to 3 must be provided in the `config.nodeCount`\n field.\n
\n
\n
\n
config.webServerNetworkAccessControl
\n
Replace the environment's current WebServerNetworkAccessControl.\n
\n
\n
\n
config.softwareConfig.airflowConfigOverrides
\n
Replace all Apache Airflow config overrides. If a replacement config\n overrides map is not included in `environment`, all config overrides\n are cleared.\n It is an error to provide both this mask and a mask specifying one or\n more individual config overrides.
Override the Apache Airflow config property name in the\n section named section, preserving other properties. To delete\n the property override, include it in `updateMask` and omit its mapping\n in `environment.config.softwareConfig.airflowConfigOverrides`.\n It is an error to provide both a mask of this form and the\n \"config.softwareConfig.airflowConfigOverrides\" mask.
\n
\n
\n
config.softwareConfig.envVariables
\n
Replace all environment variables. If a replacement environment\n variable map is not included in `environment`, all custom environment\n variables are cleared.\n It is an error to provide both this mask and a mask specifying one or\n more individual environment variables.
\n
\n
\n
config.softwareConfig.imageVersion
\n
Upgrade the version of the environment in-place. Refer to\n `SoftwareConfig.image_version` for information on how to format the new\n image version. Additionally, the new image version cannot effect a version\n downgrade and must match the current image version's Composer major\n version and Airflow major and minor versions. Consult the\n Cloud\n Composer Version List for valid values.
\n
\n
\n
config.databaseConfig.machineType
\n
Cloud SQL machine type used by Airflow database.\n It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8\n or db-n1-standard-16.
\n
\n
\n
config.webServerConfig.machineType
\n
Machine type on which Airflow web server is running.\n It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or\n composer-n1-webserver-8.\n
\n
\n \n
",
"format": "google-fieldmask",
"location": "query",
"type": "string"
@@ -401,7 +401,7 @@
}
}
},
- "revision": "20200406",
+ "revision": "20200625",
"rootUrl": "https://composer.googleapis.com/",
"schemas": {
"AllowedIpRange": {
@@ -419,6 +419,17 @@
},
"type": "object"
},
+ "DatabaseConfig": {
+ "description": "The configuration of Cloud SQL instance that is used by the Apache Airflow\nsoftware.",
+ "id": "DatabaseConfig",
+ "properties": {
+ "machineType": {
+ "description": "Optional. Cloud SQL machine type used by Airflow database.\nIt has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8\nor db-n1-standard-16. If not specified, db-n1-standard-2 will be used.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Empty": {
"description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
"id": "Empty",
@@ -493,6 +504,10 @@
"description": "Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud\nStorage objects reside in a flat namespace, a hierarchical file tree\ncan be simulated using \"/\"-delimited object name prefixes. DAG objects for\nthis environment reside in a simulated directory with the given prefix.",
"type": "string"
},
+ "databaseConfig": {
+ "$ref": "DatabaseConfig",
+ "description": "Optional. The configuration settings for Cloud SQL instance used internally by Apache\nAirflow software."
+ },
"gkeCluster": {
"description": "Output only. The Kubernetes Engine cluster used to run this environment.",
"type": "string"
@@ -514,6 +529,10 @@
"$ref": "SoftwareConfig",
"description": "The configuration settings for software inside the environment."
},
+ "webServerConfig": {
+ "$ref": "WebServerConfig",
+ "description": "Optional. The configuration settings for the Airflow web server App Engine instance."
+ },
"webServerNetworkAccessControl": {
"$ref": "WebServerNetworkAccessControl",
"description": "Optional. The network-level access control policy for the Airflow web server. If\nunspecified, no network-level access restrictions will be applied."
@@ -877,6 +896,17 @@
},
"type": "object"
},
+ "WebServerConfig": {
+ "description": "The configuration settings for the Airflow web server App Engine instance.",
+ "id": "WebServerConfig",
+ "properties": {
+ "machineType": {
+ "description": "Optional. Machine type on which Airflow web server is running.\nIt has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or\ncomposer-n1-webserver-8.\nIf not specified, composer-n1-webserver-2 will be used.\nValue custom is returned only in response, if Airflow web server parameters\nwere manually changed to a non-standard values.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"WebServerNetworkAccessControl": {
"description": "Network-level access control policy for the Airflow web server.",
"id": "WebServerNetworkAccessControl",
diff --git a/etc/api/compute/alpha/compute-api.json b/etc/api/compute/alpha/compute-api.json
index f3a483bed1..0409dc4428 100644
--- a/etc/api/compute/alpha/compute-api.json
+++ b/etc/api/compute/alpha/compute-api.json
@@ -29,7 +29,7 @@
"description": "Creates and runs virtual machines on Google Cloud Platform.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/compute/docs/reference/latest/",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/mTPg4QMCHq68lCG0wm1t7lJ0Luo\"",
+ "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/liQbcVTpB1Gc6xUtyZYdRVYCMco\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/compute_engine-16.png",
"x32": "https://www.google.com/images/icons/product/compute_engine-32.png"
@@ -190,7 +190,7 @@
]
},
"list": {
- "description": "Retrieves a list of accelerator types available to the specified project.",
+ "description": "Retrieves a list of accelerator types that are available to the specified project.",
"httpMethod": "GET",
"id": "compute.acceleratorTypes.list",
"parameterOrder": [
@@ -1654,7 +1654,7 @@
]
},
"getHealth": {
- "description": "Gets the most recent health check results for this BackendService.",
+ "description": "Gets the most recent health check results for this BackendService.\n\nExample request body:\n\n{ \"group\": \"/zones/us-east1-b/instanceGroups/lb-backend-example\" }",
"httpMethod": "POST",
"id": "compute.backendServices.getHealth",
"parameterOrder": [
@@ -1690,7 +1690,7 @@
]
},
"insert": {
- "description": "Creates a BackendService resource in the specified project using the data included in the request. There are several restrictions and guidelines to keep in mind when creating a backend service. Read Understanding backend services for more information.",
+ "description": "Creates a BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview.",
"httpMethod": "POST",
"id": "compute.backendServices.insert",
"parameterOrder": [
@@ -1777,7 +1777,7 @@
]
},
"patch": {
- "description": "Patches the specified BackendService resource with the data included in the request. There are several Understanding backend services to keep in mind when updating a backend service. Read Understanding backend services for more information. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
+ "description": "Patches the specified BackendService resource with the data included in the request. For more information, see Backend services overview. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
"httpMethod": "PATCH",
"id": "compute.backendServices.patch",
"parameterOrder": [
@@ -1895,7 +1895,7 @@
]
},
"update": {
- "description": "Updates the specified BackendService resource with the data included in the request. There are several Understanding backend services to keep in mind when updating a backend service. Read Understanding backend services for more information.",
+ "description": "Updates the specified BackendService resource with the data included in the request. For more information, see Backend services overview.",
"httpMethod": "PUT",
"id": "compute.backendServices.update",
"parameterOrder": [
@@ -3787,6 +3787,36 @@
"https://www.googleapis.com/auth/compute.readonly"
]
},
+ "getOwnerInstance": {
+ "description": "Find owner instance from given ip address",
+ "httpMethod": "GET",
+ "id": "compute.globalAddresses.getOwnerInstance",
+ "parameterOrder": [
+ "project"
+ ],
+ "parameters": {
+ "ipAddress": {
+ "description": "The ip_address could be external IPv4, or internal IPv4 within IPv6 form of virtual_network_id with internal IPv4. IPv6 is not supported yet.",
+ "location": "query",
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/addresses/getOwnerInstance",
+ "response": {
+ "$ref": "GetOwnerInstanceResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
"insert": {
"description": "Creates an address resource in the specified project by using the data included in the request.",
"httpMethod": "POST",
@@ -6912,7 +6942,7 @@
]
},
"listErrors": {
- "description": "Lists all errors thrown by actions on instances for a given managed instance group.",
+ "description": "Lists all errors thrown by actions on instances for a given managed instance group. The filter and orderBy query parameters are not supported.",
"httpMethod": "GET",
"id": "compute.instanceGroupManagers.listErrors",
"parameterOrder": [
@@ -6980,7 +7010,7 @@
]
},
"listManagedInstances": {
- "description": "Lists all of the instances in the managed instance group. Each instance in the list has a currentAction, which indicates the action that the managed instance group is performing on the instance. For example, if the group is still creating an instance, the currentAction is CREATING. If a previous action failed, the list displays the errors for that failed action.",
+ "description": "Lists all of the instances in the managed instance group. Each instance in the list has a currentAction, which indicates the action that the managed instance group is performing on the instance. For example, if the group is still creating an instance, the currentAction is CREATING. If a previous action failed, the list displays the errors for that failed action. The orderBy query parameter is not supported.",
"httpMethod": "POST",
"id": "compute.instanceGroupManagers.listManagedInstances",
"parameterOrder": [
@@ -7025,6 +7055,11 @@
"required": true,
"type": "string"
},
+ "returnPartialSuccess": {
+ "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false and the logic is the same as today.",
+ "location": "query",
+ "type": "boolean"
+ },
"zone": {
"description": "The name of the zone where the managed instance group is located.",
"location": "path",
@@ -7043,7 +7078,7 @@
]
},
"listPerInstanceConfigs": {
- "description": "Lists all of the per-instance configs defined for the managed instance group.",
+ "description": "Lists all of the per-instance configs defined for the managed instance group. The orderBy query parameter is not supported.",
"httpMethod": "POST",
"id": "compute.instanceGroupManagers.listPerInstanceConfigs",
"parameterOrder": [
@@ -7926,7 +7961,7 @@
]
},
"listInstances": {
- "description": "Lists the instances in the specified instance group.",
+ "description": "Lists the instances in the specified instance group. The orderBy query parameter is not supported.",
"httpMethod": "POST",
"id": "compute.instanceGroups.listInstances",
"parameterOrder": [
@@ -9321,7 +9356,7 @@
]
},
"listReferrers": {
- "description": "Retrieves the list of referrers to instances contained within the specified zone. For more information, read Viewing Referrers to VM Instances.",
+ "description": "Retrieves a list of resources that refer to the VM instance specified in the request. For example, if the VM instance is part of a managed instance group, the referrers list includes the managed instance group. For more information, read Viewing Referrers to VM Instances.",
"httpMethod": "GET",
"id": "compute.instances.listReferrers",
"parameterOrder": [
@@ -9986,7 +10021,7 @@
]
},
"setScheduling": {
- "description": "Sets an instance's scheduling options.",
+ "description": "Sets an instance's scheduling options. You can only call this method on a stopped instance, that is, a VM instance that is in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states.",
"httpMethod": "POST",
"id": "compute.instances.setScheduling",
"parameterOrder": [
@@ -13203,6 +13238,651 @@
}
}
},
+ "networkFirewallPolicies": {
+ "methods": {
+ "addAssociation": {
+ "description": "Inserts an association for the specified firewall policy.",
+ "httpMethod": "POST",
+ "id": "compute.networkFirewallPolicies.addAssociation",
+ "parameterOrder": [
+ "project",
+ "firewallPolicy"
+ ],
+ "parameters": {
+ "firewallPolicy": {
+ "description": "Name of the firewall policy to update.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "replaceExistingAssociation": {
+ "description": "Indicates whether or not to replace it if an association of the attachment already exists. This is false by default, in which case an error will be returned if an association already exists.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "requestId": {
+ "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/firewallPolicies/{firewallPolicy}/addAssociation",
+ "request": {
+ "$ref": "FirewallPolicyAssociation"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "addRule": {
+ "description": "Inserts a rule into a firewall policy.",
+ "httpMethod": "POST",
+ "id": "compute.networkFirewallPolicies.addRule",
+ "parameterOrder": [
+ "project",
+ "firewallPolicy"
+ ],
+ "parameters": {
+ "firewallPolicy": {
+ "description": "Name of the firewall policy to update.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/firewallPolicies/{firewallPolicy}/addRule",
+ "request": {
+ "$ref": "FirewallPolicyRule"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "cloneRules": {
+ "description": "Copies rules to the specified firewall policy.",
+ "httpMethod": "POST",
+ "id": "compute.networkFirewallPolicies.cloneRules",
+ "parameterOrder": [
+ "project",
+ "firewallPolicy"
+ ],
+ "parameters": {
+ "firewallPolicy": {
+ "description": "Name of the firewall policy to update.",
+ "location": "path",
+ "pattern": "(firewallPolicies/)?[0-9]{0,20}",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "requestId": {
+ "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
+ "location": "query",
+ "type": "string"
+ },
+ "sourceFirewallPolicy": {
+ "description": "The firewall policy from which to copy rules.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/firewallPolicies/{firewallPolicy}/cloneRules",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "delete": {
+ "description": "Deletes the specified policy.",
+ "httpMethod": "DELETE",
+ "id": "compute.networkFirewallPolicies.delete",
+ "parameterOrder": [
+ "project",
+ "firewallPolicy"
+ ],
+ "parameters": {
+ "firewallPolicy": {
+ "description": "Name of the firewall policy to delete.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "requestId": {
+ "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/firewallPolicies/{firewallPolicy}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "get": {
+ "description": "Returns the specified network firewall policy.",
+ "httpMethod": "GET",
+ "id": "compute.networkFirewallPolicies.get",
+ "parameterOrder": [
+ "project",
+ "firewallPolicy"
+ ],
+ "parameters": {
+ "firewallPolicy": {
+ "description": "Name of the firewall policy to get.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/firewallPolicies/{firewallPolicy}",
+ "response": {
+ "$ref": "FirewallPolicy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly"
+ ]
+ },
+ "getAssociation": {
+ "description": "Gets an association with the specified name.",
+ "httpMethod": "GET",
+ "id": "compute.networkFirewallPolicies.getAssociation",
+ "parameterOrder": [
+ "project",
+ "firewallPolicy"
+ ],
+ "parameters": {
+ "firewallPolicy": {
+ "description": "Name of the firewall policy to which the queried rule belongs.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
+ "required": true,
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the association to get from the firewall policy.",
+ "location": "query",
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/firewallPolicies/{firewallPolicy}/getAssociation",
+ "response": {
+ "$ref": "FirewallPolicyAssociation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly"
+ ]
+ },
+ "getIamPolicy": {
+ "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
+ "httpMethod": "GET",
+ "id": "compute.networkFirewallPolicies.getIamPolicy",
+ "parameterOrder": [
+ "project",
+ "resource"
+ ],
+ "parameters": {
+ "optionsRequestedPolicyVersion": {
+ "description": "Requested IAM Policy version.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "resource": {
+ "description": "Name or id of the resource for this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/firewallPolicies/{resource}/getIamPolicy",
+ "response": {
+ "$ref": "Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly"
+ ]
+ },
+ "getRule": {
+ "description": "Gets a rule of the specified priority.",
+ "httpMethod": "GET",
+ "id": "compute.networkFirewallPolicies.getRule",
+ "parameterOrder": [
+ "project",
+ "firewallPolicy"
+ ],
+ "parameters": {
+ "firewallPolicy": {
+ "description": "Name of the firewall policy to which the queried rule belongs.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
+ "required": true,
+ "type": "string"
+ },
+ "priority": {
+ "description": "The priority of the rule to get from the firewall policy.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/firewallPolicies/{firewallPolicy}/getRule",
+ "response": {
+ "$ref": "FirewallPolicyRule"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly"
+ ]
+ },
+ "insert": {
+ "description": "Creates a new policy in the specified project using the data included in the request.",
+ "httpMethod": "POST",
+ "id": "compute.networkFirewallPolicies.insert",
+ "parameterOrder": [
+ "project"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "requestId": {
+ "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/firewallPolicies",
+ "request": {
+ "$ref": "FirewallPolicy"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "list": {
+ "description": "Lists all the policies that have been configured for the specified project.",
+ "httpMethod": "GET",
+ "id": "compute.networkFirewallPolicies.list",
+ "parameterOrder": [
+ "project"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
+ "location": "query",
+ "type": "string"
+ },
+ "maxResults": {
+ "default": "500",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
+ "format": "uint32",
+ "location": "query",
+ "minimum": "0",
+ "type": "integer"
+ },
+ "orderBy": {
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
+ "location": "query",
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "returnPartialSuccess": {
+ "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false and the logic is the same as today.",
+ "location": "query",
+ "type": "boolean"
+ }
+ },
+ "path": "{project}/global/firewallPolicies",
+ "response": {
+ "$ref": "FirewallPolicyList"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly"
+ ]
+ },
+ "patch": {
+ "description": "Patches the specified policy with the data included in the request.",
+ "httpMethod": "PATCH",
+ "id": "compute.networkFirewallPolicies.patch",
+ "parameterOrder": [
+ "project",
+ "firewallPolicy"
+ ],
+ "parameters": {
+ "firewallPolicy": {
+ "description": "Name of the firewall policy to update.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "requestId": {
+ "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/firewallPolicies/{firewallPolicy}",
+ "request": {
+ "$ref": "FirewallPolicy"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "patchRule": {
+ "description": "Patches a rule of the specified priority.",
+ "httpMethod": "POST",
+ "id": "compute.networkFirewallPolicies.patchRule",
+ "parameterOrder": [
+ "project",
+ "firewallPolicy"
+ ],
+ "parameters": {
+ "firewallPolicy": {
+ "description": "Name of the firewall policy to update.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
+ "required": true,
+ "type": "string"
+ },
+ "priority": {
+ "description": "The priority of the rule to patch.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/firewallPolicies/{firewallPolicy}/patchRule",
+ "request": {
+ "$ref": "FirewallPolicyRule"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "removeAssociation": {
+ "description": "Removes an association for the specified firewall policy.",
+ "httpMethod": "POST",
+ "id": "compute.networkFirewallPolicies.removeAssociation",
+ "parameterOrder": [
+ "project",
+ "firewallPolicy"
+ ],
+ "parameters": {
+ "firewallPolicy": {
+ "description": "Name of the firewall policy to update.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
+ "required": true,
+ "type": "string"
+ },
+ "name": {
+ "description": "Name for the attachment that will be removed.",
+ "location": "query",
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "requestId": {
+ "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/firewallPolicies/{firewallPolicy}/removeAssociation",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "removeRule": {
+ "description": "Deletes a rule of the specified priority.",
+ "httpMethod": "POST",
+ "id": "compute.networkFirewallPolicies.removeRule",
+ "parameterOrder": [
+ "project",
+ "firewallPolicy"
+ ],
+ "parameters": {
+ "firewallPolicy": {
+ "description": "Name of the firewall policy to update.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
+ "required": true,
+ "type": "string"
+ },
+ "priority": {
+ "description": "The priority of the rule to remove from the firewall policy.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/firewallPolicies/{firewallPolicy}/removeRule",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "setIamPolicy": {
+ "description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
+ "httpMethod": "POST",
+ "id": "compute.networkFirewallPolicies.setIamPolicy",
+ "parameterOrder": [
+ "project",
+ "resource"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "resource": {
+ "description": "Name or id of the resource for this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/firewallPolicies/{resource}/setIamPolicy",
+ "request": {
+ "$ref": "GlobalSetPolicyRequest"
+ },
+ "response": {
+ "$ref": "Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "testIamPermissions": {
+ "description": "Returns permissions that a caller has on the specified resource.",
+ "httpMethod": "POST",
+ "id": "compute.networkFirewallPolicies.testIamPermissions",
+ "parameterOrder": [
+ "project",
+ "resource"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "resource": {
+ "description": "Name or id of the resource for this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/firewallPolicies/{resource}/testIamPermissions",
+ "request": {
+ "$ref": "TestPermissionsRequest"
+ },
+ "response": {
+ "$ref": "TestPermissionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly"
+ ]
+ }
+ }
+ },
"networks": {
"methods": {
"addPeering": {
@@ -14357,7 +15037,7 @@
]
},
"patch": {
- "description": "Patch the node group.",
+ "description": "Updates the specified node group.",
"httpMethod": "PATCH",
"id": "compute.nodeGroups.patch",
"parameterOrder": [
@@ -16171,6 +16851,11 @@
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"required": true,
"type": "string"
+ },
+ "returnPartialSuccess": {
+ "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false and the logic is the same as today.",
+ "location": "query",
+ "type": "boolean"
}
},
"path": "{project}/getXpnResources",
@@ -16219,6 +16904,11 @@
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"required": true,
"type": "string"
+ },
+ "returnPartialSuccess": {
+ "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false and the logic is the same as today.",
+ "location": "query",
+ "type": "boolean"
}
},
"path": "{project}/listXpnHosts",
@@ -17412,7 +18102,7 @@
]
},
"insert": {
- "description": "Creates a regional BackendService resource in the specified project using the data included in the request. There are several restrictions and guidelines to keep in mind when creating a regional backend service. Read Understanding backend services for more information.",
+ "description": "Creates a regional BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview.",
"httpMethod": "POST",
"id": "compute.regionBackendServices.insert",
"parameterOrder": [
@@ -17515,7 +18205,7 @@
]
},
"patch": {
- "description": "Updates the specified regional BackendService resource with the data included in the request. There are several Understanding backend services to keep in mind when updating a backend service. Read Understanding backend services for more information. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
+ "description": "Updates the specified regional BackendService resource with the data included in the request. For more information, see Understanding backend services This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
"httpMethod": "PATCH",
"id": "compute.regionBackendServices.patch",
"parameterOrder": [
@@ -17609,7 +18299,7 @@
]
},
"update": {
- "description": "Updates the specified regional BackendService resource with the data included in the request. There are several Understanding backend services to keep in mind when updating a backend service. Read Understanding backend services for more information.",
+ "description": "Updates the specified regional BackendService resource with the data included in the request. For more information, see Backend services overview.",
"httpMethod": "PUT",
"id": "compute.regionBackendServices.update",
"parameterOrder": [
@@ -20073,7 +20763,7 @@
]
},
"listErrors": {
- "description": "Lists all errors thrown by actions on instances for a given regional managed instance group.",
+ "description": "Lists all errors thrown by actions on instances for a given regional managed instance group. The filter and orderBy query parameters are not supported.",
"httpMethod": "GET",
"id": "compute.regionInstanceGroupManagers.listErrors",
"parameterOrder": [
@@ -20141,7 +20831,7 @@
]
},
"listManagedInstances": {
- "description": "Lists the instances in the managed instance group and instances that are scheduled to be created. The list includes any current actions that the group has scheduled for its instances.",
+ "description": "Lists the instances in the managed instance group and instances that are scheduled to be created. The list includes any current actions that the group has scheduled for its instances. The orderBy query parameter is not supported.",
"httpMethod": "POST",
"id": "compute.regionInstanceGroupManagers.listManagedInstances",
"parameterOrder": [
@@ -20191,6 +20881,11 @@
"location": "path",
"required": true,
"type": "string"
+ },
+ "returnPartialSuccess": {
+ "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false and the logic is the same as today.",
+ "location": "query",
+ "type": "boolean"
}
},
"path": "{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances",
@@ -20204,7 +20899,7 @@
]
},
"listPerInstanceConfigs": {
- "description": "Lists all of the per-instance configs defined for the managed instance group.",
+ "description": "Lists all of the per-instance configs defined for the managed instance group. The orderBy query parameter is not supported.",
"httpMethod": "POST",
"id": "compute.regionInstanceGroupManagers.listPerInstanceConfigs",
"parameterOrder": [
@@ -20851,7 +21546,7 @@
]
},
"listInstances": {
- "description": "Lists the instances in the specified instance group and displays information about the named ports. Depending on the specified options, this method can list all instances or only the instances that are running.",
+ "description": "Lists the instances in the specified instance group and displays information about the named ports. Depending on the specified options, this method can list all instances or only the instances that are running. The orderBy query parameter is not supported.",
"httpMethod": "POST",
"id": "compute.regionInstanceGroups.listInstances",
"parameterOrder": [
@@ -25159,6 +25854,338 @@
}
}
},
+ "serviceAttachments": {
+ "methods": {
+ "delete": {
+ "description": "Deletes the specified ServiceAttachment in the given scope",
+ "httpMethod": "DELETE",
+ "id": "compute.serviceAttachments.delete",
+ "parameterOrder": [
+ "project",
+ "region",
+ "serviceAttachment"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "Name of the region of this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ },
+ "requestId": {
+ "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
+ "location": "query",
+ "type": "string"
+ },
+ "serviceAttachment": {
+ "description": "Name of the ServiceAttachment resource to delete.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/regions/{region}/serviceAttachments/{serviceAttachment}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "get": {
+ "description": "Returns the specified ServiceAttachment resource in the given scope.",
+ "httpMethod": "GET",
+ "id": "compute.serviceAttachments.get",
+ "parameterOrder": [
+ "project",
+ "region",
+ "serviceAttachment"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "Name of the region of this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ },
+ "serviceAttachment": {
+ "description": "Name of the ServiceAttachment resource to return.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/regions/{region}/serviceAttachments/{serviceAttachment}",
+ "response": {
+ "$ref": "ServiceAttachment"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly"
+ ]
+ },
+ "getIamPolicy": {
+ "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
+ "httpMethod": "GET",
+ "id": "compute.serviceAttachments.getIamPolicy",
+ "parameterOrder": [
+ "project",
+ "region",
+ "resource"
+ ],
+ "parameters": {
+ "optionsRequestedPolicyVersion": {
+ "description": "Requested IAM Policy version.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "The name of the region for this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ },
+ "resource": {
+ "description": "Name or id of the resource for this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/regions/{region}/serviceAttachments/{resource}/getIamPolicy",
+ "response": {
+ "$ref": "Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly"
+ ]
+ },
+ "insert": {
+ "description": "Creates a ServiceAttachment in the specified project in the given scope using the parameters that are included in the request.",
+ "httpMethod": "POST",
+ "id": "compute.serviceAttachments.insert",
+ "parameterOrder": [
+ "project",
+ "region"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "Name of the region of this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ },
+ "requestId": {
+ "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "{project}/regions/{region}/serviceAttachments",
+ "request": {
+ "$ref": "ServiceAttachment"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "list": {
+ "description": "Lists the ServiceAttachments for a project in the given scope.",
+ "httpMethod": "GET",
+ "id": "compute.serviceAttachments.list",
+ "parameterOrder": [
+ "project",
+ "region"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
+ "location": "query",
+ "type": "string"
+ },
+ "maxResults": {
+ "default": "500",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
+ "format": "uint32",
+ "location": "query",
+ "minimum": "0",
+ "type": "integer"
+ },
+ "orderBy": {
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
+ "location": "query",
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "Name of the region of this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ },
+ "returnPartialSuccess": {
+ "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false and the logic is the same as today.",
+ "location": "query",
+ "type": "boolean"
+ }
+ },
+ "path": "{project}/regions/{region}/serviceAttachments",
+ "response": {
+ "$ref": "ServiceAttachmentList"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly"
+ ]
+ },
+ "setIamPolicy": {
+ "description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
+ "httpMethod": "POST",
+ "id": "compute.serviceAttachments.setIamPolicy",
+ "parameterOrder": [
+ "project",
+ "region",
+ "resource"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "The name of the region for this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ },
+ "resource": {
+ "description": "Name or id of the resource for this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/regions/{region}/serviceAttachments/{resource}/setIamPolicy",
+ "request": {
+ "$ref": "RegionSetPolicyRequest"
+ },
+ "response": {
+ "$ref": "Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "testIamPermissions": {
+ "description": "Returns permissions that a caller has on the specified resource.",
+ "httpMethod": "POST",
+ "id": "compute.serviceAttachments.testIamPermissions",
+ "parameterOrder": [
+ "project",
+ "region",
+ "resource"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "The name of the region for this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ },
+ "resource": {
+ "description": "Name or id of the resource for this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/regions/{region}/serviceAttachments/{resource}/testIamPermissions",
+ "request": {
+ "$ref": "TestPermissionsRequest"
+ },
+ "response": {
+ "$ref": "TestPermissionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly"
+ ]
+ }
+ }
+ },
"snapshots": {
"methods": {
"delete": {
@@ -26339,7 +27366,7 @@
]
},
"listUsable": {
- "description": "Retrieves an aggregated list of all usable subnetworks in the project. The list contains all of the subnetworks in the project and the subnetworks that were shared by a Shared VPC host project.",
+ "description": "Retrieves an aggregated list of all usable subnetworks in the project.",
"httpMethod": "GET",
"id": "compute.subnetworks.listUsable",
"parameterOrder": [
@@ -26748,6 +27775,47 @@
"https://www.googleapis.com/auth/compute.readonly"
]
},
+ "patch": {
+ "description": "Patches the specified TargetGrpcProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.",
+ "httpMethod": "PATCH",
+ "id": "compute.targetGrpcProxies.patch",
+ "parameterOrder": [
+ "project",
+ "targetGrpcProxy"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "requestId": {
+ "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
+ "location": "query",
+ "type": "string"
+ },
+ "targetGrpcProxy": {
+ "description": "Name of the TargetGrpcProxy resource to patch.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/targetGrpcProxies/{targetGrpcProxy}",
+ "request": {
+ "$ref": "TargetGrpcProxy"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
"testIamPermissions": {
"description": "Returns permissions that a caller has on the specified resource.",
"httpMethod": "POST",
@@ -27307,6 +28375,46 @@
"https://www.googleapis.com/auth/compute.readonly"
]
},
+ "setCertificateMap": {
+ "description": "Changes the Certificate Map for TargetHttpsProxy.",
+ "httpMethod": "POST",
+ "id": "compute.targetHttpsProxies.setCertificateMap",
+ "parameterOrder": [
+ "project",
+ "targetHttpsProxy"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "requestId": {
+ "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
+ "location": "query",
+ "type": "string"
+ },
+ "targetHttpsProxy": {
+ "description": "Name of the TargetHttpsProxy resource whose CertificateMap is to be set. The name must be 1-63 characters long, and comply with RFC1035.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/targetHttpsProxies/{targetHttpsProxy}/setCertificateMap",
+ "request": {
+ "$ref": "TargetHttpsProxiesSetCertificateMapRequest"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
"setQuicOverride": {
"description": "Sets the QUIC override policy for TargetHttpsProxy.",
"httpMethod": "POST",
@@ -28604,6 +29712,46 @@
"https://www.googleapis.com/auth/compute"
]
},
+ "setCertificateMap": {
+ "description": "Changes the Certificate Map for TargetSslProxy.",
+ "httpMethod": "POST",
+ "id": "compute.targetSslProxies.setCertificateMap",
+ "parameterOrder": [
+ "project",
+ "targetSslProxy"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "requestId": {
+ "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
+ "location": "query",
+ "type": "string"
+ },
+ "targetSslProxy": {
+ "description": "Name of the TargetSslProxy resource whose CertificateMap is to be set. The name must be 1-63 characters long, and comply with RFC1035.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/targetSslProxies/{targetSslProxy}/setCertificateMap",
+ "request": {
+ "$ref": "TargetSslProxiesSetCertificateMapRequest"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
"setProxyHeader": {
"description": "Changes the ProxyHeaderType for TargetSslProxy.",
"httpMethod": "POST",
@@ -31213,7 +32361,7 @@
}
}
},
- "revision": "20200311",
+ "revision": "20200612",
"rootUrl": "https://compute.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
@@ -31259,7 +32407,7 @@
"type": "string"
},
"maximumCardsPerInstance": {
- "description": "[Output Only] Maximum accelerator cards allowed per instance.",
+ "description": "[Output Only] Maximum number of accelerator cards allowed per instance.",
"format": "int32",
"type": "integer"
},
@@ -31269,7 +32417,7 @@
"type": "string"
},
"selfLink": {
- "description": "[Output Only] Server-defined fully-qualified URL for this resource.",
+ "description": "[Output Only] Server-defined, fully qualified URL for this resource.",
"type": "string"
},
"selfLinkWithId": {
@@ -31740,7 +32888,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Labels to apply to this Address resource. These can be later modified by the setLabels method. Each label key/value must comply with RFC1035. Label values may be empty.",
+ "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.",
"type": "object"
},
"name": {
@@ -32208,7 +33356,7 @@
"type": "object"
},
"AllocationSpecificSKUAllocationReservedInstanceProperties": {
- "description": "Properties of the SKU instances being reserved.",
+ "description": "Properties of the SKU instances being reserved. Next ID: 9",
"id": "AllocationSpecificSKUAllocationReservedInstanceProperties",
"properties": {
"guestAccelerators": {
@@ -32225,14 +33373,35 @@
},
"type": "array"
},
+ "locationHint": {
+ "description": "An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.",
+ "type": "string"
+ },
"longTermRelease": {
- "description": "Compute Engine Long Term Release. When specified, VMs that have this policy become long term release (internal: stable fleet) VMs.\n\nFor all VM shapes, this should result in fewer disruptions due to software updates and greater predictability via 1 week extended notifications.\n\nFor GPU VMs, this should also result in an 2 week uptime guarantee. See go/stable-fleet-gpus-design for more details.",
+ "description": "DEPRECATED, please use maintenance_freeze_duration_hours. TODO(b/154158138): Remove this field. Compute Engine Long Term Release. When specified, VMs that have this policy become long term release (internal: stable fleet) VMs.\n\nFor all VM shapes, this should result in fewer disruptions due to software updates and greater predictability via 1 week extended notifications.\n\nFor GPU VMs, this should also result in an 2 week uptime guarantee. See go/stable-fleet-gpus-design for more details.",
"type": "boolean"
},
"machineType": {
"description": "Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.",
"type": "string"
},
+ "maintenanceFreezeDurationHours": {
+ "description": "Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "maintenanceInterval": {
+ "description": "Specifies whether this VM may be a stable fleet VM. Setting this to \"Periodic\" designates this VM as a Stable Fleet VM.\n\nSee go/stable-fleet-ug for more details.",
+ "enum": [
+ "AS_NEEDED",
+ "PERIODIC"
+ ],
+ "enumDescriptions": [
+ "",
+ ""
+ ],
+ "type": "string"
+ },
"minCpuPlatform": {
"description": "Minimum cpu platform the reservation.",
"type": "string"
@@ -32410,6 +33579,10 @@
"description": "Labels to apply to this disk. These can be later modified by the disks.setLabels method. This field is only applicable for persistent disks.",
"type": "object"
},
+ "multiWriter": {
+ "description": "Indicates whether or not the disk can be read/write attached to more than one instance.",
+ "type": "boolean"
+ },
"onUpdateAction": {
"description": "Specifies which action to take on instance update with this disk. Default is to use the existing disk.",
"enum": [
@@ -32458,7 +33631,7 @@
"type": "object"
},
"AuditConfig": {
- "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n{ \"audit_configs\": [ { \"service\": \"allServices\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\", }, { \"log_type\": \"ADMIN_READ\", } ] }, { \"service\": \"sampleservice.googleapis.com\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.",
+ "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n{ \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"auditLogConfigs": {
@@ -32483,7 +33656,7 @@
"type": "object"
},
"AuditLogConfig": {
- "description": "Provides the configuration for logging a type of permissions. Example:\n\n{ \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\", } ] }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.",
+ "description": "Provides the configuration for logging a type of permissions. Example:\n\n{ \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.",
"id": "AuditLogConfig",
"properties": {
"exemptedMembers": {
@@ -32935,6 +34108,7 @@
"MISSING_CUSTOM_METRIC_DATA_POINTS",
"MISSING_LOAD_BALANCING_DATA_POINTS",
"MODE_OFF",
+ "MODE_ONLY_SCALE_OUT",
"MODE_ONLY_UP",
"MORE_THAN_ONE_BACKEND_SERVICE",
"NOT_ENOUGH_QUOTA_AVAILABLE",
@@ -32961,6 +34135,7 @@
"",
"",
"",
+ "",
""
],
"type": "string"
@@ -33103,19 +34278,17 @@
"enum": [
"OFF",
"ON",
+ "ONLY_SCALE_OUT",
"ONLY_UP"
],
"enumDescriptions": [
+ "",
"",
"",
""
],
"type": "string"
},
- "queueBasedScaling": {
- "$ref": "AutoscalingPolicyQueueBasedScaling",
- "description": "Configuration parameters of autoscaling based on queuing system."
- },
"scaleDownControl": {
"$ref": "AutoscalingPolicyScaleDownControl"
},
@@ -33202,42 +34375,6 @@
},
"type": "object"
},
- "AutoscalingPolicyQueueBasedScaling": {
- "description": "Configuration parameters of autoscaling based on queuing system.",
- "id": "AutoscalingPolicyQueueBasedScaling",
- "properties": {
- "acceptableBacklogPerInstance": {
- "description": "Scaling based on the average number of tasks in the queue per each active instance. The autoscaler keeps the average number of tasks per instance below this number, based on data collected in the last couple of minutes. The autoscaler will also take into account incoming tasks when calculating when to scale.",
- "format": "double",
- "type": "number"
- },
- "cloudPubSub": {
- "$ref": "AutoscalingPolicyQueueBasedScalingCloudPubSub",
- "description": "Configuration for Cloud Pub/Sub subscription queue."
- },
- "singleWorkerThroughputPerSec": {
- "description": "The scaling algorithm will also calculate throughput estimates on its own; if you explicitly provide this value, the autoscaler will take into account your value as well as automatic estimates when deciding how to scale.",
- "format": "double",
- "type": "number"
- }
- },
- "type": "object"
- },
- "AutoscalingPolicyQueueBasedScalingCloudPubSub": {
- "description": "Configuration parameters for scaling based on Cloud Pub/Sub subscription queue.",
- "id": "AutoscalingPolicyQueueBasedScalingCloudPubSub",
- "properties": {
- "subscription": {
- "description": "Cloud Pub/Sub subscription used for scaling. Provide the partial URL (starting with projects/) or just the subscription name. The subscription must be assigned to the topic specified in topicName and must be in a pull configuration. The subscription must belong to the same project as the Autoscaler.",
- "type": "string"
- },
- "topic": {
- "description": "Cloud Pub/Sub topic used for scaling. Provide the partial URL or partial URL (starting with projects/) or just the topic name. The topic must belong to the same project as the Autoscaler resource.",
- "type": "string"
- }
- },
- "type": "object"
- },
"AutoscalingPolicyScaleDownControl": {
"description": "Configuration that allows for slower scale down so that even if Autoscaler recommends an abrupt scale down of a MIG, it will be throttled as specified by the parameters below.",
"id": "AutoscalingPolicyScaleDownControl",
@@ -33289,7 +34426,7 @@
"type": "string"
},
"capacityScaler": {
- "description": "A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or CONNECTION). Default value is 1, which means the group will serve up to 100% of its configured capacity (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available Capacity. Valid range is [0.0,1.0].\n\nThis cannot be used for internal load balancing.",
+ "description": "A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or CONNECTION). Default value is 1, which means the group will serve up to 100% of its configured capacity (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available capacity. Valid range is 0.0 and [0.1,1.0]. You cannot configure a setting larger than 0 and smaller than 0.1. You cannot configure a setting of 0 when there is only one backend attached to the backend service.\n\nThis cannot be used for internal load balancing.",
"format": "float",
"type": "number"
},
@@ -33527,7 +34664,7 @@
"type": "object"
},
"BackendService": {
- "description": "Represents a Backend Service resource.\n\nA backend service contains configuration values for Google Cloud Platform load balancing services.\n\nBackend services in Google Compute Engine can be either regionally or globally scoped.\n\n* [Global](/compute/docs/reference/rest/{$api_version}/backendServices) * [Regional](/compute/docs/reference/rest/{$api_version}/regionBackendServices)\n\nFor more information, read Backend Services.\n\n(== resource_for {$api_version}.backendService ==)",
+ "description": "Represents a Backend Service resource.\n\nA backend service defines how Google Cloud load balancers distribute traffic. The backend service configuration contains a set of values, such as the protocol used to connect to backends, various distribution and session settings, health checks, and timeouts. These settings provide fine-grained control over how your load balancer behaves. Most of the settings have default values that allow for easy configuration if you need to get started quickly.\n\nBackend services in Google Compute Engine can be either regionally or globally scoped.\n\n* [Global](/compute/docs/reference/rest/{$api_version}/backendServices) * [Regional](/compute/docs/reference/rest/{$api_version}/regionBackendServices)\n\nFor more information, see Backend Services.\n\n(== resource_for {$api_version}.backendService ==)",
"id": "BackendService",
"properties": {
"affinityCookieTtlSec": {
@@ -33593,7 +34730,8 @@
"type": "array"
},
"iap": {
- "$ref": "BackendServiceIAP"
+ "$ref": "BackendServiceIAP",
+ "description": "The configurations for Identity-Aware Proxy on this resource."
},
"id": {
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
@@ -33624,7 +34762,7 @@
"type": "string"
},
"localityLbPolicy": {
- "description": "The load balancing algorithm used within the scope of the locality. The possible values are: \n- ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. \n- LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. \n- RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. \n- RANDOM: The load balancer selects a random healthy host. \n- ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. \n- MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, refer to https://ai.google/research/pubs/pub44824 \n\nThis field is applicable to either: \n- A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. \n- A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. \n\nIf sessionAffinity is not NONE, and this field is not set to >MAGLEV or RING_HASH, session affinity settings will not take effect.",
+ "description": "The load balancing algorithm used within the scope of the locality. The possible values are: \n- ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. \n- LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. \n- RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. \n- RANDOM: The load balancer selects a random healthy host. \n- ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. \n- MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 \n\nThis field is applicable to either: \n- A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. \n- A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. \n\nIf sessionAffinity is not NONE, and this field is not set to >MAGLEV or RING_HASH, session affinity settings will not take effect.",
"enum": [
"INVALID_LB_POLICY",
"LEAST_REQUEST",
@@ -33668,7 +34806,7 @@
"type": "integer"
},
"portName": {
- "description": "A named port on a backend instance group representing the port for communication to the backend VMs in that group. Required when the loadBalancingScheme is EXTERNAL, INTERNAL_MANAGED, or INTERNAL_SELF_MANAGED and the backends are instance groups. The named port must be defined on each backend instance group. This parameter has no meaning if the backends are NEGs.\n\n\n\nMust be omitted when the loadBalancingScheme is INTERNAL (Internal TCP/UDP Load Blaancing).",
+ "description": "A named port on a backend instance group representing the port for communication to the backend VMs in that group. Required when the loadBalancingScheme is EXTERNAL, INTERNAL_MANAGED, or INTERNAL_SELF_MANAGED and the backends are instance groups. The named port must be defined on each backend instance group. This parameter has no meaning if the backends are NEGs.\n\n\n\nMust be omitted when the loadBalancingScheme is INTERNAL (Internal TCP/UDP Load Balancing).",
"type": "string"
},
"protocol": {
@@ -33738,7 +34876,7 @@
"type": "string"
},
"timeoutSec": {
- "description": "The backend service timeout has a different meaning depending on the type of load balancer. For more information read, Backend service settings The default is 30 seconds.",
+ "description": "The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings The default is 30 seconds.",
"format": "int32",
"type": "integer"
}
@@ -33940,9 +35078,11 @@
"id": "BackendServiceIAP",
"properties": {
"enabled": {
+ "description": "Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty.",
"type": "boolean"
},
"oauth2ClientId": {
+ "description": "OAuth2 client ID to use for the authentication flow.",
"type": "string"
},
"oauth2ClientInfo": {
@@ -33950,6 +35090,7 @@
"description": "[Input Only] OAuth client info required to generate client id to be used for IAP."
},
"oauth2ClientSecret": {
+ "description": "OAuth2 client secret to use for the authentication flow. For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field.",
"type": "string"
},
"oauth2ClientSecretSha256": {
@@ -34482,7 +35623,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding. NOTE: An unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the current request.\n\nIf the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values:\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@example.com` .\n\n\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* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.\n\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.",
@@ -34506,13 +35647,6 @@
"format": "int64",
"type": "string"
},
- "excludedZones": {
- "description": "List of zones to exclude for regional requests.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
"instance": {
"$ref": "Instance"
},
@@ -35337,14 +36471,14 @@
"type": "array"
},
"allowOriginRegexes": {
- "description": "Specifies the regualar expression patterns that match allowed origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript \nAn origin is allowed if it matches either allow_origins or allow_origin_regex.",
+ "description": "Specifies the regualar expression patterns that match allowed origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript \nAn origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.",
"items": {
"type": "string"
},
"type": "array"
},
"allowOrigins": {
- "description": "Specifies the list of origins that will be allowed to do CORS requests.\nAn origin is allowed if it matches either allow_origins or allow_origin_regex.",
+ "description": "Specifies the list of origins that will be allowed to do CORS requests.\nAn origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.",
"items": {
"type": "string"
},
@@ -35481,6 +36615,20 @@
"format": "uint64",
"type": "string"
},
+ "interface": {
+ "description": "Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI.",
+ "enum": [
+ "NVME",
+ "SCSI",
+ "UNSPECIFIED"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ },
"kind": {
"default": "compute#disk",
"description": "[Output Only] Type of the resource. Always compute#disk for disks.",
@@ -35540,7 +36688,7 @@
"type": "string"
},
"physicalBlockSizeBytes": {
- "description": "Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. Currently supported sizes are 4096 and 16384, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project.",
+ "description": "Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. The currently supported size is 4096, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project.",
"format": "int64",
"type": "string"
},
@@ -35650,7 +36798,7 @@
"type": "string"
},
"type": {
- "description": "URL of the disk type resource describing which disk type to use to create the disk. Provide this when creating the disk. For example: projects/project/zones/zone/diskTypes/pd-standard or pd-ssd",
+ "description": "URL of the disk type resource describing which disk type to use to create the disk. Provide this when creating the disk. For example: projects/project/zones/zone/diskTypes/pd-standard or pd-ssd",
"type": "string"
},
"users": {
@@ -36723,7 +37871,7 @@
"type": "object"
},
"ExternalVpnGateway": {
- "description": "External VPN gateway is the on-premises VPN gateway(s) or another cloud provider's VPN gateway that connects to your Google Cloud VPN gateway. To create a highly available VPN from Google Cloud to your on-premises side or another Cloud provider's VPN gateway, you must create a external VPN gateway resource in GCP, which provides the information to GCP about your external VPN gateway.",
+ "description": "Represents an external VPN gateway.\n\nExternal VPN gateway is the on-premises VPN gateway(s) or another cloud provider's VPN gateway that connects to your Google Cloud VPN gateway.\n\nTo create a highly available VPN from Google Cloud Platform to your VPN gateway or another cloud provider's VPN gateway, you must create a external VPN gateway resource with information about the other gateway.\n\nFor more information about using external VPN gateways, see Creating an HA VPN gateway and tunnel pair to a peer VPN. (== resource_for {$api_version}.externalVpnGateways ==)",
"id": "ExternalVpnGateway",
"properties": {
"creationTimestamp": {
@@ -36760,7 +37908,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Labels to apply to this ExternalVpnGateway resource. These can be later modified by the setLabels method. Each label key/value must comply with RFC1035. Label values may be empty.",
+ "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.",
"type": "object"
},
"name": {
@@ -36936,6 +38084,7 @@
"type": "string"
},
"fileType": {
+ "description": "The file type of source file.",
"enum": [
"BIN",
"UNDEFINED",
@@ -37027,7 +38176,7 @@
"type": "boolean"
},
"enableLogging": {
- "description": "Deprecated in favor of enable in LogConfig. This field denotes whether to enable logging for a particular firewall rule. If logging is enabled, logs will be exported to Stackdriver.",
+ "description": "Deprecated in favor of enable in LogConfig. This field denotes whether to enable logging for a particular firewall rule. If logging is enabled, logs will be exported t Cloud Logging.",
"type": "boolean"
},
"id": {
@@ -37042,7 +38191,7 @@
},
"logConfig": {
"$ref": "FirewallLogConfig",
- "description": "This field denotes the logging options for a particular firewall rule. If logging is enabled, logs will be exported to Stackdriver."
+ "description": "This field denotes the logging options for a particular firewall rule. If logging is enabled, logs will be exported to Cloud Logging."
},
"name": {
"annotations": {
@@ -37247,6 +38396,322 @@
},
"type": "object"
},
+ "FirewallPolicy": {
+ "description": "Represents a Firewall Policy resource. (== resource_for {$api_version}.firewallPolicies ==)",
+ "id": "FirewallPolicy",
+ "properties": {
+ "associations": {
+ "description": "A list of associations that belong to this firewall policy.",
+ "items": {
+ "$ref": "FirewallPolicyAssociation"
+ },
+ "type": "array"
+ },
+ "creationTimestamp": {
+ "description": "[Output Only] Creation timestamp in RFC3339 text format.",
+ "type": "string"
+ },
+ "description": {
+ "description": "An optional description of this resource. Provide this property when you create the resource.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "User-provided name of the Organization firewall plicy. The name should be unique in the organization in which the firewall policy is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "type": "string"
+ },
+ "fingerprint": {
+ "description": "Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet.\n\nTo see the latest fingerprint, make get() request to the firewall policy.",
+ "format": "byte",
+ "type": "string"
+ },
+ "id": {
+ "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
+ "format": "uint64",
+ "type": "string"
+ },
+ "kind": {
+ "default": "compute#firewallPolicy",
+ "description": "[Output only] Type of the resource. Always compute#firewallPolicyfor firewall policies",
+ "type": "string"
+ },
+ "name": {
+ "description": "[Output Only] Name of the resource. It is a numeric ID allocated by GCP which uniquely identifies the Firewall Policy.",
+ "type": "string"
+ },
+ "parent": {
+ "description": "[Output Only] The parent of the firewall policy.",
+ "type": "string"
+ },
+ "ruleTupleCount": {
+ "description": "[Output Only] Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "rules": {
+ "description": "A list of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match \"*\"). If no rules are provided when creating a firewall policy, a default rule with action \"allow\" will be added.",
+ "items": {
+ "$ref": "FirewallPolicyRule"
+ },
+ "type": "array"
+ },
+ "selfLink": {
+ "description": "[Output Only] Server-defined URL for the resource.",
+ "type": "string"
+ },
+ "selfLinkWithId": {
+ "description": "[Output Only] Server-defined URL for this resource with the resource id.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "FirewallPolicyAssociation": {
+ "id": "FirewallPolicyAssociation",
+ "properties": {
+ "attachmentTarget": {
+ "description": "The target that the firewall policy is attached to.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "[Output Only] The display name of the firewall policy of the association.",
+ "type": "string"
+ },
+ "firewallPolicyId": {
+ "description": "[Output Only] The firewall policy ID of the association.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name for an association.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "FirewallPolicyList": {
+ "id": "FirewallPolicyList",
+ "properties": {
+ "id": {
+ "description": "[Output Only] Unique identifier for the resource; defined by the server.",
+ "type": "string"
+ },
+ "items": {
+ "description": "A list of FirewallPolicy resources.",
+ "items": {
+ "$ref": "FirewallPolicy"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "default": "compute#firewallPolicyList",
+ "description": "[Output Only] Type of resource. Always compute#firewallPolicyList for listsof FirewallPolicies",
+ "type": "string"
+ },
+ "nextPageToken": {
+ "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.",
+ "type": "string"
+ },
+ "warning": {
+ "description": "[Output Only] Informational warning message.",
+ "properties": {
+ "code": {
+ "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.",
+ "enum": [
+ "CLEANUP_FAILED",
+ "DEPRECATED_RESOURCE_USED",
+ "DEPRECATED_TYPE_USED",
+ "DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
+ "EXPERIMENTAL_TYPE_USED",
+ "EXTERNAL_API_WARNING",
+ "FIELD_VALUE_OVERRIDEN",
+ "INJECTED_KERNELS_DEPRECATED",
+ "MISSING_TYPE_DEPENDENCY",
+ "NEXT_HOP_ADDRESS_NOT_ASSIGNED",
+ "NEXT_HOP_CANNOT_IP_FORWARD",
+ "NEXT_HOP_INSTANCE_NOT_FOUND",
+ "NEXT_HOP_INSTANCE_NOT_ON_NETWORK",
+ "NEXT_HOP_NOT_RUNNING",
+ "NOT_CRITICAL_ERROR",
+ "NO_RESULTS_ON_PAGE",
+ "PARTIAL_SUCCESS",
+ "REQUIRED_TOS_AGREEMENT",
+ "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING",
+ "RESOURCE_NOT_DELETED",
+ "SCHEMA_VALIDATION_IGNORED",
+ "SINGLE_INSTANCE_PROPERTY_TEMPLATE",
+ "UNDECLARED_PROPERTIES",
+ "UNREACHABLE"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ },
+ "data": {
+ "description": "[Output Only] Metadata about this warning in key: value format. For example:\n\"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" }",
+ "items": {
+ "properties": {
+ "key": {
+ "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).",
+ "type": "string"
+ },
+ "value": {
+ "description": "[Output Only] A warning data value corresponding to the key.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "description": "[Output Only] A human-readable description of the warning code.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "FirewallPolicyRule": {
+ "description": "Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny).",
+ "id": "FirewallPolicyRule",
+ "properties": {
+ "action": {
+ "description": "The Action to perform when the client connection triggers the rule. Can currently be either \"allow\" or \"deny()\" where valid values for status are 403, 404, and 502.",
+ "type": "string"
+ },
+ "description": {
+ "description": "An optional description of this resource. Provide this property when you create the resource.",
+ "type": "string"
+ },
+ "direction": {
+ "description": "The direction in which this rule applies.",
+ "enum": [
+ "DIRECTION_UNSPECIFIED",
+ "EGRESS",
+ "INGRESS"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ },
+ "enableLogging": {
+ "description": "Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on \"goto_next\" rules.",
+ "type": "boolean"
+ },
+ "kind": {
+ "default": "compute#firewallPolicyRule",
+ "description": "[Output only] Type of the resource. Always compute#firewallPolicyRule for firewall policy rules",
+ "type": "string"
+ },
+ "match": {
+ "$ref": "FirewallPolicyRuleMatcher",
+ "description": "A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding ?action? is enforced."
+ },
+ "preview": {
+ "description": "If set to true, the specified action is not enforced.",
+ "type": "boolean"
+ },
+ "priority": {
+ "description": "An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "ruleTupleCount": {
+ "description": "[Output Only] Calculation of the complexity of a single firewall policy rule.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "targetResources": {
+ "description": "A list of network resource URLs to which this rule applies. This field allows you to control which network?s VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "targetServiceAccounts": {
+ "description": "A list of service accounts indicating the sets of instances that are applied with this rule.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "FirewallPolicyRuleMatcher": {
+ "description": "Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.",
+ "id": "FirewallPolicyRuleMatcher",
+ "properties": {
+ "destIpRanges": {
+ "description": "CIDR IP address range.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "layer4Configs": {
+ "description": "Pairs of IP protocols and ports that the rule should match.",
+ "items": {
+ "$ref": "FirewallPolicyRuleMatcherLayer4Config"
+ },
+ "type": "array"
+ },
+ "srcIpRanges": {
+ "description": "CIDR IP address range.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "FirewallPolicyRuleMatcherLayer4Config": {
+ "id": "FirewallPolicyRuleMatcherLayer4Config",
+ "properties": {
+ "ipProtocol": {
+ "description": "The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.",
+ "type": "string"
+ },
+ "ports": {
+ "description": "An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port.\n\nExample inputs include: [\"22\"], [\"80\",\"443\"], and [\"12345-12349\"].",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"FixedOrPercent": {
"description": "Encapsulates numeric value that can be either absolute or relative.",
"id": "FixedOrPercent",
@@ -37359,7 +38824,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Labels to apply to this resource. These can be later modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.",
+ "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.",
"type": "object"
},
"loadBalancingScheme": {
@@ -37826,6 +39291,16 @@
},
"type": "object"
},
+ "GetOwnerInstanceResponse": {
+ "id": "GetOwnerInstanceResponse",
+ "properties": {
+ "instance": {
+ "description": "Full instance resource URL.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"GlobalNetworkEndpointGroupsAttachEndpointsRequest": {
"id": "GlobalNetworkEndpointGroupsAttachEndpointsRequest",
"properties": {
@@ -37982,10 +39457,12 @@
"type": {
"description": "The ID of a supported feature. Read Enabling guest operating system features to see a list of available options.",
"enum": [
+ "BARE_METAL_LINUX_COMPATIBLE",
"FEATURE_TYPE_UNSPECIFIED",
"GVNIC",
"MULTI_IP_SUBNET",
"SECURE_BOOT",
+ "SEV_CAPABLE",
"UEFI_COMPATIBLE",
"VIRTIO_SCSI_MULTIQUEUE",
"WINDOWS"
@@ -37997,6 +39474,8 @@
"",
"",
"",
+ "",
+ "",
""
],
"type": "string"
@@ -38410,7 +39889,7 @@
"type": "object"
},
"HealthCheckService": {
- "description": "A HealthCheckService defines a set of backends on which to perform periodic health checks and an endpoint to which to send notification of changes in the health status of the backends.",
+ "description": "Represents a Health-Check as a Service resource.\n\n(== resource_for {$api_version}.regionHealthCheckServices ==)",
"id": "HealthCheckService",
"properties": {
"creationTimestamp": {
@@ -38446,7 +39925,7 @@
"type": "string"
},
"healthStatusAggregationStrategy": {
- "description": "Policy for how the results from multiple health checks for the same endpoint are aggregated. \n- NO_AGGREGATION. An EndpointHealth message is returned for each backend in the health check service. \n- AND. If any backend's health check reports UNHEALTHY, then UNHEALTHY is the HealthState of the entire health check service. If all backend's are healthy, the HealthState of the health check service is HEALTHY. .",
+ "description": "This field is deprecated. Use health_status_aggregation_policy instead.\n\nPolicy for how the results from multiple health checks for the same endpoint are aggregated. \n- NO_AGGREGATION. An EndpointHealth message is returned for each backend in the health check service. \n- AND. If any backend's health check reports UNHEALTHY, then UNHEALTHY is the HealthState of the entire health check service. If all backend's are healthy, the HealthState of the health check service is HEALTHY. .",
"enum": [
"AND",
"NO_AGGREGATION"
@@ -39400,7 +40879,7 @@
},
"urlRewrite": {
"$ref": "UrlRewrite",
- "description": "The spec to modify the URL of the request, prior to forwarding the request to the matched service."
+ "description": "The spec to modify the URL of the request, prior to forwarding the request to the matched service.\nurlRewrite is the only action supported in UrlMaps for external HTTP(S) load balancers."
},
"weightedBackendServices": {
"description": "A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non 0 number.\nOnce a backendService is identified and before forwarding the request to the backend service, advanced routing actions like Url rewrites and header transformations are applied depending on additional settings specified in this HttpRouteAction.",
@@ -39836,7 +41315,7 @@
"type": "string"
},
"sourceImage": {
- "description": "URL of the source image used to create this image. This can be a full or valid partial URL. You must provide exactly one of: \n- this property, or \n- the rawDisk.source property, or \n- the sourceDisk property in order to create an image.",
+ "description": "URL of the source image used to create this image.\n\nIn order to create an image, you must provide the full or partial URL of one of the following: \n- The selfLink URL \n- This property \n- The rawDisk.source URL \n- The sourceDisk URL",
"type": "string"
},
"sourceImageEncryptionKey": {
@@ -39848,7 +41327,7 @@
"type": "string"
},
"sourceSnapshot": {
- "description": "URL of the source snapshot used to create this image. This can be a full or valid partial URL. You must provide exactly one of: \n- this property, or \n- the sourceImage property, or \n- the rawDisk.source property, or \n- the sourceDisk property in order to create an image.",
+ "description": "URL of the source snapshot used to create this image.\n\nIn order to create an image, you must provide the full or partial URL of one of the following: \n- The selfLink URL \n- This property \n- The sourceImage URL \n- The rawDisk.source URL \n- The sourceDisk URL",
"type": "string"
},
"sourceSnapshotEncryptionKey": {
@@ -40331,6 +41810,18 @@
"description": "Labels to apply to this instance. These can be later modified by the setLabels method.",
"type": "object"
},
+ "lastStartTimestamp": {
+ "description": "[Output Only] Last start timestamp in RFC3339 text format.",
+ "type": "string"
+ },
+ "lastStopTimestamp": {
+ "description": "[Output Only] Last stop timestamp in RFC3339 text format.",
+ "type": "string"
+ },
+ "lastSuspendedTimestamp": {
+ "description": "[Output Only] Last suspended timestamp in RFC3339 text format.",
+ "type": "string"
+ },
"machineType": {
"annotations": {
"required": [
@@ -40453,7 +41944,7 @@
"type": "boolean"
},
"status": {
- "description": "[Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, STOPPED, SUSPENDING, SUSPENDED, and TERMINATED.",
+ "description": "[Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED.",
"enum": [
"DEPROVISIONING",
"PROVISIONING",
@@ -40665,7 +42156,7 @@
"type": "array"
},
"network": {
- "description": "The URL of the network to which all instances in the instance group belong.",
+ "description": "[Output Only] The URL of the network to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0).",
"type": "string"
},
"region": {
@@ -40686,7 +42177,7 @@
"type": "integer"
},
"subnetwork": {
- "description": "[Output Only] The URL of the subnetwork to which all instances in the instance group belong.",
+ "description": "[Output Only] The URL of the subnetwork to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0).",
"type": "string"
},
"zone": {
@@ -41449,6 +42940,20 @@
"isStateful": {
"description": "[Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful config even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. This field is deprecated in favor of has_stateful_config.",
"type": "boolean"
+ },
+ "perInstanceConfigs": {
+ "$ref": "InstanceGroupManagerStatusStatefulPerInstanceConfigs",
+ "description": "[Output Only] Status of per-instance configs on the instance."
+ }
+ },
+ "type": "object"
+ },
+ "InstanceGroupManagerStatusStatefulPerInstanceConfigs": {
+ "id": "InstanceGroupManagerStatusStatefulPerInstanceConfigs",
+ "properties": {
+ "allEffective": {
+ "description": "A bit indicating if all of the group's per-instance configs (listed in the output of a listPerInstanceConfigs API call) have status EFFECTIVE or there are no per-instance-configs.",
+ "type": "boolean"
}
},
"type": "object"
@@ -41573,6 +43078,10 @@
"description": "InstanceGroupManagers.applyUpdatesToInstances",
"id": "InstanceGroupManagersApplyUpdatesRequest",
"properties": {
+ "allInstances": {
+ "description": "Flag to update all instances instead of specified list of ?instances?. If the flag is set to true then the instances may not be specified in the request.",
+ "type": "boolean"
+ },
"instances": {
"description": "The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].",
"items": {
@@ -42588,7 +44097,7 @@
"id": "InstanceProperties",
"properties": {
"canIpForward": {
- "description": "Enables instances created based on this template to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding documentation for more information.",
+ "description": "Enables instances created based on these properties to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding documentation for more information.",
"type": "boolean"
},
"confidentialInstanceConfig": {
@@ -42596,11 +44105,11 @@
"description": "Specifies the Confidential Instance options."
},
"description": {
- "description": "An optional text description for the instances that are created from this instance template.",
+ "description": "An optional text description for the instances that are created from these properties.",
"type": "string"
},
"disks": {
- "description": "An array of disks that are associated with the instances that are created from this template.",
+ "description": "An array of disks that are associated with the instances that are created from these properties.",
"items": {
"$ref": "AttachedDisk"
},
@@ -42611,7 +44120,7 @@
"description": "Display Device properties to enable support for remote display products like: Teradici, VNC and TeamViewer"
},
"guestAccelerators": {
- "description": "A list of guest accelerator cards' type and count to use for instances created from the instance template.",
+ "description": "A list of guest accelerator cards' type and count to use for instances created from these properties.",
"items": {
"$ref": "AcceleratorConfig"
},
@@ -42621,7 +44130,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Labels to apply to instances that are created from this template.",
+ "description": "Labels to apply to instances that are created from these properties.",
"type": "object"
},
"machineType": {
@@ -42630,15 +44139,15 @@
"compute.instanceTemplates.insert"
]
},
- "description": "The machine type to use for instances that are created from this template.",
+ "description": "The machine type to use for instances that are created from these properties.",
"type": "string"
},
"metadata": {
"$ref": "Metadata",
- "description": "The metadata key/value pairs to assign to instances that are created from this template. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information."
+ "description": "The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information."
},
"minCpuPlatform": {
- "description": "Minimum cpu/platform to be used by this instance. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: \"Intel Haswell\" or minCpuPlatform: \"Intel Sandy Bridge\". For more information, read Specifying a Minimum CPU Platform.",
+ "description": "Minimum cpu/platform to be used by instances. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: \"Intel Haswell\" or minCpuPlatform: \"Intel Sandy Bridge\". For more information, read Specifying a Minimum CPU Platform.",
"type": "string"
},
"networkInterfaces": {
@@ -42649,7 +44158,7 @@
"type": "array"
},
"postKeyRevocationActionType": {
- "description": "Specifies whether this instance will be shut down on key revocation.",
+ "description": "Specifies whether instances will be shut down on key revocation.",
"enum": [
"NOOP",
"SHUTDOWN",
@@ -42663,7 +44172,7 @@
"type": "string"
},
"privateIpv6GoogleAccess": {
- "description": "The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.",
+ "description": "The private IPv6 google access type for VMs. If not specified, use INHERIT_FROM_SUBNETWORK as default.",
"enum": [
"ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE",
"ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE",
@@ -42678,10 +44187,10 @@
},
"reservationAffinity": {
"$ref": "ReservationAffinity",
- "description": "Specifies the reservations that this instance can consume from."
+ "description": "Specifies the reservations that instances can consume from."
},
"resourcePolicies": {
- "description": "Resource policies (names, not ULRs) applied to instances created from this template.",
+ "description": "Resource policies (names, not ULRs) applied to instances created from these properties.",
"items": {
"type": "string"
},
@@ -42689,10 +44198,10 @@
},
"scheduling": {
"$ref": "Scheduling",
- "description": "Specifies the scheduling options for the instances that are created from this template."
+ "description": "Specifies the scheduling options for the instances that are created from these properties."
},
"serviceAccounts": {
- "description": "A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this template. Use metadata queries to obtain the access tokens for these instances.",
+ "description": "A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.",
"items": {
"$ref": "ServiceAccount"
},
@@ -42703,11 +44212,11 @@
},
"shieldedVmConfig": {
"$ref": "ShieldedVmConfig",
- "description": "Specifies the Shielded VM options for the instances that are created from this template."
+ "description": "Specifies the Shielded VM options for the instances that are created from these properties."
},
"tags": {
"$ref": "Tags",
- "description": "A list of tags to apply to the instances that are created from this template. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035."
+ "description": "A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035."
}
},
"type": "object"
@@ -43311,7 +44820,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Labels to apply to this Interconnect resource. These can be later modified by the setLabels method. Each label key/value must comply with RFC1035. Label values may be empty.",
+ "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.",
"type": "object"
},
"linkType": {
@@ -43497,7 +45006,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Labels to apply to this InterconnectAttachment resource. These can be later modified by the setLabels method. Each label key/value must comply with RFC1035. Label values may be empty.",
+ "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.",
"type": "object"
},
"mtu": {
@@ -43962,7 +45471,7 @@
"type": "object"
},
"InterconnectCircuitInfo": {
- "description": "Describes a single physical circuit between the Customer and Google. CircuitInfo objects are created by Google, so all fields are output only. Next id: 4",
+ "description": "Describes a single physical circuit between the Customer and Google. CircuitInfo objects are created by Google, so all fields are output only.",
"id": "InterconnectCircuitInfo",
"properties": {
"customerDemarcId": {
@@ -44476,7 +45985,7 @@
"type": "object"
},
"InterconnectOutageNotification": {
- "description": "Description of a planned outage on this Interconnect. Next id: 9",
+ "description": "Description of a planned outage on this Interconnect.",
"id": "InterconnectOutageNotification",
"properties": {
"affectedCircuits": {
@@ -45297,7 +46806,7 @@
"id": "LogConfigDataAccessOptions",
"properties": {
"logMode": {
- "description": "Whether Gin logging should happen in a fail-closed manner at the caller. This is currently supported in the LocalIAM implementation, Stubby C++, and Stubby Java. For Apps Framework, see go/af-audit-logging#failclosed. TODO(b/77591626): Add support for Stubby Go. TODO(b/129671387): Add support for Scaffolding.",
+ "description": "",
"enum": [
"LOG_FAIL_CLOSED",
"LOG_MODE_UNSPECIFIED"
@@ -45393,7 +46902,7 @@
"type": "string"
},
"storageLocations": {
- "description": "GCS bucket storage location of the machine image (regional or multi-regional).",
+ "description": "The regional or multi-regional Cloud Storage bucket location where the machine image is stored.",
"items": {
"type": "string"
},
@@ -45525,6 +47034,24 @@
"description": "Represents a Machine Type resource.\n\nYou can use specific machine types for your VM instances based on performance and pricing requirements. For more information, read Machine Types. (== resource_for {$api_version}.machineTypes ==)",
"id": "MachineType",
"properties": {
+ "accelerators": {
+ "description": "[Output Only] A list of accelerator configurations assigned to this machine type.",
+ "items": {
+ "properties": {
+ "guestAcceleratorCount": {
+ "description": "Number of accelerator cards exposed to the guest.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "guestAcceleratorType": {
+ "description": "The accelerator type resource name, not a full URL, e.g. 'nvidia-tesla-k80'.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
"creationTimestamp": {
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
"type": "string"
@@ -46262,7 +47789,7 @@
"type": "string"
},
"autoCreateSubnetworks": {
- "description": "When set to true, the VPC network is created in \"auto\" mode. When set to false, the VPC network is created in \"custom\" mode.\n\nAn auto mode VPC network starts with one subnet per region. Each subnet has a predetermined range as described in Auto mode VPC network IP ranges.",
+ "description": "When set to true, the VPC network is created in auto mode. When set to false, the VPC network is created in custom mode.\n\nAn auto mode VPC network starts with one subnet per region. Each subnet has a predetermined range as described in Auto mode VPC network IP ranges.\n\nFor custom mode VPC networks, you can add subnets using the subnetworks insert method.",
"type": "boolean"
},
"creationTimestamp": {
@@ -46273,6 +47800,10 @@
"description": "An optional description of this resource. Provide this field when you create the resource.",
"type": "string"
},
+ "firewallPolicy": {
+ "description": "[Output Only] URL of the firewall policy the network is associated with.",
+ "type": "string"
+ },
"gatewayIPv4": {
"description": "[Output Only] The gateway address for default routing out of the network, selected by GCP.",
"pattern": "[0-9]{1,3}(?:\\.[0-9]{1,3}){3}",
@@ -46333,7 +47864,7 @@
"type": "object"
},
"NetworkEndpoint": {
- "description": "The network endpoint. Next ID: 7",
+ "description": "The network endpoint.",
"id": "NetworkEndpoint",
"properties": {
"annotations": {
@@ -46364,7 +47895,7 @@
"type": "object"
},
"NetworkEndpointGroup": {
- "description": "Represents a collection of network endpoints.\n\nFor more information read Network endpoint groups overview. (== resource_for {$api_version}.networkEndpointGroups ==) Next ID: 21",
+ "description": "Represents a collection of network endpoints.\n\nA network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs, see Setting up internet NEGs or Setting up zonal NEGs. (== resource_for {$api_version}.networkEndpointGroups ==) (== resource_for {$api_version}.globalNetworkEndpointGroups ==)",
"id": "NetworkEndpointGroup",
"properties": {
"annotations": {
@@ -46424,6 +47955,7 @@
"networkEndpointType": {
"description": "Type of network endpoints in this network endpoint group.",
"enum": [
+ "GCE_VM_IP",
"GCE_VM_IP_PORT",
"GCE_VM_PRIMARY_IP",
"INTERNET_FQDN_PORT",
@@ -46437,6 +47969,7 @@
"",
"",
"",
+ "",
""
],
"type": "string"
@@ -46827,7 +48360,7 @@
"type": "array"
},
"healthStatus": {
- "description": "Optional query parameter for showing the health status of each network endpoint. Valid options are SKIP or SHOW. If you don't specifiy this parameter, the health status of network endpoints will not be provided.",
+ "description": "Optional query parameter for showing the health status of each network endpoint. Valid options are SKIP or SHOW. If you don't specify this parameter, the health status of network endpoints will not be provided.",
"enum": [
"SHOW",
"SKIP"
@@ -47443,6 +48976,10 @@
"description": "[Output Only] The type of the resource. Always compute#nodeGroup for node group.",
"type": "string"
},
+ "locationHint": {
+ "description": "An opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location_hint present in the NodeTemplate.",
+ "type": "string"
+ },
"maintenancePolicy": {
"description": "Specifies how to handle instances when a node in the group undergoes maintenance.",
"enum": [
@@ -47467,7 +49004,7 @@
"type": "string"
},
"nodeTemplate": {
- "description": "The URL of the node template to which this node group belongs.",
+ "description": "URL of the node template to create the node group from.",
"type": "string"
},
"selfLink": {
@@ -48105,7 +49642,7 @@
"type": "object"
},
"NodeTemplate": {
- "description": "Represent a sole-tenant Node Template resource.\n\nYou can use a template to define properties for nodes in a node group. For more information, read Creating node groups and instances. (== resource_for {$api_version}.nodeTemplates ==) (== NextID: 19 ==)",
+ "description": "Represent a sole-tenant Node Template resource.\n\nYou can use a template to define properties for nodes in a node group. For more information, read Creating node groups and instances. (== resource_for {$api_version}.nodeTemplates ==)",
"id": "NodeTemplate",
"properties": {
"accelerators": {
@@ -48953,7 +50490,7 @@
"type": "object"
},
"NotificationEndpoint": {
- "description": "A notification endpoint resource defines an endpoint to receive notifications when there are status changes detected by the associated health check service.",
+ "description": "Represents a notification endpoint.\n\nA notification endpoint resource defines an endpoint to receive notifications when there are status changes detected by the associated health check service.\n\nFor more information, see Health checks overview. (== resource_for {$api_version}.notificationEndpoint ==) (== resource_for {$api_version}.regionNotificationEndpoints ==)",
"id": "NotificationEndpoint",
"properties": {
"creationTimestamp": {
@@ -49837,7 +51374,7 @@
"type": "object"
},
"PacketMirroring": {
- "description": "Represents a PacketMirroring resource.",
+ "description": "Represents a Packet Mirroring resource.\n\nPacket Mirroring clones the traffic of specified instances in your Virtual Private Cloud (VPC) network and forwards it to a collector destination, such as an instance group of an internal TCP/UDP load balancer, for analysis or examination. For more information about setting up Packet Mirroring, see Using Packet Mirroring. (== resource_for {$api_version}.packetMirrorings ==)",
"id": "PacketMirroring",
"properties": {
"collectorIlb": {
@@ -50362,7 +51899,7 @@
"properties": {
"defaultRouteAction": {
"$ref": "HttpRouteAction",
- "description": "defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices.\nOnly one of defaultRouteAction or defaultUrlRedirect must be set."
+ "description": "defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices.\nOnly one of defaultRouteAction or defaultUrlRedirect must be set.\nUrlMaps for external HTTP(S) load balancers support only the urlRewrite action within a pathMatcher's defaultRouteAction."
},
"defaultService": {
"description": "The full or partial URL to the BackendService resource. This will be used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: \n- https://www.googleapis.com/compute/v1/projects/project/global/backendServices/backendService \n- compute/v1/projects/project/global/backendServices/backendService \n- global/backendServices/backendService If defaultRouteAction is additionally specified, advanced routing actions like URL Rewrites, etc. take effect prior to sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified.\nOnly one of defaultService, defaultUrlRedirect or defaultRouteAction.weightedBackendService must be set.\nAuthorization requires one or more of the following Google IAM permissions on the specified resource default_service: \n- compute.backendBuckets.use \n- compute.backendServices.use",
@@ -50414,7 +51951,7 @@
},
"routeAction": {
"$ref": "HttpRouteAction",
- "description": "In response to a matching path, the load balancer performs advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices.\nOnly one of routeAction or urlRedirect must be set."
+ "description": "In response to a matching path, the load balancer performs advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices.\nOnly one of routeAction or urlRedirect must be set.\nUrlMaps for external HTTP(S) load balancers support only the urlRewrite action within a pathRule's routeAction."
},
"service": {
"description": "The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is additionally specified, advanced routing actions like URL Rewrites, etc. take effect prior to sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendService s. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified.\nOnly one of urlRedirect, service or routeAction.weightedBackendService must be set.",
@@ -50453,6 +51990,26 @@
"preservedState": {
"$ref": "PreservedState",
"description": "The intended preserved state for the given instance. Does not contain preserved state generated from a stateful policy."
+ },
+ "status": {
+ "description": "The status of applying this per-instance config on the corresponding managed instance.",
+ "enum": [
+ "APPLYING",
+ "DELETING",
+ "EFFECTIVE",
+ "NONE",
+ "UNAPPLIED",
+ "UNAPPLIED_DELETION"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
}
},
"type": "object"
@@ -50546,7 +52103,7 @@
"type": "object"
},
"Policy": {
- "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.\n\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both.\n\n**JSON example:**\n\n{ \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [\"user:eve@example.com\"], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 }\n\n**YAML example:**\n\nbindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3\n\nFor a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.\n\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n{ \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 }\n\n**YAML example:**\n\nbindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3\n\nFor a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"auditConfigs": {
@@ -50580,7 +52137,7 @@
"type": "array"
},
"version": {
- "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected.\n\nAny operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected.\n\nAny operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -51581,6 +53138,7 @@
"metric": {
"description": "[Output Only] Name of the quota metric.",
"enum": [
+ "A2_CPUS",
"AFFINITY_GROUPS",
"ALIASES_PER_NETWORK_GLOBAL",
"AMD_S9300_GPUS",
@@ -51589,12 +53147,15 @@
"BACKEND_SERVICES",
"C2_CPUS",
"COMMITMENTS",
+ "COMMITTED_A2_CPUS",
"COMMITTED_C2_CPUS",
"COMMITTED_CPUS",
"COMMITTED_LICENSES",
"COMMITTED_LOCAL_SSD_TOTAL_GB",
+ "COMMITTED_MEMORY_OPTIMIZED_CPUS",
"COMMITTED_N2D_CPUS",
"COMMITTED_N2_CPUS",
+ "COMMITTED_NVIDIA_A100_GPUS",
"COMMITTED_NVIDIA_K80_GPUS",
"COMMITTED_NVIDIA_P100_GPUS",
"COMMITTED_NVIDIA_P4_GPUS",
@@ -51630,13 +53191,17 @@
"IN_USE_MAINTENANCE_WINDOWS",
"IN_USE_SNAPSHOT_SCHEDULES",
"LOCAL_SSD_TOTAL_GB",
+ "M1_CPUS",
+ "M2_CPUS",
"MACHINE_IMAGES",
"N2D_CPUS",
"N2_CPUS",
"NETWORKS",
"NETWORK_ENDPOINT_GROUPS",
+ "NETWORK_FIREWALL_POLICIES",
"NODE_GROUPS",
"NODE_TEMPLATES",
+ "NVIDIA_A100_GPUS",
"NVIDIA_K80_GPUS",
"NVIDIA_P100_GPUS",
"NVIDIA_P100_VWS_GPUS",
@@ -51648,6 +53213,7 @@
"PACKET_MIRRORINGS",
"PREEMPTIBLE_CPUS",
"PREEMPTIBLE_LOCAL_SSD_GB",
+ "PREEMPTIBLE_NVIDIA_A100_GPUS",
"PREEMPTIBLE_NVIDIA_K80_GPUS",
"PREEMPTIBLE_NVIDIA_P100_GPUS",
"PREEMPTIBLE_NVIDIA_P100_VWS_GPUS",
@@ -51657,6 +53223,7 @@
"PREEMPTIBLE_NVIDIA_T4_VWS_GPUS",
"PREEMPTIBLE_NVIDIA_V100_GPUS",
"PRIVATE_V6_ACCESS_SUBNETWORKS",
+ "PSC_GOOGLE_APIS_FORWARDING_RULES_PER_NETWORK",
"PUBLIC_ADVERTISED_PREFIXES",
"PUBLIC_DELEGATED_PREFIXES",
"REGIONAL_AUTOSCALERS",
@@ -51792,6 +53359,16 @@
"",
"",
"",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
""
],
"type": "string"
@@ -52487,6 +54064,10 @@
"description": "InstanceGroupManagers.applyUpdatesToInstances",
"id": "RegionInstanceGroupManagersApplyUpdatesRequest",
"properties": {
+ "allInstances": {
+ "description": "Flag to update all instances instead of specified list of ?instances?. If the flag is set to true then the instances may not be specified in the request.",
+ "type": "boolean"
+ },
"instances": {
"description": "The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].",
"items": {
@@ -53716,6 +55297,10 @@
"format": "uint64",
"type": "string"
},
+ "instanceSchedulePolicy": {
+ "$ref": "ResourcePolicyInstanceSchedulePolicy",
+ "description": "Resource policy for scheduling instance operations."
+ },
"kind": {
"default": "compute#resourcePolicy",
"description": "[Output Only] Type of the resource. Always compute#resource_policies for resource policies.",
@@ -53991,6 +55576,36 @@
},
"type": "object"
},
+ "ResourcePolicyInstanceSchedulePolicy": {
+ "description": "An InstanceSchedulePolicy specifies when and how frequent certain operations are performed on the instance.",
+ "id": "ResourcePolicyInstanceSchedulePolicy",
+ "properties": {
+ "vmStartSchedule": {
+ "$ref": "ResourcePolicyInstanceSchedulePolicySchedule",
+ "description": "Specifies the schedule for starting instance."
+ },
+ "vmStopSchedule": {
+ "$ref": "ResourcePolicyInstanceSchedulePolicySchedule",
+ "description": "Specifies the schedule for stopping instance."
+ }
+ },
+ "type": "object"
+ },
+ "ResourcePolicyInstanceSchedulePolicySchedule": {
+ "description": "Schedule for the instance operation.",
+ "id": "ResourcePolicyInstanceSchedulePolicySchedule",
+ "properties": {
+ "schedule": {
+ "description": "Specifies the frequency for the operation, using the unix-cron format.",
+ "type": "string"
+ },
+ "timeZone": {
+ "description": "Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"ResourcePolicyList": {
"id": "ResourcePolicyList",
"properties": {
@@ -54186,6 +55801,10 @@
"description": "Specified snapshot properties for scheduled snapshots created by this policy.",
"id": "ResourcePolicySnapshotSchedulePolicySnapshotProperties",
"properties": {
+ "chainName": {
+ "description": "Chain name that the snapshot is created in.",
+ "type": "string"
+ },
"guestFlush": {
"description": "Indication to perform a 'guest aware' snapshot.",
"type": "boolean"
@@ -54609,7 +56228,7 @@
"type": "object"
},
"Router": {
- "description": "Represents a Cloud Router resource.\n\nFor more information about Cloud Router, read the the Cloud Router overview.",
+ "description": "Represents a Cloud Router resource.\n\nFor more information about Cloud Router, read the Cloud Router overview.",
"id": "Router",
"properties": {
"bgp": {
@@ -54668,7 +56287,8 @@
"network": {
"annotations": {
"required": [
- "compute.routers.insert"
+ "compute.routers.insert",
+ "compute.routers.update"
]
},
"description": "URI of the network to which this router belongs.",
@@ -54871,7 +56491,7 @@
"type": "integer"
},
"keepaliveInterval": {
- "description": "The interval in seconds between BGP keepalive messages that are sent to the peer. Hold time is three times the interval at which keepalive messages are sent, and the hold time is the maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer. BGP will use the smaller of either the local hold time value or the peer's hold time value as the hold time for the BGP connection between the two peers. If set, this value must be between 1 and 120. The default is 20.",
+ "description": "The interval in seconds between BGP keepalive messages that are sent to the peer.\nNot currently available publicly.\nHold time is three times the interval at which keepalive messages are sent, and the hold time is the maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer.\nBGP will use the smaller of either the local hold time value or the peer's hold time value as the hold time for the BGP connection between the two peers.\nIf set, this value must be between 1 and 120. The default is 20.",
"format": "uint32",
"type": "integer"
}
@@ -54924,10 +56544,10 @@
},
"bfd": {
"$ref": "RouterBgpPeerBfd",
- "description": "BFD configuration for the BGP peering."
+ "description": "BFD configuration for the BGP peering.\nNot currently available publicly."
},
"enable": {
- "description": "The status of the BGP peer connection. If set to FALSE, any active session with the peer is terminated and all associated routing information is removed. If set to TRUE, the peer connection can be established with routing information. The default is TRUE.",
+ "description": "The status of the BGP peer connection.\nNot currently available publicly.\nIf set to FALSE, any active session with the peer is terminated and all associated routing information is removed. If set to TRUE, the peer connection can be established with routing information. The default is TRUE.",
"enum": [
"FALSE",
"TRUE"
@@ -54989,12 +56609,12 @@
"id": "RouterBgpPeerBfd",
"properties": {
"minReceiveInterval": {
- "description": "The minimum interval, in milliseconds, between BFD control packets received from the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the transmit interval of the other router. If set, this value must be between 100 and 30000. The default is 300.",
+ "description": "The minimum interval, in milliseconds, between BFD control packets received from the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the transmit interval of the other router.\nNot currently available publicly.\nIf set, this value must be between 100 and 30000.\nThe default is 300.",
"format": "uint32",
"type": "integer"
},
"minTransmitInterval": {
- "description": "The minimum interval, in milliseconds, between BFD control packets transmitted to the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the corresponding receive interval of the other router. If set, this value must be between 100 and 30000. The default is 300.",
+ "description": "The minimum interval, in milliseconds, between BFD control packets transmitted to the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the corresponding receive interval of the other router.\nNot currently available publicly.\nIf set, this value must be between 100 and 30000.\nThe default is 300.",
"format": "uint32",
"type": "integer"
},
@@ -55013,7 +56633,7 @@
"type": "string"
},
"multiplier": {
- "description": "The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable. If set, the value must be a value between 2 and 16. The default is 3.",
+ "description": "The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable.\nNot currently available publicly.\nIf set, the value must be a value between 2 and 16.\nThe default is 3.",
"format": "uint32",
"type": "integer"
},
@@ -55030,7 +56650,7 @@
"type": "string"
},
"sessionInitializationMode": {
- "description": "The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is PASSIVE.",
+ "description": "The BFD session initialization mode for this BGP peer.\nNot currently available publicly.\nIf set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is PASSIVE.",
"enum": [
"ACTIVE",
"DISABLED",
@@ -55216,6 +56836,9 @@
},
"type": "array"
},
+ "enableEndpointIndependentMapping": {
+ "type": "boolean"
+ },
"icmpIdleTimeoutSec": {
"description": "Timeout (in seconds) for ICMP connections. Defaults to 30s if not set.",
"format": "int32",
@@ -55254,6 +56877,13 @@
},
"type": "array"
},
+ "rules": {
+ "description": "A list of rules associated with this NAT.",
+ "items": {
+ "$ref": "RouterNatRule"
+ },
+ "type": "array"
+ },
"sourceSubnetworkIpRangesToNat": {
"description": "Specify the Nat option, which can take one of the following values: \n- ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every Subnetwork are allowed to Nat. \n- ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges in every Subnetwork are allowed to Nat. \n- LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in the field subnetwork below) The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES or ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other Router.Nat section in any Router for this network in this region.",
"enum": [
@@ -55280,6 +56910,11 @@
"format": "int32",
"type": "integer"
},
+ "tcpTimeWaitTimeoutSec": {
+ "description": "Timeout (in seconds) for TCP connections that are in TIME_WAIT state. Defaults to 120s if not set.",
+ "format": "int32",
+ "type": "integer"
+ },
"tcpTransitoryIdleTimeoutSec": {
"description": "Timeout (in seconds) for TCP transitory connections. Defaults to 30s if not set.",
"format": "int32",
@@ -55318,6 +56953,49 @@
},
"type": "object"
},
+ "RouterNatRule": {
+ "id": "RouterNatRule",
+ "properties": {
+ "action": {
+ "$ref": "RouterNatRuleAction",
+ "description": "The action to be enforced for traffic that matches this rule."
+ },
+ "description": {
+ "description": "An optional description of this rule.",
+ "type": "string"
+ },
+ "match": {
+ "description": "CEL expression that specifies the match condition that egress traffic from a VM is evaluated against. If it evaluates to true, the corresponding ?action? is enforced.\n\nThe following examples are valid match expressions:\n\n\"inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.0/16')\"\n\n\"destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'\"",
+ "type": "string"
+ },
+ "priority": {
+ "description": "An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 65000. The priority must be unique among rules within a NAT.",
+ "format": "uint32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "RouterNatRuleAction": {
+ "id": "RouterNatRuleAction",
+ "properties": {
+ "sourceNatActiveIps": {
+ "description": "A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "sourceNatDrainIps": {
+ "description": "A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT rule only.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"RouterNatSubnetworkToNat": {
"description": "Defines the IP ranges that want to use NAT for a subnetwork.",
"id": "RouterNatSubnetworkToNat",
@@ -55453,7 +57131,7 @@
"type": "object"
},
"RouterStatusNatStatus": {
- "description": "Status of a NAT contained in this router. Next tag: 9",
+ "description": "Status of a NAT contained in this router.",
"id": "RouterStatusNatStatus",
"properties": {
"autoAllocatedNatIps": {
@@ -55859,7 +57537,7 @@
"type": "object"
},
"Scheduling": {
- "description": "Sets the scheduling options for an Instance. NextID: 10",
+ "description": "Sets the scheduling options for an Instance. NextID: 12",
"id": "Scheduling",
"properties": {
"automaticRestart": {
@@ -55875,9 +57553,14 @@
"type": "string"
},
"longTermRelease": {
- "description": "Compute Engine Long Term Release. When specified, VMs that have this policy become long term release (internal: stable fleet) VMs.\n\nFor all VM shapes, this should result in fewer disruptions due to software updates and greater predictability via 1 week extended notifications.\n\nFor GPU VMs, this should also result in an 2 week uptime guarantee. See go/stable-fleet-gpus-design for more details.",
+ "description": "DEPRECATED, please use maintenance_freeze_duration_hours. TODO(b/154158138): Remove this field. Compute Engine Long Term Release. When specified, VMs that have this policy become long term release (internal: stable fleet) VMs.\n\nFor all VM shapes, this should result in fewer disruptions due to software updates and greater predictability via 1 week extended notifications.\n\nFor GPU VMs, this should also result in an 2 week uptime guarantee. See go/stable-fleet-gpus-design for more details.",
"type": "boolean"
},
+ "maintenanceFreezeDurationHours": {
+ "description": "Specifies the number of hours after instance creation where the instance won't be scheduled for maintenance.",
+ "format": "int32",
+ "type": "integer"
+ },
"minNodeCpus": {
"description": "The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.",
"format": "int32",
@@ -55903,7 +57586,7 @@
"type": "string"
},
"preemptible": {
- "description": "Defines whether the instance is preemptible. This can only be set during instance creation, it cannot be set or changed after the instance has been created.",
+ "description": "Defines whether the instance is preemptible. This can only be set during instance creation or while the instance is stopped and therefore, in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states.",
"type": "boolean"
}
},
@@ -56037,7 +57720,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Labels to apply to this security policy resource. These can be later modified by the setLabels method. Each label key/value must comply with RFC1035. Label values may be empty.",
+ "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.",
"type": "object"
},
"name": {
@@ -56443,7 +58126,7 @@
"id": "SecuritySettings",
"properties": {
"authentication": {
- "description": "A URL referring to a networksecurity.Authentication resource that describes how clients should authenticate with this service's backends. If left blank, communications between services are not encrypted (i.e., the TLS policy is set to OPEN). When sending traffic to this service's backends, the OriginationTls setting of Authentication.TransportAuthentication is applied. Refer to the Authentication and Authentication.TransportAuthentication.OriginationTls resources for additional details. authentication only applies to a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED.",
+ "description": "[Deprecated] Use clientTlsPolicy instead.",
"type": "string"
},
"authenticationPolicy": {
@@ -56454,12 +58137,16 @@
"$ref": "AuthorizationConfig",
"description": "[Deprecated] Authorization config defines the Role Based Access Control (RBAC) config. Authorization config defines the Role Based Access Control (RBAC) config."
},
+ "clientTlsPolicy": {
+ "description": "Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that describes how clients should authenticate with this service's backends.\nclientTlsPolicy only applies to a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED.\nIf left blank, communications are not encrypted.",
+ "type": "string"
+ },
"clientTlsSettings": {
"$ref": "ClientTlsSettings",
"description": "[Deprecated] TLS Settings for the backend service."
},
"subjectAltNames": {
- "description": "Optional. A list of subject alternate names to verify the subject identity (SAN) in the certificate presented by the server, to authorize the SAN list as identities to run the service represented by this BackendService. If specified, the client will verify that the server certificate's subject alt name matches one of the specified values. Only applies to a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED.",
+ "description": "Optional. A list of Subject Alternative Names (SANs) that the client verifies during a mutual TLS handshake with an server/endpoint for this BackendService. When the server presents its X.509 certificate to the client, the client inspects the certificate's subjectAltName field. If the field contains one of the specified values, the communication continues. Otherwise, it fails. This additional check enables the client to verify that the server is authorized to run the requested service.\nNote that the contents of the server certificate's subjectAltName field are configured by the Public Key Infrastructure which provisions server identities.\nOnly applies to a global BackendService with loadBalancingScheme set to INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached clientTlsPolicy with clientCertificate (mTLS mode).",
"items": {
"type": "string"
},
@@ -56567,20 +58254,232 @@
},
"type": "object"
},
+ "ServiceAttachment": {
+ "description": "Represents a ServiceAttachment resource.\n\nA service attachment represents a service that a producer has exposed. It encapsulates the load balancer which fronts the service runs and a list of NAT IP ranges that the producers uses to represent the consumers connecting to the service.",
+ "id": "ServiceAttachment",
+ "properties": {
+ "connectionPreference": {
+ "enum": [
+ "ACCEPT_AUTOMATIC",
+ "CONNECTION_PREFERENCE_UNSPECIFIED"
+ ],
+ "enumDescriptions": [
+ "",
+ ""
+ ],
+ "type": "string"
+ },
+ "consumerForwardingRules": {
+ "description": "An array of forwarding rules for all the consumers connected to this service attachment.",
+ "items": {
+ "$ref": "ServiceAttachmentConsumerForwardingRule"
+ },
+ "type": "array"
+ },
+ "creationTimestamp": {
+ "description": "[Output Only] Creation timestamp in RFC3339 text format.",
+ "type": "string"
+ },
+ "description": {
+ "description": "An optional description of this resource. Provide this property when you create the resource.",
+ "type": "string"
+ },
+ "id": {
+ "description": "[Output Only] The unique identifier for the resource type. The server generates this identifier.",
+ "format": "uint64",
+ "type": "string"
+ },
+ "kind": {
+ "default": "compute#serviceAttachment",
+ "description": "[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.",
+ "type": "string"
+ },
+ "name": {
+ "annotations": {
+ "required": [
+ "compute.serviceAttachments.insert"
+ ]
+ },
+ "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "type": "string"
+ },
+ "natIpCidrRanges": {
+ "description": "An array of IP CIDR ranges where each range is the url of the address resource which represents the range provided by the service producer to use for NAT in this service attachment.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "producerForwardingRule": {
+ "description": "The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment.",
+ "type": "string"
+ },
+ "region": {
+ "description": "[Output Only] URL of the region where the service attachment resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.",
+ "type": "string"
+ },
+ "selfLink": {
+ "description": "[Output Only] Server-defined URL for the resource.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ServiceAttachmentConsumerForwardingRule": {
+ "description": "[Output Only] A consumer forwarding rule connected to this service attachment.",
+ "id": "ServiceAttachmentConsumerForwardingRule",
+ "properties": {
+ "forwardingRule": {
+ "description": "The url of a consumer forwarding rule.",
+ "type": "string"
+ },
+ "status": {
+ "description": "The status of the forwarding rule.",
+ "enum": [
+ "ACTIVE",
+ "INACTIVE",
+ "PENDING",
+ "STATUS_UNSPECIFIED"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ServiceAttachmentList": {
+ "id": "ServiceAttachmentList",
+ "properties": {
+ "id": {
+ "description": "[Output Only] Unique identifier for the resource; defined by the server.",
+ "type": "string"
+ },
+ "items": {
+ "description": "A list of ServiceAttachment resources.",
+ "items": {
+ "$ref": "ServiceAttachment"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "default": "compute#serviceAttachmentList",
+ "description": "[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.",
+ "type": "string"
+ },
+ "nextPageToken": {
+ "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.",
+ "type": "string"
+ },
+ "selfLink": {
+ "description": "[Output Only] Server-defined URL for this resource.",
+ "type": "string"
+ },
+ "warning": {
+ "description": "[Output Only] Informational warning message.",
+ "properties": {
+ "code": {
+ "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.",
+ "enum": [
+ "CLEANUP_FAILED",
+ "DEPRECATED_RESOURCE_USED",
+ "DEPRECATED_TYPE_USED",
+ "DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
+ "EXPERIMENTAL_TYPE_USED",
+ "EXTERNAL_API_WARNING",
+ "FIELD_VALUE_OVERRIDEN",
+ "INJECTED_KERNELS_DEPRECATED",
+ "MISSING_TYPE_DEPENDENCY",
+ "NEXT_HOP_ADDRESS_NOT_ASSIGNED",
+ "NEXT_HOP_CANNOT_IP_FORWARD",
+ "NEXT_HOP_INSTANCE_NOT_FOUND",
+ "NEXT_HOP_INSTANCE_NOT_ON_NETWORK",
+ "NEXT_HOP_NOT_RUNNING",
+ "NOT_CRITICAL_ERROR",
+ "NO_RESULTS_ON_PAGE",
+ "PARTIAL_SUCCESS",
+ "REQUIRED_TOS_AGREEMENT",
+ "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING",
+ "RESOURCE_NOT_DELETED",
+ "SCHEMA_VALIDATION_IGNORED",
+ "SINGLE_INSTANCE_PROPERTY_TEMPLATE",
+ "UNDECLARED_PROPERTIES",
+ "UNREACHABLE"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ },
+ "data": {
+ "description": "[Output Only] Metadata about this warning in key: value format. For example:\n\"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" }",
+ "items": {
+ "properties": {
+ "key": {
+ "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).",
+ "type": "string"
+ },
+ "value": {
+ "description": "[Output Only] A warning data value corresponding to the key.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "description": "[Output Only] A human-readable description of the warning code.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
"ShieldedInstanceConfig": {
"description": "A set of Shielded Instance options.",
"id": "ShieldedInstanceConfig",
"properties": {
"enableIntegrityMonitoring": {
- "description": "Defines whether the instance has integrity monitoring enabled.",
+ "description": "Defines whether the instance has integrity monitoring enabled. Enabled by default.",
"type": "boolean"
},
"enableSecureBoot": {
- "description": "Defines whether the instance has Secure Boot enabled.",
+ "description": "Defines whether the instance has Secure Boot enabled. Disabled by default.",
"type": "boolean"
},
"enableVtpm": {
- "description": "Defines whether the instance has the vTPM enabled.",
+ "description": "Defines whether the instance has the vTPM enabled. Enabled by default.",
"type": "boolean"
}
},
@@ -56721,6 +58620,10 @@
"description": "[Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk.",
"type": "boolean"
},
+ "chainName": {
+ "description": "Chain name should conform to RFC1035.",
+ "type": "string"
+ },
"creationTimestamp": {
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
"type": "string"
@@ -57074,7 +58977,7 @@
"type": "object"
},
"SslCertificate": {
- "description": "Represents an SSL Certificate resource.\n\nGoogle Compute Engine has two SSL Certificate resources:\n\n* [Global](/compute/docs/reference/rest/{$api_version}/sslCertificates) * [Regional](/compute/docs/reference/rest/{$api_version}/regionSslCertificates)\n\n\n\nThe sslCertificates are used by: \n- external HTTPS load balancers \n- SSL proxy load balancers \n\nThe regionSslCertificates are used by internal HTTPS load balancers.\n\nOptionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to secure connections to a load balancer. For more information, read Creating and using SSL certificates and SSL certificates quotas and limits. (== resource_for {$api_version}.sslCertificates ==) (== resource_for {$api_version}.regionSslCertificates ==)",
+ "description": "Represents an SSL Certificate resource.\n\nGoogle Compute Engine has two SSL Certificate resources:\n\n* [Global](/compute/docs/reference/rest/{$api_version}/sslCertificates) * [Regional](/compute/docs/reference/rest/{$api_version}/regionSslCertificates)\n\n\n\nThe sslCertificates are used by: \n- external HTTPS load balancers \n- SSL proxy load balancers \n\nThe regionSslCertificates are used by internal HTTPS load balancers.\n\nOptionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to secure connections to a load balancer. For more information, read Creating and using SSL certificates, SSL certificates quotas and limits, and Troubleshooting SSL certificates. (== resource_for {$api_version}.sslCertificates ==) (== resource_for {$api_version}.regionSslCertificates ==)",
"id": "SslCertificate",
"properties": {
"certificate": {
@@ -57951,7 +59854,7 @@
"type": "string"
},
"enableFlowLogs": {
- "description": "Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is to disable flow logging.",
+ "description": "Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is to disable flow logging. This field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER.",
"type": "boolean"
},
"enablePrivateV6Access": {
@@ -57978,7 +59881,7 @@
"type": "string"
},
"ipCidrRange": {
- "description": "The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 192.168.0.0/16. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field can be set only at resource creation time.",
+ "description": "The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 192.168.0.0/16. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be expanded after creation using expandIpCidrRange.",
"type": "string"
},
"ipv6CidrRange": {
@@ -57992,7 +59895,7 @@
},
"logConfig": {
"$ref": "SubnetworkLogConfig",
- "description": "This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Stackdriver."
+ "description": "This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging."
},
"metadata": {
"description": "Can only be specified if VPC flow logging for this subnetwork is enabled. Configures whether metadata fields should be added to the reported VPC flow logs. Default is INCLUDE_ALL_METADATA.",
@@ -58043,7 +59946,7 @@
"type": "array"
},
"purpose": {
- "description": "The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918.",
+ "description": "The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER.",
"enum": [
"AGGREGATE",
"INTERNAL_HTTPS_LOAD_BALANCER",
@@ -58610,6 +60513,11 @@
"description": "An optional description of this resource. Provide this property when you create the resource.",
"type": "string"
},
+ "fingerprint": {
+ "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetGrpcProxy. An up-to-date fingerprint must be provided in order to patch/update the TargetGrpcProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetGrpcProxy.",
+ "format": "byte",
+ "type": "string"
+ },
"id": {
"description": "[Output Only] The unique identifier for the resource type. The server generates this identifier.",
"format": "uint64",
@@ -59246,6 +61154,16 @@
},
"type": "object"
},
+ "TargetHttpsProxiesSetCertificateMapRequest": {
+ "id": "TargetHttpsProxiesSetCertificateMapRequest",
+ "properties": {
+ "certificateMap": {
+ "description": "URL of the Certificate Map to associate with this TargetHttpsProxy.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"TargetHttpsProxiesSetQuicOverrideRequest": {
"id": "TargetHttpsProxiesSetQuicOverrideRequest",
"properties": {
@@ -59284,11 +61202,15 @@
"id": "TargetHttpsProxy",
"properties": {
"authentication": {
- "description": "A URL referring to a networksecurity.Authentication resource that describes how the proxy should authenticate inbound traffic. If left blank, communications between services are not encrypted (i.e., the TLS policy is set to OPEN). When terminating inbound traffic to this proxy, the TerminationTls setting of Authentication.TransportAuthentication is applied.\nRefer to the Authentication and Authentication.TransportAuthentication.TerminationTls resources for additional details.\nauthentication only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED.",
+ "description": "[Deprecated] Use serverTlsPolicy instead.",
"type": "string"
},
"authorization": {
- "description": "A URL referring to a networksecurity.Authorization resource that describes how the proxy should authorize inbound traffic. If left blank, access will not be restricted by an authorization policy.\nRefer to the Authorization resource for additional details.\nauthorization only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED.",
+ "description": "[Deprecated] Use authorizationPolicy instead.",
+ "type": "string"
+ },
+ "authorizationPolicy": {
+ "description": "Optional. A URL referring to a networksecurity.AuthorizationPolicy resource that describes how the proxy should authorize inbound traffic. If left blank, access will not be restricted by an authorization policy.\nRefer to the AuthorizationPolicy resource for additional details.\nauthorizationPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED.",
"type": "string"
},
"certificateMap": {
@@ -59348,6 +61270,10 @@
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
"type": "string"
},
+ "serverTlsPolicy": {
+ "description": "Optional. A URL referring to a networksecurity.ServerTlsPolicy resource that describes how the proxy should authenticate inbound traffic.\nserverTlsPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED.\nIf left blank, communications are not encrypted.",
+ "type": "string"
+ },
"sslCertificates": {
"description": "URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates.",
"items": {
@@ -60500,6 +62426,16 @@
},
"type": "object"
},
+ "TargetSslProxiesSetCertificateMapRequest": {
+ "id": "TargetSslProxiesSetCertificateMapRequest",
+ "properties": {
+ "certificateMap": {
+ "description": "URL of the Certificate Map to associate with this TargetSslProxy.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"TargetSslProxiesSetProxyHeaderRequest": {
"id": "TargetSslProxiesSetProxyHeaderRequest",
"properties": {
@@ -60940,7 +62876,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Labels to apply to this TargetVpnGateway resource. These can be later modified by the setLabels method. Each label key/value must comply with RFC1035. Label values may be empty.",
+ "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.",
"type": "object"
},
"name": {
@@ -61521,7 +63457,7 @@
},
"defaultRouteAction": {
"$ref": "HttpRouteAction",
- "description": "defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices.\nOnly one of defaultRouteAction or defaultUrlRedirect must be set."
+ "description": "defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices.\nOnly one of defaultRouteAction or defaultUrlRedirect must be set.\nUrlMaps for external HTTP(S) load balancers support only the urlRewrite action within defaultRouteAction."
},
"defaultService": {
"description": "The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is additionally specified, advanced routing actions like URL Rewrites, etc. take effect prior to sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified.\nOnly one of defaultService, defaultUrlRedirect or defaultRouteAction.weightedBackendService must be set.",
@@ -62364,7 +64300,7 @@
"type": "object"
},
"VpnGateway": {
- "description": "Represents a VPN gateway resource. Next ID: 13",
+ "description": "Represents a HA VPN gateway.\n\nHA VPN is a high-availability (HA) Cloud VPN solution that lets you securely connect your on-premises network to your Google Cloud Virtual Private Cloud network through an IPsec VPN connection in a single region. For more information about Cloud HA VPN solutions, see Cloud VPN topologies . (== resource_for {$api_version}.vpnGateways ==)",
"id": "VpnGateway",
"properties": {
"creationTimestamp": {
@@ -62394,7 +64330,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Labels to apply to this VpnGateway resource. These can be later modified by the setLabels method. Each label key/value must comply with RFC1035. Label values may be empty.",
+ "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.",
"type": "object"
},
"name": {
@@ -62425,7 +64361,7 @@
"type": "string"
},
"vpnInterfaces": {
- "description": "[Output Only] A list of interfaces on this VPN gateway.",
+ "description": "A list of interfaces on this VPN gateway.",
"items": {
"$ref": "VpnGatewayVpnGatewayInterface"
},
@@ -62768,7 +64704,7 @@
"type": "integer"
},
"ipAddress": {
- "description": "The external IP address for this VPN gateway interface.",
+ "description": "[Output Only] The external IP address for this VPN gateway interface.",
"type": "string"
}
},
@@ -62919,7 +64855,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Labels to apply to this VpnTunnel. These can be later modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.",
+ "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.",
"type": "object"
},
"localTrafficSelector": {
diff --git a/etc/api/compute/beta/compute-api.json b/etc/api/compute/beta/compute-api.json
index 7554e4b1c0..9dc1e6ae8d 100644
--- a/etc/api/compute/beta/compute-api.json
+++ b/etc/api/compute/beta/compute-api.json
@@ -29,7 +29,7 @@
"description": "Creates and runs virtual machines on Google Cloud Platform.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/compute/docs/reference/latest/",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/PeVNOAGb0CTL4FMw70049d9mF9E\"",
+ "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/WLgRAJYGkywv7BP6LMTwsMhVKHU\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/compute_engine-16.png",
"x32": "https://www.google.com/images/icons/product/compute_engine-32.png"
@@ -185,7 +185,7 @@
]
},
"list": {
- "description": "Retrieves a list of accelerator types available to the specified project.",
+ "description": "Retrieves a list of accelerator types that are available to the specified project.",
"httpMethod": "GET",
"id": "compute.acceleratorTypes.list",
"parameterOrder": [
@@ -1501,7 +1501,7 @@
]
},
"getHealth": {
- "description": "Gets the most recent health check results for this BackendService.",
+ "description": "Gets the most recent health check results for this BackendService.\n\nExample request body:\n\n{ \"group\": \"/zones/us-east1-b/instanceGroups/lb-backend-example\" }",
"httpMethod": "POST",
"id": "compute.backendServices.getHealth",
"parameterOrder": [
@@ -1537,7 +1537,7 @@
]
},
"insert": {
- "description": "Creates a BackendService resource in the specified project using the data included in the request. There are several restrictions and guidelines to keep in mind when creating a backend service. Read Understanding backend services for more information.",
+ "description": "Creates a BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview.",
"httpMethod": "POST",
"id": "compute.backendServices.insert",
"parameterOrder": [
@@ -1619,7 +1619,7 @@
]
},
"patch": {
- "description": "Patches the specified BackendService resource with the data included in the request. There are several Understanding backend services to keep in mind when updating a backend service. Read Understanding backend services for more information. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
+ "description": "Patches the specified BackendService resource with the data included in the request. For more information, see Backend services overview. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
"httpMethod": "PATCH",
"id": "compute.backendServices.patch",
"parameterOrder": [
@@ -1737,7 +1737,7 @@
]
},
"update": {
- "description": "Updates the specified BackendService resource with the data included in the request. There are several Understanding backend services to keep in mind when updating a backend service. Read Understanding backend services for more information.",
+ "description": "Updates the specified BackendService resource with the data included in the request. For more information, see Backend services overview.",
"httpMethod": "PUT",
"id": "compute.backendServices.update",
"parameterOrder": [
@@ -5826,6 +5826,47 @@
"https://www.googleapis.com/auth/compute.readonly"
]
},
+ "patch": {
+ "description": "Patches the specified image with the data included in the request. Only the following fields can be modified: family, description, deprecation status.",
+ "httpMethod": "PATCH",
+ "id": "compute.images.patch",
+ "parameterOrder": [
+ "project",
+ "image"
+ ],
+ "parameters": {
+ "image": {
+ "description": "Name of the image resource to patch.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "requestId": {
+ "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/images/{image}",
+ "request": {
+ "$ref": "Image"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
"setIamPolicy": {
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
"httpMethod": "POST",
@@ -6399,7 +6440,7 @@
]
},
"listErrors": {
- "description": "Lists all errors thrown by actions on instances for a given managed instance group.",
+ "description": "Lists all errors thrown by actions on instances for a given managed instance group. The filter and orderBy query parameters are not supported.",
"httpMethod": "GET",
"id": "compute.instanceGroupManagers.listErrors",
"parameterOrder": [
@@ -6462,7 +6503,7 @@
]
},
"listManagedInstances": {
- "description": "Lists all of the instances in the managed instance group. Each instance in the list has a currentAction, which indicates the action that the managed instance group is performing on the instance. For example, if the group is still creating an instance, the currentAction is CREATING. If a previous action failed, the list displays the errors for that failed action.",
+ "description": "Lists all of the instances in the managed instance group. Each instance in the list has a currentAction, which indicates the action that the managed instance group is performing on the instance. For example, if the group is still creating an instance, the currentAction is CREATING. If a previous action failed, the list displays the errors for that failed action. The orderBy query parameter is not supported.",
"httpMethod": "POST",
"id": "compute.instanceGroupManagers.listManagedInstances",
"parameterOrder": [
@@ -6525,7 +6566,7 @@
]
},
"listPerInstanceConfigs": {
- "description": "Lists all of the per-instance configs defined for the managed instance group.",
+ "description": "Lists all of the per-instance configs defined for the managed instance group. The orderBy query parameter is not supported.",
"httpMethod": "POST",
"id": "compute.instanceGroupManagers.listPerInstanceConfigs",
"parameterOrder": [
@@ -7393,7 +7434,7 @@
]
},
"listInstances": {
- "description": "Lists the instances in the specified instance group.",
+ "description": "Lists the instances in the specified instance group. The orderBy query parameter is not supported.",
"httpMethod": "POST",
"id": "compute.instanceGroups.listInstances",
"parameterOrder": [
@@ -8727,7 +8768,7 @@
]
},
"listReferrers": {
- "description": "Retrieves the list of referrers to instances contained within the specified zone. For more information, read Viewing Referrers to VM Instances.",
+ "description": "Retrieves a list of resources that refer to the VM instance specified in the request. For example, if the VM instance is part of a managed instance group, the referrers list includes the managed instance group. For more information, read Viewing Referrers to VM Instances.",
"httpMethod": "GET",
"id": "compute.instances.listReferrers",
"parameterOrder": [
@@ -9338,7 +9379,7 @@
]
},
"setScheduling": {
- "description": "Sets an instance's scheduling options.",
+ "description": "Sets an instance's scheduling options. You can only call this method on a stopped instance, that is, a VM instance that is in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states.",
"httpMethod": "POST",
"id": "compute.instances.setScheduling",
"parameterOrder": [
@@ -13113,7 +13154,7 @@
]
},
"patch": {
- "description": "Patch the node group.",
+ "description": "Updates the specified node group.",
"httpMethod": "PATCH",
"id": "compute.nodeGroups.patch",
"parameterOrder": [
@@ -15588,7 +15629,7 @@
]
},
"insert": {
- "description": "Creates a regional BackendService resource in the specified project using the data included in the request. There are several restrictions and guidelines to keep in mind when creating a regional backend service. Read Understanding backend services for more information.",
+ "description": "Creates a regional BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview.",
"httpMethod": "POST",
"id": "compute.regionBackendServices.insert",
"parameterOrder": [
@@ -15686,7 +15727,7 @@
]
},
"patch": {
- "description": "Updates the specified regional BackendService resource with the data included in the request. There are several Understanding backend services to keep in mind when updating a backend service. Read Understanding backend services for more information. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
+ "description": "Updates the specified regional BackendService resource with the data included in the request. For more information, see Understanding backend services This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
"httpMethod": "PATCH",
"id": "compute.regionBackendServices.patch",
"parameterOrder": [
@@ -15780,7 +15821,7 @@
]
},
"update": {
- "description": "Updates the specified regional BackendService resource with the data included in the request. There are several Understanding backend services to keep in mind when updating a backend service. Read Understanding backend services for more information.",
+ "description": "Updates the specified regional BackendService resource with the data included in the request. For more information, see Backend services overview.",
"httpMethod": "PUT",
"id": "compute.regionBackendServices.update",
"parameterOrder": [
@@ -17688,7 +17729,7 @@
]
},
"listErrors": {
- "description": "Lists all errors thrown by actions on instances for a given regional managed instance group.",
+ "description": "Lists all errors thrown by actions on instances for a given regional managed instance group. The filter and orderBy query parameters are not supported.",
"httpMethod": "GET",
"id": "compute.regionInstanceGroupManagers.listErrors",
"parameterOrder": [
@@ -17751,7 +17792,7 @@
]
},
"listManagedInstances": {
- "description": "Lists the instances in the managed instance group and instances that are scheduled to be created. The list includes any current actions that the group has scheduled for its instances.",
+ "description": "Lists the instances in the managed instance group and instances that are scheduled to be created. The list includes any current actions that the group has scheduled for its instances. The orderBy query parameter is not supported.",
"httpMethod": "POST",
"id": "compute.regionInstanceGroupManagers.listManagedInstances",
"parameterOrder": [
@@ -17814,7 +17855,7 @@
]
},
"listPerInstanceConfigs": {
- "description": "Lists all of the per-instance configs defined for the managed instance group.",
+ "description": "Lists all of the per-instance configs defined for the managed instance group. The orderBy query parameter is not supported.",
"httpMethod": "POST",
"id": "compute.regionInstanceGroupManagers.listPerInstanceConfigs",
"parameterOrder": [
@@ -18451,7 +18492,7 @@
]
},
"listInstances": {
- "description": "Lists the instances in the specified instance group and displays information about the named ports. Depending on the specified options, this method can list all instances or only the instances that are running.",
+ "description": "Lists the instances in the specified instance group and displays information about the named ports. Depending on the specified options, this method can list all instances or only the instances that are running. The orderBy query parameter is not supported.",
"httpMethod": "POST",
"id": "compute.regionInstanceGroups.listInstances",
"parameterOrder": [
@@ -18610,6 +18651,190 @@
}
}
},
+ "regionNetworkEndpointGroups": {
+ "methods": {
+ "delete": {
+ "description": "Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is configured as a backend of a backend service.",
+ "httpMethod": "DELETE",
+ "id": "compute.regionNetworkEndpointGroups.delete",
+ "parameterOrder": [
+ "project",
+ "region",
+ "networkEndpointGroup"
+ ],
+ "parameters": {
+ "networkEndpointGroup": {
+ "description": "The name of the network endpoint group to delete. It should comply with RFC1035.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "The name of the region where the network endpoint group is located. It should comply with RFC1035.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "requestId": {
+ "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "get": {
+ "description": "Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request.",
+ "httpMethod": "GET",
+ "id": "compute.regionNetworkEndpointGroups.get",
+ "parameterOrder": [
+ "project",
+ "region",
+ "networkEndpointGroup"
+ ],
+ "parameters": {
+ "networkEndpointGroup": {
+ "description": "The name of the network endpoint group. It should comply with RFC1035.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "The name of the region where the network endpoint group is located. It should comply with RFC1035.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}",
+ "response": {
+ "$ref": "NetworkEndpointGroup"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly"
+ ]
+ },
+ "insert": {
+ "description": "Creates a network endpoint group in the specified project using the parameters that are included in the request.",
+ "httpMethod": "POST",
+ "id": "compute.regionNetworkEndpointGroups.insert",
+ "parameterOrder": [
+ "project",
+ "region"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "The name of the region where you want to create the network endpoint group. It should comply with RFC1035.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "requestId": {
+ "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "{project}/regions/{region}/networkEndpointGroups",
+ "request": {
+ "$ref": "NetworkEndpointGroup"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "list": {
+ "description": "Retrieves the list of regional network endpoint groups available to the specified project in the given region.",
+ "httpMethod": "GET",
+ "id": "compute.regionNetworkEndpointGroups.list",
+ "parameterOrder": [
+ "project",
+ "region"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
+ "location": "query",
+ "type": "string"
+ },
+ "maxResults": {
+ "default": "500",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
+ "format": "uint32",
+ "location": "query",
+ "minimum": "0",
+ "type": "integer"
+ },
+ "orderBy": {
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
+ "location": "query",
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "The name of the region where the network endpoint group is located. It should comply with RFC1035.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/regions/{region}/networkEndpointGroups",
+ "response": {
+ "$ref": "NetworkEndpointGroupList"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly"
+ ]
+ }
+ }
+ },
"regionNotificationEndpoints": {
"methods": {
"delete": {
@@ -23355,7 +23580,7 @@
]
},
"listUsable": {
- "description": "Retrieves an aggregated list of all usable subnetworks in the project. The list contains all of the subnetworks in the project and the subnetworks that were shared by a Shared VPC host project.",
+ "description": "Retrieves an aggregated list of all usable subnetworks in the project.",
"httpMethod": "GET",
"id": "compute.subnetworks.listUsable",
"parameterOrder": [
@@ -27461,7 +27686,7 @@
}
}
},
- "revision": "20200311",
+ "revision": "20200612",
"rootUrl": "https://compute.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
@@ -27507,7 +27732,7 @@
"type": "string"
},
"maximumCardsPerInstance": {
- "description": "[Output Only] Maximum accelerator cards allowed per instance.",
+ "description": "[Output Only] Maximum number of accelerator cards allowed per instance.",
"format": "int32",
"type": "integer"
},
@@ -27517,7 +27742,7 @@
"type": "string"
},
"selfLink": {
- "description": "[Output Only] Server-defined fully-qualified URL for this resource.",
+ "description": "[Output Only] Server-defined, fully qualified URL for this resource.",
"type": "string"
},
"zone": {
@@ -27959,7 +28184,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Labels to apply to this Address resource. These can be later modified by the setLabels method. Each label key/value must comply with RFC1035. Label values may be empty.",
+ "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.",
"type": "object"
},
"name": {
@@ -28404,7 +28629,7 @@
"type": "object"
},
"AllocationSpecificSKUAllocationReservedInstanceProperties": {
- "description": "Properties of the SKU instances being reserved.",
+ "description": "Properties of the SKU instances being reserved. Next ID: 9",
"id": "AllocationSpecificSKUAllocationReservedInstanceProperties",
"properties": {
"guestAccelerators": {
@@ -28425,6 +28650,18 @@
"description": "Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.",
"type": "string"
},
+ "maintenanceInterval": {
+ "description": "Specifies whether this VM may be a stable fleet VM. Setting this to \"Periodic\" designates this VM as a Stable Fleet VM.\n\nSee go/stable-fleet-ug for more details.",
+ "enum": [
+ "AS_NEEDED",
+ "PERIODIC"
+ ],
+ "enumDescriptions": [
+ "",
+ ""
+ ],
+ "type": "string"
+ },
"minCpuPlatform": {
"description": "Minimum cpu platform the reservation.",
"type": "string"
@@ -28588,6 +28825,10 @@
"description": "Labels to apply to this disk. These can be later modified by the disks.setLabels method. This field is only applicable for persistent disks.",
"type": "object"
},
+ "multiWriter": {
+ "description": "Indicates whether or not the disk can be read/write attached to more than one instance.",
+ "type": "boolean"
+ },
"onUpdateAction": {
"description": "Specifies which action to take on instance update with this disk. Default is to use the existing disk.",
"enum": [
@@ -28629,7 +28870,7 @@
"type": "object"
},
"AuditConfig": {
- "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n{ \"audit_configs\": [ { \"service\": \"allServices\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\", }, { \"log_type\": \"ADMIN_READ\", } ] }, { \"service\": \"sampleservice.googleapis.com\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.",
+ "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n{ \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"auditLogConfigs": {
@@ -28654,7 +28895,7 @@
"type": "object"
},
"AuditLogConfig": {
- "description": "Provides the configuration for logging a type of permissions. Example:\n\n{ \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\", } ] }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.",
+ "description": "Provides the configuration for logging a type of permissions. Example:\n\n{ \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.",
"id": "AuditLogConfig",
"properties": {
"exemptedMembers": {
@@ -29038,6 +29279,7 @@
"MISSING_CUSTOM_METRIC_DATA_POINTS",
"MISSING_LOAD_BALANCING_DATA_POINTS",
"MODE_OFF",
+ "MODE_ONLY_SCALE_OUT",
"MODE_ONLY_UP",
"MORE_THAN_ONE_BACKEND_SERVICE",
"NOT_ENOUGH_QUOTA_AVAILABLE",
@@ -29064,6 +29306,7 @@
"",
"",
"",
+ "",
""
],
"type": "string"
@@ -29204,9 +29447,11 @@
"enum": [
"OFF",
"ON",
+ "ONLY_SCALE_OUT",
"ONLY_UP"
],
"enumDescriptions": [
+ "",
"",
"",
""
@@ -29215,6 +29460,9 @@
},
"scaleDownControl": {
"$ref": "AutoscalingPolicyScaleDownControl"
+ },
+ "scaleInControl": {
+ "$ref": "AutoscalingPolicyScaleInControl"
}
},
"type": "object"
@@ -29298,6 +29546,22 @@
},
"type": "object"
},
+ "AutoscalingPolicyScaleInControl": {
+ "description": "Configuration that allows for slower scale in so that even if Autoscaler recommends an abrupt scale in of a MIG, it will be throttled as specified by the parameters below.",
+ "id": "AutoscalingPolicyScaleInControl",
+ "properties": {
+ "maxScaledInReplicas": {
+ "$ref": "FixedOrPercent",
+ "description": "Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step."
+ },
+ "timeWindowSec": {
+ "description": "How long back autoscaling should look when computing recommendations to include directives regarding slower scale in, as described above.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
"Backend": {
"description": "Message containing information of one individual backend.",
"id": "Backend",
@@ -29317,7 +29581,7 @@
"type": "string"
},
"capacityScaler": {
- "description": "A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or CONNECTION). Default value is 1, which means the group will serve up to 100% of its configured capacity (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available Capacity. Valid range is [0.0,1.0].\n\nThis cannot be used for internal load balancing.",
+ "description": "A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or CONNECTION). Default value is 1, which means the group will serve up to 100% of its configured capacity (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available capacity. Valid range is 0.0 and [0.1,1.0]. You cannot configure a setting larger than 0 and smaller than 0.1. You cannot configure a setting of 0 when there is only one backend attached to the backend service.\n\nThis cannot be used for internal load balancing.",
"format": "float",
"type": "number"
},
@@ -29549,7 +29813,7 @@
"type": "object"
},
"BackendService": {
- "description": "Represents a Backend Service resource.\n\nA backend service contains configuration values for Google Cloud Platform load balancing services.\n\nBackend services in Google Compute Engine can be either regionally or globally scoped.\n\n* [Global](/compute/docs/reference/rest/{$api_version}/backendServices) * [Regional](/compute/docs/reference/rest/{$api_version}/regionBackendServices)\n\nFor more information, read Backend Services.\n\n(== resource_for {$api_version}.backendService ==)",
+ "description": "Represents a Backend Service resource.\n\nA backend service defines how Google Cloud load balancers distribute traffic. The backend service configuration contains a set of values, such as the protocol used to connect to backends, various distribution and session settings, health checks, and timeouts. These settings provide fine-grained control over how your load balancer behaves. Most of the settings have default values that allow for easy configuration if you need to get started quickly.\n\nBackend services in Google Compute Engine can be either regionally or globally scoped.\n\n* [Global](/compute/docs/reference/rest/{$api_version}/backendServices) * [Regional](/compute/docs/reference/rest/{$api_version}/regionBackendServices)\n\nFor more information, see Backend Services.\n\n(== resource_for {$api_version}.backendService ==)",
"id": "BackendService",
"properties": {
"affinityCookieTtlSec": {
@@ -29615,7 +29879,8 @@
"type": "array"
},
"iap": {
- "$ref": "BackendServiceIAP"
+ "$ref": "BackendServiceIAP",
+ "description": "The configurations for Identity-Aware Proxy on this resource."
},
"id": {
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
@@ -29646,7 +29911,7 @@
"type": "string"
},
"localityLbPolicy": {
- "description": "The load balancing algorithm used within the scope of the locality. The possible values are: \n- ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. \n- LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. \n- RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. \n- RANDOM: The load balancer selects a random healthy host. \n- ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. \n- MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, refer to https://ai.google/research/pubs/pub44824 \n\nThis field is applicable to either: \n- A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. \n- A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. \n\nIf sessionAffinity is not NONE, and this field is not set to >MAGLEV or RING_HASH, session affinity settings will not take effect.",
+ "description": "The load balancing algorithm used within the scope of the locality. The possible values are: \n- ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. \n- LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. \n- RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. \n- RANDOM: The load balancer selects a random healthy host. \n- ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. \n- MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 \n\nThis field is applicable to either: \n- A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. \n- A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. \n\nIf sessionAffinity is not NONE, and this field is not set to >MAGLEV or RING_HASH, session affinity settings will not take effect.",
"enum": [
"INVALID_LB_POLICY",
"LEAST_REQUEST",
@@ -29690,7 +29955,7 @@
"type": "integer"
},
"portName": {
- "description": "A named port on a backend instance group representing the port for communication to the backend VMs in that group. Required when the loadBalancingScheme is EXTERNAL, INTERNAL_MANAGED, or INTERNAL_SELF_MANAGED and the backends are instance groups. The named port must be defined on each backend instance group. This parameter has no meaning if the backends are NEGs.\n\n\n\nMust be omitted when the loadBalancingScheme is INTERNAL (Internal TCP/UDP Load Blaancing).",
+ "description": "A named port on a backend instance group representing the port for communication to the backend VMs in that group. Required when the loadBalancingScheme is EXTERNAL, INTERNAL_MANAGED, or INTERNAL_SELF_MANAGED and the backends are instance groups. The named port must be defined on each backend instance group. This parameter has no meaning if the backends are NEGs.\n\n\n\nMust be omitted when the loadBalancingScheme is INTERNAL (Internal TCP/UDP Load Balancing).",
"type": "string"
},
"protocol": {
@@ -29752,7 +30017,7 @@
"type": "string"
},
"timeoutSec": {
- "description": "The backend service timeout has a different meaning depending on the type of load balancer. For more information read, Backend service settings The default is 30 seconds.",
+ "description": "The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings The default is 30 seconds.",
"format": "int32",
"type": "integer"
}
@@ -29945,12 +30210,15 @@
"id": "BackendServiceIAP",
"properties": {
"enabled": {
+ "description": "Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty.",
"type": "boolean"
},
"oauth2ClientId": {
+ "description": "OAuth2 client ID to use for the authentication flow.",
"type": "string"
},
"oauth2ClientSecret": {
+ "description": "OAuth2 client secret to use for the authentication flow. For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field.",
"type": "string"
},
"oauth2ClientSecretSha256": {
@@ -30441,7 +30709,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding. NOTE: An unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the current request.\n\nIf the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values:\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@example.com` .\n\n\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* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.\n\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.",
@@ -31051,6 +31319,17 @@
},
"type": "object"
},
+ "ConfidentialInstanceConfig": {
+ "description": "A set of Confidential Instance options.",
+ "id": "ConfidentialInstanceConfig",
+ "properties": {
+ "enableConfidentialCompute": {
+ "description": "Defines whether the instance should have confidential compute enabled.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
"ConnectionDraining": {
"description": "Message containing connection draining configuration.",
"id": "ConnectionDraining",
@@ -31125,14 +31404,14 @@
"type": "array"
},
"allowOriginRegexes": {
- "description": "Specifies the regualar expression patterns that match allowed origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript \nAn origin is allowed if it matches either allow_origins or allow_origin_regex.",
+ "description": "Specifies the regualar expression patterns that match allowed origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript \nAn origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.",
"items": {
"type": "string"
},
"type": "array"
},
"allowOrigins": {
- "description": "Specifies the list of origins that will be allowed to do CORS requests.\nAn origin is allowed if it matches either allow_origins or allow_origin_regex.",
+ "description": "Specifies the list of origins that will be allowed to do CORS requests.\nAn origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.",
"items": {
"type": "string"
},
@@ -31269,6 +31548,20 @@
"format": "uint64",
"type": "string"
},
+ "interface": {
+ "description": "Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI.",
+ "enum": [
+ "NVME",
+ "SCSI",
+ "UNSPECIFIED"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ },
"kind": {
"default": "compute#disk",
"description": "[Output Only] Type of the resource. Always compute#disk for disks.",
@@ -31309,6 +31602,10 @@
},
"type": "array"
},
+ "multiWriter": {
+ "description": "Indicates whether or not the disk can be read/write attached to more than one instance.",
+ "type": "boolean"
+ },
"name": {
"annotations": {
"required": [
@@ -31324,7 +31621,7 @@
"type": "string"
},
"physicalBlockSizeBytes": {
- "description": "Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. Currently supported sizes are 4096 and 16384, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project.",
+ "description": "Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. The currently supported size is 4096, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project.",
"format": "int64",
"type": "string"
},
@@ -31355,6 +31652,14 @@
"format": "int64",
"type": "string"
},
+ "sourceDisk": {
+ "description": "The source disk used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: \n- https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk \n- projects/project/zones/zone/disks/disk \n- zones/zone/disks/disk",
+ "type": "string"
+ },
+ "sourceDiskId": {
+ "description": "[Output Only] The unique ID of the disk used to create this disk. This value identifies the exact disk that was used to create this persistent disk. For example, if you created the persistent disk from a disk that was later deleted and recreated under the same name, the source disk ID would identify the exact version of the disk that was used.",
+ "type": "string"
+ },
"sourceImage": {
"description": "The source image used to create this disk. If the source image is deleted, this field will not be set.\n\nTo create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image:\nprojects/debian-cloud/global/images/family/debian-9\n\n\nAlternatively, use a specific version of a public operating system image:\nprojects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD\n\n\nTo create a disk with a custom image that you created, specify the image name in the following format:\nglobal/images/my-custom-image\n\n\nYou can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name:\nglobal/images/family/my-image-family",
"type": "string"
@@ -31410,7 +31715,7 @@
"type": "string"
},
"type": {
- "description": "URL of the disk type resource describing which disk type to use to create the disk. Provide this when creating the disk. For example: projects/project/zones/zone/diskTypes/pd-standard or pd-ssd",
+ "description": "URL of the disk type resource describing which disk type to use to create the disk. Provide this when creating the disk. For example: projects/project/zones/zone/diskTypes/pd-standard or pd-ssd",
"type": "string"
},
"users": {
@@ -32439,7 +32744,7 @@
"type": "object"
},
"ExternalVpnGateway": {
- "description": "External VPN gateway is the on-premises VPN gateway(s) or another cloud provider's VPN gateway that connects to your Google Cloud VPN gateway. To create a highly available VPN from Google Cloud to your on-premises side or another Cloud provider's VPN gateway, you must create a external VPN gateway resource in GCP, which provides the information to GCP about your external VPN gateway.",
+ "description": "Represents an external VPN gateway.\n\nExternal VPN gateway is the on-premises VPN gateway(s) or another cloud provider's VPN gateway that connects to your Google Cloud VPN gateway.\n\nTo create a highly available VPN from Google Cloud Platform to your VPN gateway or another cloud provider's VPN gateway, you must create a external VPN gateway resource with information about the other gateway.\n\nFor more information about using external VPN gateways, see Creating an HA VPN gateway and tunnel pair to a peer VPN. (== resource_for {$api_version}.externalVpnGateways ==)",
"id": "ExternalVpnGateway",
"properties": {
"creationTimestamp": {
@@ -32476,7 +32781,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Labels to apply to this ExternalVpnGateway resource. These can be later modified by the setLabels method. Each label key/value must comply with RFC1035. Label values may be empty.",
+ "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.",
"type": "object"
},
"name": {
@@ -32650,6 +32955,7 @@
"type": "string"
},
"fileType": {
+ "description": "The file type of source file.",
"enum": [
"BIN",
"UNDEFINED",
@@ -32741,7 +33047,7 @@
"type": "boolean"
},
"enableLogging": {
- "description": "Deprecated in favor of enable in LogConfig. This field denotes whether to enable logging for a particular firewall rule. If logging is enabled, logs will be exported to Stackdriver.",
+ "description": "Deprecated in favor of enable in LogConfig. This field denotes whether to enable logging for a particular firewall rule. If logging is enabled, logs will be exported t Cloud Logging.",
"type": "boolean"
},
"id": {
@@ -32756,7 +33062,7 @@
},
"logConfig": {
"$ref": "FirewallLogConfig",
- "description": "This field denotes the logging options for a particular firewall rule. If logging is enabled, logs will be exported to Stackdriver."
+ "description": "This field denotes the logging options for a particular firewall rule. If logging is enabled, logs will be exported to Cloud Logging."
},
"name": {
"annotations": {
@@ -33067,7 +33373,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Labels to apply to this resource. These can be later modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.",
+ "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.",
"type": "object"
},
"loadBalancingScheme": {
@@ -33623,6 +33929,7 @@
"GVNIC",
"MULTI_IP_SUBNET",
"SECURE_BOOT",
+ "SEV_CAPABLE",
"UEFI_COMPATIBLE",
"VIRTIO_SCSI_MULTIQUEUE",
"WINDOWS"
@@ -33634,6 +33941,7 @@
"",
"",
"",
+ "",
""
],
"type": "string"
@@ -34031,7 +34339,7 @@
"type": "object"
},
"HealthCheckService": {
- "description": "A HealthCheckService defines a set of backends on which to perform periodic health checks and an endpoint to which to send notification of changes in the health status of the backends.",
+ "description": "Represents a Health-Check as a Service resource.\n\n(== resource_for {$api_version}.regionHealthCheckServices ==)",
"id": "HealthCheckService",
"properties": {
"creationTimestamp": {
@@ -34067,8 +34375,16 @@
"type": "string"
},
"healthStatusAggregationStrategy": {
- "description": "Policy for how the results from multiple health checks for the same endpoint are aggregated. \n- NO_AGGREGATION. An EndpointHealth message is returned for each backend in the health check service. \n- AND. If any backend's health check reports UNHEALTHY, then UNHEALTHY is the HealthState of the entire health check service. If all backend's are healthy, the HealthState of the health check service is HEALTHY. .",
- "type": "any"
+ "description": "This field is deprecated. Use health_status_aggregation_policy instead.\n\nPolicy for how the results from multiple health checks for the same endpoint are aggregated. \n- NO_AGGREGATION. An EndpointHealth message is returned for each backend in the health check service. \n- AND. If any backend's health check reports UNHEALTHY, then UNHEALTHY is the HealthState of the entire health check service. If all backend's are healthy, the HealthState of the health check service is HEALTHY. .",
+ "enum": [
+ "AND",
+ "NO_AGGREGATION"
+ ],
+ "enumDescriptions": [
+ "",
+ ""
+ ],
+ "type": "string"
},
"id": {
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
@@ -34971,7 +35287,7 @@
},
"urlRewrite": {
"$ref": "UrlRewrite",
- "description": "The spec to modify the URL of the request, prior to forwarding the request to the matched service."
+ "description": "The spec to modify the URL of the request, prior to forwarding the request to the matched service.\nurlRewrite is the only action supported in UrlMaps for external HTTP(S) load balancers."
},
"weightedBackendServices": {
"description": "A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non 0 number.\nOnce a backendService is identified and before forwarding the request to the backend service, advanced routing actions like Url rewrites and header transformations are applied depending on additional settings specified in this HttpRouteAction.",
@@ -35383,7 +35699,7 @@
"type": "string"
},
"sourceImage": {
- "description": "URL of the source image used to create this image. This can be a full or valid partial URL. You must provide exactly one of: \n- this property, or \n- the rawDisk.source property, or \n- the sourceDisk property in order to create an image.",
+ "description": "URL of the source image used to create this image.\n\nIn order to create an image, you must provide the full or partial URL of one of the following: \n- The selfLink URL \n- This property \n- The rawDisk.source URL \n- The sourceDisk URL",
"type": "string"
},
"sourceImageEncryptionKey": {
@@ -35395,7 +35711,7 @@
"type": "string"
},
"sourceSnapshot": {
- "description": "URL of the source snapshot used to create this image. This can be a full or valid partial URL. You must provide exactly one of: \n- this property, or \n- the sourceImage property, or \n- the rawDisk.source property, or \n- the sourceDisk property in order to create an image.",
+ "description": "URL of the source snapshot used to create this image.\n\nIn order to create an image, you must provide the full or partial URL of one of the following: \n- The selfLink URL \n- This property \n- The sourceImage URL \n- The rawDisk.source URL \n- The sourceDisk URL",
"type": "string"
},
"sourceSnapshotEncryptionKey": {
@@ -35595,6 +35911,9 @@
"description": "Allows this instance to send and receive packets with non-matching destination or source IPs. This is required if you plan to use this instance to forward routes. For more information, see Enabling IP Forwarding.",
"type": "boolean"
},
+ "confidentialInstanceConfig": {
+ "$ref": "ConfidentialInstanceConfig"
+ },
"cpuPlatform": {
"description": "[Output Only] The CPU platform used by this instance.",
"type": "string"
@@ -35763,7 +36082,7 @@
"type": "boolean"
},
"status": {
- "description": "[Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, STOPPED, SUSPENDING, SUSPENDED, and TERMINATED.",
+ "description": "[Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED.",
"enum": [
"DEPROVISIONING",
"PROVISIONING",
@@ -35962,7 +36281,7 @@
"type": "array"
},
"network": {
- "description": "The URL of the network to which all instances in the instance group belong.",
+ "description": "[Output Only] The URL of the network to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0).",
"type": "string"
},
"region": {
@@ -35979,7 +36298,7 @@
"type": "integer"
},
"subnetwork": {
- "description": "[Output Only] The URL of the subnetwork to which all instances in the instance group belong.",
+ "description": "[Output Only] The URL of the subnetwork to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0).",
"type": "string"
},
"zone": {
@@ -36712,6 +37031,20 @@
"isStateful": {
"description": "[Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful config even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. This field is deprecated in favor of has_stateful_config.",
"type": "boolean"
+ },
+ "perInstanceConfigs": {
+ "$ref": "InstanceGroupManagerStatusStatefulPerInstanceConfigs",
+ "description": "[Output Only] Status of per-instance configs on the instance."
+ }
+ },
+ "type": "object"
+ },
+ "InstanceGroupManagerStatusStatefulPerInstanceConfigs": {
+ "id": "InstanceGroupManagerStatusStatefulPerInstanceConfigs",
+ "properties": {
+ "allEffective": {
+ "description": "A bit indicating if all of the group's per-instance configs (listed in the output of a listPerInstanceConfigs API call) have status EFFECTIVE or there are no per-instance-configs.",
+ "type": "boolean"
}
},
"type": "object"
@@ -37819,15 +38152,19 @@
"id": "InstanceProperties",
"properties": {
"canIpForward": {
- "description": "Enables instances created based on this template to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding documentation for more information.",
+ "description": "Enables instances created based on these properties to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding documentation for more information.",
"type": "boolean"
},
+ "confidentialInstanceConfig": {
+ "$ref": "ConfidentialInstanceConfig",
+ "description": "Specifies the Confidential Instance options."
+ },
"description": {
- "description": "An optional text description for the instances that are created from this instance template.",
+ "description": "An optional text description for the instances that are created from these properties.",
"type": "string"
},
"disks": {
- "description": "An array of disks that are associated with the instances that are created from this template.",
+ "description": "An array of disks that are associated with the instances that are created from these properties.",
"items": {
"$ref": "AttachedDisk"
},
@@ -37838,7 +38175,7 @@
"description": "Display Device properties to enable support for remote display products like: Teradici, VNC and TeamViewer"
},
"guestAccelerators": {
- "description": "A list of guest accelerator cards' type and count to use for instances created from the instance template.",
+ "description": "A list of guest accelerator cards' type and count to use for instances created from these properties.",
"items": {
"$ref": "AcceleratorConfig"
},
@@ -37848,7 +38185,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Labels to apply to instances that are created from this template.",
+ "description": "Labels to apply to instances that are created from these properties.",
"type": "object"
},
"machineType": {
@@ -37857,15 +38194,15 @@
"compute.instanceTemplates.insert"
]
},
- "description": "The machine type to use for instances that are created from this template.",
+ "description": "The machine type to use for instances that are created from these properties.",
"type": "string"
},
"metadata": {
"$ref": "Metadata",
- "description": "The metadata key/value pairs to assign to instances that are created from this template. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information."
+ "description": "The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information."
},
"minCpuPlatform": {
- "description": "Minimum cpu/platform to be used by this instance. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: \"Intel Haswell\" or minCpuPlatform: \"Intel Sandy Bridge\". For more information, read Specifying a Minimum CPU Platform.",
+ "description": "Minimum cpu/platform to be used by instances. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: \"Intel Haswell\" or minCpuPlatform: \"Intel Sandy Bridge\". For more information, read Specifying a Minimum CPU Platform.",
"type": "string"
},
"networkInterfaces": {
@@ -37876,7 +38213,7 @@
"type": "array"
},
"privateIpv6GoogleAccess": {
- "description": "The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.",
+ "description": "The private IPv6 google access type for VMs. If not specified, use INHERIT_FROM_SUBNETWORK as default.",
"enum": [
"ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE",
"ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE",
@@ -37891,10 +38228,10 @@
},
"reservationAffinity": {
"$ref": "ReservationAffinity",
- "description": "Specifies the reservations that this instance can consume from."
+ "description": "Specifies the reservations that instances can consume from."
},
"resourcePolicies": {
- "description": "Resource policies (names, not ULRs) applied to instances created from this template.",
+ "description": "Resource policies (names, not ULRs) applied to instances created from these properties.",
"items": {
"type": "string"
},
@@ -37902,10 +38239,10 @@
},
"scheduling": {
"$ref": "Scheduling",
- "description": "Specifies the scheduling options for the instances that are created from this template."
+ "description": "Specifies the scheduling options for the instances that are created from these properties."
},
"serviceAccounts": {
- "description": "A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this template. Use metadata queries to obtain the access tokens for these instances.",
+ "description": "A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.",
"items": {
"$ref": "ServiceAccount"
},
@@ -37916,11 +38253,11 @@
},
"shieldedVmConfig": {
"$ref": "ShieldedVmConfig",
- "description": "Specifies the Shielded VM options for the instances that are created from this template."
+ "description": "Specifies the Shielded VM options for the instances that are created from these properties."
},
"tags": {
"$ref": "Tags",
- "description": "A list of tags to apply to the instances that are created from this template. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035."
+ "description": "A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035."
}
},
"type": "object"
@@ -38498,7 +38835,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Labels to apply to this Interconnect resource. These can be later modified by the setLabels method. Each label key/value must comply with RFC1035. Label values may be empty.",
+ "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.",
"type": "object"
},
"linkType": {
@@ -38680,7 +39017,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Labels to apply to this InterconnectAttachment resource. These can be later modified by the setLabels method. Each label key/value must comply with RFC1035. Label values may be empty.",
+ "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.",
"type": "object"
},
"name": {
@@ -39123,7 +39460,7 @@
"type": "object"
},
"InterconnectCircuitInfo": {
- "description": "Describes a single physical circuit between the Customer and Google. CircuitInfo objects are created by Google, so all fields are output only. Next id: 4",
+ "description": "Describes a single physical circuit between the Customer and Google. CircuitInfo objects are created by Google, so all fields are output only.",
"id": "InterconnectCircuitInfo",
"properties": {
"customerDemarcId": {
@@ -39629,7 +39966,7 @@
"type": "object"
},
"InterconnectOutageNotification": {
- "description": "Description of a planned outage on this Interconnect. Next id: 9",
+ "description": "Description of a planned outage on this Interconnect.",
"id": "InterconnectOutageNotification",
"properties": {
"affectedCircuits": {
@@ -40061,7 +40398,7 @@
"id": "LogConfigDataAccessOptions",
"properties": {
"logMode": {
- "description": "Whether Gin logging should happen in a fail-closed manner at the caller. This is currently supported in the LocalIAM implementation, Stubby C++, and Stubby Java. For Apps Framework, see go/af-audit-logging#failclosed. TODO(b/77591626): Add support for Stubby Go. TODO(b/129671387): Add support for Scaffolding.",
+ "description": "",
"enum": [
"LOG_FAIL_CLOSED",
"LOG_MODE_UNSPECIFIED"
@@ -40153,7 +40490,7 @@
"type": "string"
},
"storageLocations": {
- "description": "GCS bucket storage location of the machine image (regional or multi-regional).",
+ "description": "The regional or multi-regional Cloud Storage bucket location where the machine image is stored.",
"items": {
"type": "string"
},
@@ -40283,6 +40620,24 @@
"description": "Represents a Machine Type resource.\n\nYou can use specific machine types for your VM instances based on performance and pricing requirements. For more information, read Machine Types. (== resource_for {$api_version}.machineTypes ==)",
"id": "MachineType",
"properties": {
+ "accelerators": {
+ "description": "[Output Only] A list of accelerator configurations assigned to this machine type.",
+ "items": {
+ "properties": {
+ "guestAcceleratorCount": {
+ "description": "Number of accelerator cards exposed to the guest.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "guestAcceleratorType": {
+ "description": "The accelerator type resource name, not a full URL, e.g. 'nvidia-tesla-k80'.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
"creationTimestamp": {
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
"type": "string"
@@ -40947,7 +41302,7 @@
"type": "string"
},
"autoCreateSubnetworks": {
- "description": "When set to true, the VPC network is created in \"auto\" mode. When set to false, the VPC network is created in \"custom\" mode.\n\nAn auto mode VPC network starts with one subnet per region. Each subnet has a predetermined range as described in Auto mode VPC network IP ranges.",
+ "description": "When set to true, the VPC network is created in auto mode. When set to false, the VPC network is created in custom mode.\n\nAn auto mode VPC network starts with one subnet per region. Each subnet has a predetermined range as described in Auto mode VPC network IP ranges.\n\nFor custom mode VPC networks, you can add subnets using the subnetworks insert method.",
"type": "boolean"
},
"creationTimestamp": {
@@ -41009,7 +41364,7 @@
"type": "object"
},
"NetworkEndpoint": {
- "description": "The network endpoint. Next ID: 7",
+ "description": "The network endpoint.",
"id": "NetworkEndpoint",
"properties": {
"annotations": {
@@ -41040,7 +41395,7 @@
"type": "object"
},
"NetworkEndpointGroup": {
- "description": "Represents a collection of network endpoints.\n\nFor more information read Network endpoint groups overview. (== resource_for {$api_version}.networkEndpointGroups ==) Next ID: 21",
+ "description": "Represents a collection of network endpoints.\n\nA network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs, see Setting up internet NEGs or Setting up zonal NEGs. (== resource_for {$api_version}.networkEndpointGroups ==) (== resource_for {$api_version}.globalNetworkEndpointGroups ==)",
"id": "NetworkEndpointGroup",
"properties": {
"annotations": {
@@ -41050,6 +41405,18 @@
"description": "Metadata defined as annotations on the network endpoint group.",
"type": "object"
},
+ "appEngine": {
+ "$ref": "NetworkEndpointGroupAppEngine",
+ "description": "Only valid when networkEndpointType is \"SERVERLESS\". Only one of cloudRun, appEngine or cloudFunction may be set."
+ },
+ "cloudFunction": {
+ "$ref": "NetworkEndpointGroupCloudFunction",
+ "description": "Only valid when networkEndpointType is \"SERVERLESS\". Only one of cloudRun, appEngine or cloudFunction may be set."
+ },
+ "cloudRun": {
+ "$ref": "NetworkEndpointGroupCloudRun",
+ "description": "Only valid when networkEndpointType is \"SERVERLESS\". Only one of cloudRun, appEngine or cloudFunction may be set."
+ },
"creationTimestamp": {
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
"type": "string"
@@ -41090,15 +41457,21 @@
"enum": [
"GCE_VM_IP_PORT",
"INTERNET_FQDN_PORT",
- "INTERNET_IP_PORT"
+ "INTERNET_IP_PORT",
+ "SERVERLESS"
],
"enumDescriptions": [
+ "",
"",
"",
""
],
"type": "string"
},
+ "region": {
+ "description": "[Output Only] The URL of the region where the network endpoint group is located.",
+ "type": "string"
+ },
"selfLink": {
"description": "[Output Only] Server-defined URL for the resource.",
"type": "string"
@@ -41231,6 +41604,59 @@
},
"type": "object"
},
+ "NetworkEndpointGroupAppEngine": {
+ "description": "Configuration for an App Engine network endpoint group (NEG). The service is optional, may be provided explicitly or in the URL mask. The version is optional and can only be provided explicitly or in the URL mask when service is present.\n\nNote: App Engine service must be in the same project and located in the same region as the Serverless NEG.",
+ "id": "NetworkEndpointGroupAppEngine",
+ "properties": {
+ "service": {
+ "description": "Optional serving service.\n\nThe service name must be 1-63 characters long, and comply with RFC1035.\n\nExample value: \"default\", \"my-service\".",
+ "type": "string"
+ },
+ "urlMask": {
+ "description": "A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services.\n\nFor example, the request URLs \"foo1-dot-appname.appspot.com/v1\" and \"foo1-dot-appname.appspot.com/v2\" can be backed by the same Serverless NEG with URL mask \"-dot-appname.appspot.com/\". The URL mask will parse them to { service = \"foo1\", version = \"v1\" } and { service = \"foo1\", version = \"v2\" } respectively.",
+ "type": "string"
+ },
+ "version": {
+ "description": "Optional serving version.\n\nThe version must be 1-63 characters long, and comply with RFC1035.\n\nExample value: \"v1\", \"v2\".",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "NetworkEndpointGroupCloudFunction": {
+ "description": "Configuration for a Cloud Function network endpoint group (NEG). The function must be provided explicitly or in the URL mask.\n\nNote: Cloud Function must be in the same project and located in the same region as the Serverless NEG.",
+ "id": "NetworkEndpointGroupCloudFunction",
+ "properties": {
+ "function": {
+ "description": "A user-defined name of the Cloud Function.\n\nThe function name is case-sensitive and must be 1-63 characters long.\n\nExample value: \"func1\".",
+ "type": "string"
+ },
+ "urlMask": {
+ "description": "A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services.\n\nFor example, request URLs \"mydomain.com/function1\" and \"mydomain.com/function2\" can be backed by the same Serverless NEG with URL mask \"/\". The URL mask will parse them to { function = \"function1\" } and { function = \"function2\" } respectively.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "NetworkEndpointGroupCloudRun": {
+ "description": "Configuration for a Cloud Run network endpoint group (NEG). The service must be provided explicitly or in the URL mask. The tag is optional, may be provided explicitly or in the URL mask.\n\nNote: Cloud Run service must be in the same project and located in the same region as the Serverless NEG.",
+ "id": "NetworkEndpointGroupCloudRun",
+ "properties": {
+ "service": {
+ "description": "Cloud Run service is the main resource of Cloud Run.\n\nThe service must be 1-63 characters long, and comply with RFC1035.\n\nExample value: \"run-service\".",
+ "type": "string"
+ },
+ "tag": {
+ "description": "Optional Cloud Run tag represents the \"named-revision\" to provide additional fine-grained traffic routing information.\n\nThe tag must be 1-63 characters long, and comply with RFC1035.\n\nExample value: \"revision-0010\".",
+ "type": "string"
+ },
+ "urlMask": {
+ "description": "A template to parse service and tag fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services.\n\nFor example, request URLs \"foo1.domain.com/bar1\" and \"foo1.domain.com/bar2\" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask \".domain.com/\". The URL mask will parse them to { service=\"bar1\", tag=\"foo1\" } and { service=\"bar2\", tag=\"foo2\" } respectively.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"NetworkEndpointGroupLbNetworkEndpointGroup": {
"description": "Load balancing specific fields for network endpoint group.",
"id": "NetworkEndpointGroupLbNetworkEndpointGroup",
@@ -41395,8 +41821,15 @@
"NetworkEndpointGroupsListEndpointsRequest": {
"id": "NetworkEndpointGroupsListEndpointsRequest",
"properties": {
+ "endpointFilters": {
+ "description": "Optional list of endpoints to query. This is a more efficient but also limited version of filter parameter. Endpoints in the filter must have ip_address and port fields populated, other fields are not supported.",
+ "items": {
+ "$ref": "NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter"
+ },
+ "type": "array"
+ },
"healthStatus": {
- "description": "Optional query parameter for showing the health status of each network endpoint. Valid options are SKIP or SHOW. If you don't specifiy this parameter, the health status of network endpoints will not be provided.",
+ "description": "Optional query parameter for showing the health status of each network endpoint. Valid options are SKIP or SHOW. If you don't specify this parameter, the health status of network endpoints will not be provided.",
"enum": [
"SHOW",
"SKIP"
@@ -41410,6 +41843,15 @@
},
"type": "object"
},
+ "NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter": {
+ "id": "NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter",
+ "properties": {
+ "networkEndpoint": {
+ "$ref": "NetworkEndpoint"
+ }
+ },
+ "type": "object"
+ },
"NetworkEndpointGroupsListNetworkEndpoints": {
"id": "NetworkEndpointGroupsListNetworkEndpoints",
"properties": {
@@ -42001,7 +42443,7 @@
"type": "string"
},
"nodeTemplate": {
- "description": "The URL of the node template to which this node group belongs.",
+ "description": "URL of the node template to create the node group from.",
"type": "string"
},
"selfLink": {
@@ -42591,7 +43033,7 @@
"type": "object"
},
"NodeTemplate": {
- "description": "Represent a sole-tenant Node Template resource.\n\nYou can use a template to define properties for nodes in a node group. For more information, read Creating node groups and instances. (== resource_for {$api_version}.nodeTemplates ==) (== NextID: 19 ==)",
+ "description": "Represent a sole-tenant Node Template resource.\n\nYou can use a template to define properties for nodes in a node group. For more information, read Creating node groups and instances. (== resource_for {$api_version}.nodeTemplates ==)",
"id": "NodeTemplate",
"properties": {
"cpuOvercommitType": {
@@ -43393,7 +43835,7 @@
"type": "object"
},
"NotificationEndpoint": {
- "description": "A notification endpoint resource defines an endpoint to receive notifications when there are status changes detected by the associated health check service.",
+ "description": "Represents a notification endpoint.\n\nA notification endpoint resource defines an endpoint to receive notifications when there are status changes detected by the associated health check service.\n\nFor more information, see Health checks overview. (== resource_for {$api_version}.notificationEndpoint ==) (== resource_for {$api_version}.regionNotificationEndpoints ==)",
"id": "NotificationEndpoint",
"properties": {
"creationTimestamp": {
@@ -44246,7 +44688,7 @@
"type": "object"
},
"PacketMirroring": {
- "description": "Represents a PacketMirroring resource.",
+ "description": "Represents a Packet Mirroring resource.\n\nPacket Mirroring clones the traffic of specified instances in your Virtual Private Cloud (VPC) network and forwards it to a collector destination, such as an instance group of an internal TCP/UDP load balancer, for analysis or examination. For more information about setting up Packet Mirroring, see Using Packet Mirroring. (== resource_for {$api_version}.packetMirrorings ==)",
"id": "PacketMirroring",
"properties": {
"collectorIlb": {
@@ -44754,7 +45196,7 @@
"properties": {
"defaultRouteAction": {
"$ref": "HttpRouteAction",
- "description": "defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices.\nOnly one of defaultRouteAction or defaultUrlRedirect must be set."
+ "description": "defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices.\nOnly one of defaultRouteAction or defaultUrlRedirect must be set.\nUrlMaps for external HTTP(S) load balancers support only the urlRewrite action within a pathMatcher's defaultRouteAction."
},
"defaultService": {
"description": "The full or partial URL to the BackendService resource. This will be used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: \n- https://www.googleapis.com/compute/v1/projects/project/global/backendServices/backendService \n- compute/v1/projects/project/global/backendServices/backendService \n- global/backendServices/backendService If defaultRouteAction is additionally specified, advanced routing actions like URL Rewrites, etc. take effect prior to sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified.\nOnly one of defaultService, defaultUrlRedirect or defaultRouteAction.weightedBackendService must be set.\nAuthorization requires one or more of the following Google IAM permissions on the specified resource default_service: \n- compute.backendBuckets.use \n- compute.backendServices.use",
@@ -44806,7 +45248,7 @@
},
"routeAction": {
"$ref": "HttpRouteAction",
- "description": "In response to a matching path, the load balancer performs advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices.\nOnly one of routeAction or urlRedirect must be set."
+ "description": "In response to a matching path, the load balancer performs advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices.\nOnly one of routeAction or urlRedirect must be set.\nUrlMaps for external HTTP(S) load balancers support only the urlRewrite action within a pathRule's routeAction."
},
"service": {
"description": "The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is additionally specified, advanced routing actions like URL Rewrites, etc. take effect prior to sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendService s. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified.\nOnly one of urlRedirect, service or routeAction.weightedBackendService must be set.",
@@ -44834,12 +45276,32 @@
"preservedState": {
"$ref": "PreservedState",
"description": "The intended preserved state for the given instance. Does not contain preserved state generated from a stateful policy."
+ },
+ "status": {
+ "description": "The status of applying this per-instance config on the corresponding managed instance.",
+ "enum": [
+ "APPLYING",
+ "DELETING",
+ "EFFECTIVE",
+ "NONE",
+ "UNAPPLIED",
+ "UNAPPLIED_DELETION"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
}
},
"type": "object"
},
"Policy": {
- "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.\n\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both.\n\n**JSON example:**\n\n{ \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [\"user:eve@example.com\"], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 }\n\n**YAML example:**\n\nbindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3\n\nFor a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.\n\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n{ \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 }\n\n**YAML example:**\n\nbindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3\n\nFor a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"auditConfigs": {
@@ -44873,7 +45335,7 @@
"type": "array"
},
"version": {
- "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected.\n\nAny operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected.\n\nAny operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -45113,18 +45575,22 @@
"metric": {
"description": "[Output Only] Name of the quota metric.",
"enum": [
+ "A2_CPUS",
"AFFINITY_GROUPS",
"AUTOSCALERS",
"BACKEND_BUCKETS",
"BACKEND_SERVICES",
"C2_CPUS",
"COMMITMENTS",
+ "COMMITTED_A2_CPUS",
"COMMITTED_C2_CPUS",
"COMMITTED_CPUS",
"COMMITTED_LICENSES",
"COMMITTED_LOCAL_SSD_TOTAL_GB",
+ "COMMITTED_MEMORY_OPTIMIZED_CPUS",
"COMMITTED_N2D_CPUS",
"COMMITTED_N2_CPUS",
+ "COMMITTED_NVIDIA_A100_GPUS",
"COMMITTED_NVIDIA_K80_GPUS",
"COMMITTED_NVIDIA_P100_GPUS",
"COMMITTED_NVIDIA_P4_GPUS",
@@ -45154,13 +45620,17 @@
"IN_USE_BACKUP_SCHEDULES",
"IN_USE_SNAPSHOT_SCHEDULES",
"LOCAL_SSD_TOTAL_GB",
+ "M1_CPUS",
+ "M2_CPUS",
"MACHINE_IMAGES",
"N2D_CPUS",
"N2_CPUS",
"NETWORKS",
"NETWORK_ENDPOINT_GROUPS",
+ "NETWORK_FIREWALL_POLICIES",
"NODE_GROUPS",
"NODE_TEMPLATES",
+ "NVIDIA_A100_GPUS",
"NVIDIA_K80_GPUS",
"NVIDIA_P100_GPUS",
"NVIDIA_P100_VWS_GPUS",
@@ -45172,6 +45642,7 @@
"PACKET_MIRRORINGS",
"PREEMPTIBLE_CPUS",
"PREEMPTIBLE_LOCAL_SSD_GB",
+ "PREEMPTIBLE_NVIDIA_A100_GPUS",
"PREEMPTIBLE_NVIDIA_K80_GPUS",
"PREEMPTIBLE_NVIDIA_P100_GPUS",
"PREEMPTIBLE_NVIDIA_P100_VWS_GPUS",
@@ -45304,6 +45775,15 @@
"",
"",
"",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
""
],
"type": "string"
@@ -47560,6 +48040,10 @@
"description": "Specified snapshot properties for scheduled snapshots created by this policy.",
"id": "ResourcePolicySnapshotSchedulePolicySnapshotProperties",
"properties": {
+ "chainName": {
+ "description": "Chain name that the snapshot is created in.",
+ "type": "string"
+ },
"guestFlush": {
"description": "Indication to perform a 'guest aware' snapshot.",
"type": "boolean"
@@ -47941,7 +48425,7 @@
"type": "object"
},
"Router": {
- "description": "Represents a Cloud Router resource.\n\nFor more information about Cloud Router, read the the Cloud Router overview.",
+ "description": "Represents a Cloud Router resource.\n\nFor more information about Cloud Router, read the Cloud Router overview.",
"id": "Router",
"properties": {
"bgp": {
@@ -48000,7 +48484,8 @@
"network": {
"annotations": {
"required": [
- "compute.routers.insert"
+ "compute.routers.insert",
+ "compute.routers.update"
]
},
"description": "URI of the network to which this router belongs.",
@@ -48186,7 +48671,7 @@
"type": "integer"
},
"keepaliveInterval": {
- "description": "The interval in seconds between BGP keepalive messages that are sent to the peer. Hold time is three times the interval at which keepalive messages are sent, and the hold time is the maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer. BGP will use the smaller of either the local hold time value or the peer's hold time value as the hold time for the BGP connection between the two peers. If set, this value must be between 1 and 120. The default is 20.",
+ "description": "The interval in seconds between BGP keepalive messages that are sent to the peer.\nNot currently available publicly.\nHold time is three times the interval at which keepalive messages are sent, and the hold time is the maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer.\nBGP will use the smaller of either the local hold time value or the peer's hold time value as the hold time for the BGP connection between the two peers.\nIf set, this value must be between 1 and 120. The default is 20.",
"format": "uint32",
"type": "integer"
}
@@ -48235,10 +48720,10 @@
},
"bfd": {
"$ref": "RouterBgpPeerBfd",
- "description": "BFD configuration for the BGP peering."
+ "description": "BFD configuration for the BGP peering.\nNot currently available publicly."
},
"enable": {
- "description": "The status of the BGP peer connection. If set to FALSE, any active session with the peer is terminated and all associated routing information is removed. If set to TRUE, the peer connection can be established with routing information. The default is TRUE.",
+ "description": "The status of the BGP peer connection.\nNot currently available publicly.\nIf set to FALSE, any active session with the peer is terminated and all associated routing information is removed. If set to TRUE, the peer connection can be established with routing information. The default is TRUE.",
"enum": [
"FALSE",
"TRUE"
@@ -48300,22 +48785,22 @@
"id": "RouterBgpPeerBfd",
"properties": {
"minReceiveInterval": {
- "description": "The minimum interval, in milliseconds, between BFD control packets received from the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the transmit interval of the other router. If set, this value must be between 100 and 30000. The default is 300.",
+ "description": "The minimum interval, in milliseconds, between BFD control packets received from the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the transmit interval of the other router.\nNot currently available publicly.\nIf set, this value must be between 100 and 30000.\nThe default is 300.",
"format": "uint32",
"type": "integer"
},
"minTransmitInterval": {
- "description": "The minimum interval, in milliseconds, between BFD control packets transmitted to the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the corresponding receive interval of the other router. If set, this value must be between 100 and 30000. The default is 300.",
+ "description": "The minimum interval, in milliseconds, between BFD control packets transmitted to the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the corresponding receive interval of the other router.\nNot currently available publicly.\nIf set, this value must be between 100 and 30000.\nThe default is 300.",
"format": "uint32",
"type": "integer"
},
"multiplier": {
- "description": "The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable. If set, the value must be a value between 2 and 16. The default is 3.",
+ "description": "The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable.\nNot currently available publicly.\nIf set, the value must be a value between 2 and 16.\nThe default is 3.",
"format": "uint32",
"type": "integer"
},
"sessionInitializationMode": {
- "description": "The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is PASSIVE.",
+ "description": "The BFD session initialization mode for this BGP peer.\nNot currently available publicly.\nIf set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is PASSIVE.",
"enum": [
"ACTIVE",
"DISABLED",
@@ -48731,7 +49216,7 @@
"type": "object"
},
"RouterStatusNatStatus": {
- "description": "Status of a NAT contained in this router. Next tag: 9",
+ "description": "Status of a NAT contained in this router.",
"id": "RouterStatusNatStatus",
"properties": {
"autoAllocatedNatIps": {
@@ -49133,7 +49618,7 @@
"type": "object"
},
"Scheduling": {
- "description": "Sets the scheduling options for an Instance. NextID: 10",
+ "description": "Sets the scheduling options for an Instance. NextID: 12",
"id": "Scheduling",
"properties": {
"automaticRestart": {
@@ -49165,7 +49650,7 @@
"type": "string"
},
"preemptible": {
- "description": "Defines whether the instance is preemptible. This can only be set during instance creation, it cannot be set or changed after the instance has been created.",
+ "description": "Defines whether the instance is preemptible. This can only be set during instance creation or while the instance is stopped and therefore, in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states.",
"type": "boolean"
}
},
@@ -49285,7 +49770,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Labels to apply to this security policy resource. These can be later modified by the setLabels method. Each label key/value must comply with RFC1035. Label values may be empty.",
+ "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.",
"type": "object"
},
"name": {
@@ -49614,11 +50099,15 @@
"id": "SecuritySettings",
"properties": {
"authentication": {
- "description": "A URL referring to a networksecurity.Authentication resource that describes how clients should authenticate with this service's backends. If left blank, communications between services are not encrypted (i.e., the TLS policy is set to OPEN). When sending traffic to this service's backends, the OriginationTls setting of Authentication.TransportAuthentication is applied. Refer to the Authentication and Authentication.TransportAuthentication.OriginationTls resources for additional details. authentication only applies to a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED.",
+ "description": "[Deprecated] Use clientTlsPolicy instead.",
+ "type": "string"
+ },
+ "clientTlsPolicy": {
+ "description": "Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that describes how clients should authenticate with this service's backends.\nclientTlsPolicy only applies to a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED.\nIf left blank, communications are not encrypted.",
"type": "string"
},
"subjectAltNames": {
- "description": "Optional. A list of subject alternate names to verify the subject identity (SAN) in the certificate presented by the server, to authorize the SAN list as identities to run the service represented by this BackendService. If specified, the client will verify that the server certificate's subject alt name matches one of the specified values. Only applies to a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED.",
+ "description": "Optional. A list of Subject Alternative Names (SANs) that the client verifies during a mutual TLS handshake with an server/endpoint for this BackendService. When the server presents its X.509 certificate to the client, the client inspects the certificate's subjectAltName field. If the field contains one of the specified values, the communication continues. Otherwise, it fails. This additional check enables the client to verify that the server is authorized to run the requested service.\nNote that the contents of the server certificate's subjectAltName field are configured by the Public Key Infrastructure which provisions server identities.\nOnly applies to a global BackendService with loadBalancingScheme set to INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached clientTlsPolicy with clientCertificate (mTLS mode).",
"items": {
"type": "string"
},
@@ -49699,15 +50188,15 @@
"id": "ShieldedInstanceConfig",
"properties": {
"enableIntegrityMonitoring": {
- "description": "Defines whether the instance has integrity monitoring enabled.",
+ "description": "Defines whether the instance has integrity monitoring enabled. Enabled by default.",
"type": "boolean"
},
"enableSecureBoot": {
- "description": "Defines whether the instance has Secure Boot enabled.",
+ "description": "Defines whether the instance has Secure Boot enabled. Disabled by default.",
"type": "boolean"
},
"enableVtpm": {
- "description": "Defines whether the instance has the vTPM enabled.",
+ "description": "Defines whether the instance has the vTPM enabled. Enabled by default.",
"type": "boolean"
}
},
@@ -49848,6 +50337,10 @@
"description": "[Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk.",
"type": "boolean"
},
+ "chainName": {
+ "description": "Chain name should conform to RFC1035.",
+ "type": "string"
+ },
"creationTimestamp": {
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
"type": "string"
@@ -50188,7 +50681,7 @@
"type": "object"
},
"SslCertificate": {
- "description": "Represents an SSL Certificate resource.\n\nGoogle Compute Engine has two SSL Certificate resources:\n\n* [Global](/compute/docs/reference/rest/{$api_version}/sslCertificates) * [Regional](/compute/docs/reference/rest/{$api_version}/regionSslCertificates)\n\n\n\nThe sslCertificates are used by: \n- external HTTPS load balancers \n- SSL proxy load balancers \n\nThe regionSslCertificates are used by internal HTTPS load balancers.\n\nOptionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to secure connections to a load balancer. For more information, read Creating and using SSL certificates and SSL certificates quotas and limits. (== resource_for {$api_version}.sslCertificates ==) (== resource_for {$api_version}.regionSslCertificates ==)",
+ "description": "Represents an SSL Certificate resource.\n\nGoogle Compute Engine has two SSL Certificate resources:\n\n* [Global](/compute/docs/reference/rest/{$api_version}/sslCertificates) * [Regional](/compute/docs/reference/rest/{$api_version}/regionSslCertificates)\n\n\n\nThe sslCertificates are used by: \n- external HTTPS load balancers \n- SSL proxy load balancers \n\nThe regionSslCertificates are used by internal HTTPS load balancers.\n\nOptionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to secure connections to a load balancer. For more information, read Creating and using SSL certificates, SSL certificates quotas and limits, and Troubleshooting SSL certificates. (== resource_for {$api_version}.sslCertificates ==) (== resource_for {$api_version}.regionSslCertificates ==)",
"id": "SslCertificate",
"properties": {
"certificate": {
@@ -51016,7 +51509,7 @@
"type": "string"
},
"enableFlowLogs": {
- "description": "Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is to disable flow logging.",
+ "description": "Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is to disable flow logging. This field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER.",
"type": "boolean"
},
"fingerprint": {
@@ -51034,7 +51527,7 @@
"type": "string"
},
"ipCidrRange": {
- "description": "The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 192.168.0.0/16. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field can be set only at resource creation time.",
+ "description": "The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 192.168.0.0/16. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be expanded after creation using expandIpCidrRange.",
"type": "string"
},
"ipv6CidrRange": {
@@ -51048,7 +51541,7 @@
},
"logConfig": {
"$ref": "SubnetworkLogConfig",
- "description": "This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Stackdriver."
+ "description": "This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging."
},
"name": {
"description": "The name of the resource, provided by the client when initially creating the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.",
@@ -51087,7 +51580,7 @@
"type": "array"
},
"purpose": {
- "description": "The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918.",
+ "description": "The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER.",
"enum": [
"INTERNAL_HTTPS_LOAD_BALANCER",
"PRIVATE",
@@ -52119,11 +52612,15 @@
"id": "TargetHttpsProxy",
"properties": {
"authentication": {
- "description": "A URL referring to a networksecurity.Authentication resource that describes how the proxy should authenticate inbound traffic. If left blank, communications between services are not encrypted (i.e., the TLS policy is set to OPEN). When terminating inbound traffic to this proxy, the TerminationTls setting of Authentication.TransportAuthentication is applied.\nRefer to the Authentication and Authentication.TransportAuthentication.TerminationTls resources for additional details.\nauthentication only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED.",
+ "description": "[Deprecated] Use serverTlsPolicy instead.",
"type": "string"
},
"authorization": {
- "description": "A URL referring to a networksecurity.Authorization resource that describes how the proxy should authorize inbound traffic. If left blank, access will not be restricted by an authorization policy.\nRefer to the Authorization resource for additional details.\nauthorization only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED.",
+ "description": "[Deprecated] Use authorizationPolicy instead.",
+ "type": "string"
+ },
+ "authorizationPolicy": {
+ "description": "Optional. A URL referring to a networksecurity.AuthorizationPolicy resource that describes how the proxy should authorize inbound traffic. If left blank, access will not be restricted by an authorization policy.\nRefer to the AuthorizationPolicy resource for additional details.\nauthorizationPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED.",
"type": "string"
},
"creationTimestamp": {
@@ -52175,6 +52672,10 @@
"description": "[Output Only] Server-defined URL for the resource.",
"type": "string"
},
+ "serverTlsPolicy": {
+ "description": "Optional. A URL referring to a networksecurity.ServerTlsPolicy resource that describes how the proxy should authenticate inbound traffic.\nserverTlsPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED.\nIf left blank, communications are not encrypted.",
+ "type": "string"
+ },
"sslCertificates": {
"description": "URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates.",
"items": {
@@ -53708,7 +54209,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Labels to apply to this TargetVpnGateway resource. These can be later modified by the setLabels method. Each label key/value must comply with RFC1035. Label values may be empty.",
+ "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.",
"type": "object"
},
"name": {
@@ -54136,7 +54637,7 @@
},
"defaultRouteAction": {
"$ref": "HttpRouteAction",
- "description": "defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices.\nOnly one of defaultRouteAction or defaultUrlRedirect must be set."
+ "description": "defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices.\nOnly one of defaultRouteAction or defaultUrlRedirect must be set.\nUrlMaps for external HTTP(S) load balancers support only the urlRewrite action within defaultRouteAction."
},
"defaultService": {
"description": "The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is additionally specified, advanced routing actions like URL Rewrites, etc. take effect prior to sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified.\nOnly one of defaultService, defaultUrlRedirect or defaultRouteAction.weightedBackendService must be set.",
@@ -54953,7 +55454,7 @@
"type": "object"
},
"VpnGateway": {
- "description": "Represents a VPN gateway resource. Next ID: 13",
+ "description": "Represents a HA VPN gateway.\n\nHA VPN is a high-availability (HA) Cloud VPN solution that lets you securely connect your on-premises network to your Google Cloud Virtual Private Cloud network through an IPsec VPN connection in a single region. For more information about Cloud HA VPN solutions, see Cloud VPN topologies . (== resource_for {$api_version}.vpnGateways ==)",
"id": "VpnGateway",
"properties": {
"creationTimestamp": {
@@ -54983,7 +55484,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Labels to apply to this VpnGateway resource. These can be later modified by the setLabels method. Each label key/value must comply with RFC1035. Label values may be empty.",
+ "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.",
"type": "object"
},
"name": {
@@ -55014,7 +55515,7 @@
"type": "string"
},
"vpnInterfaces": {
- "description": "[Output Only] A list of interfaces on this VPN gateway.",
+ "description": "A list of interfaces on this VPN gateway.",
"items": {
"$ref": "VpnGatewayVpnGatewayInterface"
},
@@ -55346,7 +55847,7 @@
"type": "integer"
},
"ipAddress": {
- "description": "The external IP address for this VPN gateway interface.",
+ "description": "[Output Only] The external IP address for this VPN gateway interface.",
"type": "string"
}
},
@@ -55495,7 +55996,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Labels to apply to this VpnTunnel. These can be later modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.",
+ "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.",
"type": "object"
},
"localTrafficSelector": {
diff --git a/etc/api/compute/v1/compute-api.json b/etc/api/compute/v1/compute-api.json
index c03f91e1c1..165ed73154 100644
--- a/etc/api/compute/v1/compute-api.json
+++ b/etc/api/compute/v1/compute-api.json
@@ -29,7 +29,7 @@
"description": "Creates and runs virtual machines on Google Cloud Platform.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/compute/docs/reference/latest/",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/8D3WWVngRoS0y9CFVIt9M0Wvgus\"",
+ "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/L9LOTkeGMiZOvax0wDyduhAKK-M\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/compute_engine-16.png",
"x32": "https://www.google.com/images/icons/product/compute_engine-32.png"
@@ -185,7 +185,7 @@
]
},
"list": {
- "description": "Retrieves a list of accelerator types available to the specified project.",
+ "description": "Retrieves a list of accelerator types that are available to the specified project.",
"httpMethod": "GET",
"id": "compute.acceleratorTypes.list",
"parameterOrder": [
@@ -1362,7 +1362,7 @@
]
},
"getHealth": {
- "description": "Gets the most recent health check results for this BackendService.",
+ "description": "Gets the most recent health check results for this BackendService.\n\nExample request body:\n\n{ \"group\": \"/zones/us-east1-b/instanceGroups/lb-backend-example\" }",
"httpMethod": "POST",
"id": "compute.backendServices.getHealth",
"parameterOrder": [
@@ -1398,7 +1398,7 @@
]
},
"insert": {
- "description": "Creates a BackendService resource in the specified project using the data included in the request. There are several restrictions and guidelines to keep in mind when creating a backend service. Read Understanding backend services for more information.",
+ "description": "Creates a BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview.",
"httpMethod": "POST",
"id": "compute.backendServices.insert",
"parameterOrder": [
@@ -1480,7 +1480,7 @@
]
},
"patch": {
- "description": "Patches the specified BackendService resource with the data included in the request. There are several Understanding backend services to keep in mind when updating a backend service. Read Understanding backend services for more information. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
+ "description": "Patches the specified BackendService resource with the data included in the request. For more information, see Backend services overview. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
"httpMethod": "PATCH",
"id": "compute.backendServices.patch",
"parameterOrder": [
@@ -1561,7 +1561,7 @@
]
},
"update": {
- "description": "Updates the specified BackendService resource with the data included in the request. There are several Understanding backend services to keep in mind when updating a backend service. Read Understanding backend services for more information.",
+ "description": "Updates the specified BackendService resource with the data included in the request. For more information, see Backend services overview.",
"httpMethod": "PUT",
"id": "compute.backendServices.update",
"parameterOrder": [
@@ -5675,7 +5675,7 @@
]
},
"listErrors": {
- "description": "Lists all errors thrown by actions on instances for a given managed instance group.",
+ "description": "Lists all errors thrown by actions on instances for a given managed instance group. The filter and orderBy query parameters are not supported.",
"httpMethod": "GET",
"id": "compute.instanceGroupManagers.listErrors",
"parameterOrder": [
@@ -5738,7 +5738,7 @@
]
},
"listManagedInstances": {
- "description": "Lists all of the instances in the managed instance group. Each instance in the list has a currentAction, which indicates the action that the managed instance group is performing on the instance. For example, if the group is still creating an instance, the currentAction is CREATING. If a previous action failed, the list displays the errors for that failed action.",
+ "description": "Lists all of the instances in the managed instance group. Each instance in the list has a currentAction, which indicates the action that the managed instance group is performing on the instance. For example, if the group is still creating an instance, the currentAction is CREATING. If a previous action failed, the list displays the errors for that failed action. The orderBy query parameter is not supported.",
"httpMethod": "POST",
"id": "compute.instanceGroupManagers.listManagedInstances",
"parameterOrder": [
@@ -6326,7 +6326,7 @@
]
},
"listInstances": {
- "description": "Lists the instances in the specified instance group.",
+ "description": "Lists the instances in the specified instance group. The orderBy query parameter is not supported.",
"httpMethod": "POST",
"id": "compute.instanceGroups.listInstances",
"parameterOrder": [
@@ -7465,7 +7465,7 @@
]
},
"listReferrers": {
- "description": "Retrieves the list of referrers to instances contained within the specified zone. For more information, read Viewing Referrers to VM Instances.",
+ "description": "Retrieves a list of resources that refer to the VM instance specified in the request. For example, if the VM instance is part of a managed instance group, the referrers list includes the managed instance group. For more information, read Viewing Referrers to VM Instances.",
"httpMethod": "GET",
"id": "compute.instances.listReferrers",
"parameterOrder": [
@@ -8027,7 +8027,7 @@
]
},
"setScheduling": {
- "description": "Sets an instance's scheduling options.",
+ "description": "Sets an instance's scheduling options. You can only call this method on a stopped instance, that is, a VM instance that is in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states.",
"httpMethod": "POST",
"id": "compute.instances.setScheduling",
"parameterOrder": [
@@ -11201,7 +11201,7 @@
]
},
"patch": {
- "description": "Patch the node group.",
+ "description": "Updates the specified node group.",
"httpMethod": "PATCH",
"id": "compute.nodeGroups.patch",
"parameterOrder": [
@@ -13126,7 +13126,7 @@
]
},
"insert": {
- "description": "Creates a regional BackendService resource in the specified project using the data included in the request. There are several restrictions and guidelines to keep in mind when creating a regional backend service. Read Understanding backend services for more information.",
+ "description": "Creates a regional BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview.",
"httpMethod": "POST",
"id": "compute.regionBackendServices.insert",
"parameterOrder": [
@@ -13224,7 +13224,7 @@
]
},
"patch": {
- "description": "Updates the specified regional BackendService resource with the data included in the request. There are several Understanding backend services to keep in mind when updating a backend service. Read Understanding backend services for more information. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
+ "description": "Updates the specified regional BackendService resource with the data included in the request. For more information, see Understanding backend services This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
"httpMethod": "PATCH",
"id": "compute.regionBackendServices.patch",
"parameterOrder": [
@@ -13273,7 +13273,7 @@
]
},
"update": {
- "description": "Updates the specified regional BackendService resource with the data included in the request. There are several Understanding backend services to keep in mind when updating a backend service. Read Understanding backend services for more information.",
+ "description": "Updates the specified regional BackendService resource with the data included in the request. For more information, see Backend services overview.",
"httpMethod": "PUT",
"id": "compute.regionBackendServices.update",
"parameterOrder": [
@@ -13811,6 +13811,48 @@
"https://www.googleapis.com/auth/compute.readonly"
]
},
+ "getIamPolicy": {
+ "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
+ "httpMethod": "GET",
+ "id": "compute.regionDisks.getIamPolicy",
+ "parameterOrder": [
+ "project",
+ "region",
+ "resource"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "The name of the region for this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ },
+ "resource": {
+ "description": "Name or id of the resource for this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/regions/{region}/disks/{resource}/getIamPolicy",
+ "response": {
+ "$ref": "Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly"
+ ]
+ },
"insert": {
"description": "Creates a persistent regional disk in the specified project using the data included in the request.",
"httpMethod": "POST",
@@ -14012,6 +14054,50 @@
"https://www.googleapis.com/auth/compute"
]
},
+ "setIamPolicy": {
+ "description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
+ "httpMethod": "POST",
+ "id": "compute.regionDisks.setIamPolicy",
+ "parameterOrder": [
+ "project",
+ "region",
+ "resource"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "The name of the region for this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ },
+ "resource": {
+ "description": "Name or id of the resource for this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/regions/{region}/disks/{resource}/setIamPolicy",
+ "request": {
+ "$ref": "RegionSetPolicyRequest"
+ },
+ "response": {
+ "$ref": "Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
"setLabels": {
"description": "Sets the labels on the target regional disk.",
"httpMethod": "POST",
@@ -14108,6 +14194,242 @@
}
}
},
+ "regionHealthCheckServices": {
+ "methods": {
+ "delete": {
+ "description": "Deletes the specified regional HealthCheckService.",
+ "httpMethod": "DELETE",
+ "id": "compute.regionHealthCheckServices.delete",
+ "parameterOrder": [
+ "project",
+ "region",
+ "healthCheckService"
+ ],
+ "parameters": {
+ "healthCheckService": {
+ "description": "Name of the HealthCheckService to delete. The name must be 1-63 characters long, and comply with RFC1035.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "Name of the region scoping this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ },
+ "requestId": {
+ "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "{project}/regions/{region}/healthCheckServices/{healthCheckService}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "get": {
+ "description": "Returns the specified regional HealthCheckService resource.",
+ "httpMethod": "GET",
+ "id": "compute.regionHealthCheckServices.get",
+ "parameterOrder": [
+ "project",
+ "region",
+ "healthCheckService"
+ ],
+ "parameters": {
+ "healthCheckService": {
+ "description": "Name of the HealthCheckService to update. The name must be 1-63 characters long, and comply with RFC1035.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "Name of the region scoping this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/regions/{region}/healthCheckServices/{healthCheckService}",
+ "response": {
+ "$ref": "HealthCheckService"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly"
+ ]
+ },
+ "insert": {
+ "description": "Creates a regional HealthCheckService resource in the specified project and region using the data included in the request.",
+ "httpMethod": "POST",
+ "id": "compute.regionHealthCheckServices.insert",
+ "parameterOrder": [
+ "project",
+ "region"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "Name of the region scoping this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ },
+ "requestId": {
+ "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "{project}/regions/{region}/healthCheckServices",
+ "request": {
+ "$ref": "HealthCheckService"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "list": {
+ "description": "Lists all the HealthCheckService resources that have been configured for the specified project in the given region.",
+ "httpMethod": "GET",
+ "id": "compute.regionHealthCheckServices.list",
+ "parameterOrder": [
+ "project",
+ "region"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
+ "location": "query",
+ "type": "string"
+ },
+ "maxResults": {
+ "default": "500",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
+ "format": "uint32",
+ "location": "query",
+ "minimum": "0",
+ "type": "integer"
+ },
+ "orderBy": {
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
+ "location": "query",
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "Name of the region scoping this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/regions/{region}/healthCheckServices",
+ "response": {
+ "$ref": "HealthCheckServicesList"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly"
+ ]
+ },
+ "patch": {
+ "description": "Updates the specified regional HealthCheckService resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
+ "httpMethod": "PATCH",
+ "id": "compute.regionHealthCheckServices.patch",
+ "parameterOrder": [
+ "project",
+ "region",
+ "healthCheckService"
+ ],
+ "parameters": {
+ "healthCheckService": {
+ "description": "Name of the HealthCheckService to update. The name must be 1-63 characters long, and comply with RFC1035.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "Name of the region scoping this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ },
+ "requestId": {
+ "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "{project}/regions/{region}/healthCheckServices/{healthCheckService}",
+ "request": {
+ "$ref": "HealthCheckService"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ }
+ }
+ },
"regionHealthChecks": {
"methods": {
"delete": {
@@ -14762,7 +15084,7 @@
]
},
"listErrors": {
- "description": "Lists all errors thrown by actions on instances for a given regional managed instance group.",
+ "description": "Lists all errors thrown by actions on instances for a given regional managed instance group. The filter and orderBy query parameters are not supported.",
"httpMethod": "GET",
"id": "compute.regionInstanceGroupManagers.listErrors",
"parameterOrder": [
@@ -14825,7 +15147,7 @@
]
},
"listManagedInstances": {
- "description": "Lists the instances in the managed instance group and instances that are scheduled to be created. The list includes any current actions that the group has scheduled for its instances.",
+ "description": "Lists the instances in the managed instance group and instances that are scheduled to be created. The list includes any current actions that the group has scheduled for its instances. The orderBy query parameter is not supported.",
"httpMethod": "POST",
"id": "compute.regionInstanceGroupManagers.listManagedInstances",
"parameterOrder": [
@@ -15229,7 +15551,7 @@
]
},
"listInstances": {
- "description": "Lists the instances in the specified instance group and displays information about the named ports. Depending on the specified options, this method can list all instances or only the instances that are running.",
+ "description": "Lists the instances in the specified instance group and displays information about the named ports. Depending on the specified options, this method can list all instances or only the instances that are running. The orderBy query parameter is not supported.",
"httpMethod": "POST",
"id": "compute.regionInstanceGroups.listInstances",
"parameterOrder": [
@@ -15343,6 +15665,196 @@
}
}
},
+ "regionNotificationEndpoints": {
+ "methods": {
+ "delete": {
+ "description": "Deletes the specified NotificationEndpoint in the given region",
+ "httpMethod": "DELETE",
+ "id": "compute.regionNotificationEndpoints.delete",
+ "parameterOrder": [
+ "project",
+ "region",
+ "notificationEndpoint"
+ ],
+ "parameters": {
+ "notificationEndpoint": {
+ "description": "Name of the NotificationEndpoint resource to delete.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "Name of the region scoping this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ },
+ "requestId": {
+ "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "get": {
+ "description": "Returns the specified NotificationEndpoint resource in the given region.",
+ "httpMethod": "GET",
+ "id": "compute.regionNotificationEndpoints.get",
+ "parameterOrder": [
+ "project",
+ "region",
+ "notificationEndpoint"
+ ],
+ "parameters": {
+ "notificationEndpoint": {
+ "description": "Name of the NotificationEndpoint resource to return.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "Name of the region scoping this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}",
+ "response": {
+ "$ref": "NotificationEndpoint"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly"
+ ]
+ },
+ "insert": {
+ "description": "Create a NotificationEndpoint in the specified project in the given region using the parameters that are included in the request.",
+ "httpMethod": "POST",
+ "id": "compute.regionNotificationEndpoints.insert",
+ "parameterOrder": [
+ "project",
+ "region"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "Name of the region scoping this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ },
+ "requestId": {
+ "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "{project}/regions/{region}/notificationEndpoints",
+ "request": {
+ "$ref": "NotificationEndpoint"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "list": {
+ "description": "Lists the NotificationEndpoints for a project in the given region.",
+ "httpMethod": "GET",
+ "id": "compute.regionNotificationEndpoints.list",
+ "parameterOrder": [
+ "project",
+ "region"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
+ "location": "query",
+ "type": "string"
+ },
+ "maxResults": {
+ "default": "500",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
+ "format": "uint32",
+ "location": "query",
+ "minimum": "0",
+ "type": "integer"
+ },
+ "orderBy": {
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
+ "location": "query",
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "Name of the region scoping this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/regions/{region}/notificationEndpoints",
+ "response": {
+ "$ref": "NotificationEndpointList"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly"
+ ]
+ }
+ }
+ },
"regionOperations": {
"methods": {
"delete": {
@@ -19576,7 +20088,7 @@
]
},
"listUsable": {
- "description": "Retrieves an aggregated list of all usable subnetworks in the project. The list contains all of the subnetworks in the project and the subnetworks that were shared by a Shared VPC host project.",
+ "description": "Retrieves an aggregated list of all usable subnetworks in the project.",
"httpMethod": "GET",
"id": "compute.subnetworks.listUsable",
"parameterOrder": [
@@ -23301,7 +23813,7 @@
}
}
},
- "revision": "20200311",
+ "revision": "20200612",
"rootUrl": "https://compute.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
@@ -23347,7 +23859,7 @@
"type": "string"
},
"maximumCardsPerInstance": {
- "description": "[Output Only] Maximum accelerator cards allowed per instance.",
+ "description": "[Output Only] Maximum number of accelerator cards allowed per instance.",
"format": "int32",
"type": "integer"
},
@@ -23357,7 +23869,7 @@
"type": "string"
},
"selfLink": {
- "description": "[Output Only] Server-defined fully-qualified URL for this resource.",
+ "description": "[Output Only] Server-defined, fully qualified URL for this resource.",
"type": "string"
},
"zone": {
@@ -24230,7 +24742,7 @@
"type": "object"
},
"AllocationSpecificSKUAllocationReservedInstanceProperties": {
- "description": "Properties of the SKU instances being reserved.",
+ "description": "Properties of the SKU instances being reserved. Next ID: 9",
"id": "AllocationSpecificSKUAllocationReservedInstanceProperties",
"properties": {
"guestAccelerators": {
@@ -24251,6 +24763,18 @@
"description": "Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.",
"type": "string"
},
+ "maintenanceInterval": {
+ "description": "Specifies whether this VM may be a stable fleet VM. Setting this to \"Periodic\" designates this VM as a Stable Fleet VM.\n\nSee go/stable-fleet-ug for more details.",
+ "enum": [
+ "AS_NEEDED",
+ "PERIODIC"
+ ],
+ "enumDescriptions": [
+ "",
+ ""
+ ],
+ "type": "string"
+ },
"minCpuPlatform": {
"description": "Minimum cpu platform the reservation.",
"type": "string"
@@ -24448,7 +24972,7 @@
"type": "object"
},
"AuditConfig": {
- "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n{ \"audit_configs\": [ { \"service\": \"allServices\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\", }, { \"log_type\": \"ADMIN_READ\", } ] }, { \"service\": \"sampleservice.googleapis.com\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.",
+ "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n{ \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"auditLogConfigs": {
@@ -24473,7 +24997,7 @@
"type": "object"
},
"AuditLogConfig": {
- "description": "Provides the configuration for logging a type of permissions. Example:\n\n{ \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\", } ] }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.",
+ "description": "Provides the configuration for logging a type of permissions. Example:\n\n{ \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.",
"id": "AuditLogConfig",
"properties": {
"exemptedMembers": {
@@ -24857,6 +25381,7 @@
"MISSING_CUSTOM_METRIC_DATA_POINTS",
"MISSING_LOAD_BALANCING_DATA_POINTS",
"MODE_OFF",
+ "MODE_ONLY_SCALE_OUT",
"MODE_ONLY_UP",
"MORE_THAN_ONE_BACKEND_SERVICE",
"NOT_ENOUGH_QUOTA_AVAILABLE",
@@ -24883,6 +25408,7 @@
"",
"",
"",
+ "",
""
],
"type": "string"
@@ -25023,9 +25549,11 @@
"enum": [
"OFF",
"ON",
+ "ONLY_SCALE_OUT",
"ONLY_UP"
],
"enumDescriptions": [
+ "",
"",
"",
""
@@ -25108,7 +25636,7 @@
"type": "string"
},
"capacityScaler": {
- "description": "A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or CONNECTION). Default value is 1, which means the group will serve up to 100% of its configured capacity (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available Capacity. Valid range is [0.0,1.0].\n\nThis cannot be used for internal load balancing.",
+ "description": "A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or CONNECTION). Default value is 1, which means the group will serve up to 100% of its configured capacity (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available capacity. Valid range is 0.0 and [0.1,1.0]. You cannot configure a setting larger than 0 and smaller than 0.1. You cannot configure a setting of 0 when there is only one backend attached to the backend service.\n\nThis cannot be used for internal load balancing.",
"format": "float",
"type": "number"
},
@@ -25340,7 +25868,7 @@
"type": "object"
},
"BackendService": {
- "description": "Represents a Backend Service resource.\n\nA backend service contains configuration values for Google Cloud Platform load balancing services.\n\nBackend services in Google Compute Engine can be either regionally or globally scoped.\n\n* [Global](/compute/docs/reference/rest/{$api_version}/backendServices) * [Regional](/compute/docs/reference/rest/{$api_version}/regionBackendServices)\n\nFor more information, read Backend Services.\n\n(== resource_for {$api_version}.backendService ==)",
+ "description": "Represents a Backend Service resource.\n\nA backend service defines how Google Cloud load balancers distribute traffic. The backend service configuration contains a set of values, such as the protocol used to connect to backends, various distribution and session settings, health checks, and timeouts. These settings provide fine-grained control over how your load balancer behaves. Most of the settings have default values that allow for easy configuration if you need to get started quickly.\n\nBackend services in Google Compute Engine can be either regionally or globally scoped.\n\n* [Global](/compute/docs/reference/rest/{$api_version}/backendServices) * [Regional](/compute/docs/reference/rest/{$api_version}/regionBackendServices)\n\nFor more information, see Backend Services.\n\n(== resource_for {$api_version}.backendService ==)",
"id": "BackendService",
"properties": {
"affinityCookieTtlSec": {
@@ -25406,7 +25934,8 @@
"type": "array"
},
"iap": {
- "$ref": "BackendServiceIAP"
+ "$ref": "BackendServiceIAP",
+ "description": "The configurations for Identity-Aware Proxy on this resource."
},
"id": {
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
@@ -25437,7 +25966,7 @@
"type": "string"
},
"localityLbPolicy": {
- "description": "The load balancing algorithm used within the scope of the locality. The possible values are: \n- ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. \n- LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. \n- RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. \n- RANDOM: The load balancer selects a random healthy host. \n- ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. \n- MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, refer to https://ai.google/research/pubs/pub44824 \n\nThis field is applicable to either: \n- A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. \n- A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. \n\nIf sessionAffinity is not NONE, and this field is not set to >MAGLEV or RING_HASH, session affinity settings will not take effect.",
+ "description": "The load balancing algorithm used within the scope of the locality. The possible values are: \n- ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. \n- LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. \n- RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. \n- RANDOM: The load balancer selects a random healthy host. \n- ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. \n- MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 \n\nThis field is applicable to either: \n- A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. \n- A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. \n\nIf sessionAffinity is not NONE, and this field is not set to >MAGLEV or RING_HASH, session affinity settings will not take effect.",
"enum": [
"INVALID_LB_POLICY",
"LEAST_REQUEST",
@@ -25481,7 +26010,7 @@
"type": "integer"
},
"portName": {
- "description": "A named port on a backend instance group representing the port for communication to the backend VMs in that group. Required when the loadBalancingScheme is EXTERNAL, INTERNAL_MANAGED, or INTERNAL_SELF_MANAGED and the backends are instance groups. The named port must be defined on each backend instance group. This parameter has no meaning if the backends are NEGs.\n\n\n\nMust be omitted when the loadBalancingScheme is INTERNAL (Internal TCP/UDP Load Blaancing).",
+ "description": "A named port on a backend instance group representing the port for communication to the backend VMs in that group. Required when the loadBalancingScheme is EXTERNAL, INTERNAL_MANAGED, or INTERNAL_SELF_MANAGED and the backends are instance groups. The named port must be defined on each backend instance group. This parameter has no meaning if the backends are NEGs.\n\n\n\nMust be omitted when the loadBalancingScheme is INTERNAL (Internal TCP/UDP Load Balancing).",
"type": "string"
},
"protocol": {
@@ -25539,7 +26068,7 @@
"type": "string"
},
"timeoutSec": {
- "description": "The backend service timeout has a different meaning depending on the type of load balancer. For more information read, Backend service settings The default is 30 seconds.",
+ "description": "The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings The default is 30 seconds.",
"format": "int32",
"type": "integer"
}
@@ -25705,6 +26234,13 @@
"BackendServiceGroupHealth": {
"id": "BackendServiceGroupHealth",
"properties": {
+ "annotations": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Metadata defined as annotations on the network endpoint group.",
+ "type": "object"
+ },
"healthStatus": {
"description": "Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.",
"items": {
@@ -25725,12 +26261,15 @@
"id": "BackendServiceIAP",
"properties": {
"enabled": {
+ "description": "Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty.",
"type": "boolean"
},
"oauth2ClientId": {
+ "description": "OAuth2 client ID to use for the authentication flow.",
"type": "string"
},
"oauth2ClientSecret": {
+ "description": "OAuth2 client secret to use for the authentication flow. For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field.",
"type": "string"
},
"oauth2ClientSecretSha256": {
@@ -25977,7 +26516,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding. NOTE: An unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the current request.\n\nIf the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values:\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@example.com` .\n\n\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* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.\n\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.",
@@ -26635,14 +27174,14 @@
"type": "array"
},
"allowOriginRegexes": {
- "description": "Specifies the regualar expression patterns that match allowed origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript \nAn origin is allowed if it matches either allow_origins or allow_origin_regex.",
+ "description": "Specifies the regualar expression patterns that match allowed origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript \nAn origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.",
"items": {
"type": "string"
},
"type": "array"
},
"allowOrigins": {
- "description": "Specifies the list of origins that will be allowed to do CORS requests.\nAn origin is allowed if it matches either allow_origins or allow_origin_regex.",
+ "description": "Specifies the list of origins that will be allowed to do CORS requests.\nAn origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.",
"items": {
"type": "string"
},
@@ -26826,7 +27365,7 @@
"type": "string"
},
"physicalBlockSizeBytes": {
- "description": "Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. Currently supported sizes are 4096 and 16384, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project.",
+ "description": "Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. The currently supported size is 4096, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project.",
"format": "int64",
"type": "string"
},
@@ -26857,6 +27396,14 @@
"format": "int64",
"type": "string"
},
+ "sourceDisk": {
+ "description": "The source disk used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: \n- https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk \n- projects/project/zones/zone/disks/disk \n- zones/zone/disks/disk",
+ "type": "string"
+ },
+ "sourceDiskId": {
+ "description": "[Output Only] The unique ID of the disk used to create this disk. This value identifies the exact disk that was used to create this persistent disk. For example, if you created the persistent disk from a disk that was later deleted and recreated under the same name, the source disk ID would identify the exact version of the disk that was used.",
+ "type": "string"
+ },
"sourceImage": {
"description": "The source image used to create this disk. If the source image is deleted, this field will not be set.\n\nTo create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image:\nprojects/debian-cloud/global/images/family/debian-9\n\n\nAlternatively, use a specific version of a public operating system image:\nprojects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD\n\n\nTo create a disk with a custom image that you created, specify the image name in the following format:\nglobal/images/my-custom-image\n\n\nYou can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name:\nglobal/images/family/my-image-family",
"type": "string"
@@ -26900,7 +27447,7 @@
"type": "string"
},
"type": {
- "description": "URL of the disk type resource describing which disk type to use to create the disk. Provide this when creating the disk. For example: projects/project/zones/zone/diskTypes/pd-standard or pd-ssd",
+ "description": "URL of the disk type resource describing which disk type to use to create the disk. Provide this when creating the disk. For example: projects/project/zones/zone/diskTypes/pd-standard or pd-ssd",
"type": "string"
},
"users": {
@@ -27928,7 +28475,7 @@
"type": "object"
},
"ExternalVpnGateway": {
- "description": "External VPN gateway is the on-premises VPN gateway(s) or another cloud provider's VPN gateway that connects to your Google Cloud VPN gateway. To create a highly available VPN from Google Cloud to your on-premises side or another Cloud provider's VPN gateway, you must create a external VPN gateway resource in GCP, which provides the information to GCP about your external VPN gateway.",
+ "description": "Represents an external VPN gateway.\n\nExternal VPN gateway is the on-premises VPN gateway(s) or another cloud provider's VPN gateway that connects to your Google Cloud VPN gateway.\n\nTo create a highly available VPN from Google Cloud Platform to your VPN gateway or another cloud provider's VPN gateway, you must create a external VPN gateway resource with information about the other gateway.\n\nFor more information about using external VPN gateways, see Creating an HA VPN gateway and tunnel pair to a peer VPN. (== resource_for {$api_version}.externalVpnGateways ==)",
"id": "ExternalVpnGateway",
"properties": {
"creationTimestamp": {
@@ -27965,7 +28512,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Labels to apply to this ExternalVpnGateway resource. These can be later modified by the setLabels method. Each label key/value must comply with RFC1035. Label values may be empty.",
+ "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.",
"type": "object"
},
"name": {
@@ -28139,6 +28686,7 @@
"type": "string"
},
"fileType": {
+ "description": "The file type of source file.",
"enum": [
"BIN",
"UNDEFINED",
@@ -28241,7 +28789,7 @@
},
"logConfig": {
"$ref": "FirewallLogConfig",
- "description": "This field denotes the logging options for a particular firewall rule. If logging is enabled, logs will be exported to Stackdriver."
+ "description": "This field denotes the logging options for a particular firewall rule. If logging is enabled, logs will be exported to Cloud Logging."
},
"name": {
"annotations": {
@@ -29083,6 +29631,7 @@
"FEATURE_TYPE_UNSPECIFIED",
"MULTI_IP_SUBNET",
"SECURE_BOOT",
+ "SEV_CAPABLE",
"UEFI_COMPATIBLE",
"VIRTIO_SCSI_MULTIQUEUE",
"WINDOWS"
@@ -29093,6 +29642,7 @@
"",
"",
"",
+ "",
""
],
"type": "string"
@@ -29300,6 +29850,10 @@
"description": "Type of the resource.",
"type": "string"
},
+ "logConfig": {
+ "$ref": "HealthCheckLogConfig",
+ "description": "Configure logging on this health check."
+ },
"name": {
"description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.",
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
@@ -29464,6 +30018,17 @@
},
"type": "object"
},
+ "HealthCheckLogConfig": {
+ "description": "Configuration of logging on a health check. If logging is enabled, logs will be exported to Stackdriver.",
+ "id": "HealthCheckLogConfig",
+ "properties": {
+ "enable": {
+ "description": "Indicates whether or not to export logs. This is false by default, which means no health check logging will be done.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
"HealthCheckReference": {
"description": "A full or valid partial URL to a health check. For example, the following are valid URLs: \n- https://www.googleapis.com/compute/beta/projects/project-id/global/httpHealthChecks/health-check \n- projects/project-id/global/httpHealthChecks/health-check \n- global/httpHealthChecks/health-check",
"id": "HealthCheckReference",
@@ -29474,6 +30039,203 @@
},
"type": "object"
},
+ "HealthCheckService": {
+ "description": "Represents a Health-Check as a Service resource.\n\n(== resource_for {$api_version}.regionHealthCheckServices ==)",
+ "id": "HealthCheckService",
+ "properties": {
+ "creationTimestamp": {
+ "description": "[Output Only] Creation timestamp in RFC3339 text format.",
+ "type": "string"
+ },
+ "description": {
+ "description": "An optional description of this resource. Provide this property when you create the resource.",
+ "type": "string"
+ },
+ "fingerprint": {
+ "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a HealthCheckService. An up-to-date fingerprint must be provided in order to patch/update the HealthCheckService; Otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the HealthCheckService.",
+ "format": "byte",
+ "type": "string"
+ },
+ "healthChecks": {
+ "description": "List of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10. HealthCheck resources must have portSpecification=USE_SERVING_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecksresource quota\nis sufficient for this number of instances. You must also have available\nfirewall and routes quota.\nFor requests, this field should only be used in lieu of a\n\"node_pool\" object, since this configuration (along with the\n\"node_config\") will be used to create a \"NodePool\" object with an\nauto-generated name. Do not use this and a node_pool at the same time.\n\nThis field is deprecated, use node_pool.initial_node_count instead.",
+ "description": "The number of nodes to create in this cluster. You must ensure that your\nCompute Engine [resource quota](https://cloud.google.com/compute/quotas)\nis sufficient for this number of instances. You must also have available\nfirewall and routes quota.\nFor requests, this field should only be used in lieu of a\n\"node_pool\" object, since this configuration (along with the\n\"node_config\") will be used to create a \"NodePool\" object with an\nauto-generated name. Do not use this and a node_pool at the same time.\n\nThis field is deprecated, use node_pool.initial_node_count instead.",
"format": "int32",
"type": "integer"
},
@@ -2748,11 +2752,11 @@
"description": "Configuration for the legacy ABAC authorization mode."
},
"location": {
- "description": "[Output only] The name of the Google Compute Engine\n[zone](/compute/docs/regions-zones/regions-zones#available) or\n[region](/compute/docs/regions-zones/regions-zones#available) in which\nthe cluster resides.",
+ "description": "[Output only] The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)\nor\n[region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)\nin which the cluster resides.",
"type": "string"
},
"locations": {
- "description": "The list of Google Compute Engine\n[zones](/compute/docs/zones#available) in which the cluster's nodes\nshould be located.",
+ "description": "The list of Google Compute Engine\n[zones](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster's nodes should be located.",
"items": {
"type": "string"
},
@@ -2783,7 +2787,7 @@
"type": "string"
},
"network": {
- "description": "The name of the Google Compute Engine\n[network](/compute/docs/networks-and-firewalls#networks) to which the\ncluster is connected. If left unspecified, the `default` network\nwill be used.",
+ "description": "The name of the Google Compute Engine\n[network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)\nto which the cluster is connected. If left unspecified, the `default`\nnetwork will be used.",
"type": "string"
},
"networkConfig": {
@@ -2814,6 +2818,10 @@
"$ref": "PrivateClusterConfig",
"description": "Configuration for private cluster."
},
+ "releaseChannel": {
+ "$ref": "ReleaseChannel",
+ "description": "Release channel configuration."
+ },
"resourceLabels": {
"additionalProperties": {
"type": "string"
@@ -2864,7 +2872,7 @@
"type": "string"
},
"subnetwork": {
- "description": "The name of the Google Compute Engine\n[subnetwork](/compute/docs/subnetworks) to which the\ncluster is connected.",
+ "description": "The name of the Google Compute Engine\n[subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which\nthe cluster is connected.",
"type": "string"
},
"tpuIpv4CidrBlock": {
@@ -2880,7 +2888,7 @@
"description": "Configuration for the use of Kubernetes Service Accounts in GCP IAM\npolicies."
},
"zone": {
- "description": "[Output only] The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field is deprecated, use location instead.",
+ "description": "[Output only] The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field is deprecated, use location instead.",
"type": "string"
}
},
@@ -2891,7 +2899,7 @@
"id": "ClusterAutoscaling",
"properties": {
"autoprovisioningLocations": {
- "description": "The list of Google Compute Engine [zones](/compute/docs/zones#available)\nin which the NodePool's nodes can be created by NAP.",
+ "description": "The list of Google Compute Engine\n[zones](https://cloud.google.com/compute/docs/zones#available) in which the\nNodePool's nodes can be created by NAP.",
"items": {
"type": "string"
},
@@ -2944,7 +2952,7 @@
"description": "The desired config of Intra-node visibility."
},
"desiredLocations": {
- "description": "The desired list of Google Compute Engine\n[zones](/compute/docs/zones#available) in which the cluster's nodes\nshould be located. Changing the locations a cluster is in will result\nin nodes being either created or removed from the cluster, depending on\nwhether locations are being added or removed.\n\nThis list must always include the cluster's primary zone.",
+ "description": "The desired list of Google Compute Engine\n[zones](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster's nodes should be located. Changing the locations a cluster is in\nwill result in nodes being either created or removed from the cluster,\ndepending on whether locations are being added or removed.\n\nThis list must always include the cluster's primary zone.",
"items": {
"type": "string"
},
@@ -2978,6 +2986,10 @@
"description": "The Kubernetes version to change the nodes to (typically an\nupgrade).\n\nUsers may specify either explicit versions offered by\nKubernetes Engine or version aliases, which have the following behavior:\n\n- \"latest\": picks the highest valid Kubernetes version\n- \"1.X\": picks the highest valid patch+gke.N patch in the 1.X version\n- \"1.X.Y\": picks the highest valid gke.N patch in the 1.X.Y version\n- \"1.X.Y-gke.N\": picks an explicit Kubernetes version\n- \"-\": picks the Kubernetes master version",
"type": "string"
},
+ "desiredReleaseChannel": {
+ "$ref": "ReleaseChannel",
+ "description": "The desired release channel configuration."
+ },
"desiredResourceUsageExportConfig": {
"$ref": "ResourceUsageExportConfig",
"description": "The desired configuration for exporting resource usage."
@@ -3006,7 +3018,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster id) of the cluster to complete IP\nrotation. Specified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster id) of the cluster to complete IP\nrotation. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -3014,7 +3026,7 @@
"type": "string"
},
"zone": {
- "description": "Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -3037,10 +3049,10 @@
"properties": {
"cluster": {
"$ref": "Cluster",
- "description": "Required. A [cluster\nresource](/container-engine/reference/rest/v1/projects.zones.clusters)"
+ "description": "Required. A [cluster\nresource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)"
},
"parent": {
- "description": "The parent (project and location) where the cluster will be created.\nSpecified in the format 'projects/*/locations/*'.",
+ "description": "The parent (project and location) where the cluster will be created.\nSpecified in the format `projects/*/locations/*`.",
"type": "string"
},
"projectId": {
@@ -3048,7 +3060,7 @@
"type": "string"
},
"zone": {
- "description": "Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the parent field.",
+ "description": "Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the parent\nfield.",
"type": "string"
}
},
@@ -3067,7 +3079,7 @@
"description": "Required. The node pool to create."
},
"parent": {
- "description": "The parent (project, location, cluster id) where the node pool will be\ncreated. Specified in the format\n'projects/*/locations/*/clusters/*'.",
+ "description": "The parent (project, location, cluster id) where the node pool will be\ncreated. Specified in the format\n`projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -3075,7 +3087,7 @@
"type": "string"
},
"zone": {
- "description": "Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the parent field.",
+ "description": "Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the parent\nfield.",
"type": "string"
}
},
@@ -3121,6 +3133,17 @@
},
"type": "object"
},
+ "DnsCacheConfig": {
+ "description": "Configuration for NodeLocal DNSCache",
+ "id": "DnsCacheConfig",
+ "properties": {
+ "enabled": {
+ "description": "Whether NodeLocal DNSCache is enabled for this cluster.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
"Empty": {
"description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
"id": "Empty",
@@ -3578,11 +3601,11 @@
"type": "boolean"
},
"network": {
- "description": "Output only. The relative name of the Google Compute Engine\nnetwork(/compute/docs/networks-and-firewalls#networks) to which\nthe cluster is connected.\nExample: projects/my-project/global/networks/my-network",
+ "description": "Output only. The relative name of the Google Compute Engine\nnetwork(https://cloud.google.com/compute/docs/networks-and-firewalls#networks)\nto which the cluster is connected. Example:\nprojects/my-project/global/networks/my-network",
"type": "string"
},
"subnetwork": {
- "description": "Output only. The relative name of the Google Compute Engine\n[subnetwork](/compute/docs/vpc) to which the cluster is connected.\nExample: projects/my-project/regions/us-central1/subnetworks/my-subnet",
+ "description": "Output only. The relative name of the Google Compute Engine\n[subnetwork](https://cloud.google.com/compute/docs/vpc) to which the\ncluster is connected. Example:\nprojects/my-project/regions/us-central1/subnetworks/my-subnet",
"type": "string"
}
},
@@ -3633,6 +3656,10 @@
},
"type": "array"
},
+ "bootDiskKmsKey": {
+ "description": "\nThe Customer Managed Encryption Key used to encrypt the boot disk attached\nto each node in the node pool. This should be of the form\nprojects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME].\nFor more information about protecting resources with Cloud KMS Keys please\nsee:\nhttps://cloud.google.com/compute/docs/disks/customer-managed-encryption",
+ "type": "string"
+ },
"diskSizeGb": {
"description": "Size of the disk attached to each node, specified in GB.\nThe smallest allowed disk size is 10GB.\n\nIf unspecified, the default disk size is 100GB.",
"format": "int32",
@@ -3659,7 +3686,7 @@
"type": "integer"
},
"machineType": {
- "description": "The name of a Google Compute Engine [machine\ntype](/compute/docs/machine-types) (e.g.\n`n1-standard-1`).\n\nIf unspecified, the default machine type is\n`n1-standard-1`.",
+ "description": "The name of a Google Compute Engine [machine\ntype](https://cloud.google.com/compute/docs/machine-types) (e.g.\n`n1-standard-1`).\n\nIf unspecified, the default machine type is\n`n1-standard-1`.",
"type": "string"
},
"metadata": {
@@ -3674,7 +3701,7 @@
"type": "string"
},
"oauthScopes": {
- "description": "The set of Google API scopes to be made available on all of the\nnode VMs under the \"default\" service account.\n\nThe following scopes are recommended, but not required, and by default are\nnot included:\n\n* `https://www.googleapis.com/auth/compute` is required for mounting\npersistent storage on your nodes.\n* `https://www.googleapis.com/auth/devstorage.read_only` is required for\ncommunicating with **gcr.io**\n(the [Google Container Registry](/container-registry/)).\n\nIf unspecified, no scopes are added, unless Cloud Logging or Cloud\nMonitoring are enabled, in which case their required scopes will be added.",
+ "description": "The set of Google API scopes to be made available on all of the\nnode VMs under the \"default\" service account.\n\nThe following scopes are recommended, but not required, and by default are\nnot included:\n\n* `https://www.googleapis.com/auth/compute` is required for mounting\npersistent storage on your nodes.\n* `https://www.googleapis.com/auth/devstorage.read_only` is required for\ncommunicating with **gcr.io**\n(the [Google Container\nRegistry](https://cloud.google.com/container-registry/)).\n\nIf unspecified, no scopes are added, unless Cloud Logging or Cloud\nMonitoring are enabled, in which case their required scopes will be added.",
"items": {
"type": "string"
},
@@ -3686,7 +3713,7 @@
},
"reservationAffinity": {
"$ref": "ReservationAffinity",
- "description": "The optional reservation affinity. Setting this field will apply\nthe specified [Zonal Compute\nReservation](/compute/docs/instances/reserving-zonal-resources)\nto this node pool."
+ "description": "The optional reservation affinity. Setting this field will apply\nthe specified [Zonal Compute\nReservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources)\nto this node pool."
},
"sandboxConfig": {
"$ref": "SandboxConfig",
@@ -3760,19 +3787,19 @@
"description": "The node configuration of the pool."
},
"initialNodeCount": {
- "description": "The initial node count for the pool. You must ensure that your\nCompute Engine resource quota\nis sufficient for this number of instances. You must also have available\nfirewall and routes quota.",
+ "description": "The initial node count for the pool. You must ensure that your\nCompute Engine [resource quota](https://cloud.google.com/compute/quotas)\nis sufficient for this number of instances. You must also have available\nfirewall and routes quota.",
"format": "int32",
"type": "integer"
},
"instanceGroupUrls": {
- "description": "[Output only] The resource URLs of the [managed instance\ngroups](/compute/docs/instance-groups/creating-groups-of-managed-instances)\nassociated with this node pool.",
+ "description": "[Output only] The resource URLs of the [managed instance\ngroups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)\nassociated with this node pool.",
"items": {
"type": "string"
},
"type": "array"
},
"locations": {
- "description": "The list of Google Compute Engine [zones](/compute/docs/zones#available)\nin which the NodePool's nodes should be located.",
+ "description": "The list of Google Compute Engine\n[zones](https://cloud.google.com/compute/docs/zones#available) in which the\nNodePool's nodes should be located.",
"items": {
"type": "string"
},
@@ -3862,7 +3889,7 @@
"type": "object"
},
"NodeTaint": {
- "description": "Kubernetes taint is comprised of three fields: key, value, and effect. Effect\ncan only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.\n\nFor more information, including usage and the valid values, see:\nhttps://kubernetes.io/docs/concepts/configuration/taint-and-toleration/",
+ "description": "Kubernetes taint is comprised of three fields: key, value, and effect. Effect\ncan only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.\n\nSee\n[here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)\nfor more information, including usage and the valid values.",
"id": "NodeTaint",
"properties": {
"effect": {
@@ -3912,7 +3939,7 @@
"type": "string"
},
"location": {
- "description": "[Output only] The name of the Google Compute Engine\n[zone](/compute/docs/regions-zones/regions-zones#available) or\n[region](/compute/docs/regions-zones/regions-zones#available) in which\nthe cluster resides.",
+ "description": "[Output only] The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)\nor\n[region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)\nin which the cluster resides.",
"type": "string"
},
"name": {
@@ -4007,7 +4034,7 @@
"type": "string"
},
"zone": {
- "description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the operation\nis taking place.\nThis field is deprecated, use location instead.",
+ "description": "The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\noperation is taking place. This field is deprecated, use location instead.",
"type": "string"
}
},
@@ -4102,8 +4129,65 @@
},
"type": "object"
},
+ "ReleaseChannel": {
+ "description": "ReleaseChannel indicates which release channel a cluster is\nsubscribed to. Release channels are arranged in order of risk.\n\nWhen a cluster is subscribed to a release channel, Google maintains\nboth the master version and the node version. Node auto-upgrade\ndefaults to true and cannot be disabled.",
+ "id": "ReleaseChannel",
+ "properties": {
+ "channel": {
+ "description": "channel specifies which release channel the cluster is subscribed to.",
+ "enum": [
+ "UNSPECIFIED",
+ "RAPID",
+ "REGULAR",
+ "STABLE"
+ ],
+ "enumDescriptions": [
+ "No channel specified.",
+ "RAPID channel is offered on an early access basis for customers who want\nto test new releases.\n\nWARNING: Versions available in the RAPID Channel may be subject to\nunresolved issues with no known workaround and are not subject to any\nSLAs.",
+ "Clusters subscribed to REGULAR receive versions that are considered GA\nquality. REGULAR is intended for production users who want to take\nadvantage of new features.",
+ "Clusters subscribed to STABLE receive versions that are known to be\nstable and reliable in production."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ReleaseChannelConfig": {
+ "description": "ReleaseChannelConfig exposes configuration for a release channel.",
+ "id": "ReleaseChannelConfig",
+ "properties": {
+ "channel": {
+ "description": "The release channel this configuration applies to.",
+ "enum": [
+ "UNSPECIFIED",
+ "RAPID",
+ "REGULAR",
+ "STABLE"
+ ],
+ "enumDescriptions": [
+ "No channel specified.",
+ "RAPID channel is offered on an early access basis for customers who want\nto test new releases.\n\nWARNING: Versions available in the RAPID Channel may be subject to\nunresolved issues with no known workaround and are not subject to any\nSLAs.",
+ "Clusters subscribed to REGULAR receive versions that are considered GA\nquality. REGULAR is intended for production users who want to take\nadvantage of new features.",
+ "Clusters subscribed to STABLE receive versions that are known to be\nstable and reliable in production."
+ ],
+ "type": "string"
+ },
+ "defaultVersion": {
+ "description": "The default version for newly created clusters on the channel.",
+ "type": "string"
+ },
+ "validVersions": {
+ "description": "List of valid versions for the channel.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"ReservationAffinity": {
- "description": "[ReservationAffinity](/compute/docs/instances/reserving-zonal-resources) is\nthe configuration of desired reservation which instances could take\ncapacity from.",
+ "description": "[ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources)\nis the configuration of desired reservation which instances could take\ncapacity from.",
"id": "ReservationAffinity",
"properties": {
"consumeReservationType": {
@@ -4185,7 +4269,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster, node pool id) of the node poll to\nrollback upgrade.\nSpecified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.",
+ "description": "The name (project, location, cluster, node pool id) of the node poll to\nrollback upgrade.\nSpecified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"type": "string"
},
"nodePoolId": {
@@ -4197,7 +4281,7 @@
"type": "string"
},
"zone": {
- "description": "Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4226,6 +4310,13 @@
"description": "Kubernetes Engine service configuration.",
"id": "ServerConfig",
"properties": {
+ "channels": {
+ "description": "List of release channel configurations.",
+ "items": {
+ "$ref": "ReleaseChannelConfig"
+ },
+ "type": "array"
+ },
"defaultClusterVersion": {
"description": "Version of Kubernetes the service deploys by default.",
"type": "string"
@@ -4242,14 +4333,14 @@
"type": "array"
},
"validMasterVersions": {
- "description": "List of valid master versions.",
+ "description": "List of valid master versions, in descending order.",
"items": {
"type": "string"
},
"type": "array"
},
"validNodeVersions": {
- "description": "List of valid node upgrade target versions.",
+ "description": "List of valid node upgrade target versions, in descending order.",
"items": {
"type": "string"
},
@@ -4271,7 +4362,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster) of the cluster to set addons.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster) of the cluster to set addons.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -4279,7 +4370,7 @@
"type": "string"
},
"zone": {
- "description": "Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4298,7 +4389,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster id) of the cluster to set labels.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster id) of the cluster to set labels.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -4313,7 +4404,7 @@
"type": "object"
},
"zone": {
- "description": "Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4332,7 +4423,7 @@
"type": "boolean"
},
"name": {
- "description": "The name (project, location, cluster id) of the cluster to set legacy abac.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster id) of the cluster to set legacy abac.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -4340,7 +4431,7 @@
"type": "string"
},
"zone": {
- "description": "Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4355,14 +4446,14 @@
"type": "string"
},
"locations": {
- "description": "Required. The desired list of Google Compute Engine\n[zones](/compute/docs/zones#available) in which the cluster's nodes\nshould be located. Changing the locations a cluster is in will result\nin nodes being either created or removed from the cluster, depending on\nwhether locations are being added or removed.\n\nThis list must always include the cluster's primary zone.",
+ "description": "Required. The desired list of Google Compute Engine\n[zones](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster's nodes should be located. Changing the locations a cluster is in\nwill result in nodes being either created or removed from the cluster,\ndepending on whether locations are being added or removed.\n\nThis list must always include the cluster's primary zone.",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
- "description": "The name (project, location, cluster) of the cluster to set locations.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster) of the cluster to set locations.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -4370,7 +4461,7 @@
"type": "string"
},
"zone": {
- "description": "Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4389,7 +4480,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster) of the cluster to set logging.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster) of the cluster to set logging.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -4397,7 +4488,7 @@
"type": "string"
},
"zone": {
- "description": "Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4416,7 +4507,7 @@
"description": "Required. The maintenance policy to be set for the cluster. An empty field\nclears the existing maintenance policy."
},
"name": {
- "description": "The name (project, location, cluster id) of the cluster to set maintenance\npolicy.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster id) of the cluster to set maintenance\npolicy.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -4424,7 +4515,7 @@
"type": "string"
},
"zone": {
- "description": "Required. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.",
+ "description": "Required. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides.",
"type": "string"
}
},
@@ -4455,7 +4546,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster) of the cluster to set auth.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster) of the cluster to set auth.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -4467,7 +4558,7 @@
"description": "Required. A description of the update."
},
"zone": {
- "description": "Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4486,7 +4577,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster) of the cluster to set monitoring.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster) of the cluster to set monitoring.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -4494,7 +4585,7 @@
"type": "string"
},
"zone": {
- "description": "Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4509,7 +4600,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster id) of the cluster to set networking\npolicy. Specified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster id) of the cluster to set networking\npolicy. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"networkPolicy": {
@@ -4521,7 +4612,7 @@
"type": "string"
},
"zone": {
- "description": "Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4540,7 +4631,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster, node pool) of the node pool to set\nautoscaler settings. Specified in the format\n'projects/*/locations/*/clusters/*/nodePools/*'.",
+ "description": "The name (project, location, cluster, node pool) of the node pool to set\nautoscaler settings. Specified in the format\n`projects/*/locations/*/clusters/*/nodePools/*`.",
"type": "string"
},
"nodePoolId": {
@@ -4552,7 +4643,7 @@
"type": "string"
},
"zone": {
- "description": "Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4571,7 +4662,7 @@
"description": "Required. NodeManagement configuration for the node pool."
},
"name": {
- "description": "The name (project, location, cluster, node pool id) of the node pool to set\nmanagement properties. Specified in the format\n'projects/*/locations/*/clusters/*/nodePools/*'.",
+ "description": "The name (project, location, cluster, node pool id) of the node pool to set\nmanagement properties. Specified in the format\n`projects/*/locations/*/clusters/*/nodePools/*`.",
"type": "string"
},
"nodePoolId": {
@@ -4583,7 +4674,7 @@
"type": "string"
},
"zone": {
- "description": "Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4598,7 +4689,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster, node pool id) of the node pool to set\nsize.\nSpecified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.",
+ "description": "The name (project, location, cluster, node pool id) of the node pool to set\nsize.\nSpecified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"type": "string"
},
"nodeCount": {
@@ -4615,7 +4706,7 @@
"type": "string"
},
"zone": {
- "description": "Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4656,7 +4747,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster id) of the cluster to start IP\nrotation. Specified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster id) of the cluster to start IP\nrotation. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -4668,7 +4759,7 @@
"type": "boolean"
},
"zone": {
- "description": "Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4731,7 +4822,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster) of the cluster to update.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster) of the cluster to update.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -4743,7 +4834,7 @@
"description": "Required. A description of the update."
},
"zone": {
- "description": "Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4762,7 +4853,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster) of the cluster to update.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster) of the cluster to update.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -4770,7 +4861,7 @@
"type": "string"
},
"zone": {
- "description": "Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4789,14 +4880,14 @@
"type": "string"
},
"locations": {
- "description": "The desired list of Google Compute Engine\n[zones](/compute/docs/zones#available) in which the node pool's nodes\nshould be located. Changing the locations for a node pool will result\nin nodes being either created or removed from the node pool, depending\non whether locations are being added or removed.",
+ "description": "The desired list of Google Compute Engine\n[zones](https://cloud.google.com/compute/docs/zones#available) in which the\nnode pool's nodes should be located. Changing the locations for a node pool\nwill result in nodes being either created or removed from the node pool,\ndepending on whether locations are being added or removed.",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
- "description": "The name (project, location, cluster, node pool) of the node pool to\nupdate. Specified in the format\n'projects/*/locations/*/clusters/*/nodePools/*'.",
+ "description": "The name (project, location, cluster, node pool) of the node pool to\nupdate. Specified in the format\n`projects/*/locations/*/clusters/*/nodePools/*`.",
"type": "string"
},
"nodePoolId": {
@@ -4820,7 +4911,7 @@
"description": "The desired workload metadata config for the node pool."
},
"zone": {
- "description": "Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
diff --git a/etc/api/container/v1beta1/container-api.json b/etc/api/container/v1beta1/container-api.json
index e94b887d66..f2ed575763 100644
--- a/etc/api/container/v1beta1/container-api.json
+++ b/etc/api/container/v1beta1/container-api.json
@@ -137,7 +137,7 @@
"type": "string"
},
"parent": {
- "description": "Required. The parent project where subnetworks are usable.\nSpecified in the format 'projects/*'.",
+ "description": "Required. The parent project where subnetworks are usable.\nSpecified in the format `projects/*`.",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -168,7 +168,7 @@
],
"parameters": {
"name": {
- "description": "The name (project and location) of the server config to get,\nspecified in the format 'projects/*/locations/*'.",
+ "description": "The name (project and location) of the server config to get,\nspecified in the format `projects/*/locations/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
@@ -180,7 +180,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) to return operations for.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) to return\noperations for. This field has been deprecated and replaced by the name\nfield.",
"location": "query",
"type": "string"
}
@@ -203,7 +203,7 @@
],
"parameters": {
"parent": {
- "description": "Required. Contains the name of the resource requested.\nSpecified in the format 'projects/*'.",
+ "description": "Required. Contains the name of the resource requested.\nSpecified in the format `projects/*`.",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -232,7 +232,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, cluster id) of the cluster to complete IP\nrotation. Specified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster id) of the cluster to complete IP\nrotation. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -251,7 +251,7 @@
]
},
"create": {
- "description": "Creates a cluster, consisting of the specified number and type of Google\nCompute Engine instances.\n\nBy default, the cluster is created in the project's\n[default network](/compute/docs/networks-and-firewalls#networks).\n\nOne firewall is added for the cluster. After cluster creation,\nthe Kubelet creates routes for each node to allow the containers\non that node to communicate with all other instances in the\ncluster.\n\nFinally, an entry is added to the project's global metadata indicating\nwhich CIDR range the cluster is using.",
+ "description": "Creates a cluster, consisting of the specified number and type of Google\nCompute Engine instances.\n\nBy default, the cluster is created in the project's\n[default\nnetwork](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).\n\nOne firewall is added for the cluster. After cluster creation,\nthe Kubelet creates routes for each node to allow the containers\non that node to communicate with all other instances in the\ncluster.\n\nFinally, an entry is added to the project's global metadata indicating\nwhich CIDR range the cluster is using.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.create",
@@ -260,7 +260,7 @@
],
"parameters": {
"parent": {
- "description": "The parent (project and location) where the cluster will be created.\nSpecified in the format 'projects/*/locations/*'.",
+ "description": "The parent (project and location) where the cluster will be created.\nSpecified in the format `projects/*/locations/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
@@ -293,7 +293,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster) of the cluster to delete.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster) of the cluster to delete.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -305,7 +305,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "query",
"type": "string"
}
@@ -333,7 +333,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster) of the cluster to retrieve.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster) of the cluster to retrieve.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -345,7 +345,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "query",
"type": "string"
}
@@ -368,7 +368,7 @@
],
"parameters": {
"parent": {
- "description": "The cluster (project, location, cluster id) to get keys for. Specified in\nthe format 'projects/*/locations/*/clusters/*'.",
+ "description": "The cluster (project, location, cluster id) to get keys for. Specified in\nthe format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -390,7 +390,7 @@
],
"parameters": {
"parent": {
- "description": "The parent (project and location) where the clusters will be listed.\nSpecified in the format 'projects/*/locations/*'.\nLocation \"-\" matches all zones and all regions.",
+ "description": "The parent (project and location) where the clusters will be listed.\nSpecified in the format `projects/*/locations/*`.\nLocation \"-\" matches all zones and all regions.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
@@ -402,7 +402,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides, or \"-\" for all zones.\nThis field has been deprecated and replaced by the parent field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides, or \"-\" for all zones. This field has been deprecated and\nreplaced by the parent field.",
"location": "query",
"type": "string"
}
@@ -425,7 +425,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, cluster) of the cluster to set addons.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster) of the cluster to set addons.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -453,7 +453,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, cluster id) of the cluster to set legacy abac.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster id) of the cluster to set legacy abac.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -472,7 +472,7 @@
]
},
"setLocations": {
- "description": "Sets the locations for a specific cluster.\nDeprecated. Use\n[projects.locations.clusters.update](/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update)\ninstead.",
+ "description": "Sets the locations for a specific cluster.\nDeprecated. Use\n[projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update)\ninstead.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLocations",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.setLocations",
@@ -481,7 +481,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, cluster) of the cluster to set locations.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster) of the cluster to set locations.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -509,7 +509,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, cluster) of the cluster to set logging.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster) of the cluster to set logging.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -537,7 +537,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, cluster id) of the cluster to set maintenance\npolicy.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster id) of the cluster to set maintenance\npolicy.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -565,7 +565,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, cluster) of the cluster to set auth.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster) of the cluster to set auth.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -593,7 +593,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, cluster) of the cluster to set monitoring.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster) of the cluster to set monitoring.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -621,7 +621,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, cluster id) of the cluster to set networking\npolicy. Specified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster id) of the cluster to set networking\npolicy. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -649,7 +649,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, cluster id) of the cluster to set labels.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster id) of the cluster to set labels.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -677,7 +677,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, cluster id) of the cluster to start IP\nrotation. Specified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster id) of the cluster to start IP\nrotation. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -705,7 +705,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, cluster) of the cluster to update.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster) of the cluster to update.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -733,7 +733,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, cluster) of the cluster to update.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster) of the cluster to update.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -765,7 +765,7 @@
],
"parameters": {
"parent": {
- "description": "The parent (project, location, cluster id) where the node pool will be\ncreated. Specified in the format\n'projects/*/locations/*/clusters/*'.",
+ "description": "The parent (project, location, cluster id) where the node pool will be\ncreated. Specified in the format\n`projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -798,7 +798,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster, node pool id) of the node pool to\ndelete. Specified in the format\n'projects/*/locations/*/clusters/*/nodePools/*'.",
+ "description": "The name (project, location, cluster, node pool id) of the node pool to\ndelete. Specified in the format\n`projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
@@ -815,7 +815,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "query",
"type": "string"
}
@@ -843,7 +843,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster, node pool id) of the node pool to\nget. Specified in the format\n'projects/*/locations/*/clusters/*/nodePools/*'.",
+ "description": "The name (project, location, cluster, node pool id) of the node pool to\nget. Specified in the format\n`projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
@@ -860,7 +860,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "query",
"type": "string"
}
@@ -888,7 +888,7 @@
"type": "string"
},
"parent": {
- "description": "The parent (project, location, cluster id) where the node pools will be\nlisted. Specified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The parent (project, location, cluster id) where the node pools will be\nlisted. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -900,7 +900,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the parent field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the parent\nfield.",
"location": "query",
"type": "string"
}
@@ -923,7 +923,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, cluster, node pool id) of the node poll to\nrollback upgrade.\nSpecified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.",
+ "description": "The name (project, location, cluster, node pool id) of the node poll to\nrollback upgrade.\nSpecified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
@@ -951,7 +951,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, cluster, node pool) of the node pool to set\nautoscaler settings. Specified in the format\n'projects/*/locations/*/clusters/*/nodePools/*'.",
+ "description": "The name (project, location, cluster, node pool) of the node pool to set\nautoscaler settings. Specified in the format\n`projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
@@ -979,7 +979,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, cluster, node pool id) of the node pool to set\nmanagement properties. Specified in the format\n'projects/*/locations/*/clusters/*/nodePools/*'.",
+ "description": "The name (project, location, cluster, node pool id) of the node pool to set\nmanagement properties. Specified in the format\n`projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
@@ -1007,7 +1007,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, cluster, node pool id) of the node pool to set\nsize.\nSpecified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.",
+ "description": "The name (project, location, cluster, node pool id) of the node pool to set\nsize.\nSpecified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
@@ -1035,7 +1035,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, cluster, node pool) of the node pool to\nupdate. Specified in the format\n'projects/*/locations/*/clusters/*/nodePools/*'.",
+ "description": "The name (project, location, cluster, node pool) of the node pool to\nupdate. Specified in the format\n`projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
@@ -1067,7 +1067,7 @@
],
"parameters": {
"parent": {
- "description": "The cluster (project, location, cluster id) to get the discovery document\nfor. Specified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The cluster (project, location, cluster id) to get the discovery document\nfor. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -1095,7 +1095,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, operation id) of the operation to cancel.\nSpecified in the format 'projects/*/locations/*/operations/*'.",
+ "description": "The name (project, location, operation id) of the operation to cancel.\nSpecified in the format `projects/*/locations/*/operations/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
"required": true,
@@ -1123,7 +1123,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, operation id) of the operation to get.\nSpecified in the format 'projects/*/locations/*/operations/*'.",
+ "description": "The name (project, location, operation id) of the operation to get.\nSpecified in the format `projects/*/locations/*/operations/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
"required": true,
@@ -1140,7 +1140,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "query",
"type": "string"
}
@@ -1163,7 +1163,7 @@
],
"parameters": {
"parent": {
- "description": "The parent (project and location) where the operations will be listed.\nSpecified in the format 'projects/*/locations/*'.\nLocation \"-\" matches all zones and all regions.",
+ "description": "The parent (project and location) where the operations will be listed.\nSpecified in the format `projects/*/locations/*`.\nLocation \"-\" matches all zones and all regions.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
@@ -1175,7 +1175,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) to return operations for, or `-` for\nall zones. This field has been deprecated and replaced by the parent field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) to return\noperations for, or `-` for all zones. This field has been deprecated and\nreplaced by the parent field.",
"location": "query",
"type": "string"
}
@@ -1205,7 +1205,7 @@
],
"parameters": {
"name": {
- "description": "The name (project and location) of the server config to get,\nspecified in the format 'projects/*/locations/*'.",
+ "description": "The name (project and location) of the server config to get,\nspecified in the format `projects/*/locations/*`.",
"location": "query",
"type": "string"
},
@@ -1216,7 +1216,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) to return operations for.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) to return\noperations for. This field has been deprecated and replaced by the name\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -1258,7 +1258,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -1299,7 +1299,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -1317,7 +1317,7 @@
]
},
"create": {
- "description": "Creates a cluster, consisting of the specified number and type of Google\nCompute Engine instances.\n\nBy default, the cluster is created in the project's\n[default network](/compute/docs/networks-and-firewalls#networks).\n\nOne firewall is added for the cluster. After cluster creation,\nthe Kubelet creates routes for each node to allow the containers\non that node to communicate with all other instances in the\ncluster.\n\nFinally, an entry is added to the project's global metadata indicating\nwhich CIDR range the cluster is using.",
+ "description": "Creates a cluster, consisting of the specified number and type of Google\nCompute Engine instances.\n\nBy default, the cluster is created in the project's\n[default\nnetwork](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).\n\nOne firewall is added for the cluster. After cluster creation,\nthe Kubelet creates routes for each node to allow the containers\non that node to communicate with all other instances in the\ncluster.\n\nFinally, an entry is added to the project's global metadata indicating\nwhich CIDR range the cluster is using.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.create",
@@ -1333,7 +1333,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the parent field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the parent\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -1368,7 +1368,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster) of the cluster to delete.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster) of the cluster to delete.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"location": "query",
"type": "string"
},
@@ -1379,7 +1379,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -1411,7 +1411,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster) of the cluster to retrieve.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster) of the cluster to retrieve.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"location": "query",
"type": "string"
},
@@ -1422,7 +1422,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -1460,7 +1460,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -1488,7 +1488,7 @@
],
"parameters": {
"parent": {
- "description": "The parent (project and location) where the clusters will be listed.\nSpecified in the format 'projects/*/locations/*'.\nLocation \"-\" matches all zones and all regions.",
+ "description": "The parent (project and location) where the clusters will be listed.\nSpecified in the format `projects/*/locations/*`.\nLocation \"-\" matches all zones and all regions.",
"location": "query",
"type": "string"
},
@@ -1499,7 +1499,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides, or \"-\" for all zones.\nThis field has been deprecated and replaced by the parent field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides, or \"-\" for all zones. This field has been deprecated and\nreplaced by the parent field.",
"location": "path",
"required": true,
"type": "string"
@@ -1514,7 +1514,7 @@
]
},
"locations": {
- "description": "Sets the locations for a specific cluster.\nDeprecated. Use\n[projects.locations.clusters.update](/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update)\ninstead.",
+ "description": "Sets the locations for a specific cluster.\nDeprecated. Use\n[projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update)\ninstead.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.locations",
@@ -1537,7 +1537,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -1578,7 +1578,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -1619,7 +1619,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -1660,7 +1660,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -1701,7 +1701,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -1742,7 +1742,7 @@
"type": "string"
},
"zone": {
- "description": "Required. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.",
+ "description": "Required. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides.",
"location": "path",
"required": true,
"type": "string"
@@ -1783,7 +1783,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -1824,7 +1824,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -1865,7 +1865,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -1906,7 +1906,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -1958,7 +1958,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -1999,7 +1999,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the parent field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the parent\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -2035,7 +2035,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster, node pool id) of the node pool to\ndelete. Specified in the format\n'projects/*/locations/*/clusters/*/nodePools/*'.",
+ "description": "The name (project, location, cluster, node pool id) of the node pool to\ndelete. Specified in the format\n`projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "query",
"type": "string"
},
@@ -2052,7 +2052,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -2085,7 +2085,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster, node pool id) of the node pool to\nget. Specified in the format\n'projects/*/locations/*/clusters/*/nodePools/*'.",
+ "description": "The name (project, location, cluster, node pool id) of the node pool to\nget. Specified in the format\n`projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "query",
"type": "string"
},
@@ -2102,7 +2102,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -2134,7 +2134,7 @@
"type": "string"
},
"parent": {
- "description": "The parent (project, location, cluster id) where the node pools will be\nlisted. Specified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The parent (project, location, cluster id) where the node pools will be\nlisted. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "query",
"type": "string"
},
@@ -2145,7 +2145,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the parent field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the parent\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -2190,7 +2190,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -2238,7 +2238,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -2286,7 +2286,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -2334,7 +2334,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -2381,7 +2381,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the operation resides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\noperation resides. This field has been deprecated and replaced by the name\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -2410,7 +2410,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, operation id) of the operation to get.\nSpecified in the format 'projects/*/locations/*/operations/*'.",
+ "description": "The name (project, location, operation id) of the operation to get.\nSpecified in the format `projects/*/locations/*/operations/*`.",
"location": "query",
"type": "string"
},
@@ -2427,7 +2427,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"location": "path",
"required": true,
"type": "string"
@@ -2452,7 +2452,7 @@
],
"parameters": {
"parent": {
- "description": "The parent (project and location) where the operations will be listed.\nSpecified in the format 'projects/*/locations/*'.\nLocation \"-\" matches all zones and all regions.",
+ "description": "The parent (project and location) where the operations will be listed.\nSpecified in the format `projects/*/locations/*`.\nLocation \"-\" matches all zones and all regions.",
"location": "query",
"type": "string"
},
@@ -2463,7 +2463,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) to return operations for, or `-` for\nall zones. This field has been deprecated and replaced by the parent field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) to return\noperations for, or `-` for all zones. This field has been deprecated and\nreplaced by the parent field.",
"location": "path",
"required": true,
"type": "string"
@@ -2484,7 +2484,7 @@
}
}
},
- "revision": "20200324",
+ "revision": "20200619",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
@@ -2497,7 +2497,7 @@
"type": "string"
},
"acceleratorType": {
- "description": "The accelerator type resource name. List of supported accelerators\n[here](/compute/docs/gpus)",
+ "description": "The accelerator type resource name. List of supported accelerators\n[here](https://cloud.google.com/compute/docs/gpus)",
"type": "string"
}
},
@@ -2511,13 +2511,17 @@
"$ref": "CloudRunConfig",
"description": "Configuration for the Cloud Run addon. The `IstioConfig` addon must be\nenabled in order to enable Cloud Run addon. This option can only be enabled\nat cluster creation time."
},
+ "configConnectorConfig": {
+ "$ref": "ConfigConnectorConfig",
+ "description": "Configuration for the ConfigConnector add-on, a Kubernetes\nextension to manage hosted GCP services through the Kubernetes API"
+ },
"dnsCacheConfig": {
"$ref": "DnsCacheConfig",
"description": "Configuration for NodeLocalDNS, a dns cache running on cluster nodes"
},
"gcePersistentDiskCsiDriverConfig": {
"$ref": "GcePersistentDiskCsiDriverConfig",
- "description": "Configuration for the GCP Compute Persistent Disk CSI driver."
+ "description": "Configuration for the Compute Engine Persistent Disk CSI driver."
},
"horizontalPodAutoscaling": {
"$ref": "HorizontalPodAutoscaling",
@@ -2582,32 +2586,32 @@
"properties": {
"management": {
"$ref": "NodeManagement",
- "description": "Specifies the node management options for NAP created node-pools."
+ "description": "NodeManagement configuration for this NodePool."
},
"minCpuPlatform": {
- "description": "Minimum CPU platform to be used for NAP created node pools.\nThe instance may be scheduled on the specified or newer CPU platform.\nApplicable values are the friendly names of CPU platforms, such as\nminCpuPlatform: "Intel Haswell" or\nminCpuPlatform: "Intel Sandy Bridge". For more\ninformation, read [how to specify min CPU\nplatform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)\nTo unset the min cpu platform field pass \"automatic\" as field value.",
+ "description": "Minimum CPU platform to be used by this instance. The instance may be\nscheduled on the specified or newer CPU platform. Applicable values are the\nfriendly names of CPU platforms, such as\nminCpuPlatform: "Intel Haswell" or\nminCpuPlatform: "Intel Sandy Bridge". For more\ninformation, read [how to specify min CPU\nplatform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)\nTo unset the min cpu platform field pass \"automatic\"\nas field value.",
"type": "string"
},
"oauthScopes": {
- "description": "Scopes that are used by NAP when creating node pools. If oauth_scopes are\nspecified, service_account should be empty.",
+ "description": "The set of Google API scopes to be made available on all of the\nnode VMs under the \"default\" service account.\n\nThe following scopes are recommended, but not required, and by default are\nnot included:\n\n* `https://www.googleapis.com/auth/compute` is required for mounting\npersistent storage on your nodes.\n* `https://www.googleapis.com/auth/devstorage.read_only` is required for\ncommunicating with **gcr.io**\n(the [Google Container\nRegistry](https://cloud.google.com/container-registry/)).\n\nIf unspecified, no scopes are added, unless Cloud Logging or Cloud\nMonitoring are enabled, in which case their required scopes will be added.",
"items": {
"type": "string"
},
"type": "array"
},
"serviceAccount": {
- "description": "The Google Cloud Platform Service Account to be used by the node VMs. If\nservice_account is specified, scopes should be empty.",
+ "description": "The Google Cloud Platform Service Account to be used by the node VMs.\nSpecify the email address of the Service Account; otherwise, if no Service\nAccount is specified, the \"default\" service account is used.",
"type": "string"
},
"upgradeSettings": {
"$ref": "UpgradeSettings",
- "description": "Specifies the upgrade settings for NAP created node pools"
+ "description": "Upgrade settings control disruption and speed of the upgrade."
}
},
"type": "object"
},
"AvailableVersion": {
- "description": "AvailableVersion is an additional Kubernetes versions offered\nto users who subscribed to the release channel.",
+ "description": "Deprecated.",
"id": "AvailableVersion",
"properties": {
"reason": {
@@ -2648,7 +2652,7 @@
"id": "CancelOperationRequest",
"properties": {
"name": {
- "description": "The name (project, location, operation id) of the operation to cancel.\nSpecified in the format 'projects/*/locations/*/operations/*'.",
+ "description": "The name (project, location, operation id) of the operation to cancel.\nSpecified in the format `projects/*/locations/*/operations/*`.",
"type": "string"
},
"operationId": {
@@ -2660,7 +2664,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the operation resides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\noperation resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -2752,7 +2756,7 @@
"type": "integer"
},
"currentNodeVersion": {
- "description": "[Output only] Deprecated, use\n[NodePool.version](/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools)\ninstead. The current version of the node software components.\nIf they are currently at multiple versions because they're in the process\nof being upgraded, this reflects the minimum version of all nodes.",
+ "description": "[Output only] Deprecated, use\n[NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools)\ninstead. The current version of the node software components.\nIf they are currently at multiple versions because they're in the process\nof being upgraded, this reflects the minimum version of all nodes.",
"type": "string"
},
"databaseEncryption": {
@@ -2788,7 +2792,7 @@
"type": "string"
},
"initialNodeCount": {
- "description": "The number of nodes to create in this cluster. You must ensure that your\nCompute Engine resource quota\nis sufficient for this number of instances. You must also have available\nfirewall and routes quota.\nFor requests, this field should only be used in lieu of a\n\"node_pool\" object, since this configuration (along with the\n\"node_config\") will be used to create a \"NodePool\" object with an\nauto-generated name. Do not use this and a node_pool at the same time.\n\nThis field is deprecated, use node_pool.initial_node_count instead.",
+ "description": "The number of nodes to create in this cluster. You must ensure that your\nCompute Engine [resource quota](https://cloud.google.com/compute/quotas)\nis sufficient for this number of instances. You must also have available\nfirewall and routes quota.\nFor requests, this field should only be used in lieu of a\n\"node_pool\" object, since this configuration (along with the\n\"node_config\") will be used to create a \"NodePool\" object with an\nauto-generated name. Do not use this and a node_pool at the same time.\n\nThis field is deprecated, use node_pool.initial_node_count instead.",
"format": "int32",
"type": "integer"
},
@@ -2812,11 +2816,11 @@
"description": "Configuration for the legacy ABAC authorization mode."
},
"location": {
- "description": "[Output only] The name of the Google Compute Engine\n[zone](/compute/docs/regions-zones/regions-zones#available) or\n[region](/compute/docs/regions-zones/regions-zones#available) in which\nthe cluster resides.",
+ "description": "[Output only] The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)\nor\n[region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)\nin which the cluster resides.",
"type": "string"
},
"locations": {
- "description": "The list of Google Compute Engine\n[zones](/compute/docs/zones#available) in which the cluster's nodes\nshould be located.",
+ "description": "The list of Google Compute Engine\n[zones](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster's nodes should be located.",
"items": {
"type": "string"
},
@@ -2830,6 +2834,10 @@
"$ref": "MaintenancePolicy",
"description": "Configure the maintenance policy for this cluster."
},
+ "master": {
+ "$ref": "Master",
+ "description": "Configuration for master components."
+ },
"masterAuth": {
"$ref": "MasterAuth",
"description": "The authentication information for accessing the master endpoint.\nIf unspecified, the defaults are used:\nFor clusters before v1.12, if master_auth is unspecified, `username` will\nbe set to \"admin\", a random password will be generated, and a client\ncertificate will be issued."
@@ -2851,7 +2859,7 @@
"type": "string"
},
"network": {
- "description": "The name of the Google Compute Engine\n[network](/compute/docs/networks-and-firewalls#networks) to which the\ncluster is connected. If left unspecified, the `default` network\nwill be used. On output this shows the network ID instead of\nthe name.",
+ "description": "The name of the Google Compute Engine\n[network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)\nto which the cluster is connected. If left unspecified, the `default`\nnetwork will be used. On output this shows the network ID instead of the\nname.",
"type": "string"
},
"networkConfig": {
@@ -2944,7 +2952,7 @@
"type": "string"
},
"subnetwork": {
- "description": "The name of the Google Compute Engine\n[subnetwork](/compute/docs/subnetworks) to which the\ncluster is connected. On output this shows the subnetwork ID instead of\nthe name.",
+ "description": "The name of the Google Compute Engine\n[subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which\nthe cluster is connected. On output this shows the subnetwork ID instead of\nthe name.",
"type": "string"
},
"tpuConfig": {
@@ -2964,7 +2972,7 @@
"description": "Configuration for the use of Kubernetes Service Accounts in GCP IAM\npolicies."
},
"zone": {
- "description": "[Output only] The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field is deprecated, use location instead.",
+ "description": "[Output only] The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field is deprecated, use location instead.",
"type": "string"
}
},
@@ -2975,7 +2983,7 @@
"id": "ClusterAutoscaling",
"properties": {
"autoprovisioningLocations": {
- "description": "The list of Google Compute Engine [zones](/compute/docs/zones#available)\nin which the NodePool's nodes can be created by NAP.",
+ "description": "The list of Google Compute Engine\n[zones](https://cloud.google.com/compute/docs/zones#available) in which the\nNodePool's nodes can be created by NAP.",
"items": {
"type": "string"
},
@@ -3060,6 +3068,10 @@
"$ref": "DatabaseEncryption",
"description": "Configuration of etcd encryption."
},
+ "desiredDefaultSnatStatus": {
+ "$ref": "DefaultSnatStatus",
+ "description": "The desired status of whether to disable default sNAT for this cluster."
+ },
"desiredImageType": {
"description": "The desired image type for the node pool.\nNOTE: Set the \"desired_node_pool\" field as well.",
"type": "string"
@@ -3069,7 +3081,7 @@
"description": "The desired config of Intra-node visibility."
},
"desiredLocations": {
- "description": "The desired list of Google Compute Engine\n[zones](/compute/docs/zones#available) in which the cluster's nodes\nshould be located. Changing the locations a cluster is in will result\nin nodes being either created or removed from the cluster, depending on\nwhether locations are being added or removed.\n\nThis list must always include the cluster's primary zone.",
+ "description": "The desired list of Google Compute Engine\n[zones](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster's nodes should be located. Changing the locations a cluster is in\nwill result in nodes being either created or removed from the cluster,\ndepending on whether locations are being added or removed.\n\nThis list must always include the cluster's primary zone.",
"items": {
"type": "string"
},
@@ -3079,6 +3091,10 @@
"description": "The logging service the cluster should use to write logs.\nCurrently available options:\n\n* `logging.googleapis.com/kubernetes` - The Cloud Logging\nservice with a Kubernetes-native resource model\n* `logging.googleapis.com` - The legacy Cloud Logging service (no longer\n available as of GKE 1.15).\n* `none` - no logs will be exported from the cluster.\n\nIf left as an empty string,`logging.googleapis.com/kubernetes` will be\nused for GKE 1.14+ or `logging.googleapis.com` for earlier versions.",
"type": "string"
},
+ "desiredMaster": {
+ "$ref": "Master",
+ "description": "Configuration for master components."
+ },
"desiredMasterAuthorizedNetworksConfig": {
"$ref": "MasterAuthorizedNetworksConfig",
"description": "The desired configuration options for master authorized networks feature."
@@ -3147,7 +3163,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster id) of the cluster to complete IP\nrotation. Specified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster id) of the cluster to complete IP\nrotation. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -3155,12 +3171,23 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
"type": "object"
},
+ "ConfigConnectorConfig": {
+ "description": "Configuration options for the Config Connector add-on.",
+ "id": "ConfigConnectorConfig",
+ "properties": {
+ "enabled": {
+ "description": "Whether Cloud Connector is enabled for this cluster.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
"ConsumptionMeteringConfig": {
"description": "Parameters for controlling consumption metering.",
"id": "ConsumptionMeteringConfig",
@@ -3178,10 +3205,10 @@
"properties": {
"cluster": {
"$ref": "Cluster",
- "description": "Required. A [cluster\nresource](/container-engine/reference/rest/v1beta1/projects.zones.clusters)"
+ "description": "Required. A [cluster\nresource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)"
},
"parent": {
- "description": "The parent (project and location) where the cluster will be created.\nSpecified in the format 'projects/*/locations/*'.",
+ "description": "The parent (project and location) where the cluster will be created.\nSpecified in the format `projects/*/locations/*`.",
"type": "string"
},
"projectId": {
@@ -3189,7 +3216,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the parent field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the parent\nfield.",
"type": "string"
}
},
@@ -3208,7 +3235,7 @@
"description": "Required. The node pool to create."
},
"parent": {
- "description": "The parent (project, location, cluster id) where the node pool will be\ncreated. Specified in the format\n'projects/*/locations/*/clusters/*'.",
+ "description": "The parent (project, location, cluster id) where the node pool will be\ncreated. Specified in the format\n`projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -3216,7 +3243,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the parent field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the parent\nfield.",
"type": "string"
}
},
@@ -3262,6 +3289,17 @@
},
"type": "object"
},
+ "DefaultSnatStatus": {
+ "description": "DefaultSnatStatus contains the desired state of whether default sNAT should\nbe disabled on the cluster.",
+ "id": "DefaultSnatStatus",
+ "properties": {
+ "disabled": {
+ "description": "Disables cluster default sNAT rules.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
"DnsCacheConfig": {
"description": "Configuration for NodeLocal DNSCache",
"id": "DnsCacheConfig",
@@ -3457,7 +3495,11 @@
"type": "string"
},
"useIpAliases": {
- "description": "Whether alias IPs will be used for pod IPs in the cluster.",
+ "description": "Whether alias IPs will be used for pod IPs in the cluster.\nThis is used in conjunction with use_routes. It cannot\nbe true if use_routes is true. If both use_ip_aliases and use_routes are\nfalse, then the server picks the default IP allocation mode",
+ "type": "boolean"
+ },
+ "useRoutes": {
+ "description": "Whether routes will be used for pod IPs in the cluster.\nThis is used in conjunction with use_ip_aliases. It cannot be true if\nuse_ip_aliases is true. If both use_ip_aliases and use_routes are false,\nthen the server picks the default IP allocation mode",
"type": "boolean"
}
},
@@ -3573,6 +3615,20 @@
},
"type": "object"
},
+ "LinuxNodeConfig": {
+ "description": "Parameters that can be configured on Linux nodes.",
+ "id": "LinuxNodeConfig",
+ "properties": {
+ "sysctls": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The Linux kernel parameters to be applied to the nodes and all pods running\non the nodes.\n\nThe following parameters are supported.\n\nnet.core.netdev_max_backlog\nnet.core.rmem_max\nnet.core.wmem_default\nnet.core.wmem_max\nnet.core.optmem_max\nnet.core.somaxconn\nnet.ipv4.tcp_rmem\nnet.ipv4.tcp_wmem\nnet.ipv4.tcp_tw_reuse",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
"ListClustersResponse": {
"description": "ListClustersResponse is the result of ListClustersRequest.",
"id": "ListClustersResponse",
@@ -3670,7 +3726,7 @@
"id": "Location",
"properties": {
"name": {
- "description": "Contains the name of the resource requested.\nSpecified in the format 'projects/*/locations/*'.",
+ "description": "Contains the name of the resource requested.\nSpecified in the format `projects/*/locations/*`.",
"type": "string"
},
"recommended": {
@@ -3731,6 +3787,12 @@
},
"type": "object"
},
+ "Master": {
+ "description": "Master is the configuration for components on master.",
+ "id": "Master",
+ "properties": {},
+ "type": "object"
+ },
"MasterAuth": {
"description": "The authentication information for accessing the master endpoint.\nAuthentication can be done using HTTP basic auth or using client\ncertificates.",
"id": "MasterAuth",
@@ -3820,16 +3882,20 @@
"description": "NetworkConfig reports the relative names of network & subnetwork.",
"id": "NetworkConfig",
"properties": {
+ "defaultSnatStatus": {
+ "$ref": "DefaultSnatStatus",
+ "description": "Whether the cluster disables default in-node sNAT rules. In-node sNAT rules\nwill be disabled when default_snat_status is disabled. When disabled is set\nto false, default IP masquerade rules will be applied to the nodes to\nprevent sNAT on cluster internal traffic."
+ },
"enableIntraNodeVisibility": {
"description": "Whether Intra-node visibility is enabled for this cluster.\nThis makes same node pod to pod traffic visible for VPC network.",
"type": "boolean"
},
"network": {
- "description": "Output only. The relative name of the Google Compute Engine\nnetwork(/compute/docs/networks-and-firewalls#networks) to which\nthe cluster is connected.\nExample: projects/my-project/global/networks/my-network",
+ "description": "Output only. The relative name of the Google Compute Engine\nnetwork(https://cloud.google.com/compute/docs/networks-and-firewalls#networks)\nto which the cluster is connected. Example:\nprojects/my-project/global/networks/my-network",
"type": "string"
},
"subnetwork": {
- "description": "Output only. The relative name of the Google Compute Engine\n[subnetwork](/compute/docs/vpc) to which the cluster is connected.\nExample: projects/my-project/regions/us-central1/subnetworks/my-subnet",
+ "description": "Output only. The relative name of the Google Compute Engine\n[subnetwork](https://cloud.google.com/compute/docs/vpc) to which the\ncluster is connected. Example:\nprojects/my-project/regions/us-central1/subnetworks/my-subnet",
"type": "string"
}
},
@@ -3897,6 +3963,10 @@
"description": "The image type to use for this node. Note that for a given image type,\nthe latest version of it will be used.",
"type": "string"
},
+ "kubeletConfig": {
+ "$ref": "NodeKubeletConfig",
+ "description": "Node kubelet configs."
+ },
"labels": {
"additionalProperties": {
"type": "string"
@@ -3904,13 +3974,17 @@
"description": "The map of Kubernetes labels (key/value pairs) to be applied to each node.\nThese will added in addition to any default label(s) that\nKubernetes may apply to the node.\nIn case of conflict in label keys, the applied set may differ depending on\nthe Kubernetes version -- it's best to assume the behavior is undefined\nand conflicts should be avoided.\nFor more information, including usage and the valid values, see:\nhttps://kubernetes.io/docs/concepts/overview/working-with-objects/labels/",
"type": "object"
},
+ "linuxNodeConfig": {
+ "$ref": "LinuxNodeConfig",
+ "description": "Parameters that can be configured on Linux nodes."
+ },
"localSsdCount": {
"description": "The number of local SSD disks to be attached to the node.\n\nThe limit for this value is dependent upon the maximum number of\ndisks available on a machine per zone. See:\nhttps://cloud.google.com/compute/docs/disks/local-ssd\nfor more information.",
"format": "int32",
"type": "integer"
},
"machineType": {
- "description": "The name of a Google Compute Engine [machine\ntype](/compute/docs/machine-types) (e.g.\n`n1-standard-1`).\n\nIf unspecified, the default machine type is\n`n1-standard-1`.",
+ "description": "The name of a Google Compute Engine [machine\ntype](https://cloud.google.com/compute/docs/machine-types) (e.g.\n`n1-standard-1`).\n\nIf unspecified, the default machine type is\n`n1-standard-1`.",
"type": "string"
},
"metadata": {
@@ -3925,7 +3999,7 @@
"type": "string"
},
"oauthScopes": {
- "description": "The set of Google API scopes to be made available on all of the\nnode VMs under the \"default\" service account.\n\nThe following scopes are recommended, but not required, and by default are\nnot included:\n\n* `https://www.googleapis.com/auth/compute` is required for mounting\npersistent storage on your nodes.\n* `https://www.googleapis.com/auth/devstorage.read_only` is required for\ncommunicating with **gcr.io**\n(the [Google Container Registry](/container-registry/)).\n\nIf unspecified, no scopes are added, unless Cloud Logging or Cloud\nMonitoring are enabled, in which case their required scopes will be added.",
+ "description": "The set of Google API scopes to be made available on all of the\nnode VMs under the \"default\" service account.\n\nThe following scopes are recommended, but not required, and by default are\nnot included:\n\n* `https://www.googleapis.com/auth/compute` is required for mounting\npersistent storage on your nodes.\n* `https://www.googleapis.com/auth/devstorage.read_only` is required for\ncommunicating with **gcr.io**\n(the [Google Container\nRegistry](https://cloud.google.com/container-registry/)).\n\nIf unspecified, no scopes are added, unless Cloud Logging or Cloud\nMonitoring are enabled, in which case their required scopes will be added.",
"items": {
"type": "string"
},
@@ -3937,7 +4011,7 @@
},
"reservationAffinity": {
"$ref": "ReservationAffinity",
- "description": "The optional reservation affinity. Setting this field will apply\nthe specified [Zonal Compute\nReservation](/compute/docs/instances/reserving-zonal-resources)\nto this node pool."
+ "description": "The optional reservation affinity. Setting this field will apply\nthe specified [Zonal Compute\nReservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources)\nto this node pool."
},
"sandboxConfig": {
"$ref": "SandboxConfig",
@@ -3972,6 +4046,25 @@
},
"type": "object"
},
+ "NodeKubeletConfig": {
+ "description": "Node kubelet configs.",
+ "id": "NodeKubeletConfig",
+ "properties": {
+ "cpuCfsQuota": {
+ "description": "Enable CPU CFS quota enforcement for containers that specify CPU limits.\n\nIf this option is enabled, kubelet uses CFS quota\n(https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to\nenforce container CPU limits. Otherwise, CPU limits will not be enforced at\nall.\n\nDisable this option to mitigate CPU throttling problems while still having\nyour pods to be in Guaranteed QoS class by specifying the CPU limits.\n\nThe default value is 'true' if unspecified.",
+ "type": "boolean"
+ },
+ "cpuCfsQuotaPeriod": {
+ "description": "Set the CPU CFS quota period value 'cpu.cfs_period_us'.\n\nThe string must be a sequence of decimal numbers, each with optional\nfraction and a unit suffix, such as \"300ms\".\nValid time units are \"ns\", \"us\" (or \"\u00b5s\"), \"ms\", \"s\", \"m\", \"h\".\nThe value must be a positive duration.",
+ "type": "string"
+ },
+ "cpuManagerPolicy": {
+ "description": "Control the CPU management policy on the node.\nSee\nhttps://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/\n\nThe following values are allowed.\n - \"none\": the default, which represents the existing scheduling behavior.\n - \"static\": allows pods with certain resource characteristics to be\n granted increased CPU affinity and exclusivity on the node.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"NodeManagement": {
"description": "NodeManagement defines the set of node management services turned on for the\nnode pool.",
"id": "NodeManagement",
@@ -4011,19 +4104,19 @@
"description": "The node configuration of the pool."
},
"initialNodeCount": {
- "description": "The initial node count for the pool. You must ensure that your\nCompute Engine resource quota\nis sufficient for this number of instances. You must also have available\nfirewall and routes quota.",
+ "description": "The initial node count for the pool. You must ensure that your\nCompute Engine [resource quota](https://cloud.google.com/compute/quotas)\nis sufficient for this number of instances. You must also have available\nfirewall and routes quota.",
"format": "int32",
"type": "integer"
},
"instanceGroupUrls": {
- "description": "[Output only] The resource URLs of the [managed instance\ngroups](/compute/docs/instance-groups/creating-groups-of-managed-instances)\nassociated with this node pool.",
+ "description": "[Output only] The resource URLs of the [managed instance\ngroups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)\nassociated with this node pool.",
"items": {
"type": "string"
},
"type": "array"
},
"locations": {
- "description": "The list of Google Compute Engine [zones](/compute/docs/zones#available)\nin which the NodePool's nodes should be located.",
+ "description": "The list of Google Compute Engine\n[zones](https://cloud.google.com/compute/docs/zones#available) in which the\nNodePool's nodes should be located.",
"items": {
"type": "string"
},
@@ -4113,7 +4206,7 @@
"type": "object"
},
"NodeTaint": {
- "description": "Kubernetes taint is comprised of three fields: key, value, and effect. Effect\ncan only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.\n\nFor more information, including usage and the valid values, see:\nhttps://kubernetes.io/docs/concepts/configuration/taint-and-toleration/",
+ "description": "Kubernetes taint is comprised of three fields: key, value, and effect. Effect\ncan only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.\n\nSee\n[here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)\nfor more information, including usage and the valid values.",
"id": "NodeTaint",
"properties": {
"effect": {
@@ -4163,7 +4256,7 @@
"type": "string"
},
"location": {
- "description": "[Output only] The name of the Google Compute Engine\n[zone](/compute/docs/regions-zones/regions-zones#available) or\n[region](/compute/docs/regions-zones/regions-zones#available) in which\nthe cluster resides.",
+ "description": "[Output only] The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)\nor\n[region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)\nin which the cluster resides.",
"type": "string"
},
"name": {
@@ -4258,7 +4351,7 @@
"type": "string"
},
"zone": {
- "description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the operation\nis taking place.\nThis field is deprecated, use location instead.",
+ "description": "The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\noperation is taking place. This field is deprecated, use location instead.",
"type": "string"
}
},
@@ -4330,6 +4423,10 @@
"description": "Whether nodes have internal IP addresses only. If enabled, all nodes are\ngiven only RFC 1918 private addresses and communicate with the master via\nprivate networking.",
"type": "boolean"
},
+ "masterGlobalAccessConfig": {
+ "$ref": "PrivateClusterMasterGlobalAccessConfig",
+ "description": "Controls master global access settings."
+ },
"masterIpv4CidrBlock": {
"description": "The IP range in CIDR notation to use for the hosted master network. This\nrange will be used for assigning internal IP addresses to the master or\nset of masters, as well as the ILB VIP. This range must not overlap with\nany other ranges in use within the cluster's network.",
"type": "string"
@@ -4349,6 +4446,17 @@
},
"type": "object"
},
+ "PrivateClusterMasterGlobalAccessConfig": {
+ "description": "Configuration for controlling master global access settings.",
+ "id": "PrivateClusterMasterGlobalAccessConfig",
+ "properties": {
+ "enabled": {
+ "description": "Whenever master is accessible globally or not.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
"RecurringTimeWindow": {
"description": "Represents an arbitrary window of time that recurs.",
"id": "RecurringTimeWindow",
@@ -4365,7 +4473,7 @@
"type": "object"
},
"ReleaseChannel": {
- "description": "ReleaseChannel indicates which release channel a cluster is\nsubscribed to. Release channels are arranged in order of risk and\nfrequency of updates.\n\nWhen a cluster is subscribed to a release channel, Google maintains\nboth the master version and the node version. Node auto-upgrade\ndefaults to true and cannot be disabled. Updates to version related\nfields (e.g. current_master_version) return an error.",
+ "description": "ReleaseChannel indicates which release channel a cluster is\nsubscribed to. Release channels are arranged in order of risk.\n\nWhen a cluster is subscribed to a release channel, Google maintains\nboth the master version and the node version. Node auto-upgrade\ndefaults to true and cannot be disabled.",
"id": "ReleaseChannel",
"properties": {
"channel": {
@@ -4378,9 +4486,9 @@
],
"enumDescriptions": [
"No channel specified.",
- "RAPID channel is offered on an early access basis for customers who want\nto test new releases before they are qualified for production use or\ngeneral availability. New upgrades will occur roughly weekly.\n\nWARNING: Versions available in the RAPID Channel may be subject to\nunresolved issues with no known workaround and are not for use with\nproduction workloads or subject to any SLAs.",
- "Clusters subscribed to REGULAR receive versions that are considered GA\nquality. REGULAR is intended for production users who want to take\nadvantage of new features. New upgrades will occur roughly every few\nweeks.",
- "Clusters subscribed to STABLE receive versions that are known to be\nstable and reliable in production. STABLE is intended for production\nusers who need stability above all else, or for whom frequent upgrades\nare too risky. New upgrades will occur roughly every few months."
+ "RAPID channel is offered on an early access basis for customers who want\nto test new releases.\n\nWARNING: Versions available in the RAPID Channel may be subject to\nunresolved issues with no known workaround and are not subject to any\nSLAs.",
+ "Clusters subscribed to REGULAR receive versions that are considered GA\nquality. REGULAR is intended for production users who want to take\nadvantage of new features.",
+ "Clusters subscribed to STABLE receive versions that are known to be\nstable and reliable in production."
],
"type": "string"
}
@@ -4392,7 +4500,7 @@
"id": "ReleaseChannelConfig",
"properties": {
"availableVersions": {
- "description": "List of available versions for the release channel.",
+ "description": "Deprecated.\nThis field has been deprecated and replaced with the valid_versions\nfield.",
"items": {
"$ref": "AvailableVersion"
},
@@ -4408,21 +4516,28 @@
],
"enumDescriptions": [
"No channel specified.",
- "RAPID channel is offered on an early access basis for customers who want\nto test new releases before they are qualified for production use or\ngeneral availability. New upgrades will occur roughly weekly.\n\nWARNING: Versions available in the RAPID Channel may be subject to\nunresolved issues with no known workaround and are not for use with\nproduction workloads or subject to any SLAs.",
- "Clusters subscribed to REGULAR receive versions that are considered GA\nquality. REGULAR is intended for production users who want to take\nadvantage of new features. New upgrades will occur roughly every few\nweeks.",
- "Clusters subscribed to STABLE receive versions that are known to be\nstable and reliable in production. STABLE is intended for production\nusers who need stability above all else, or for whom frequent upgrades\nare too risky. New upgrades will occur roughly every few months."
+ "RAPID channel is offered on an early access basis for customers who want\nto test new releases.\n\nWARNING: Versions available in the RAPID Channel may be subject to\nunresolved issues with no known workaround and are not subject to any\nSLAs.",
+ "Clusters subscribed to REGULAR receive versions that are considered GA\nquality. REGULAR is intended for production users who want to take\nadvantage of new features.",
+ "Clusters subscribed to STABLE receive versions that are known to be\nstable and reliable in production."
],
"type": "string"
},
"defaultVersion": {
"description": "The default version for newly created clusters on the channel.",
"type": "string"
+ },
+ "validVersions": {
+ "description": "List of valid versions for the channel.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
}
},
"type": "object"
},
"ReservationAffinity": {
- "description": "[ReservationAffinity](/compute/docs/instances/reserving-zonal-resources) is\nthe configuration of desired reservation which instances could take\ncapacity from.",
+ "description": "[ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources)\nis the configuration of desired reservation which instances could take\ncapacity from.",
"id": "ReservationAffinity",
"properties": {
"consumeReservationType": {
@@ -4504,7 +4619,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster, node pool id) of the node poll to\nrollback upgrade.\nSpecified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.",
+ "description": "The name (project, location, cluster, node pool id) of the node poll to\nrollback upgrade.\nSpecified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"type": "string"
},
"nodePoolId": {
@@ -4516,7 +4631,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4572,14 +4687,14 @@
"type": "array"
},
"validMasterVersions": {
- "description": "List of valid master versions.",
+ "description": "List of valid master versions, in descending order.",
"items": {
"type": "string"
},
"type": "array"
},
"validNodeVersions": {
- "description": "List of valid node upgrade target versions.",
+ "description": "List of valid node upgrade target versions, in descending order.",
"items": {
"type": "string"
},
@@ -4601,7 +4716,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster) of the cluster to set addons.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster) of the cluster to set addons.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -4609,7 +4724,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4628,7 +4743,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster id) of the cluster to set labels.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster id) of the cluster to set labels.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -4643,7 +4758,7 @@
"type": "object"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4662,7 +4777,7 @@
"type": "boolean"
},
"name": {
- "description": "The name (project, location, cluster id) of the cluster to set legacy abac.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster id) of the cluster to set legacy abac.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -4670,7 +4785,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4685,14 +4800,14 @@
"type": "string"
},
"locations": {
- "description": "Required. The desired list of Google Compute Engine\n[zones](/compute/docs/zones#available) in which the cluster's nodes\nshould be located. Changing the locations a cluster is in will result\nin nodes being either created or removed from the cluster, depending on\nwhether locations are being added or removed.\n\nThis list must always include the cluster's primary zone.",
+ "description": "Required. The desired list of Google Compute Engine\n[zones](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster's nodes should be located. Changing the locations a cluster is in\nwill result in nodes being either created or removed from the cluster,\ndepending on whether locations are being added or removed.\n\nThis list must always include the cluster's primary zone.",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
- "description": "The name (project, location, cluster) of the cluster to set locations.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster) of the cluster to set locations.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -4700,7 +4815,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4719,7 +4834,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster) of the cluster to set logging.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster) of the cluster to set logging.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -4727,7 +4842,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4746,7 +4861,7 @@
"description": "Required. The maintenance policy to be set for the cluster. An empty field\nclears the existing maintenance policy."
},
"name": {
- "description": "The name (project, location, cluster id) of the cluster to set maintenance\npolicy.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster id) of the cluster to set maintenance\npolicy.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -4754,7 +4869,7 @@
"type": "string"
},
"zone": {
- "description": "Required. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.",
+ "description": "Required. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides.",
"type": "string"
}
},
@@ -4785,7 +4900,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster) of the cluster to set auth.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster) of the cluster to set auth.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -4797,7 +4912,7 @@
"description": "Required. A description of the update."
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4816,7 +4931,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster) of the cluster to set monitoring.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster) of the cluster to set monitoring.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -4824,7 +4939,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4839,7 +4954,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster id) of the cluster to set networking\npolicy. Specified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster id) of the cluster to set networking\npolicy. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"networkPolicy": {
@@ -4851,7 +4966,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4870,7 +4985,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster, node pool) of the node pool to set\nautoscaler settings. Specified in the format\n'projects/*/locations/*/clusters/*/nodePools/*'.",
+ "description": "The name (project, location, cluster, node pool) of the node pool to set\nautoscaler settings. Specified in the format\n`projects/*/locations/*/clusters/*/nodePools/*`.",
"type": "string"
},
"nodePoolId": {
@@ -4882,7 +4997,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4901,7 +5016,7 @@
"description": "Required. NodeManagement configuration for the node pool."
},
"name": {
- "description": "The name (project, location, cluster, node pool id) of the node pool to set\nmanagement properties. Specified in the format\n'projects/*/locations/*/clusters/*/nodePools/*'.",
+ "description": "The name (project, location, cluster, node pool id) of the node pool to set\nmanagement properties. Specified in the format\n`projects/*/locations/*/clusters/*/nodePools/*`.",
"type": "string"
},
"nodePoolId": {
@@ -4913,7 +5028,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4928,7 +5043,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster, node pool id) of the node pool to set\nsize.\nSpecified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.",
+ "description": "The name (project, location, cluster, node pool id) of the node pool to set\nsize.\nSpecified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"type": "string"
},
"nodeCount": {
@@ -4945,7 +5060,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -4986,7 +5101,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster id) of the cluster to start IP\nrotation. Specified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster id) of the cluster to start IP\nrotation. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -4998,7 +5113,7 @@
"type": "boolean"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -5080,7 +5195,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster) of the cluster to update.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster) of the cluster to update.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -5092,7 +5207,7 @@
"description": "Required. A description of the update."
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -5111,7 +5226,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster) of the cluster to update.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
+ "description": "The name (project, location, cluster) of the cluster to update.\nSpecified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
@@ -5119,7 +5234,7 @@
"type": "string"
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
@@ -5137,15 +5252,23 @@
"description": "Required. The desired image type for the node pool.",
"type": "string"
},
+ "kubeletConfig": {
+ "$ref": "NodeKubeletConfig",
+ "description": "Node kubelet configs."
+ },
+ "linuxNodeConfig": {
+ "$ref": "LinuxNodeConfig",
+ "description": "Parameters that can be configured on Linux nodes."
+ },
"locations": {
- "description": "The desired list of Google Compute Engine\n[zones](/compute/docs/zones#available) in which the node pool's nodes\nshould be located. Changing the locations for a node pool will result\nin nodes being either created or removed from the node pool, depending\non whether locations are being added or removed.",
+ "description": "The desired list of Google Compute Engine\n[zones](https://cloud.google.com/compute/docs/zones#available) in which the\nnode pool's nodes should be located. Changing the locations for a node pool\nwill result in nodes being either created or removed from the node pool,\ndepending on whether locations are being added or removed.",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
- "description": "The name (project, location, cluster, node pool) of the node pool to\nupdate. Specified in the format\n'projects/*/locations/*/clusters/*/nodePools/*'.",
+ "description": "The name (project, location, cluster, node pool) of the node pool to\nupdate. Specified in the format\n`projects/*/locations/*/clusters/*/nodePools/*`.",
"type": "string"
},
"nodePoolId": {
@@ -5169,7 +5292,7 @@
"description": "The desired workload metadata config for the node pool."
},
"zone": {
- "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
+ "description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](https://cloud.google.com/compute/docs/zones#available) in which the\ncluster resides. This field has been deprecated and replaced by the name\nfield.",
"type": "string"
}
},
diff --git a/etc/api/containeranalysis/v1alpha1/containeranalysis-api.json b/etc/api/containeranalysis/v1alpha1/containeranalysis-api.json
index 96ed0791e9..15b371ce0d 100644
--- a/etc/api/containeranalysis/v1alpha1/containeranalysis-api.json
+++ b/etc/api/containeranalysis/v1alpha1/containeranalysis-api.json
@@ -1206,7 +1206,7 @@
}
}
},
- "revision": "20200327",
+ "revision": "20200704",
"rootUrl": "https://containeranalysis.googleapis.com/",
"schemas": {
"Artifact": {
@@ -1287,7 +1287,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
@@ -1826,7 +1826,7 @@
"properties": {
"options": {
"$ref": "GetPolicyOptions",
- "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`. This field is only used by Cloud IAM."
+ "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`."
}
},
"type": "object"
@@ -1836,7 +1836,7 @@
"id": "GetPolicyOptions",
"properties": {
"requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.",
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -2495,7 +2495,7 @@
"type": "object"
},
"Policy": {
- "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"bindings": {
@@ -2511,7 +2511,7 @@
"type": "string"
},
"version": {
- "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
diff --git a/etc/api/containeranalysis/v1beta1/containeranalysis-api.json b/etc/api/containeranalysis/v1beta1/containeranalysis-api.json
index c4c341a7dd..fc51792a4c 100644
--- a/etc/api/containeranalysis/v1beta1/containeranalysis-api.json
+++ b/etc/api/containeranalysis/v1beta1/containeranalysis-api.json
@@ -853,7 +853,7 @@
}
}
},
- "revision": "20200327",
+ "revision": "20200704",
"rootUrl": "https://containeranalysis.googleapis.com/",
"schemas": {
"AliasContext": {
@@ -905,6 +905,29 @@
},
"type": "object"
},
+ "ArtifactHashes": {
+ "description": "Defines a hash object for use in Materials and Products.",
+ "id": "ArtifactHashes",
+ "properties": {
+ "sha256": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ArtifactRule": {
+ "description": "Defines an object to declare an in-toto artifact rule",
+ "id": "ArtifactRule",
+ "properties": {
+ "artifactRule": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"Attestation": {
"description": "Occurrence that represents a single \"attestation\". The authenticity of an\nattestation can be verified using the attached signature. If the verifier\ntrusts the public key of the signer, then verifying the signature is\nsufficient to establish trust. In this circumstance, the authority to which\nthis attestation is attached is primarily useful for look-up (how to find\nthis attestation if you already know the authority and artifact to be\nverified) and intent (which authority was this attestation intended to sign\nfor).",
"id": "Attestation",
@@ -1007,7 +1030,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
@@ -1143,6 +1166,19 @@
},
"type": "object"
},
+ "ByProducts": {
+ "description": "Defines an object for the byproducts field in in-toto links. The suggested\nfields are \"stderr\", \"stdout\", and \"return-value\".",
+ "id": "ByProducts",
+ "properties": {
+ "customValues": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
"CVSSv3": {
"description": "Common Vulnerability Scoring System version 3.\nFor details, see https://www.first.org/cvss/specification-document",
"id": "CVSSv3",
@@ -1555,7 +1591,8 @@
"PACKAGE",
"DEPLOYMENT",
"DISCOVERY",
- "ATTESTATION"
+ "ATTESTATION",
+ "INTOTO"
],
"enumDescriptions": [
"Unknown.",
@@ -1565,7 +1602,8 @@
"This represents a package installed via a package manager.",
"The note and occurrence track deployment events.",
"The note and occurrence track the initial discovery status of a resource.",
- "This represents a logical \"role\" that can attest to artifacts."
+ "This represents a logical \"role\" that can attest to artifacts.",
+ "This represents an in-toto link."
],
"type": "string"
}
@@ -1619,6 +1657,19 @@
"properties": {},
"type": "object"
},
+ "Environment": {
+ "description": "Defines an object for the environment field in in-toto links. The suggested\nfields are \"variables\", \"filesystem\", and \"workdir\".",
+ "id": "Environment",
+ "properties": {
+ "customValues": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
"Expr": {
"description": "Represents a textual expression in the Common Expression Language (CEL)\nsyntax. CEL is a C-like expression language. The syntax and semantics of CEL\nare documented at https://github.com/google/cel-spec.\n\nExample (Comparison):\n\n title: \"Summary size limit\"\n description: \"Determines if a summary is less than 100 chars\"\n expression: \"document.summary.size() < 100\"\n\nExample (Equality):\n\n title: \"Requestor is owner\"\n description: \"Determines if requestor is the document owner\"\n expression: \"document.owner == request.auth.claims.email\"\n\nExample (Logic):\n\n title: \"Public documents\"\n description: \"Determine whether the document should be publicly visible\"\n expression: \"document.type != 'private' && document.type != 'internal'\"\n\nExample (Data Manipulation):\n\n title: \"Notification string\"\n description: \"Create a notification string with a timestamp.\"\n expression: \"'New message received at ' + string(document.create_time)\"\n\nThe exact variables and functions that may be referenced within an expression\nare determined by the service that evaluates it. See the service\ndocumentation for additional information.",
"id": "Expr",
@@ -1779,7 +1830,7 @@
"properties": {
"options": {
"$ref": "GetPolicyOptions",
- "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`. This field is only used by Cloud IAM."
+ "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`."
}
},
"type": "object"
@@ -1789,7 +1840,7 @@
"id": "GetPolicyOptions",
"properties": {
"requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.",
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -1876,6 +1927,47 @@
},
"type": "object"
},
+ "GrafeasV1beta1IntotoArtifact": {
+ "id": "GrafeasV1beta1IntotoArtifact",
+ "properties": {
+ "hashes": {
+ "$ref": "ArtifactHashes"
+ },
+ "resourceUri": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GrafeasV1beta1IntotoDetails": {
+ "description": "This corresponds to a signed in-toto link - it is made up of one or more\nsignatures and the in-toto link itself. This is used for occurrences of a\nGrafeas in-toto note.",
+ "id": "GrafeasV1beta1IntotoDetails",
+ "properties": {
+ "signatures": {
+ "items": {
+ "$ref": "GrafeasV1beta1IntotoSignature"
+ },
+ "type": "array"
+ },
+ "signed": {
+ "$ref": "Link"
+ }
+ },
+ "type": "object"
+ },
+ "GrafeasV1beta1IntotoSignature": {
+ "description": "A signature object consists of the KeyID used and the signature itself.",
+ "id": "GrafeasV1beta1IntotoSignature",
+ "properties": {
+ "keyid": {
+ "type": "string"
+ },
+ "sig": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"GrafeasV1beta1PackageDetails": {
"description": "Details of a package occurrence.",
"id": "GrafeasV1beta1PackageDetails",
@@ -2000,6 +2092,49 @@
},
"type": "object"
},
+ "InToto": {
+ "description": "This contains the fields corresponding to the definition of a software supply\nchain step in an in-toto layout. This information goes into a Grafeas note.",
+ "id": "InToto",
+ "properties": {
+ "expectedCommand": {
+ "description": "This field contains the expected command used to perform the step.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "expectedMaterials": {
+ "description": "The following fields contain in-toto artifact rules identifying the\nartifacts that enter this supply chain step, and exit the supply chain\nstep, i.e. materials and products of the step.",
+ "items": {
+ "$ref": "ArtifactRule"
+ },
+ "type": "array"
+ },
+ "expectedProducts": {
+ "items": {
+ "$ref": "ArtifactRule"
+ },
+ "type": "array"
+ },
+ "signingKeys": {
+ "description": "This field contains the public keys that can be used to verify the\nsignatures on the step metadata.",
+ "items": {
+ "$ref": "SigningKey"
+ },
+ "type": "array"
+ },
+ "stepName": {
+ "description": "This field identifies the name of the step in the supply chain.",
+ "type": "string"
+ },
+ "threshold": {
+ "description": "This field contains a value that indicates the minimum number of keys that\nneed to be used to sign the step's in-toto link.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Installation": {
"description": "This represents how a particular software package may be installed on a\nsystem.",
"id": "Installation",
@@ -2087,6 +2222,42 @@
},
"type": "object"
},
+ "Link": {
+ "description": "This corresponds to an in-toto link.",
+ "id": "Link",
+ "properties": {
+ "byproducts": {
+ "$ref": "ByProducts",
+ "description": "ByProducts are data generated as part of a software supply chain step, but\nare not the actual result of the step."
+ },
+ "command": {
+ "description": "This field contains the full command executed for the step. This can also\nbe empty if links are generated for operations that aren't directly mapped\nto a specific command. Each term in the command is an independent string\nin the list. An example of a command in the in-toto metadata field is:\n\"command\": [\"git\", \"clone\", \"https://github.com/in-toto/demo-project.git\"]",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "environment": {
+ "$ref": "Environment",
+ "description": "This is a field that can be used to capture information about the\nenvironment. It is suggested for this field to contain information that\ndetails environment variables, filesystem information, and the present\nworking directory. The recommended structure of this field is:\n\"environment\": {\n \"custom_values\": {\n \"variables\": \"\",\n \"filesystem\": \"\",\n \"workdir\": \"\",\n \"\": \"...\"\n }\n}"
+ },
+ "materials": {
+ "description": "Materials are the supply chain artifacts that go into the step and are used\nfor the operation performed. The key of the map is the path of the artifact\nand the structure contains the recorded hash information. An example is:\n\"materials\": [\n {\n \"resource_uri\": \"foo/bar\",\n \"hashes\": {\n \"sha256\": \"ebebf...\",\n : \n }\n }\n]",
+ "items": {
+ "$ref": "GrafeasV1beta1IntotoArtifact"
+ },
+ "type": "array"
+ },
+ "products": {
+ "description": "Products are the supply chain artifacts generated as a result of the step.\nThe structure is identical to that of materials.",
+ "items": {
+ "$ref": "GrafeasV1beta1IntotoArtifact"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"ListNoteOccurrencesResponse": {
"description": "Response for listing occurrences for a note.",
"id": "ListNoteOccurrencesResponse",
@@ -2212,6 +2383,10 @@
"format": "google-datetime",
"type": "string"
},
+ "intoto": {
+ "$ref": "InToto",
+ "description": "A note describing an in-toto link."
+ },
"kind": {
"description": "Output only. The type of analysis. This field can be used as a filter in\nlist requests.",
"enum": [
@@ -2222,7 +2397,8 @@
"PACKAGE",
"DEPLOYMENT",
"DISCOVERY",
- "ATTESTATION"
+ "ATTESTATION",
+ "INTOTO"
],
"enumDescriptions": [
"Unknown.",
@@ -2232,7 +2408,8 @@
"This represents a package installed via a package manager.",
"The note and occurrence track deployment events.",
"The note and occurrence track the initial discovery status of a resource.",
- "This represents a logical \"role\" that can attest to artifacts."
+ "This represents a logical \"role\" that can attest to artifacts.",
+ "This represents an in-toto link."
],
"type": "string"
},
@@ -2311,6 +2488,10 @@
"$ref": "GrafeasV1beta1PackageDetails",
"description": "Describes the installation of a package on the linked resource."
},
+ "intoto": {
+ "$ref": "GrafeasV1beta1IntotoDetails",
+ "description": "Describes a specific in-toto link."
+ },
"kind": {
"description": "Output only. This explicitly denotes which of the occurrence details are\nspecified. This field can be used as a filter in list requests.",
"enum": [
@@ -2321,7 +2502,8 @@
"PACKAGE",
"DEPLOYMENT",
"DISCOVERY",
- "ATTESTATION"
+ "ATTESTATION",
+ "INTOTO"
],
"enumDescriptions": [
"Unknown.",
@@ -2331,7 +2513,8 @@
"This represents a package installed via a package manager.",
"The note and occurrence track deployment events.",
"The note and occurrence track the initial discovery status of a resource.",
- "This represents a logical \"role\" that can attest to artifacts."
+ "This represents a logical \"role\" that can attest to artifacts.",
+ "This represents an in-toto link."
],
"type": "string"
},
@@ -2428,7 +2611,7 @@
"type": "object"
},
"Policy": {
- "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"bindings": {
@@ -2444,7 +2627,7 @@
"type": "string"
},
"version": {
- "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -2560,7 +2743,7 @@
"id": "Signature",
"properties": {
"publicKeyId": {
- "description": "The identifier for the public key that verifies this signature.\n * The `public_key_id` is required.\n * The `public_key_id` MUST be an RFC3986 conformant URI.\n * When possible, the `public_key_id` SHOULD be an immutable reference,\n such as a cryptographic digest.\n\nExamples of valid `public_key_id`s:\n\nOpenPGP V4 public key fingerprint:\n * \"openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA\"\nSee https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more\ndetails on this scheme.\n\nRFC6920 digest-named SubjectPublicKeyInfo (digest of the DER\nserialization):\n * \"ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU\"\n * \"nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5\"",
+ "description": "The identifier for the public key that verifies this signature.\n * The `public_key_id` is required.\n * The `public_key_id` SHOULD be an RFC3986 conformant URI.\n * When possible, the `public_key_id` SHOULD be an immutable reference,\n such as a cryptographic digest.\n\nExamples of valid `public_key_id`s:\n\nOpenPGP V4 public key fingerprint:\n * \"openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA\"\nSee https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more\ndetails on this scheme.\n\nRFC6920 digest-named SubjectPublicKeyInfo (digest of the DER\nserialization):\n * \"ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU\"\n * \"nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5\"",
"type": "string"
},
"signature": {
@@ -2571,6 +2754,29 @@
},
"type": "object"
},
+ "SigningKey": {
+ "description": "This defines the format used to record keys used in the software supply\nchain. An in-toto link is attested using one or more keys defined in the\nin-toto layout. An example of this is:\n{\n \"key_id\": \"776a00e29f3559e0141b3b096f696abc6cfb0c657ab40f441132b345b0...\",\n \"key_type\": \"rsa\",\n \"public_key_value\": \"-----BEGIN PUBLIC KEY-----\\nMIIBojANBgkqhkiG9w0B...\",\n \"key_scheme\": \"rsassa-pss-sha256\"\n}\nThe format for in-toto's key definition can be found in section 4.2 of the\nin-toto specification.",
+ "id": "SigningKey",
+ "properties": {
+ "keyId": {
+ "description": "key_id is an identifier for the signing key.",
+ "type": "string"
+ },
+ "keyScheme": {
+ "description": "This field contains the corresponding signature scheme.\nEg: \"rsassa-pss-sha256\".",
+ "type": "string"
+ },
+ "keyType": {
+ "description": "This field identifies the specific signing method. Eg: \"rsa\", \"ed25519\",\nand \"ecdsa\".",
+ "type": "string"
+ },
+ "publicKeyValue": {
+ "description": "This field contains the actual public key.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Source": {
"description": "Source describes the location of the source used for the build.",
"id": "Source",
diff --git a/etc/api/content/v2.1/content-api.json b/etc/api/content/v2.1/content-api.json
index 6d0f556994..21573c730e 100644
--- a/etc/api/content/v2.1/content-api.json
+++ b/etc/api/content/v2.1/content-api.json
@@ -15,7 +15,7 @@
"description": "Manages product items, inventory, and Merchant Center accounts for Google Shopping.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/shopping-content",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/pi47vgUi-Eitkw75ys-eFAGn43o\"",
+ "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/mM9QQ9Q-yi6Xw-ieynL_CsfCUJ8\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -103,14 +103,14 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"overwrite": {
- "description": "Only available to selected merchants. When set to True, this flag removes any existing claim on the requested website by another account and replaces it with a claim from this account.",
+ "description": "Only available to selected merchants. When set to `True`, this flag removes any existing claim on the requested website by another account and replaces it with a claim from this account.",
"location": "query",
"type": "boolean"
}
@@ -190,7 +190,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -249,7 +249,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -325,7 +325,7 @@
"type": "integer"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -346,7 +346,7 @@
]
},
"update": {
- "description": "Updates a Merchant Center account.",
+ "description": "Updates a Merchant Center account. Any fields that are not provided are deleted from the resource.",
"httpMethod": "PUT",
"id": "content.accounts.update",
"parameterOrder": [
@@ -362,7 +362,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -422,7 +422,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -514,7 +514,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -565,7 +565,7 @@
]
},
"update": {
- "description": "Updates the tax settings of the account.",
+ "description": "Updates the tax settings of the account. Any fields that are not provided are deleted from the resource.",
"httpMethod": "PUT",
"id": "content.accounttax.update",
"parameterOrder": [
@@ -581,7 +581,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -774,7 +774,7 @@
]
},
"update": {
- "description": "Updates a datafeed configuration of your Merchant Center account.",
+ "description": "Updates a datafeed configuration of your Merchant Center account. Any fields that are not provided are deleted from the resource.",
"httpMethod": "PUT",
"id": "content.datafeeds.update",
"parameterOrder": [
@@ -940,7 +940,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -972,7 +972,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -1058,7 +1058,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -1097,7 +1097,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -1157,7 +1157,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -1196,7 +1196,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -1223,7 +1223,7 @@
]
},
"update": {
- "description": "Updates the LIA settings of the account.",
+ "description": "Updates the LIA settings of the account. Any fields that are not provided are deleted from the resource.",
"httpMethod": "PUT",
"id": "content.liasettings.update",
"parameterOrder": [
@@ -1239,7 +1239,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -1349,7 +1349,7 @@
]
},
"createrefundinvoice": {
- "description": "Creates a refund invoice for one or more shipment groups, and triggers a refund for orderinvoice enabled orders. This can only be used for line items that have previously been charged using createChargeInvoice. All amounts (except for the summary) are incremental with respect to the previous invoice.",
+ "description": "Creates a refund invoice for one or more shipment groups, and triggers a refund for orderinvoice enabled orders. This can only be used for line items that have previously been charged using `createChargeInvoice`. All amounts (except for the summary) are incremental with respect to the previous invoice.",
"httpMethod": "POST",
"id": "content.orderinvoices.createrefundinvoice",
"parameterOrder": [
@@ -1491,6 +1491,40 @@
},
"orderreturns": {
"methods": {
+ "acknowledge": {
+ "description": "Acks an order return in your Merchant Center account.",
+ "httpMethod": "POST",
+ "id": "content.orderreturns.acknowledge",
+ "parameterOrder": [
+ "merchantId",
+ "returnId"
+ ],
+ "parameters": {
+ "merchantId": {
+ "description": "The ID of the account that manages the order. This cannot be a multi-client account.",
+ "format": "uint64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "returnId": {
+ "description": "The ID of the return.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{merchantId}/orderreturns/{returnId}/acknowledge",
+ "request": {
+ "$ref": "OrderreturnsAcknowledgeRequest"
+ },
+ "response": {
+ "$ref": "OrderreturnsAcknowledgeResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/content"
+ ]
+ },
"get": {
"description": "Retrieves an order return from your Merchant Center account.",
"httpMethod": "GET",
@@ -1530,6 +1564,11 @@
"merchantId"
],
"parameters": {
+ "acknowledged": {
+ "description": "Obtains order returns that match the acknowledgement status. When set to true, obtains order returns that have been acknowledged. When false, obtains order returns that have not been acknowledged. When not provided, obtains order returns regardless of their acknowledgement status.\nWe recommend using this filter set to `false`, in conjunction with the `acknowledge` call, such that only un-acknowledged order returns are returned.",
+ "location": "query",
+ "type": "boolean"
+ },
"createdEndDate": {
"description": "Obtains order returns created before this date (inclusively), in ISO 8601 format.",
"location": "query",
@@ -1540,6 +1579,12 @@
"location": "query",
"type": "string"
},
+ "googleOrderIds": {
+ "description": "Obtains order returns with the specified order ids. If this parameter is provided, createdStartDate, createdEndDate, shipmentType, shipmentStatus, shipmentState and acknowledged parameters must be not set.\nNote: if googleOrderId and shipmentTrackingNumber parameters are provided, the obtained results will include all order returns that either match the specified order id or the specified tracking number.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
"maxResults": {
"description": "The maximum number of order returns to return in the response, used for paging. The default value is 25 returns per page, and the maximum allowed value is 250 returns per page.",
"format": "uint32",
@@ -1570,6 +1615,62 @@
"description": "The token returned by the previous request.",
"location": "query",
"type": "string"
+ },
+ "shipmentStates": {
+ "description": "Obtains order returns that match any shipment state provided in this parameter. When this parameter is not provided, order returns are obtained regardless of their shipment states.",
+ "enum": [
+ "completed",
+ "new",
+ "shipped",
+ "undeliverable"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ ""
+ ],
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "shipmentStatus": {
+ "description": "Obtains order returns that match any shipment status provided in this parameter. When this parameter is not provided, order returns are obtained regardless of their shipment statuses.",
+ "enum": [
+ "inProgress",
+ "new",
+ "processed"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ ""
+ ],
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "shipmentTrackingNumbers": {
+ "description": "Obtains order returns with the specified tracking numbers. If this parameter is provided, createdStartDate, createdEndDate, shipmentType, shipmentStatus, shipmentState and acknowledged parameters must be not set.\nNote: if googleOrderId and shipmentTrackingNumber parameters are provided, the obtained results will include all order returns that either match the specified order id or the specified tracking number.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "shipmentTypes": {
+ "description": "Obtains order returns that match any shipment type provided in this parameter. When this parameter is not provided, order returns are obtained regardless of their shipment types.",
+ "enum": [
+ "byMail",
+ "contactCustomerSupport",
+ "returnless"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ ""
+ ],
+ "location": "query",
+ "repeated": true,
+ "type": "string"
}
},
"path": "{merchantId}/orderreturns",
@@ -1579,6 +1680,40 @@
"scopes": [
"https://www.googleapis.com/auth/content"
]
+ },
+ "process": {
+ "description": "Processes return in your Merchant Center account.",
+ "httpMethod": "POST",
+ "id": "content.orderreturns.process",
+ "parameterOrder": [
+ "merchantId",
+ "returnId"
+ ],
+ "parameters": {
+ "merchantId": {
+ "description": "The ID of the account that manages the order. This cannot be a multi-client account.",
+ "format": "uint64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "returnId": {
+ "description": "The ID of the return.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{merchantId}/orderreturns/{returnId}/process",
+ "request": {
+ "$ref": "OrderreturnsProcessRequest"
+ },
+ "response": {
+ "$ref": "OrderreturnsProcessResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/content"
+ ]
}
}
},
@@ -1619,7 +1754,7 @@
]
},
"advancetestorder": {
- "description": "Sandbox only. Moves a test order from state \"inProgress\" to state \"pendingShipment\".",
+ "description": "Sandbox only. Moves a test order from state \"`inProgress`\" to state \"`pendingShipment`\".",
"httpMethod": "POST",
"id": "content.orders.advancetestorder",
"parameterOrder": [
@@ -1884,7 +2019,7 @@
],
"parameters": {
"country": {
- "description": "The country of the template to retrieve. Defaults to US.",
+ "description": "The country of the template to retrieve. Defaults to `US`.",
"location": "query",
"type": "string"
},
@@ -1902,13 +2037,15 @@
"template1a",
"template1b",
"template2",
- "template3"
+ "template3",
+ "template4"
],
"enumDescriptions": [
"",
"",
"",
"",
+ "",
""
],
"location": "path",
@@ -1967,7 +2104,7 @@
],
"parameters": {
"acknowledged": {
- "description": "Obtains orders that match the acknowledgement status. When set to true, obtains orders that have been acknowledged. When false, obtains orders that have not been acknowledged.\nWe recommend using this filter set to false, in conjunction with the acknowledge call, such that only un-acknowledged orders are returned.",
+ "description": "Obtains orders that match the acknowledgement status. When set to true, obtains orders that have been acknowledged. When false, obtains orders that have not been acknowledged.\nWe recommend using this filter set to `false`, in conjunction with the `acknowledge` call, such that only un-acknowledged orders are returned.",
"location": "query",
"type": "boolean"
},
@@ -2005,7 +2142,7 @@
"type": "string"
},
"statuses": {
- "description": "Obtains orders that match any of the specified statuses. Please note that active is a shortcut for pendingShipment and partiallyShipped, and completed is a shortcut for shipped, partiallyDelivered, delivered, partiallyReturned, returned, and canceled.",
+ "description": "Obtains orders that match any of the specified statuses. Please note that `active` is a shortcut for `pendingShipment` and `partiallyShipped`, and `completed` is a shortcut for `shipped`, `partiallyDelivered`, `delivered`, `partiallyReturned`, `returned`, and `canceled`.",
"enum": [
"active",
"canceled",
@@ -2045,6 +2182,74 @@
"https://www.googleapis.com/auth/content"
]
},
+ "refunditem": {
+ "description": "Issues a partial or total refund for items and shipment.",
+ "httpMethod": "POST",
+ "id": "content.orders.refunditem",
+ "parameterOrder": [
+ "merchantId",
+ "orderId"
+ ],
+ "parameters": {
+ "merchantId": {
+ "description": "The ID of the account that manages the order. This cannot be a multi-client account.",
+ "format": "uint64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "orderId": {
+ "description": "The ID of the order to refund.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{merchantId}/orders/{orderId}/refunditem",
+ "request": {
+ "$ref": "OrdersRefundItemRequest"
+ },
+ "response": {
+ "$ref": "OrdersRefundItemResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/content"
+ ]
+ },
+ "refundorder": {
+ "description": "Issues a partial or total refund for an order.",
+ "httpMethod": "POST",
+ "id": "content.orders.refundorder",
+ "parameterOrder": [
+ "merchantId",
+ "orderId"
+ ],
+ "parameters": {
+ "merchantId": {
+ "description": "The ID of the account that manages the order. This cannot be a multi-client account.",
+ "format": "uint64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "orderId": {
+ "description": "The ID of the order to refund.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{merchantId}/orders/{orderId}/refundorder",
+ "request": {
+ "$ref": "OrdersRefundOrderRequest"
+ },
+ "response": {
+ "$ref": "OrdersRefundOrderResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/content"
+ ]
+ },
"rejectreturnlineitem": {
"description": "Rejects return on an line item.",
"httpMethod": "POST",
@@ -2080,7 +2285,7 @@
]
},
"returnrefundlineitem": {
- "description": "Returns and refunds a line item. Note that this method can only be called on fully shipped orders.",
+ "description": "Returns and refunds a line item. Note that this method can only be called on fully shipped orders. Please also note that the Orderreturns API is the preferred way to handle returns after you receive a return from a customer. You can use Orderreturns.list or Orderreturns.get to search for the return, and then use Orderreturns.processreturn to issue the refund. If the return cannot be found, then we recommend using this API to issue a refund.",
"httpMethod": "POST",
"id": "content.orders.returnrefundlineitem",
"parameterOrder": [
@@ -3147,6 +3352,138 @@
}
}
},
+ "settlementreports": {
+ "methods": {
+ "get": {
+ "description": "Retrieves a settlement report from your Merchant Center account.",
+ "httpMethod": "GET",
+ "id": "content.settlementreports.get",
+ "parameterOrder": [
+ "merchantId",
+ "settlementId"
+ ],
+ "parameters": {
+ "merchantId": {
+ "description": "The Merchant Center account of the settlement report.",
+ "format": "uint64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "settlementId": {
+ "description": "The Google-provided ID of the settlement.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{merchantId}/settlementreports/{settlementId}",
+ "response": {
+ "$ref": "SettlementReport"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/content"
+ ]
+ },
+ "list": {
+ "description": "Retrieves a list of settlement reports from your Merchant Center account.",
+ "httpMethod": "GET",
+ "id": "content.settlementreports.list",
+ "parameterOrder": [
+ "merchantId"
+ ],
+ "parameters": {
+ "maxResults": {
+ "description": "The maximum number of settlements to return in the response, used for paging. The default value is 200 returns per page, and the maximum allowed value is 5000 returns per page.",
+ "format": "uint32",
+ "location": "query",
+ "type": "integer"
+ },
+ "merchantId": {
+ "description": "The Merchant Center account to list settlements for.",
+ "format": "uint64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "The token returned by the previous request.",
+ "location": "query",
+ "type": "string"
+ },
+ "transferEndDate": {
+ "description": "Obtains settlements which have transactions before this date (inclusively), in ISO 8601 format.",
+ "location": "query",
+ "type": "string"
+ },
+ "transferStartDate": {
+ "description": "Obtains settlements which have transactions after this date (inclusively), in ISO 8601 format.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "{merchantId}/settlementreports",
+ "response": {
+ "$ref": "SettlementreportsListResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/content"
+ ]
+ }
+ }
+ },
+ "settlementtransactions": {
+ "methods": {
+ "list": {
+ "description": "Retrieves a list of transactions for the settlement.",
+ "httpMethod": "GET",
+ "id": "content.settlementtransactions.list",
+ "parameterOrder": [
+ "merchantId",
+ "settlementId"
+ ],
+ "parameters": {
+ "maxResults": {
+ "description": "The maximum number of transactions to return in the response, used for paging. The default value is 200 transactions per page, and the maximum allowed value is 5000 transactions per page.",
+ "format": "uint32",
+ "location": "query",
+ "type": "integer"
+ },
+ "merchantId": {
+ "description": "The Merchant Center account to list transactions for.",
+ "format": "uint64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "The token returned by the previous request.",
+ "location": "query",
+ "type": "string"
+ },
+ "settlementId": {
+ "description": "The Google-provided ID of the settlement.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "transactionIds": {
+ "description": "The list of transactions to return. If not set, all transactions will be returned.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ }
+ },
+ "path": "{merchantId}/settlementreports/{settlementId}/transactions",
+ "response": {
+ "$ref": "SettlementtransactionsListResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/content"
+ ]
+ }
+ }
+ },
"shippingsettings": {
"methods": {
"custombatch": {
@@ -3181,7 +3518,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -3304,7 +3641,7 @@
]
},
"update": {
- "description": "Updates the shipping settings of the account.",
+ "description": "Updates the shipping settings of the account. Any fields that are not provided are deleted from the resource.",
"httpMethod": "PUT",
"id": "content.shippingsettings.update",
"parameterOrder": [
@@ -3320,7 +3657,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -3341,7 +3678,7 @@
}
}
},
- "revision": "20200310",
+ "revision": "20200617",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Account": {
@@ -3349,7 +3686,7 @@
"id": "Account",
"properties": {
"adsLinks": {
- "description": "List of linked Ads accounts that are active or pending approval. To create a new link request, add a new link with status active to the list. It will remain in a pending state until approved or rejected either in the Ads interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list.",
+ "description": "List of linked Ads accounts that are active or pending approval. To create a new link request, add a new link with status `active` to the list. It will remain in a `pending` state until approved or rejected either in the Ads interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list.",
"items": {
"$ref": "AccountAdsLink"
},
@@ -3379,7 +3716,7 @@
},
"kind": {
"default": "content#account",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#account\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#account`\"",
"type": "string"
},
"name": {
@@ -3408,7 +3745,7 @@
"type": "string"
},
"youtubeChannelLinks": {
- "description": "List of linked YouTube channels that are active or pending approval. To create a new link request, add a new link with status active to the list. It will remain in a pending state until approved or rejected in the YT Creator Studio interface. To delete an active link, or to cancel a link request, remove it from the list.",
+ "description": "List of linked YouTube channels that are active or pending approval. To create a new link request, add a new link with status `active` to the list. It will remain in a `pending` state until approved or rejected in the YT Creator Studio interface. To delete an active link, or to cancel a link request, remove it from the list.",
"items": {
"$ref": "AccountYouTubeChannelLink"
},
@@ -3452,7 +3789,7 @@
"type": "string"
},
"status": {
- "description": "Status of the link between this Merchant Center account and the Ads account. Upon retrieval, it represents the actual status of the link and can be either active if it was approved in Google Ads or pending if it's pending approval. Upon insertion, it represents the intended status of the link. Re-uploading a link with status active when it's still pending or with status pending when it's already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status inactive is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending.\n\nAcceptable values are: \n- \"active\" \n- \"pending\"",
+ "description": "Status of the link between this Merchant Center account and the Ads account. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in Google Ads or `pending` if it's pending approval. Upon insertion, it represents the intended status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it's already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending.\n\nAcceptable values are: \n- \"`active`\" \n- \"`pending`\"",
"type": "string"
}
},
@@ -3497,12 +3834,16 @@
"AccountGoogleMyBusinessLink": {
"id": "AccountGoogleMyBusinessLink",
"properties": {
+ "gmbAccountId": {
+ "description": "The ID of the GMB account. If this is provided, then `gmbEmail` is ignored. The value of this field should match the `accountId` used by the GMB API.",
+ "type": "string"
+ },
"gmbEmail": {
"description": "The GMB email address of which a specific account within a GMB account. A sample account within a GMB account could be a business account with set of locations, managed under the GMB account.",
"type": "string"
},
"status": {
- "description": "Status of the link between this Merchant Center account and the GMB account.\n\nAcceptable values are: \n- \"active\" \n- \"pending\"",
+ "description": "Status of the link between this Merchant Center account and the GMB account.\n\nAcceptable values are: \n- \"`active`\" \n- \"`pending`\"",
"type": "string"
}
},
@@ -3541,7 +3882,7 @@
},
"kind": {
"default": "content#accountStatus",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountStatus\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountStatus`\"",
"type": "string"
},
"products": {
@@ -3582,7 +3923,7 @@
"type": "string"
},
"severity": {
- "description": "Severity of the issue.\n\nAcceptable values are: \n- \"critical\" \n- \"error\" \n- \"suggestion\"",
+ "description": "Severity of the issue.\n\nAcceptable values are: \n- \"`critical`\" \n- \"`error`\" \n- \"`suggestion`\"",
"type": "string"
},
"title": {
@@ -3635,7 +3976,7 @@
"id": "AccountStatusProducts",
"properties": {
"channel": {
- "description": "The channel the data applies to.\n\nAcceptable values are: \n- \"local\" \n- \"online\"",
+ "description": "The channel the data applies to.\n\nAcceptable values are: \n- \"`local`\" \n- \"`online`\"",
"type": "string"
},
"country": {
@@ -3782,7 +4123,7 @@
"type": "string"
},
"status": {
- "description": "Status of the link between this Merchant Center account and the YouTube channel. Upon retrieval, it represents the actual status of the link and can be either active if it was approved in YT Creator Studio or pending if it's pending approval. Upon insertion, it represents the intended status of the link. Re-uploading a link with status active when it's still pending or with status pending when it's already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status inactive is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending.",
+ "description": "Status of the link between this Merchant Center account and the YouTube channel. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in YT Creator Studio or `pending` if it's pending approval. Upon insertion, it represents the intended status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it's already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending.",
"type": "string"
}
},
@@ -3836,10 +4177,10 @@
"properties": {
"account": {
"$ref": "Account",
- "description": "The account to create or update. Only defined if the method is insert or update."
+ "description": "The account to create or update. Only defined if the method is `insert` or `update`."
},
"accountId": {
- "description": "The ID of the targeted account. Only defined if the method is not insert.",
+ "description": "The ID of the targeted account. Only defined if the method is not `insert`.",
"format": "uint64",
"type": "string"
},
@@ -3849,12 +4190,12 @@
"type": "integer"
},
"force": {
- "description": "Whether the account should be deleted if the account has offers. Only applicable if the method is delete.",
+ "description": "Whether the account should be deleted if the account has offers. Only applicable if the method is `delete`.",
"type": "boolean"
},
"linkRequest": {
"$ref": "AccountsCustomBatchRequestEntryLinkRequest",
- "description": "Details about the link request."
+ "description": "Details about the `link` request."
},
"merchantId": {
"description": "The ID of the managing account.",
@@ -3862,11 +4203,11 @@
"type": "string"
},
"method": {
- "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"claimWebsite\" \n- \"delete\" \n- \"get\" \n- \"insert\" \n- \"link\" \n- \"update\"",
+ "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"`claimWebsite`\" \n- \"`delete`\" \n- \"`get`\" \n- \"`insert`\" \n- \"`link`\" \n- \"`update`\"",
"type": "string"
},
"overwrite": {
- "description": "Only applicable if the method is claimwebsite. Indicates whether or not to take the claim from another account in case there is a conflict.",
+ "description": "Only applicable if the method is `claimwebsite`. Indicates whether or not to take the claim from another account in case there is a conflict.",
"type": "boolean"
}
},
@@ -3876,11 +4217,11 @@
"id": "AccountsCustomBatchRequestEntryLinkRequest",
"properties": {
"action": {
- "description": "Action to perform for this link. The \"request\" action is only available to select merchants.\n\nAcceptable values are: \n- \"approve\" \n- \"remove\" \n- \"request\"",
+ "description": "Action to perform for this link. The `\"request\"` action is only available to select merchants.\n\nAcceptable values are: \n- \"`approve`\" \n- \"`remove`\" \n- \"`request`\"",
"type": "string"
},
"linkType": {
- "description": "Type of the link between the two accounts.\n\nAcceptable values are: \n- \"channelPartner\" \n- \"eCommercePlatform\"",
+ "description": "Type of the link between the two accounts.\n\nAcceptable values are: \n- \"`channelPartner`\" \n- \"`eCommercePlatform`\"",
"type": "string"
},
"linkedAccountId": {
@@ -3921,7 +4262,7 @@
"properties": {
"account": {
"$ref": "Account",
- "description": "The retrieved, created, or updated account. Not defined if the method was delete, claimwebsite or link."
+ "description": "The retrieved, created, or updated account. Not defined if the method was `delete`, `claimwebsite` or `link`."
},
"batchId": {
"description": "The ID of the request entry this entry responds to.",
@@ -3934,7 +4275,7 @@
},
"kind": {
"default": "content#accountsCustomBatchResponseEntry",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountsCustomBatchResponseEntry\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountsCustomBatchResponseEntry`\"",
"type": "string"
}
},
@@ -3944,11 +4285,11 @@
"id": "AccountsLinkRequest",
"properties": {
"action": {
- "description": "Action to perform for this link. The \"request\" action is only available to select merchants.\n\nAcceptable values are: \n- \"approve\" \n- \"remove\" \n- \"request\"",
+ "description": "Action to perform for this link. The `\"request\"` action is only available to select merchants.\n\nAcceptable values are: \n- \"`approve`\" \n- \"`remove`\" \n- \"`request`\"",
"type": "string"
},
"linkType": {
- "description": "Type of the link between the two accounts.\n\nAcceptable values are: \n- \"channelPartner\" \n- \"eCommercePlatform\"",
+ "description": "Type of the link between the two accounts.\n\nAcceptable values are: \n- \"`channelPartner`\" \n- \"`eCommercePlatform`\"",
"type": "string"
},
"linkedAccountId": {
@@ -4059,7 +4400,7 @@
"type": "string"
},
"method": {
- "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"get\"",
+ "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"`get`\"",
"type": "string"
}
},
@@ -4148,7 +4489,7 @@
},
"accountTax": {
"$ref": "AccountTax",
- "description": "The account tax settings to update. Only defined if the method is update."
+ "description": "The account tax settings to update. Only defined if the method is `update`."
},
"batchId": {
"description": "An entry ID, unique within the batch request.",
@@ -4161,7 +4502,7 @@
"type": "string"
},
"method": {
- "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"get\" \n- \"update\"",
+ "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"`get`\" \n- \"`update`\"",
"type": "string"
}
},
@@ -4204,7 +4545,7 @@
},
"kind": {
"default": "content#accounttaxCustomBatchResponseEntry",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#accounttaxCustomBatchResponseEntry\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accounttaxCustomBatchResponseEntry`\"",
"type": "string"
}
},
@@ -4262,16 +4603,16 @@
"id": "CarrierRate",
"properties": {
"carrierName": {
- "description": "Carrier service, such as \"UPS\" or \"Fedex\". The list of supported carriers can be retrieved via the getSupportedCarriers method. Required.",
+ "description": "Carrier service, such as `\"UPS\"` or `\"Fedex\"`. The list of supported carriers can be retrieved via the `getSupportedCarriers` method. Required.",
"type": "string"
},
"carrierService": {
- "description": "Carrier service, such as \"ground\" or \"2 days\". The list of supported services for a carrier can be retrieved via the getSupportedCarriers method. Required.",
+ "description": "Carrier service, such as `\"ground\"` or `\"2 days\"`. The list of supported services for a carrier can be retrieved via the `getSupportedCarriers` method. Required.",
"type": "string"
},
"flatAdjustment": {
"$ref": "Price",
- "description": "Additive shipping rate modifier. Can be negative. For example { \"value\": \"1\", \"currency\" : \"USD\" } adds $1 to the rate, { \"value\": \"-3\", \"currency\" : \"USD\" } removes $3 from the rate. Optional."
+ "description": "Additive shipping rate modifier. Can be negative. For example `{ \"value\": \"1\", \"currency\" : \"USD\" }` adds $1 to the rate, `{ \"value\": \"-3\", \"currency\" : \"USD\" }` removes $3 from the rate. Optional."
},
"name": {
"description": "Name of the carrier rate. Must be unique per rate group. Required.",
@@ -4282,7 +4623,7 @@
"type": "string"
},
"percentageAdjustment": {
- "description": "Multiplicative shipping rate modifier as a number in decimal notation. Can be negative. For example \"5.4\" increases the rate by 5.4%, \"-3\" decreases the rate by 3%. Optional.",
+ "description": "Multiplicative shipping rate modifier as a number in decimal notation. Can be negative. For example `\"5.4\"` increases the rate by 5.4%, `\"-3\"` decreases the rate by 3%. Optional.",
"type": "string"
}
},
@@ -4296,11 +4637,11 @@
"type": "string"
},
"name": {
- "description": "The name of the carrier (e.g., \"UPS\"). Always present.",
+ "description": "The name of the carrier (e.g., `\"UPS\"`). Always present.",
"type": "string"
},
"services": {
- "description": "A list of supported services (e.g., \"ground\") for that carrier. Contains at least one service.",
+ "description": "A list of supported services (e.g., `\"ground\"`) for that carrier. Contains at least one service.",
"items": {
"type": "string"
},
@@ -4338,7 +4679,7 @@
"type": "string"
},
"reasonCode": {
- "description": "Code of the return reason.\n\nAcceptable values are: \n- \"betterPriceFound\" \n- \"changedMind\" \n- \"damagedOrDefectiveItem\" \n- \"didNotMatchDescription\" \n- \"doesNotFit\" \n- \"expiredItem\" \n- \"incorrectItemReceived\" \n- \"noLongerNeeded\" \n- \"notSpecified\" \n- \"orderedWrongItem\" \n- \"other\" \n- \"qualityNotExpected\" \n- \"receivedTooLate\" \n- \"undeliverable\"",
+ "description": "Code of the return reason.\n\nAcceptable values are: \n- \"`betterPriceFound`\" \n- \"`changedMind`\" \n- \"`damagedOrDefectiveItem`\" \n- \"`didNotMatchDescription`\" \n- \"`doesNotFit`\" \n- \"`expiredItem`\" \n- \"`incorrectItemReceived`\" \n- \"`noLongerNeeded`\" \n- \"`notSpecified`\" \n- \"`orderedWrongItem`\" \n- \"`other`\" \n- \"`qualityNotExpected`\" \n- \"`receivedTooLate`\" \n- \"`undeliverable`\"",
"type": "string"
}
},
@@ -4379,7 +4720,7 @@
"content.datafeeds.update"
]
},
- "description": "Required. The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported.\n\nAcceptable values are: \n- \"local products\" \n- \"product inventory\" \n- \"products\"",
+ "description": "Required. The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported.\n\nAcceptable values are: \n- \"`local products`\" \n- \"`product inventory`\" \n- \"`products`\"",
"type": "string"
},
"fetchSchedule": {
@@ -4412,7 +4753,7 @@
},
"kind": {
"default": "content#datafeed",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#datafeed\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#datafeed`\"",
"type": "string"
},
"name": {
@@ -4474,7 +4815,7 @@
"type": "string"
},
"weekday": {
- "description": "The day of the week the feed file should be fetched.\n\nAcceptable values are: \n- \"monday\" \n- \"tuesday\" \n- \"wednesday\" \n- \"thursday\" \n- \"friday\" \n- \"saturday\" \n- \"sunday\"",
+ "description": "The day of the week the feed file should be fetched.\n\nAcceptable values are: \n- \"`monday`\" \n- \"`tuesday`\" \n- \"`wednesday`\" \n- \"`thursday`\" \n- \"`friday`\" \n- \"`saturday`\" \n- \"`sunday`\"",
"type": "string"
}
},
@@ -4484,15 +4825,15 @@
"id": "DatafeedFormat",
"properties": {
"columnDelimiter": {
- "description": "Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds.\n\nAcceptable values are: \n- \"pipe\" \n- \"tab\" \n- \"tilde\"",
+ "description": "Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds.\n\nAcceptable values are: \n- \"`pipe`\" \n- \"`tab`\" \n- \"`tilde`\"",
"type": "string"
},
"fileEncoding": {
- "description": "Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected.\n\nAcceptable values are: \n- \"latin-1\" \n- \"utf-16be\" \n- \"utf-16le\" \n- \"utf-8\" \n- \"windows-1252\"",
+ "description": "Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected.\n\nAcceptable values are: \n- \"`latin-1`\" \n- \"`utf-16be`\" \n- \"`utf-16le`\" \n- \"`utf-8`\" \n- \"`windows-1252`\"",
"type": "string"
},
"quotingMode": {
- "description": "Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds.\n\nAcceptable values are: \n- \"normal character\" \n- \"value quoting\"",
+ "description": "Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds.\n\nAcceptable values are: \n- \"`normal character`\" \n- \"`value quoting`\"",
"type": "string"
}
},
@@ -4530,7 +4871,7 @@
},
"kind": {
"default": "content#datafeedStatus",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#datafeedStatus\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#datafeedStatus`\"",
"type": "string"
},
"language": {
@@ -4542,7 +4883,7 @@
"type": "string"
},
"processingStatus": {
- "description": "The processing status of the feed.\n\nAcceptable values are: \n- \"\"failure\": The feed could not be processed or all items had errors.\" \n- \"in progress\": The feed is being processed. \n- \"none\": The feed has not yet been processed. For example, a feed that has never been uploaded will have this processing status. \n- \"success\": The feed was processed successfully, though some items might have had errors.",
+ "description": "The processing status of the feed.\n\nAcceptable values are: \n- \"`\"`failure`\": The feed could not be processed or all items had errors.`\" \n- \"`in progress`\": The feed is being processed. \n- \"`none`\": The feed has not yet been processed. For example, a feed that has never been uploaded will have this processing status. \n- \"`success`\": The feed was processed successfully, though some items might have had errors.",
"type": "string"
},
"warnings": {
@@ -4617,14 +4958,14 @@
"type": "array"
},
"includedDestinations": {
- "description": "The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in excludedDestinations.\n\nList of supported destinations (if available to the account): \n- DisplayAds \n- Shopping \n- ShoppingActions \n- SurfacesAcrossGoogle",
+ "description": "The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in `excludedDestinations`.\n\nList of supported destinations (if available to the account): \n- DisplayAds \n- Shopping \n- ShoppingActions \n- SurfacesAcrossGoogle",
"items": {
"type": "string"
},
"type": "array"
},
"language": {
- "description": "The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for targets[].country.",
+ "description": "The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for `targets[].country`.",
"type": "string"
}
},
@@ -4667,7 +5008,7 @@
"type": "string"
},
"method": {
- "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"delete\" \n- \"fetchNow\" \n- \"get\" \n- \"insert\" \n- \"update\"",
+ "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"`delete`\" \n- \"`fetchNow`\" \n- \"`get`\" \n- \"`insert`\" \n- \"`update`\"",
"type": "string"
}
},
@@ -4784,7 +5125,7 @@
"type": "string"
},
"method": {
- "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"get\"",
+ "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"`get`\"",
"type": "string"
}
},
@@ -4868,12 +5209,12 @@
"type": "array"
},
"maxHandlingTimeInDays": {
- "description": "Maximum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. Must be greater than or equal to minHandlingTimeInDays.",
+ "description": "Maximum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. Must be greater than or equal to `minHandlingTimeInDays`.",
"format": "uint32",
"type": "integer"
},
"maxTransitTimeInDays": {
- "description": "Maximum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Must be greater than or equal to minTransitTimeInDays.",
+ "description": "Maximum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Must be greater than or equal to `minTransitTimeInDays`.",
"format": "uint32",
"type": "integer"
},
@@ -4883,7 +5224,7 @@
"type": "integer"
},
"minTransitTimeInDays": {
- "description": "Minimum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Either {min,max}TransitTimeInDays or transitTimeTable must be set, but not both.",
+ "description": "Minimum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Either `{min,max}TransitTimeInDays` or `transitTimeTable` must be set, but not both.",
"format": "uint32",
"type": "integer"
},
@@ -4893,7 +5234,7 @@
},
"transitTimeTable": {
"$ref": "TransitTable",
- "description": "Transit time table, number of business days spent in transit based on row and column dimensions. Either {min,max}TransitTimeInDays or transitTimeTable can be set, but not both."
+ "description": "Transit time table, number of business days spent in transit based on row and column dimensions. Either `{min,max}TransitTimeInDays` or `transitTimeTable` can be set, but not both."
}
},
"type": "object"
@@ -4922,7 +5263,7 @@
"id": "Errors",
"properties": {
"code": {
- "description": "The HTTP status of the first error in errors.",
+ "description": "The HTTP status of the first error in `errors`.",
"format": "uint32",
"type": "integer"
},
@@ -4934,7 +5275,7 @@
"type": "array"
},
"message": {
- "description": "The message of the first error in errors.",
+ "description": "The message of the first error in `errors`.",
"type": "string"
}
},
@@ -4944,7 +5285,7 @@
"id": "GmbAccounts",
"properties": {
"accountId": {
- "description": "The ID of the account.",
+ "description": "The ID of the Merchant Center account.",
"format": "uint64",
"type": "string"
},
@@ -4982,7 +5323,7 @@
"type": "object"
},
"Headers": {
- "description": "A non-empty list of row or column headers for a table. Exactly one of prices, weights, numItems, postalCodeGroupNames, or location must be set.",
+ "description": "A non-empty list of row or column headers for a table. Exactly one of `prices`, `weights`, `numItems`, `postalCodeGroupNames`, or `location` must be set.",
"id": "Headers",
"properties": {
"locations": {
@@ -4993,28 +5334,28 @@
"type": "array"
},
"numberOfItems": {
- "description": "A list of inclusive number of items upper bounds. The last value can be \"infinity\". For example [\"10\", \"50\", \"infinity\"] represents the headers \"<= 10 items\", \" 50 items\". Must be non-empty. Can only be set if all other fields are not set.",
+ "description": "A list of inclusive number of items upper bounds. The last value can be `\"infinity\"`. For example `[\"10\", \"50\", \"infinity\"]` represents the headers \"<= 10 items\", \" 50 items\". Must be non-empty. Can only be set if all other fields are not set.",
"items": {
"type": "string"
},
"type": "array"
},
"postalCodeGroupNames": {
- "description": "A list of postal group names. The last value can be \"all other locations\". Example: [\"zone 1\", \"zone 2\", \"all other locations\"]. The referred postal code groups must match the delivery country of the service. Must be non-empty. Can only be set if all other fields are not set.",
+ "description": "A list of postal group names. The last value can be `\"all other locations\"`. Example: `[\"zone 1\", \"zone 2\", \"all other locations\"]`. The referred postal code groups must match the delivery country of the service. Must be non-empty. Can only be set if all other fields are not set.",
"items": {
"type": "string"
},
"type": "array"
},
"prices": {
- "description": "A list of inclusive order price upper bounds. The last price's value can be \"infinity\". For example [{\"value\": \"10\", \"currency\": \"USD\"}, {\"value\": \"500\", \"currency\": \"USD\"}, {\"value\": \"infinity\", \"currency\": \"USD\"}] represents the headers \"<= $10\", \" $500\". All prices within a service must have the same currency. Must be non-empty. Can only be set if all other fields are not set.",
+ "description": "A list of inclusive order price upper bounds. The last price's value can be `\"infinity\"`. For example `[{\"value\": \"10\", \"currency\": \"USD\"}, {\"value\": \"500\", \"currency\": \"USD\"}, {\"value\": \"infinity\", \"currency\": \"USD\"}]` represents the headers \"<= $10\", \" $500\". All prices within a service must have the same currency. Must be non-empty. Can only be set if all other fields are not set.",
"items": {
"$ref": "Price"
},
"type": "array"
},
"weights": {
- "description": "A list of inclusive order weight upper bounds. The last weight's value can be \"infinity\". For example [{\"value\": \"10\", \"unit\": \"kg\"}, {\"value\": \"50\", \"unit\": \"kg\"}, {\"value\": \"infinity\", \"unit\": \"kg\"}] represents the headers \"<= 10kg\", \" 50kg\". All weights within a service must have the same unit. Must be non-empty. Can only be set if all other fields are not set.",
+ "description": "A list of inclusive order weight upper bounds. The last weight's value can be `\"infinity\"`. For example `[{\"value\": \"10\", \"unit\": \"kg\"}, {\"value\": \"50\", \"unit\": \"kg\"}, {\"value\": \"infinity\", \"unit\": \"kg\"}]` represents the headers \"<= 10kg\", \" 50kg\". All weights within a service must have the same unit. Must be non-empty. Can only be set if all other fields are not set.",
"items": {
"$ref": "Weight"
},
@@ -5075,7 +5416,7 @@
"type": "string"
},
"type": {
- "description": "The holiday type. Always present.\n\nAcceptable values are: \n- \"Christmas\" \n- \"Easter\" \n- \"Father's Day\" \n- \"Halloween\" \n- \"Independence Day (USA)\" \n- \"Mother's Day\" \n- \"Thanksgiving\" \n- \"Valentine's Day\"",
+ "description": "The holiday type. Always present.\n\nAcceptable values are: \n- \"`Christmas`\" \n- \"`Easter`\" \n- \"`Father's Day`\" \n- \"`Halloween`\" \n- \"`Independence Day (USA)`\" \n- \"`Mother's Day`\" \n- \"`Thanksgiving`\" \n- \"`Valentine's Day`\"",
"type": "string"
}
},
@@ -5121,7 +5462,7 @@
"description": "[required] Total additional charge for this type."
},
"type": {
- "description": "[required] Type of the additional charge.\n\nAcceptable values are: \n- \"shipping\"",
+ "description": "[required] Type of the additional charge.\n\nAcceptable values are: \n- \"`shipping`\"",
"type": "string"
}
},
@@ -5131,7 +5472,7 @@
"id": "LiaAboutPageSettings",
"properties": {
"status": {
- "description": "The status of the verification process for the About page.\n\nAcceptable values are: \n- \"active\" \n- \"inactive\" \n- \"pending\"",
+ "description": "The status of the verification process for the About page.\n\nAcceptable values are: \n- \"`active`\" \n- \"`inactive`\" \n- \"`pending`\"",
"type": "string"
},
"url": {
@@ -5192,11 +5533,11 @@
"type": "string"
},
"inventoryVerificationContactStatus": {
- "description": "The status of the verification contact.\n\nAcceptable values are: \n- \"active\" \n- \"inactive\" \n- \"pending\"",
+ "description": "The status of the verification contact.\n\nAcceptable values are: \n- \"`active`\" \n- \"`inactive`\" \n- \"`pending`\"",
"type": "string"
},
"status": {
- "description": "The status of the inventory verification process.\n\nAcceptable values are: \n- \"active\" \n- \"inactive\" \n- \"pending\"",
+ "description": "The status of the inventory verification process.\n\nAcceptable values are: \n- \"`active`\" \n- \"`inactive`\" \n- \"`pending`\"",
"type": "string"
}
},
@@ -5210,7 +5551,7 @@
"type": "string"
},
"status": {
- "description": "The status of the ?On display to order? feature.\n\nAcceptable values are: \n- \"active\" \n- \"inactive\" \n- \"pending\"",
+ "description": "The status of the ?On display to order? feature.\n\nAcceptable values are: \n- \"`active`\" \n- \"`inactive`\" \n- \"`pending`\"",
"type": "string"
}
},
@@ -5249,7 +5590,7 @@
},
"kind": {
"default": "content#liaSettings",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#liaSettings\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liaSettings`\"",
"type": "string"
}
},
@@ -5272,7 +5613,7 @@
"id": "LiasettingsCustomBatchRequestEntry",
"properties": {
"accountId": {
- "description": "The ID of the account for which to get/update account shipping settings.",
+ "description": "The ID of the account for which to get/update account LIA settings.",
"format": "uint64",
"type": "string"
},
@@ -5299,7 +5640,7 @@
},
"liaSettings": {
"$ref": "LiaSettings",
- "description": "The account Lia settings to update. Only defined if the method is update."
+ "description": "The account Lia settings to update. Only defined if the method is `update`."
},
"merchantId": {
"description": "The ID of the managing account.",
@@ -5307,7 +5648,7 @@
"type": "string"
},
"method": {
- "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"get\" \n- \"getAccessibleGmbAccounts\" \n- \"requestGmbAccess\" \n- \"requestInventoryVerification\" \n- \"setInventoryVerificationContact\" \n- \"update\"",
+ "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"`get`\" \n- \"`getAccessibleGmbAccounts`\" \n- \"`requestGmbAccess`\" \n- \"`requestInventoryVerification`\" \n- \"`setInventoryVerificationContact`\" \n- \"`update`\"",
"type": "string"
},
"posDataProviderId": {
@@ -5358,7 +5699,7 @@
},
"kind": {
"default": "content#liasettingsCustomBatchResponseEntry",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#liasettingsCustomBatchResponseEntry\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liasettingsCustomBatchResponseEntry`\"",
"type": "string"
},
"liaSettings": {
@@ -5379,7 +5720,7 @@
"id": "LiasettingsGetAccessibleGmbAccountsResponse",
"properties": {
"accountId": {
- "description": "The ID of the account.",
+ "description": "The ID of the Merchant Center account.",
"format": "uint64",
"type": "string"
},
@@ -5485,11 +5826,11 @@
"id": "LinkService",
"properties": {
"service": {
- "description": "Service provided to or by the linked account.\n\nAcceptable values are: \n- \"shoppingActionsOrderManagement\" \n- \"shoppingActionsProductManagement\" \n- \"shoppingAdsProductManagement\"",
+ "description": "Service provided to or by the linked account.\n\nAcceptable values are: \n- \"`shoppingActionsOrderManagement`\" \n- \"`shoppingActionsProductManagement`\" \n- \"`shoppingAdsProductManagement`\"",
"type": "string"
},
"status": {
- "description": "Status of the link\n\nAcceptable values are: \n- \"active\" \n- \"inactive\" \n- \"pending\"",
+ "description": "Status of the link\n\nAcceptable values are: \n- \"`active`\" \n- \"`inactive`\" \n- \"`pending`\"",
"type": "string"
}
},
@@ -5526,15 +5867,15 @@
},
"kind": {
"default": "content#localInventory",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#localInventory\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#localInventory`\"",
"type": "string"
},
"pickupMethod": {
- "description": "Supported pickup method for this offer. Unless the value is \"not supported\", this field must be submitted together with pickupSla.",
+ "description": "Supported pickup method for this offer. Unless the value is \"not supported\", this field must be submitted together with `pickupSla`.",
"type": "string"
},
"pickupSla": {
- "description": "Expected date that an order will be ready for pickup relative to the order date. Must be submitted together with pickupMethod.",
+ "description": "Expected date that an order will be ready for pickup relative to the order date. Must be submitted together with `pickupMethod`.",
"type": "string"
},
"price": {
@@ -5548,7 +5889,7 @@
},
"salePrice": {
"$ref": "Price",
- "description": "Sale price of the product. Mandatory if sale_price_effective_date is defined."
+ "description": "Sale price of the product. Mandatory if `sale_price_effective_date` is defined."
},
"salePriceEffectiveDate": {
"description": "A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash. Both dates may be specified as 'null' if undecided.",
@@ -5593,7 +5934,7 @@
"type": "string"
},
"method": {
- "description": "Method of the batch request entry.\n\nAcceptable values are: \n- \"insert\"",
+ "description": "Method of the batch request entry.\n\nAcceptable values are: \n- \"`insert`\"",
"type": "string"
},
"productId": {
@@ -5636,7 +5977,7 @@
},
"kind": {
"default": "content#localinventoryCustomBatchResponseEntry",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#localinventoryCustomBatchResponseEntry\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#localinventoryCustomBatchResponseEntry`\"",
"type": "string"
}
},
@@ -5702,6 +6043,10 @@
},
"type": "array"
},
+ "returnPricingInfo": {
+ "$ref": "ReturnPricingInfo",
+ "description": "Information about shipping costs."
+ },
"returnShipments": {
"description": "Shipments of the return.",
"items": {
@@ -5723,6 +6068,10 @@
"description": "Product level item ID. If the returned items are of the same product, they will have the same ID.",
"type": "string"
},
+ "merchantRejectionReason": {
+ "$ref": "MerchantRejectionReason",
+ "description": "The reason that the merchant chose to reject an item return."
+ },
"merchantReturnReason": {
"$ref": "RefundReason",
"description": "The reason that merchant chooses to accept a return item."
@@ -5731,6 +6080,14 @@
"$ref": "OrderLineItemProduct",
"description": "Product data from the time of the order placement."
},
+ "refundableAmount": {
+ "$ref": "MonetaryAmount",
+ "description": "Maximum amount that can be refunded for this return item."
+ },
+ "returnItemId": {
+ "description": "Unit level ID for the return item. Different units of the same product will have different IDs.",
+ "type": "string"
+ },
"returnShipmentIds": {
"description": "IDs of the return shipments that this return item belongs to.",
"items": {
@@ -5738,21 +6095,94 @@
},
"type": "array"
},
+ "shipmentGroupId": {
+ "description": "ID of the original shipment group. Provided for shipments with invoice support.",
+ "type": "string"
+ },
+ "shipmentUnitId": {
+ "description": "ID of the shipment unit assigned by the merchant. Provided for shipments with invoice support.",
+ "type": "string"
+ },
"state": {
- "description": "State of the item.\n\nAcceptable values are: \n- \"canceled\" \n- \"new\" \n- \"received\" \n- \"refunded\" \n- \"rejected\"",
+ "description": "State of the item.\n\nAcceptable values are: \n- \"`canceled`\" \n- \"`new`\" \n- \"`received`\" \n- \"`refunded`\" \n- \"`rejected`\"",
"type": "string"
}
},
"type": "object"
},
+ "MerchantRejectionReason": {
+ "id": "MerchantRejectionReason",
+ "properties": {
+ "description": {
+ "description": "Description of the reason.",
+ "type": "string"
+ },
+ "reasonCode": {
+ "description": "Code of the rejection reason.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "MinimumOrderValueTable": {
+ "id": "MinimumOrderValueTable",
+ "properties": {
+ "storeCodeSetWithMovs": {
+ "items": {
+ "$ref": "MinimumOrderValueTableStoreCodeSetWithMov"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "MinimumOrderValueTableStoreCodeSetWithMov": {
+ "description": "A list of store code sets sharing the same minimum order value. At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.",
+ "id": "MinimumOrderValueTableStoreCodeSetWithMov",
+ "properties": {
+ "storeCodes": {
+ "description": "A list of unique store codes or empty for the catch all.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "value": {
+ "$ref": "Price",
+ "description": "The minimum order value for the given stores."
+ }
+ },
+ "type": "object"
+ },
+ "MonetaryAmount": {
+ "id": "MonetaryAmount",
+ "properties": {
+ "priceAmount": {
+ "$ref": "Price",
+ "description": "The pre-tax or post-tax price depends on the location of the order. - For countries (e.g. US) where price attribute excludes tax, this field corresponds to the pre-tax value. - For coutries (e.g. France) where price attribute includes tax, this field corresponds to the post-tax value ."
+ },
+ "taxAmount": {
+ "$ref": "Price",
+ "description": "Tax value, present only for countries where price attribute excludes tax (e.g. US). No tax is referenced as 0 value with the corresponding `currency`."
+ }
+ },
+ "type": "object"
+ },
"Order": {
- "description": "Order. Production access (all methods) requires the order manager role. Sandbox access does not.",
+ "description": "Order. Production access (all methods) requires the order manager role. Sandbox access does not. (== resource_for v2.orders ==) (== resource_for v2.1.orders ==)",
"id": "Order",
"properties": {
"acknowledged": {
"description": "Whether the order was acknowledged.",
"type": "boolean"
},
+ "annotations": {
+ "description": "List of key-value pairs that are attached to a given order.",
+ "items": {
+ "$ref": "OrderOrderAnnotation"
+ },
+ "type": "array"
+ },
"billingAddress": {
"$ref": "OrderAddress",
"description": "The billing address."
@@ -5763,7 +6193,7 @@
},
"deliveryDetails": {
"$ref": "OrderDeliveryDetails",
- "description": "Delivery details for shipments of type delivery."
+ "description": "Delivery details for shipments of type `delivery`."
},
"id": {
"description": "The REST ID of the order. Globally unique.",
@@ -5771,7 +6201,7 @@
},
"kind": {
"default": "content#order",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#order\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#order`\"",
"type": "string"
},
"lineItems": {
@@ -5795,22 +6225,22 @@
},
"netTaxAmount": {
"$ref": "Price",
- "description": "The net amount for the order (tax part). Note that in certain cases due to taxable base adjustment netTaxAmount might not match to a sum of tax field across all lineItems and refunds."
+ "description": "The net amount for the order (tax part). Note that in certain cases due to taxable base adjustment `netTaxAmount` might not match to a sum of tax field across all lineItems and refunds."
},
"paymentStatus": {
- "description": "The status of the payment.\n\nAcceptable values are: \n- \"paymentCaptured\" \n- \"paymentRejected\" \n- \"paymentSecured\" \n- \"pendingAuthorization\"",
+ "description": "The status of the payment.\n\nAcceptable values are: \n- \"`paymentCaptured`\" \n- \"`paymentRejected`\" \n- \"`paymentSecured`\" \n- \"`pendingAuthorization`\"",
"type": "string"
},
"pickupDetails": {
"$ref": "OrderPickupDetails",
- "description": "Pickup details for shipments of type pickup."
+ "description": "Pickup details for shipments of type `pickup`."
},
"placedDate": {
"description": "The date when the order was placed, in ISO 8601 format.",
"type": "string"
},
"promotions": {
- "description": "Promotions associated with the order.\n\nTo determine which promotions apply to which products, check the Promotions[].appliedItems[].lineItemId field against the LineItems[].id field for each promotion. If a promotion is applied to more than 1 offerId, divide the discount value by the number of affected offers to determine how much discount to apply to each offerId.\n\nExamples: \n- To calculate price paid by the customer for a single line item including the discount: For each promotion, subtract the LineItems[].adjustments[].priceAdjustment.value amount from the LineItems[].Price.value. \n- To calculate price paid by the customer for a single line item including the discount in case of multiple quantity: For each promotion, divide the LineItems[].adjustments[].priceAdjustment.value by the quantity of products then subtract the resulting value from the LineItems[].Product.Price.value for each quantity item. \n\nOnly 1 promotion can be applied to an offerId in a given order. To refund an item which had a promotion applied to it, make sure to refund the amount after first subtracting the promotion discount from the item price.\n\nMore details about the program are here.",
+ "description": "Promotions associated with the order.\n\nTo determine which promotions apply to which products, check the `Promotions[].appliedItems[].lineItemId` field against the `LineItems[].id` field for each promotion. If a promotion is applied to more than 1 offerId, divide the discount value by the number of affected offers to determine how much discount to apply to each offerId.\n\nExamples: \n- To calculate price paid by the customer for a single line item including the discount: For each promotion, subtract the `LineItems[].adjustments[].priceAdjustment.value` amount from the `LineItems[].Price.value`. \n- To calculate price paid by the customer for a single line item including the discount in case of multiple quantity: For each promotion, divide the `LineItems[].adjustments[].priceAdjustment.value` by the quantity of products then subtract the resulting value from the `LineItems[].Product.Price.value` for each quantity item. \n\nOnly 1 promotion can be applied to an offerId in a given order. To refund an item which had a promotion applied to it, make sure to refund the amount after first subtracting the promotion discount from the item price.\n\nMore details about the program are here.",
"items": {
"$ref": "OrderPromotion"
},
@@ -5839,11 +6269,11 @@
"description": "The tax for the total shipping cost."
},
"status": {
- "description": "The status of the order.\n\nAcceptable values are: \n- \"canceled\" \n- \"delivered\" \n- \"inProgress\" \n- \"partiallyDelivered\" \n- \"partiallyReturned\" \n- \"partiallyShipped\" \n- \"pendingShipment\" \n- \"returned\" \n- \"shipped\"",
+ "description": "The status of the order.\n\nAcceptable values are: \n- \"`canceled`\" \n- \"`delivered`\" \n- \"`inProgress`\" \n- \"`partiallyDelivered`\" \n- \"`partiallyReturned`\" \n- \"`partiallyShipped`\" \n- \"`pendingShipment`\" \n- \"`returned`\" \n- \"`shipped`\"",
"type": "string"
},
"taxCollector": {
- "description": "The party responsible for collecting and remitting taxes.\n\nAcceptable values are: \n- \"marketplaceFacilitator\" \n- \"merchant\"",
+ "description": "The party responsible for collecting and remitting taxes.\n\nAcceptable values are: \n- \"`marketplaceFacilitator`\" \n- \"`merchant`\"",
"type": "string"
}
},
@@ -5897,7 +6327,7 @@
"id": "OrderCancellation",
"properties": {
"actor": {
- "description": "The actor that created the cancellation.\n\nAcceptable values are: \n- \"customer\" \n- \"googleBot\" \n- \"googleCustomerService\" \n- \"googlePayments\" \n- \"googleSabre\" \n- \"merchant\"",
+ "description": "The actor that created the cancellation.\n\nAcceptable values are: \n- \"`customer`\" \n- \"`googleBot`\" \n- \"`googleCustomerService`\" \n- \"`googlePayments`\" \n- \"`googleSabre`\" \n- \"`merchant`\"",
"type": "string"
},
"creationDate": {
@@ -5910,7 +6340,7 @@
"type": "integer"
},
"reason": {
- "description": "The reason for the cancellation. Orders that are canceled with a noInventory reason will lead to the removal of the product from Shopping Actions until you make an update to that product. This will not affect your Shopping ads.\n\nAcceptable values are: \n- \"autoPostInternal\" \n- \"autoPostInvalidBillingAddress\" \n- \"autoPostNoInventory\" \n- \"autoPostPriceError\" \n- \"autoPostUndeliverableShippingAddress\" \n- \"couponAbuse\" \n- \"customerCanceled\" \n- \"customerInitiatedCancel\" \n- \"customerSupportRequested\" \n- \"failToPushOrderGoogleError\" \n- \"failToPushOrderMerchantError\" \n- \"failToPushOrderMerchantFulfillmentError\" \n- \"failToPushOrderToMerchant\" \n- \"failToPushOrderToMerchantOutOfStock\" \n- \"invalidCoupon\" \n- \"malformedShippingAddress\" \n- \"merchantDidNotShipOnTime\" \n- \"noInventory\" \n- \"orderTimeout\" \n- \"other\" \n- \"paymentAbuse\" \n- \"paymentDeclined\" \n- \"priceError\" \n- \"returnRefundAbuse\" \n- \"shippingPriceError\" \n- \"taxError\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\"",
+ "description": "The reason for the cancellation. Orders that are canceled with a noInventory reason will lead to the removal of the product from Shopping Actions until you make an update to that product. This will not affect your Shopping ads.\n\nAcceptable values are: \n- \"`autoPostInternal`\" \n- \"`autoPostInvalidBillingAddress`\" \n- \"`autoPostNoInventory`\" \n- \"`autoPostPriceError`\" \n- \"`autoPostUndeliverableShippingAddress`\" \n- \"`couponAbuse`\" \n- \"`customerCanceled`\" \n- \"`customerInitiatedCancel`\" \n- \"`customerSupportRequested`\" \n- \"`failToPushOrderGoogleError`\" \n- \"`failToPushOrderMerchantError`\" \n- \"`failToPushOrderMerchantFulfillmentError`\" \n- \"`failToPushOrderToMerchant`\" \n- \"`failToPushOrderToMerchantOutOfStock`\" \n- \"`invalidCoupon`\" \n- \"`malformedShippingAddress`\" \n- \"`merchantDidNotShipOnTime`\" \n- \"`noInventory`\" \n- \"`orderTimeout`\" \n- \"`other`\" \n- \"`paymentAbuse`\" \n- \"`paymentDeclined`\" \n- \"`priceError`\" \n- \"`returnRefundAbuse`\" \n- \"`shippingPriceError`\" \n- \"`taxError`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\"",
"type": "string"
},
"reasonText": {
@@ -5928,7 +6358,7 @@
"type": "string"
},
"invoiceReceivingEmail": {
- "description": "Email address for the merchant to send value-added tax or invoice documentation of the order. This documentation is made available to the customer.",
+ "description": "Email address for the merchant to send value-added tax or invoice documentation of the order. Only the last document sent is made available to the customer. For more information, see About automated VAT invoicing for Shopping Actions.",
"type": "string"
},
"loyaltyInfo": {
@@ -5960,7 +6390,7 @@
"id": "OrderCustomerMarketingRightsInfo",
"properties": {
"explicitMarketingPreference": {
- "description": "Last known customer selection regarding marketing preferences. In certain cases this selection might not be known, so this field would be empty. If a customer selected granted in their most recent order, they can be subscribed to marketing emails. Customers who have chosen denied must not be subscribed, or must be unsubscribed if already opted-in.\n\nAcceptable values are: \n- \"denied\" \n- \"granted\"",
+ "description": "Last known customer selection regarding marketing preferences. In certain cases this selection might not be known, so this field would be empty. If a customer selected `granted` in their most recent order, they can be subscribed to marketing emails. Customers who have chosen `denied` must not be subscribed, or must be unsubscribed if already opted-in.\n\nAcceptable values are: \n- \"`denied`\" \n- \"`granted`\"",
"type": "string"
},
"lastUpdatedTimestamp": {
@@ -5968,7 +6398,7 @@
"type": "string"
},
"marketingEmailAddress": {
- "description": "Email address that can be used for marketing purposes. The field may be empty even if explicitMarketingPreference is 'granted'. This happens when retrieving an old order from the customer who deleted their account.",
+ "description": "Email address that can be used for marketing purposes. The field may be empty even if `explicitMarketingPreference` is 'granted'. This happens when retrieving an old order from the customer who deleted their account.",
"type": "string"
}
},
@@ -6098,7 +6528,7 @@
"description": "Adjustment for total tax of the line item."
},
"type": {
- "description": "Type of this adjustment.\n\nAcceptable values are: \n- \"promotion\"",
+ "description": "Type of this adjustment.\n\nAcceptable values are: \n- \"`promotion`\"",
"type": "string"
}
},
@@ -6112,7 +6542,7 @@
"type": "string"
},
"condition": {
- "description": "Condition or state of the item.\n\nAcceptable values are: \n- \"new\" \n- \"refurbished\" \n- \"used\"",
+ "description": "Condition or state of the item.\n\nAcceptable values are: \n- \"`new`\" \n- \"`refurbished`\" \n- \"`used`\"",
"type": "string"
},
"contentLanguage": {
@@ -6259,6 +6689,11 @@
},
"description": "Required. Details of the shipping method."
},
+ "pickupPromiseInMinutes": {
+ "description": "The promised time in minutes in which the order will be ready for pickup. This only applies to buy-online-pickup-in-store same-day order.",
+ "format": "uint32",
+ "type": "integer"
+ },
"shipByDate": {
"annotations": {
"required": [
@@ -6269,7 +6704,7 @@
"type": "string"
},
"type": {
- "description": "Type of shipment. Indicates whether deliveryDetails or pickupDetails is applicable for this shipment.\n\nAcceptable values are: \n- \"delivery\" \n- \"pickup\"",
+ "description": "Type of shipment. Indicates whether `deliveryDetails` or `pickupDetails` is applicable for this shipment.\n\nAcceptable values are: \n- \"`delivery`\" \n- \"`pickup`\"",
"type": "string"
}
},
@@ -6279,7 +6714,7 @@
"id": "OrderLineItemShippingDetailsMethod",
"properties": {
"carrier": {
- "description": "The carrier for the shipping. Optional. See shipments[].carrier for a list of acceptable values.",
+ "description": "The carrier for the shipping. Optional. See `shipments[].carrier` for a list of acceptable values.",
"type": "string"
},
"maxDaysInTransit": {
@@ -6328,12 +6763,26 @@
},
"type": "object"
},
+ "OrderOrderAnnotation": {
+ "id": "OrderOrderAnnotation",
+ "properties": {
+ "key": {
+ "description": "Key for additional google provided (as key-value pairs) annotation.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Value for additional google provided (as key-value pairs) annotation.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"OrderPickupDetails": {
"id": "OrderPickupDetails",
"properties": {
"address": {
"$ref": "OrderAddress",
- "description": "Address of the pickup location where the shipment should be sent. Note that recipientName in the address is the name of the business at the pickup location."
+ "description": "Address of the pickup location where the shipment should be sent. Note that `recipientName` in the address is the name of the business at the pickup location."
},
"collectors": {
"description": "Collectors authorized to pick up shipment from the pickup location.",
@@ -6345,6 +6794,10 @@
"locationId": {
"description": "ID of the pickup location.",
"type": "string"
+ },
+ "pickupType": {
+ "description": "The pickup type of this order.\n\nAcceptable values are: \n- \"`merchantStore`\" \n- \"`merchantStoreCurbside`\" \n- \"`merchantStoreLocker`\" \n- \"`thirdPartyPickupPoint`\" \n- \"`thirdPartyLocker`\"",
+ "type": "string"
}
},
"type": "object"
@@ -6367,14 +6820,14 @@
"id": "OrderPromotion",
"properties": {
"applicableItems": {
- "description": "Items which this promotion may be applied to. If empty, there are no restrictions on applicable items and quantity.",
+ "description": "Items that this promotion may be applied to. If empty, there are no restrictions on applicable items and quantity. This field will also be empty for shipping promotions because shipping is not tied to any specific item.",
"items": {
"$ref": "OrderPromotionItem"
},
"type": "array"
},
"appliedItems": {
- "description": "Items which this promotion have been applied to. Do not provide for orders.createtestorder.",
+ "description": "Items that this promotion have been applied to. Do not provide for `orders.createtestorder`. This field will be empty for shipping promotions because shipping is not tied to any specific item.",
"items": {
"$ref": "OrderPromotionItem"
},
@@ -6390,7 +6843,7 @@
"content.orders.createtestorder"
]
},
- "description": "Required. The party funding the promotion. Only merchant is supported for orders.createtestorder.\n\nAcceptable values are: \n- \"google\" \n- \"merchant\"",
+ "description": "Required. The party funding the promotion. Only `merchant` is supported for `orders.createtestorder`.\n\nAcceptable values are: \n- \"`google`\" \n- \"`merchant`\"",
"type": "string"
},
"merchantPromotionId": {
@@ -6407,7 +6860,7 @@
"description": "Estimated discount applied to price. Amount is pre-tax or post-tax depending on location of order."
},
"shortTitle": {
- "description": "A short title of the promotion to be shown on the checkout page. Do not provide for orders.createtestorder.",
+ "description": "A short title of the promotion to be shown on the checkout page. Do not provide for `orders.createtestorder`.",
"type": "string"
},
"startTime": {
@@ -6420,12 +6873,12 @@
"content.orders.createtestorder"
]
},
- "description": "Required. The category of the promotion. Only moneyOff is supported for orders.createtestorder.\n\nAcceptable values are: \n- \"buyMGetMoneyOff\" \n- \"buyMGetNMoneyOff\" \n- \"buyMGetNPercentOff\" \n- \"buyMGetPercentOff\" \n- \"freeGift\" \n- \"freeGiftWithItemId\" \n- \"freeGiftWithValue\" \n- \"freeShippingOvernight\" \n- \"freeShippingStandard\" \n- \"freeShippingTwoDay\" \n- \"moneyOff\" \n- \"percentOff\" \n- \"rewardPoints\" \n- \"salePrice\"",
+ "description": "Required. The category of the promotion. Only `moneyOff` is supported for `orders.createtestorder`.\n\nAcceptable values are: \n- \"`buyMGetMoneyOff`\" \n- \"`buyMGetNMoneyOff`\" \n- \"`buyMGetNPercentOff`\" \n- \"`buyMGetPercentOff`\" \n- \"`freeGift`\" \n- \"`freeGiftWithItemId`\" \n- \"`freeGiftWithValue`\" \n- \"`freeShippingOvernight`\" \n- \"`freeShippingStandard`\" \n- \"`freeShippingTwoDay`\" \n- \"`moneyOff`\" \n- \"`percentOff`\" \n- \"`rewardPoints`\" \n- \"`salePrice`\"",
"type": "string"
},
"taxValue": {
"$ref": "Price",
- "description": "Estimated discount applied to tax (if allowed by law). Do not provide for orders.createtestorder."
+ "description": "Estimated discount applied to tax (if allowed by law). Do not provide for `orders.createtestorder`."
},
"title": {
"annotations": {
@@ -6442,7 +6895,7 @@
"content.orders.createtestorder"
]
},
- "description": "Required. The scope of the promotion. Only product is supported for orders.createtestorder.\n\nAcceptable values are: \n- \"product\" \n- \"shipping\"",
+ "description": "Required. The scope of the promotion. Only `product` is supported for `orders.createtestorder`.\n\nAcceptable values are: \n- \"`product`\" \n- \"`shipping`\"",
"type": "string"
}
},
@@ -6452,7 +6905,7 @@
"id": "OrderPromotionItem",
"properties": {
"lineItemId": {
- "description": "The line item ID of a product. Do not provide for orders.createtestorder.",
+ "description": "The line item ID of a product. Do not provide for `orders.createtestorder`.",
"type": "string"
},
"offerId": {
@@ -6461,15 +6914,15 @@
"content.orders.createtestorder"
]
},
- "description": "Required. Offer ID of a product. Only for orders.createtestorder.",
+ "description": "Required. Offer ID of a product. Only for `orders.createtestorder`.",
"type": "string"
},
"productId": {
- "description": "orders.createtestorder.",
+ "description": "`orders.createtestorder`.",
"type": "string"
},
"quantity": {
- "description": "The quantity of the associated product. Do not provide for orders.createtestorder.",
+ "description": "The quantity of the associated product. Do not provide for `orders.createtestorder`.",
"format": "int32",
"type": "integer"
}
@@ -6480,7 +6933,7 @@
"id": "OrderRefund",
"properties": {
"actor": {
- "description": "The actor that created the refund.\n\nAcceptable values are: \n- \"customer\" \n- \"googleBot\" \n- \"googleCustomerService\" \n- \"googlePayments\" \n- \"googleSabre\" \n- \"merchant\"",
+ "description": "The actor that created the refund.\n\nAcceptable values are: \n- \"`customer`\" \n- \"`googleBot`\" \n- \"`googleCustomerService`\" \n- \"`googlePayments`\" \n- \"`googleSabre`\" \n- \"`merchant`\"",
"type": "string"
},
"amount": {
@@ -6492,7 +6945,7 @@
"type": "string"
},
"reason": {
- "description": "The reason for the refund.\n\nAcceptable values are: \n- \"adjustment\" \n- \"autoPostInternal\" \n- \"autoPostInvalidBillingAddress\" \n- \"autoPostNoInventory\" \n- \"autoPostPriceError\" \n- \"autoPostUndeliverableShippingAddress\" \n- \"couponAbuse\" \n- \"courtesyAdjustment\" \n- \"customerCanceled\" \n- \"customerDiscretionaryReturn\" \n- \"customerInitiatedMerchantCancel\" \n- \"customerSupportRequested\" \n- \"deliveredLateByCarrier\" \n- \"deliveredTooLate\" \n- \"expiredItem\" \n- \"failToPushOrderGoogleError\" \n- \"failToPushOrderMerchantError\" \n- \"failToPushOrderMerchantFulfillmentError\" \n- \"failToPushOrderToMerchant\" \n- \"failToPushOrderToMerchantOutOfStock\" \n- \"feeAdjustment\" \n- \"invalidCoupon\" \n- \"lateShipmentCredit\" \n- \"malformedShippingAddress\" \n- \"merchantDidNotShipOnTime\" \n- \"noInventory\" \n- \"orderTimeout\" \n- \"other\" \n- \"paymentAbuse\" \n- \"paymentDeclined\" \n- \"priceAdjustment\" \n- \"priceError\" \n- \"productArrivedDamaged\" \n- \"productNotAsDescribed\" \n- \"promoReallocation\" \n- \"qualityNotAsExpected\" \n- \"returnRefundAbuse\" \n- \"shippingCostAdjustment\" \n- \"shippingPriceError\" \n- \"taxAdjustment\" \n- \"taxError\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\" \n- \"wrongProductShipped\"",
+ "description": "The reason for the refund.\n\nAcceptable values are: \n- \"`adjustment`\" \n- \"`autoPostInternal`\" \n- \"`autoPostInvalidBillingAddress`\" \n- \"`autoPostNoInventory`\" \n- \"`autoPostPriceError`\" \n- \"`autoPostUndeliverableShippingAddress`\" \n- \"`couponAbuse`\" \n- \"`courtesyAdjustment`\" \n- \"`customerCanceled`\" \n- \"`customerDiscretionaryReturn`\" \n- \"`customerInitiatedMerchantCancel`\" \n- \"`customerSupportRequested`\" \n- \"`deliveredLateByCarrier`\" \n- \"`deliveredTooLate`\" \n- \"`expiredItem`\" \n- \"`failToPushOrderGoogleError`\" \n- \"`failToPushOrderMerchantError`\" \n- \"`failToPushOrderMerchantFulfillmentError`\" \n- \"`failToPushOrderToMerchant`\" \n- \"`failToPushOrderToMerchantOutOfStock`\" \n- \"`feeAdjustment`\" \n- \"`invalidCoupon`\" \n- \"`lateShipmentCredit`\" \n- \"`malformedShippingAddress`\" \n- \"`merchantDidNotShipOnTime`\" \n- \"`noInventory`\" \n- \"`orderTimeout`\" \n- \"`other`\" \n- \"`paymentAbuse`\" \n- \"`paymentDeclined`\" \n- \"`priceAdjustment`\" \n- \"`priceError`\" \n- \"`productArrivedDamaged`\" \n- \"`productNotAsDescribed`\" \n- \"`promoReallocation`\" \n- \"`qualityNotAsExpected`\" \n- \"`returnRefundAbuse`\" \n- \"`shippingCostAdjustment`\" \n- \"`shippingPriceError`\" \n- \"`taxAdjustment`\" \n- \"`taxError`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\" \n- \"`wrongProductShipped`\"",
"type": "string"
},
"reasonText": {
@@ -6503,7 +6956,7 @@
"type": "object"
},
"OrderReportDisbursement": {
- "description": "Order disbursement. All methods require the payment analyst role.",
+ "description": "Order disbursement. All methods require the payment analyst role. (== resource_for v2.orderreports ==) (== resource_for v2.1.orderreports ==)",
"id": "OrderReportDisbursement",
"properties": {
"disbursementAmount": {
@@ -6577,7 +7030,7 @@
"id": "OrderReturn",
"properties": {
"actor": {
- "description": "The actor that created the refund.\n\nAcceptable values are: \n- \"customer\" \n- \"googleBot\" \n- \"googleCustomerService\" \n- \"googlePayments\" \n- \"googleSabre\" \n- \"merchant\"",
+ "description": "The actor that created the refund.\n\nAcceptable values are: \n- \"`customer`\" \n- \"`googleBot`\" \n- \"`googleCustomerService`\" \n- \"`googlePayments`\" \n- \"`googleSabre`\" \n- \"`merchant`\"",
"type": "string"
},
"creationDate": {
@@ -6590,7 +7043,7 @@
"type": "integer"
},
"reason": {
- "description": "The reason for the return.\n\nAcceptable values are: \n- \"customerDiscretionaryReturn\" \n- \"customerInitiatedMerchantCancel\" \n- \"deliveredTooLate\" \n- \"expiredItem\" \n- \"invalidCoupon\" \n- \"malformedShippingAddress\" \n- \"other\" \n- \"productArrivedDamaged\" \n- \"productNotAsDescribed\" \n- \"qualityNotAsExpected\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\" \n- \"wrongProductShipped\"",
+ "description": "The reason for the return.\n\nAcceptable values are: \n- \"`customerDiscretionaryReturn`\" \n- \"`customerInitiatedMerchantCancel`\" \n- \"`deliveredTooLate`\" \n- \"`expiredItem`\" \n- \"`invalidCoupon`\" \n- \"`malformedShippingAddress`\" \n- \"`other`\" \n- \"`productArrivedDamaged`\" \n- \"`productNotAsDescribed`\" \n- \"`qualityNotAsExpected`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\" \n- \"`wrongProductShipped`\"",
"type": "string"
},
"reasonText": {
@@ -6604,7 +7057,7 @@
"id": "OrderShipment",
"properties": {
"carrier": {
- "description": "The carrier handling the shipment.\n\nFor supported carriers, Google includes the carrier name and tracking URL in emails to customers. For select supported carriers, Google also automatically updates the shipment status based on the provided shipment ID. Note: You can also use unsupported carriers, but emails to customers will not include the carrier name or tracking URL, and there will be no automatic order status updates. \nSupported carriers for US are: \n- \"ups\" (United Parcel Service) automatic status updates \n- \"usps\" (United States Postal Service) automatic status updates \n- \"fedex\" (FedEx) automatic status updates \n- \"dhl\" (DHL eCommerce) automatic status updates (US only) \n- \"ontrac\" (OnTrac) automatic status updates \n- \"dhl express\" (DHL Express)\n- \"deliv\" (Deliv) \n- \"dynamex\" (TForce) \n- \"lasership\" (LaserShip) \n- \"mpx\" (Military Parcel Xpress) \n- \"uds\" (United Delivery Service) \n- \"efw\" (Estes Forwarding Worldwide) \n- \"jd logistics\" (JD Logistics) \n- \"yunexpress\" (YunExpress) \n- \"china post\" (China Post) \n- \"china ems\" (China Post Express Mail Service) \n- \"singapore post\" (Singapore Post) \n- \"pos malaysia\" (Pos Malaysia) \n- \"postnl\" (PostNL) \n- \"ptt\" (PTT Turkish Post) \n- \"eub\" (ePacket) \n- \"chukou1\" (Chukou1 Logistics) \nSupported carriers for FR are: \n- \"la poste\" (La Poste) automatic status updates \n- \"colissimo\" (Colissimo by La Poste) automatic status updates \n- \"ups\" (United Parcel Service) automatic status updates \n- \"chronopost\" (Chronopost by La Poste) \n- \"gls\" (General Logistics Systems France) \n- \"dpd\" (DPD Group by GeoPost) \n- \"bpost\" (Belgian Post Group) \n- \"colis prive\" (Colis Priv\u00e9) \n- \"boxtal\" (Boxtal) \n- \"geodis\" (GEODIS) \n- \"tnt\" (TNT) \n- \"db schenker\" (DB Schenker) \n- \"aramex\" (Aramex)",
+ "description": "The carrier handling the shipment.\n\nFor supported carriers, Google includes the carrier name and tracking URL in emails to customers. For select supported carriers, Google also automatically updates the shipment status based on the provided shipment ID. Note: You can also use unsupported carriers, but emails to customers will not include the carrier name or tracking URL, and there will be no automatic order status updates. \nSupported carriers for US are: \n- \"`ups`\" (United Parcel Service) automatic status updates \n- \"`usps`\" (United States Postal Service) automatic status updates \n- \"`fedex`\" (FedEx) automatic status updates \n- \"`dhl`\" (DHL eCommerce) automatic status updates (US only) \n- \"`ontrac`\" (OnTrac) automatic status updates \n- \"`dhl express`\" (DHL Express)\n- \"`deliv`\" (Deliv) \n- \"`dynamex`\" (TForce) \n- \"`lasership`\" (LaserShip) \n- \"`mpx`\" (Military Parcel Xpress) \n- \"`uds`\" (United Delivery Service) \n- \"`efw`\" (Estes Forwarding Worldwide) \n- \"`jd logistics`\" (JD Logistics) \n- \"`yunexpress`\" (YunExpress) \n- \"`china post`\" (China Post) \n- \"`china ems`\" (China Post Express Mail Service) \n- \"`singapore post`\" (Singapore Post) \n- \"`pos malaysia`\" (Pos Malaysia) \n- \"`postnl`\" (PostNL) \n- \"`ptt`\" (PTT Turkish Post) \n- \"`eub`\" (ePacket) \n- \"`chukou1`\" (Chukou1 Logistics) \nSupported carriers for FR are: \n- \"`la poste`\" (La Poste) automatic status updates \n- \"`colissimo`\" (Colissimo by La Poste) automatic status updates \n- \"`ups`\" (United Parcel Service) automatic status updates \n- \"`chronopost`\" (Chronopost by La Poste) \n- \"`gls`\" (General Logistics Systems France) \n- \"`dpd`\" (DPD Group by GeoPost) \n- \"`bpost`\" (Belgian Post Group) \n- \"`colis prive`\" (Colis Priv\u00e9) \n- \"`boxtal`\" (Boxtal) \n- \"`geodis`\" (GEODIS) \n- \"`tnt`\" (TNT) \n- \"`db schenker`\" (DB Schenker) \n- \"`aramex`\" (Aramex)",
"type": "string"
},
"creationDate": {
@@ -6612,7 +7065,7 @@
"type": "string"
},
"deliveryDate": {
- "description": "Date on which the shipment has been delivered, in ISO 8601 format. Present only if status is delivered",
+ "description": "Date on which the shipment has been delivered, in ISO 8601 format. Present only if `status` is `delivered`",
"type": "string"
},
"id": {
@@ -6626,12 +7079,16 @@
},
"type": "array"
},
+ "scheduledDeliveryDetails": {
+ "$ref": "OrderShipmentScheduledDeliveryDetails",
+ "description": "Delivery details of the shipment if scheduling is needed."
+ },
"shipmentGroupId": {
"description": "The shipment group ID of the shipment. This is set in shiplineitems request.",
"type": "string"
},
"status": {
- "description": "The status of the shipment.\n\nAcceptable values are: \n- \"delivered\" \n- \"readyForPickup\" \n- \"shipped\" \n- \"undeliverable\"",
+ "description": "The status of the shipment.\n\nAcceptable values are: \n- \"`delivered`\" \n- \"`readyForPickup`\" \n- \"`shipped`\" \n- \"`undeliverable`\"",
"type": "string"
},
"trackingId": {
@@ -6660,6 +7117,20 @@
},
"type": "object"
},
+ "OrderShipmentScheduledDeliveryDetails": {
+ "id": "OrderShipmentScheduledDeliveryDetails",
+ "properties": {
+ "carrierPhoneNumber": {
+ "description": "The phone number of the carrier fulfilling the delivery.",
+ "type": "string"
+ },
+ "scheduledDate": {
+ "description": "The date a shipment is scheduled for delivery, in ISO 8601 format.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"OrderinvoicesCreateChargeInvoiceRequest": {
"id": "OrderinvoicesCreateChargeInvoiceRequest",
"properties": {
@@ -6683,7 +7154,7 @@
"type": "string"
},
"shipmentGroupId": {
- "description": "[required] ID of the shipment group. It is assigned by the merchant in the shipLineItems method and is used to group multiple line items that have the same kind of shipping charges.",
+ "description": "[required] ID of the shipment group. It is assigned by the merchant in the `shipLineItems` method and is used to group multiple line items that have the same kind of shipping charges.",
"type": "string"
}
},
@@ -6693,7 +7164,7 @@
"id": "OrderinvoicesCreateChargeInvoiceResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -6717,11 +7188,11 @@
},
"refundOnlyOption": {
"$ref": "OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption",
- "description": "Option to create a refund-only invoice. Exactly one of refundOnlyOption or returnOption must be provided."
+ "description": "Option to create a refund-only invoice. Exactly one of `refundOnlyOption` or `returnOption` must be provided."
},
"returnOption": {
"$ref": "OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption",
- "description": "Option to create an invoice for a refund and mark all items within the invoice as returned. Exactly one of refundOnlyOption or returnOption must be provided."
+ "description": "Option to create an invoice for a refund and mark all items within the invoice as returned. Exactly one of `refundOnlyOption` or `returnOption` must be provided."
},
"shipmentInvoices": {
"description": "Invoice details for different shipment groups.",
@@ -6737,7 +7208,7 @@
"id": "OrderinvoicesCreateRefundInvoiceResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -6756,7 +7227,7 @@
"type": "string"
},
"reason": {
- "description": "[required] Reason for the refund.\n\nAcceptable values are: \n- \"adjustment\" \n- \"autoPostInternal\" \n- \"autoPostInvalidBillingAddress\" \n- \"autoPostNoInventory\" \n- \"autoPostPriceError\" \n- \"autoPostUndeliverableShippingAddress\" \n- \"couponAbuse\" \n- \"courtesyAdjustment\" \n- \"customerCanceled\" \n- \"customerDiscretionaryReturn\" \n- \"customerInitiatedMerchantCancel\" \n- \"customerSupportRequested\" \n- \"deliveredLateByCarrier\" \n- \"deliveredTooLate\" \n- \"expiredItem\" \n- \"failToPushOrderGoogleError\" \n- \"failToPushOrderMerchantError\" \n- \"failToPushOrderMerchantFulfillmentError\" \n- \"failToPushOrderToMerchant\" \n- \"failToPushOrderToMerchantOutOfStock\" \n- \"feeAdjustment\" \n- \"invalidCoupon\" \n- \"lateShipmentCredit\" \n- \"malformedShippingAddress\" \n- \"merchantDidNotShipOnTime\" \n- \"noInventory\" \n- \"orderTimeout\" \n- \"other\" \n- \"paymentAbuse\" \n- \"paymentDeclined\" \n- \"priceAdjustment\" \n- \"priceError\" \n- \"productArrivedDamaged\" \n- \"productNotAsDescribed\" \n- \"promoReallocation\" \n- \"qualityNotAsExpected\" \n- \"returnRefundAbuse\" \n- \"shippingCostAdjustment\" \n- \"shippingPriceError\" \n- \"taxAdjustment\" \n- \"taxError\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\" \n- \"wrongProductShipped\"",
+ "description": "[required] Reason for the refund.\n\nAcceptable values are: \n- \"`adjustment`\" \n- \"`autoPostInternal`\" \n- \"`autoPostInvalidBillingAddress`\" \n- \"`autoPostNoInventory`\" \n- \"`autoPostPriceError`\" \n- \"`autoPostUndeliverableShippingAddress`\" \n- \"`couponAbuse`\" \n- \"`courtesyAdjustment`\" \n- \"`customerCanceled`\" \n- \"`customerDiscretionaryReturn`\" \n- \"`customerInitiatedMerchantCancel`\" \n- \"`customerSupportRequested`\" \n- \"`deliveredLateByCarrier`\" \n- \"`deliveredTooLate`\" \n- \"`expiredItem`\" \n- \"`failToPushOrderGoogleError`\" \n- \"`failToPushOrderMerchantError`\" \n- \"`failToPushOrderMerchantFulfillmentError`\" \n- \"`failToPushOrderToMerchant`\" \n- \"`failToPushOrderToMerchantOutOfStock`\" \n- \"`feeAdjustment`\" \n- \"`invalidCoupon`\" \n- \"`lateShipmentCredit`\" \n- \"`malformedShippingAddress`\" \n- \"`merchantDidNotShipOnTime`\" \n- \"`noInventory`\" \n- \"`orderTimeout`\" \n- \"`other`\" \n- \"`paymentAbuse`\" \n- \"`paymentDeclined`\" \n- \"`priceAdjustment`\" \n- \"`priceError`\" \n- \"`productArrivedDamaged`\" \n- \"`productNotAsDescribed`\" \n- \"`promoReallocation`\" \n- \"`qualityNotAsExpected`\" \n- \"`returnRefundAbuse`\" \n- \"`shippingCostAdjustment`\" \n- \"`shippingPriceError`\" \n- \"`taxAdjustment`\" \n- \"`taxError`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\" \n- \"`wrongProductShipped`\"",
"type": "string"
}
},
@@ -6770,7 +7241,7 @@
"type": "string"
},
"reason": {
- "description": "[required] Reason for the return.\n\nAcceptable values are: \n- \"customerDiscretionaryReturn\" \n- \"customerInitiatedMerchantCancel\" \n- \"deliveredTooLate\" \n- \"expiredItem\" \n- \"invalidCoupon\" \n- \"malformedShippingAddress\" \n- \"other\" \n- \"productArrivedDamaged\" \n- \"productNotAsDescribed\" \n- \"qualityNotAsExpected\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\" \n- \"wrongProductShipped\"",
+ "description": "[required] Reason for the return.\n\nAcceptable values are: \n- \"`customerDiscretionaryReturn`\" \n- \"`customerInitiatedMerchantCancel`\" \n- \"`deliveredTooLate`\" \n- \"`expiredItem`\" \n- \"`invalidCoupon`\" \n- \"`malformedShippingAddress`\" \n- \"`other`\" \n- \"`productArrivedDamaged`\" \n- \"`productNotAsDescribed`\" \n- \"`qualityNotAsExpected`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\" \n- \"`wrongProductShipped`\"",
"type": "string"
}
},
@@ -6820,6 +7291,31 @@
},
"type": "object"
},
+ "OrderreturnsAcknowledgeRequest": {
+ "id": "OrderreturnsAcknowledgeRequest",
+ "properties": {
+ "operationId": {
+ "description": "[required] The ID of the operation, unique across all operations for a given order return.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "OrderreturnsAcknowledgeResponse": {
+ "id": "OrderreturnsAcknowledgeResponse",
+ "properties": {
+ "executionStatus": {
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
+ "type": "string"
+ },
+ "kind": {
+ "default": "content#orderreturnsAcknowledgeResponse",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"content#orderreturnsAcknowledgeResponse\".",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"OrderreturnsListResponse": {
"id": "OrderreturnsListResponse",
"properties": {
@@ -6841,6 +7337,114 @@
},
"type": "object"
},
+ "OrderreturnsPartialRefund": {
+ "id": "OrderreturnsPartialRefund",
+ "properties": {
+ "priceAmount": {
+ "$ref": "Price",
+ "description": "The pre-tax or post-tax amount to be refunded, depending on the location of the order."
+ },
+ "taxAmount": {
+ "$ref": "Price",
+ "description": "Tax amount to be refunded. Note: This has different meaning depending on the location of the order."
+ }
+ },
+ "type": "object"
+ },
+ "OrderreturnsProcessRequest": {
+ "id": "OrderreturnsProcessRequest",
+ "properties": {
+ "fullChargeReturnShippingCost": {
+ "description": "Option to charge the customer return shipping cost.",
+ "type": "boolean"
+ },
+ "operationId": {
+ "description": "[required] The ID of the operation, unique across all operations for a given order return.",
+ "type": "string"
+ },
+ "refundShippingFee": {
+ "$ref": "OrderreturnsRefundOperation",
+ "description": "Refunds for original shipping fee."
+ },
+ "returnItems": {
+ "description": "The list of items to return.",
+ "items": {
+ "$ref": "OrderreturnsReturnItem"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "OrderreturnsProcessResponse": {
+ "id": "OrderreturnsProcessResponse",
+ "properties": {
+ "executionStatus": {
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
+ "type": "string"
+ },
+ "kind": {
+ "default": "content#orderreturnsProcessResponse",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"content#orderreturnsProcessResponse\".",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "OrderreturnsRefundOperation": {
+ "id": "OrderreturnsRefundOperation",
+ "properties": {
+ "fullRefund": {
+ "description": "If true, the item will be fully refunded.",
+ "type": "boolean"
+ },
+ "partialRefund": {
+ "$ref": "OrderreturnsPartialRefund",
+ "description": "If this is set, the item will be partially refunded."
+ },
+ "reasonText": {
+ "description": "The explanation of the reason.",
+ "type": "string"
+ },
+ "returnRefundReason": {
+ "description": "Code of the refund reason.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "OrderreturnsRejectOperation": {
+ "id": "OrderreturnsRejectOperation",
+ "properties": {
+ "reason": {
+ "description": "The reason for the return.",
+ "type": "string"
+ },
+ "reasonText": {
+ "description": "The explanation of the reason.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "OrderreturnsReturnItem": {
+ "id": "OrderreturnsReturnItem",
+ "properties": {
+ "refund": {
+ "$ref": "OrderreturnsRefundOperation",
+ "description": "Refunds the item."
+ },
+ "reject": {
+ "$ref": "OrderreturnsRejectOperation",
+ "description": "Rejects the item."
+ },
+ "returnItemId": {
+ "description": "Unit level ID for the return item. Different units of the same product will have different IDs.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"OrdersAcknowledgeRequest": {
"id": "OrdersAcknowledgeRequest",
"properties": {
@@ -6855,7 +7459,7 @@
"id": "OrdersAcknowledgeResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -6898,7 +7502,7 @@
"type": "integer"
},
"reason": {
- "description": "The reason for the cancellation.\n\nAcceptable values are: \n- \"customerInitiatedCancel\" \n- \"invalidCoupon\" \n- \"malformedShippingAddress\" \n- \"noInventory\" \n- \"other\" \n- \"priceError\" \n- \"shippingPriceError\" \n- \"taxError\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\"",
+ "description": "The reason for the cancellation.\n\nAcceptable values are: \n- \"`customerInitiatedCancel`\" \n- \"`invalidCoupon`\" \n- \"`malformedShippingAddress`\" \n- \"`noInventory`\" \n- \"`other`\" \n- \"`priceError`\" \n- \"`shippingPriceError`\" \n- \"`taxError`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\"",
"type": "string"
},
"reasonText": {
@@ -6912,7 +7516,7 @@
"id": "OrdersCancelLineItemResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -6931,7 +7535,7 @@
"type": "string"
},
"reason": {
- "description": "The reason for the cancellation.\n\nAcceptable values are: \n- \"customerInitiatedCancel\" \n- \"invalidCoupon\" \n- \"malformedShippingAddress\" \n- \"noInventory\" \n- \"other\" \n- \"priceError\" \n- \"shippingPriceError\" \n- \"taxError\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\"",
+ "description": "The reason for the cancellation.\n\nAcceptable values are: \n- \"`customerInitiatedCancel`\" \n- \"`invalidCoupon`\" \n- \"`malformedShippingAddress`\" \n- \"`noInventory`\" \n- \"`other`\" \n- \"`priceError`\" \n- \"`shippingPriceError`\" \n- \"`taxError`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\"",
"type": "string"
},
"reasonText": {
@@ -6945,7 +7549,7 @@
"id": "OrdersCancelResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -6960,7 +7564,7 @@
"id": "OrdersCancelTestOrderByCustomerRequest",
"properties": {
"reason": {
- "description": "The reason for the cancellation.\n\nAcceptable values are: \n- \"changedMind\" \n- \"orderedWrongItem\" \n- \"other\"",
+ "description": "The reason for the cancellation.\n\nAcceptable values are: \n- \"`changedMind`\" \n- \"`orderedWrongItem`\" \n- \"`other`\"",
"type": "string"
}
},
@@ -6981,11 +7585,11 @@
"id": "OrdersCreateTestOrderRequest",
"properties": {
"country": {
- "description": "The CLDR territory code of the country of the test order to create. Affects the currency and addresses of orders created via template_name, or the addresses of orders created via test_order.\n\nAcceptable values are: \n- \"US\" \n- \"FR\" Defaults to US.",
+ "description": "The CLDR territory code of the country of the test order to create. Affects the currency and addresses of orders created via `template_name`, or the addresses of orders created via `test_order`.\n\nAcceptable values are: \n- \"`US`\" \n- \"`FR`\" Defaults to `US`.",
"type": "string"
},
"templateName": {
- "description": "The test order template to use. Specify as an alternative to testOrder as a shortcut for retrieving a template and then creating an order using that template.\n\nAcceptable values are: \n- \"template1\" \n- \"template1a\" \n- \"template1b\" \n- \"template2\" \n- \"template3\"",
+ "description": "The test order template to use. Specify as an alternative to `testOrder` as a shortcut for retrieving a template and then creating an order using that template.\n\nAcceptable values are: \n- \"`template1`\" \n- \"`template1a`\" \n- \"`template1b`\" \n- \"`template2`\" \n- \"`template3`\"",
"type": "string"
},
"testOrder": {
@@ -7053,11 +7657,52 @@
},
"type": "object"
},
+ "OrdersCustomBatchRequestEntryRefundItemItem": {
+ "id": "OrdersCustomBatchRequestEntryRefundItemItem",
+ "properties": {
+ "amount": {
+ "$ref": "MonetaryAmount",
+ "description": "The total amount that is refunded. (e.g. refunding $5 each for 2 products should be done by setting quantity to 2 and amount to 10$) In case of multiple refunds, this should be the amount you currently want to refund to the customer."
+ },
+ "fullRefund": {
+ "description": "If true, the full item will be refunded. If this is true, amount should not be provided and will be ignored.",
+ "type": "boolean"
+ },
+ "lineItemId": {
+ "description": "The ID of the line item. Either lineItemId or productId is required.",
+ "type": "string"
+ },
+ "productId": {
+ "description": "The ID of the product. This is the REST ID used in the products service. Either lineItemId or productId is required.",
+ "type": "string"
+ },
+ "quantity": {
+ "description": "The number of products that are refunded.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "OrdersCustomBatchRequestEntryRefundItemShipping": {
+ "id": "OrdersCustomBatchRequestEntryRefundItemShipping",
+ "properties": {
+ "amount": {
+ "$ref": "Price",
+ "description": "The amount that is refunded. If this is not the first refund for the shipment, this should be the newly refunded amount."
+ },
+ "fullRefund": {
+ "description": "If set to true, all shipping costs for the order will be refunded. If this is true, amount should not be provided and will be ignored.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
"OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo": {
"id": "OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo",
"properties": {
"carrier": {
- "description": "The carrier handling the shipment. See shipments[].carrier in the Orders resource representation for a list of acceptable values.",
+ "description": "The carrier handling the shipment. See `shipments[].carrier` in the Orders resource representation for a list of acceptable values.",
"type": "string"
},
"shipmentId": {
@@ -7131,7 +7776,7 @@
"type": "integer"
},
"reason": {
- "description": "The reason for the return.\n\nAcceptable values are: \n- \"customerDiscretionaryReturn\" \n- \"customerInitiatedMerchantCancel\" \n- \"deliveredTooLate\" \n- \"expiredItem\" \n- \"invalidCoupon\" \n- \"malformedShippingAddress\" \n- \"other\" \n- \"productArrivedDamaged\" \n- \"productNotAsDescribed\" \n- \"qualityNotAsExpected\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\" \n- \"wrongProductShipped\"",
+ "description": "The reason for the return.\n\nAcceptable values are: \n- \"`customerDiscretionaryReturn`\" \n- \"`customerInitiatedMerchantCancel`\" \n- \"`deliveredTooLate`\" \n- \"`expiredItem`\" \n- \"`invalidCoupon`\" \n- \"`malformedShippingAddress`\" \n- \"`other`\" \n- \"`productArrivedDamaged`\" \n- \"`productNotAsDescribed`\" \n- \"`qualityNotAsExpected`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\" \n- \"`wrongProductShipped`\"",
"type": "string"
},
"reasonText": {
@@ -7149,7 +7794,7 @@
"id": "OrdersInStoreRefundLineItemResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -7181,6 +7826,91 @@
},
"type": "object"
},
+ "OrdersRefundItemRequest": {
+ "id": "OrdersRefundItemRequest",
+ "properties": {
+ "items": {
+ "description": "The items that are refunded. Either Item or Shipping must be provided in the request.",
+ "items": {
+ "$ref": "OrdersCustomBatchRequestEntryRefundItemItem"
+ },
+ "type": "array"
+ },
+ "operationId": {
+ "description": "The ID of the operation. Unique across all operations for a given order.",
+ "type": "string"
+ },
+ "reason": {
+ "description": "The reason for the refund.\n\nAcceptable values are: \n- \"`shippingCostAdjustment`\" \n- \"`priceAdjustment`\" \n- \"`taxAdjustment`\" \n- \"`feeAdjustment`\" \n- \"`courtesyAdjustment`\" \n- \"`adjustment`\" \n- \"`customerCancelled`\" \n- \"`noInventory`\" \n- \"`productNotAsDescribed`\" \n- \"`undeliverableShippingAddress`\" \n- \"`wrongProductShipped`\" \n- \"`lateShipmentCredit`\" \n- \"`deliveredLateByCarrier`\" \n- \"`productArrivedDamaged`\"",
+ "type": "string"
+ },
+ "reasonText": {
+ "description": "The explanation of the reason.",
+ "type": "string"
+ },
+ "shipping": {
+ "$ref": "OrdersCustomBatchRequestEntryRefundItemShipping",
+ "description": "The refund on shipping. Optional, but either Item or Shipping must be provided in the request."
+ }
+ },
+ "type": "object"
+ },
+ "OrdersRefundItemResponse": {
+ "id": "OrdersRefundItemResponse",
+ "properties": {
+ "executionStatus": {
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
+ "type": "string"
+ },
+ "kind": {
+ "default": "content#ordersRefundItemResponse",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersRefundItemResponse\".",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "OrdersRefundOrderRequest": {
+ "id": "OrdersRefundOrderRequest",
+ "properties": {
+ "amount": {
+ "$ref": "MonetaryAmount",
+ "description": "The amount that is refunded. If this is not the first refund for the order, this should be the newly refunded amount."
+ },
+ "fullRefund": {
+ "description": "If true, the full order will be refunded, including shipping. If this is true, amount should not be provided and will be ignored.",
+ "type": "boolean"
+ },
+ "operationId": {
+ "description": "The ID of the operation. Unique across all operations for a given order.",
+ "type": "string"
+ },
+ "reason": {
+ "description": "The reason for the refund.\n\nAcceptable values are: \n- \"`courtesyAdjustment`\" \n- \"`other`\"",
+ "type": "string"
+ },
+ "reasonText": {
+ "description": "The explanation of the reason.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "OrdersRefundOrderResponse": {
+ "id": "OrdersRefundOrderResponse",
+ "properties": {
+ "executionStatus": {
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
+ "type": "string"
+ },
+ "kind": {
+ "default": "content#ordersRefundOrderResponse",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersRefundOrderResponse\".",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"OrdersRejectReturnLineItemRequest": {
"id": "OrdersRejectReturnLineItemRequest",
"properties": {
@@ -7202,7 +7932,7 @@
"type": "integer"
},
"reason": {
- "description": "The reason for the return.\n\nAcceptable values are: \n- \"damagedOrUsed\" \n- \"missingComponent\" \n- \"notEligible\" \n- \"other\" \n- \"outOfReturnWindow\"",
+ "description": "The reason for the return.\n\nAcceptable values are: \n- \"`damagedOrUsed`\" \n- \"`missingComponent`\" \n- \"`notEligible`\" \n- \"`other`\" \n- \"`outOfReturnWindow`\"",
"type": "string"
},
"reasonText": {
@@ -7216,7 +7946,7 @@
"id": "OrdersRejectReturnLineItemResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -7252,7 +7982,7 @@
"type": "integer"
},
"reason": {
- "description": "The reason for the return.\n\nAcceptable values are: \n- \"customerDiscretionaryReturn\" \n- \"customerInitiatedMerchantCancel\" \n- \"deliveredTooLate\" \n- \"expiredItem\" \n- \"invalidCoupon\" \n- \"malformedShippingAddress\" \n- \"other\" \n- \"productArrivedDamaged\" \n- \"productNotAsDescribed\" \n- \"qualityNotAsExpected\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\" \n- \"wrongProductShipped\"",
+ "description": "The reason for the return.\n\nAcceptable values are: \n- \"`customerDiscretionaryReturn`\" \n- \"`customerInitiatedMerchantCancel`\" \n- \"`deliveredTooLate`\" \n- \"`expiredItem`\" \n- \"`invalidCoupon`\" \n- \"`malformedShippingAddress`\" \n- \"`other`\" \n- \"`productArrivedDamaged`\" \n- \"`productNotAsDescribed`\" \n- \"`qualityNotAsExpected`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\" \n- \"`wrongProductShipped`\"",
"type": "string"
},
"reasonText": {
@@ -7270,7 +8000,7 @@
"id": "OrdersReturnRefundLineItemResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -7309,7 +8039,7 @@
"id": "OrdersSetLineItemMetadataResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -7352,7 +8082,7 @@
"id": "OrdersShipLineItemsResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -7393,7 +8123,7 @@
"id": "OrdersUpdateLineItemShippingDetailsResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -7422,7 +8152,7 @@
"id": "OrdersUpdateMerchantOrderIdResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -7437,28 +8167,40 @@
"id": "OrdersUpdateShipmentRequest",
"properties": {
"carrier": {
- "description": "The carrier handling the shipment. Not updated if missing. See shipments[].carrier in the Orders resource representation for a list of acceptable values.",
+ "description": "The carrier handling the shipment. Not updated if missing. See `shipments[].carrier` in the Orders resource representation for a list of acceptable values.",
"type": "string"
},
"deliveryDate": {
- "description": "Date on which the shipment has been delivered, in ISO 8601 format. Optional and can be provided only if status is delivered.",
+ "description": "Date on which the shipment has been delivered, in ISO 8601 format. Optional and can be provided only if `status` is `delivered`.",
+ "type": "string"
+ },
+ "lastPickupDate": {
+ "description": "Date after which the pickup will expire, in ISO 8601 format. Required only when order is buy-online-pickup-in-store(BOPIS) and `status` is `ready for pickup`.",
"type": "string"
},
"operationId": {
"description": "The ID of the operation. Unique across all operations for a given order.",
"type": "string"
},
+ "readyPickupDate": {
+ "description": "Date on which the shipment has been ready for pickup, in ISO 8601 format. Optional and can be provided only if `status` is `ready for pickup`.",
+ "type": "string"
+ },
"shipmentId": {
"description": "The ID of the shipment.",
"type": "string"
},
"status": {
- "description": "New status for the shipment. Not updated if missing.\n\nAcceptable values are: \n- \"delivered\" \n- \"undeliverable\"",
+ "description": "New status for the shipment. Not updated if missing.\n\nAcceptable values are: \n- \"`delivered`\" \n- \"`undeliverable`\" \n- \"`readyForPickup`\"",
"type": "string"
},
"trackingId": {
"description": "The tracking ID for the shipment. Not updated if missing.",
"type": "string"
+ },
+ "undeliveredDate": {
+ "description": "Date on which the shipment has been undeliverable, in ISO 8601 format. Optional and can be provided only if `status` is `undeliverable`.",
+ "type": "string"
}
},
"type": "object"
@@ -7467,7 +8209,7 @@
"id": "OrdersUpdateShipmentResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -7482,11 +8224,11 @@
"id": "PickupCarrierService",
"properties": {
"carrierName": {
- "description": "The name of the pickup carrier (e.g., \"UPS\"). Required.",
+ "description": "The name of the pickup carrier (e.g., `\"UPS\"`). Required.",
"type": "string"
},
"serviceName": {
- "description": "The name of the pickup service (e.g., \"Access point\"). Required.",
+ "description": "The name of the pickup service (e.g., `\"Access point\"`). Required.",
"type": "string"
}
},
@@ -7496,7 +8238,7 @@
"id": "PickupServicesPickupService",
"properties": {
"carrierName": {
- "description": "The name of the carrier (e.g., \"UPS\"). Always present.",
+ "description": "The name of the carrier (e.g., `\"UPS\"`). Always present.",
"type": "string"
},
"country": {
@@ -7504,7 +8246,7 @@
"type": "string"
},
"serviceName": {
- "description": "The name of the pickup service (e.g., \"Access point\"). Always present.",
+ "description": "The name of the pickup service (e.g., `\"Access point\"`). Always present.",
"type": "string"
}
},
@@ -7533,7 +8275,7 @@
},
"inventory": {
"$ref": "PosInventory",
- "description": "The inventory to submit. Set this only if the method is inventory."
+ "description": "The inventory to submit. Set this only if the method is `inventory`."
},
"merchantId": {
"description": "The ID of the POS data provider.",
@@ -7541,19 +8283,19 @@
"type": "string"
},
"method": {
- "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"delete\" \n- \"get\" \n- \"insert\" \n- \"inventory\" \n- \"sale\"",
+ "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"`delete`\" \n- \"`get`\" \n- \"`insert`\" \n- \"`inventory`\" \n- \"`sale`\"",
"type": "string"
},
"sale": {
"$ref": "PosSale",
- "description": "The sale information to submit. Set this only if the method is sale."
+ "description": "The sale information to submit. Set this only if the method is `sale`."
},
"store": {
"$ref": "PosStore",
- "description": "The store information to submit. Set this only if the method is insert."
+ "description": "The store information to submit. Set this only if the method is `insert`."
},
"storeCode": {
- "description": "The store code. Set this only if the method is delete or get.",
+ "description": "The store code. Set this only if the method is `delete` or `get`.",
"type": "string"
},
"targetMerchantId": {
@@ -7600,7 +8342,7 @@
},
"kind": {
"default": "content#posCustomBatchResponseEntry",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#posCustomBatchResponseEntry\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posCustomBatchResponseEntry`\"",
"type": "string"
},
"sale": {
@@ -7678,7 +8420,7 @@
},
"kind": {
"default": "content#posInventory",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#posInventory\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posInventory`\"",
"type": "string"
},
"price": {
@@ -7706,7 +8448,7 @@
"content.pos.inventory"
]
},
- "description": "Required. The identifier of the merchant's store. Either a storeCode inserted via the API or the code of the store in Google My Business.",
+ "description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.",
"type": "string"
},
"targetCountry": {
@@ -7780,7 +8522,7 @@
"content.pos.inventory"
]
},
- "description": "Required. The identifier of the merchant's store. Either a storeCode inserted via the API or the code of the store in Google My Business.",
+ "description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.",
"type": "string"
},
"targetCountry": {
@@ -7859,7 +8601,7 @@
"content.pos.inventory"
]
},
- "description": "Required. The identifier of the merchant's store. Either a storeCode inserted via the API or the code of the store in Google My Business.",
+ "description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.",
"type": "string"
},
"targetCountry": {
@@ -7928,7 +8670,7 @@
},
"kind": {
"default": "content#posSale",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#posSale\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posSale`\"",
"type": "string"
},
"price": {
@@ -7960,7 +8702,7 @@
"content.pos.sale"
]
},
- "description": "Required. The identifier of the merchant's store. Either a storeCode inserted via the API or the code of the store in Google My Business.",
+ "description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.",
"type": "string"
},
"targetCountry": {
@@ -8038,7 +8780,7 @@
"content.pos.sale"
]
},
- "description": "Required. The identifier of the merchant's store. Either a storeCode inserted via the API or the code of the store in Google My Business.",
+ "description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.",
"type": "string"
},
"targetCountry": {
@@ -8121,7 +8863,7 @@
"content.pos.sale"
]
},
- "description": "Required. The identifier of the merchant's store. Either a storeCode inserted via the API or the code of the store in Google My Business.",
+ "description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.",
"type": "string"
},
"targetCountry": {
@@ -8151,7 +8893,7 @@
"properties": {
"kind": {
"default": "content#posStore",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#posStore\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posStore`\"",
"type": "string"
},
"storeAddress": {
@@ -8200,11 +8942,11 @@
"id": "PostalCodeRange",
"properties": {
"postalCodeRangeBegin": {
- "description": "A postal code or a pattern of the form prefix* denoting the inclusive lower bound of the range defining the area. Examples values: \"94108\", \"9410*\", \"9*\". Required.",
+ "description": "A postal code or a pattern of the form `prefix*` denoting the inclusive lower bound of the range defining the area. Examples values: `\"94108\"`, `\"9410*\"`, `\"9*\"`. Required.",
"type": "string"
},
"postalCodeRangeEnd": {
- "description": "A postal code or a pattern of the form prefix* denoting the inclusive upper bound of the range defining the area. It must have the same length as postalCodeRangeBegin: if postalCodeRangeBegin is a postal code then postalCodeRangeEnd must be a postal code too; if postalCodeRangeBegin is a pattern then postalCodeRangeEnd must be a pattern with the same prefix length. Optional: if not set, then the area is defined as being all the postal codes matching postalCodeRangeBegin.",
+ "description": "A postal code or a pattern of the form `prefix*` denoting the inclusive upper bound of the range defining the area. It must have the same length as `postalCodeRangeBegin`: if `postalCodeRangeBegin` is a postal code then `postalCodeRangeEnd` must be a postal code too; if `postalCodeRangeBegin` is a pattern then `postalCodeRangeEnd` must be a pattern with the same prefix length. Optional: if not set, then the area is defined as being all the postal codes matching `postalCodeRangeBegin`.",
"type": "string"
}
},
@@ -8225,7 +8967,7 @@
"type": "object"
},
"Product": {
- "description": "Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect.",
+ "description": "Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information.\n\nSome attributes are country-specific, so make sure you select the appropriate country in the drop-down selector at the top of the page. \n\nProduct data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect.",
"id": "Product",
"properties": {
"additionalImageLinks": {
@@ -8270,13 +9012,17 @@
"description": "Brand of the item.",
"type": "string"
},
+ "canonicalLink": {
+ "description": "Link to the canonical version of the landing page.",
+ "type": "string"
+ },
"channel": {
"annotations": {
"required": [
"content.products.insert"
]
},
- "description": "Required. The item's channel (online or local).\n\nAcceptable values are: \n- \"local\" \n- \"online\"",
+ "description": "Required. The item's channel (online or local).\n\nAcceptable values are: \n- \"`local`\" \n- \"`online`\"",
"type": "string"
},
"color": {
@@ -8301,7 +9047,7 @@
"description": "Cost of goods sold. Used for gross profit reporting."
},
"customAttributes": {
- "description": "A list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form (e.g., { \"name\": \"size type\", \"value\": \"regular\" }). This is useful for submitting attributes not explicitly exposed by the API, such as additional attributes used for Shopping Actions.",
+ "description": "A list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form (e.g., `{ \"name\": \"size type\", \"value\": \"regular\" }`). This is useful for submitting attributes not explicitly exposed by the API, such as additional attributes used for Shopping Actions.",
"items": {
"$ref": "CustomAttribute"
},
@@ -8367,7 +9113,7 @@
"type": "array"
},
"expirationDate": {
- "description": "Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date in Google Shopping is exposed in productstatuses as googleExpirationDate and might be earlier if expirationDate is too far in the future.",
+ "description": "Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date in Google Shopping is exposed in `productstatuses` as `googleExpirationDate` and might be earlier if `expirationDate` is too far in the future.",
"type": "string"
},
"gender": {
@@ -8383,7 +9129,7 @@
"type": "string"
},
"id": {
- "description": "The REST ID of the product. Content API methods that operate on products take this as their productId parameter.\nThe REST ID for a product is of the form channel:contentLanguage:targetCountry:offerId.",
+ "description": "The REST ID of the product. Content API methods that operate on products take this as their `productId` parameter.\nThe REST ID for a product is of the form channel:contentLanguage:targetCountry: offerId.",
"type": "string"
},
"identifierExists": {
@@ -8395,7 +9141,7 @@
"type": "string"
},
"includedDestinations": {
- "description": "The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in excludedDestinations.",
+ "description": "The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in `excludedDestinations`.",
"items": {
"type": "string"
},
@@ -8403,7 +9149,7 @@
},
"installment": {
"$ref": "Installment",
- "description": "Number and amount of installments to pay for an item. Brazil only."
+ "description": "Number and amount of installments to pay for an item."
},
"isBundle": {
"description": "Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.",
@@ -8415,7 +9161,7 @@
},
"kind": {
"default": "content#product",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#product\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#product`\"",
"type": "string"
},
"link": {
@@ -8478,6 +9224,20 @@
"$ref": "Price",
"description": "Price of the item."
},
+ "productDetails": {
+ "description": "Technical specification or additional product details",
+ "items": {
+ "$ref": "ProductProductDetail"
+ },
+ "type": "array"
+ },
+ "productHighlights": {
+ "description": "List of important bullet points describing the product",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"productTypes": {
"description": "Categories of the item (formatted as in products data specification).",
"items": {
@@ -8541,16 +9301,20 @@
"type": "string"
},
"sizes": {
- "description": "Size of the item. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same itemGroupId value (see size definition).",
+ "description": "Size of the item. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same `itemGroupId` value (see size definition).",
"items": {
"type": "string"
},
"type": "array"
},
"source": {
- "description": "The source of the offer, i.e., how the offer was created.\n\nAcceptable values are: \n- \"api\" \n- \"crawl\" \n- \"feed\"",
+ "description": "The source of the offer, i.e., how the offer was created.\n\nAcceptable values are: \n- \"`api`\" \n- \"`crawl`\" \n- \"`feed`\"",
"type": "string"
},
+ "subscriptionCost": {
+ "$ref": "ProductSubscriptionCost",
+ "description": "Number of periods (months or years) and amount of payment per period for an item with an associated subscription contract."
+ },
"targetCountry": {
"annotations": {
"required": [
@@ -8608,6 +9372,24 @@
},
"type": "object"
},
+ "ProductProductDetail": {
+ "id": "ProductProductDetail",
+ "properties": {
+ "attributeName": {
+ "description": "The name of the product detail.",
+ "type": "string"
+ },
+ "attributeValue": {
+ "description": "The value of the product detail.",
+ "type": "string"
+ },
+ "sectionName": {
+ "description": "The section header used to group a set of product details.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"ProductShipping": {
"id": "ProductShipping",
"properties": {
@@ -8701,7 +9483,7 @@
},
"kind": {
"default": "content#productStatus",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#productStatus\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#productStatus`\"",
"type": "string"
},
"lastUpdateDate": {
@@ -8731,6 +9513,7 @@
"type": "string"
},
"status": {
+ "description": "Destination approval status in `targetCountry` of the offer.",
"type": "string"
}
},
@@ -8774,6 +9557,25 @@
},
"type": "object"
},
+ "ProductSubscriptionCost": {
+ "id": "ProductSubscriptionCost",
+ "properties": {
+ "amount": {
+ "$ref": "Price",
+ "description": "The amount the buyer has to pay per subscription period."
+ },
+ "period": {
+ "description": "The type of subscription period.",
+ "type": "string"
+ },
+ "periodLength": {
+ "description": "The number of subscription periods the buyer has to pay.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"ProductTax": {
"id": "ProductTax",
"properties": {
@@ -8869,15 +9671,15 @@
"type": "string"
},
"method": {
- "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"delete\" \n- \"get\" \n- \"insert\"",
+ "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"`delete`\" \n- \"`get`\" \n- \"`insert`\"",
"type": "string"
},
"product": {
"$ref": "Product",
- "description": "The product to insert. Only required if the method is insert."
+ "description": "The product to insert. Only required if the method is `insert`."
},
"productId": {
- "description": "The ID of the product to get or delete. Only defined if the method is get or delete.",
+ "description": "The ID of the product to get or delete. Only defined if the method is `get` or `delete`.",
"type": "string"
}
},
@@ -8916,12 +9718,12 @@
},
"kind": {
"default": "content#productsCustomBatchResponseEntry",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#productsCustomBatchResponseEntry\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#productsCustomBatchResponseEntry`\"",
"type": "string"
},
"product": {
"$ref": "Product",
- "description": "The inserted product. Only defined if the method is insert and if the request was successful."
+ "description": "The inserted product. Only defined if the method is `insert` and if the request was successful."
}
},
"type": "object"
@@ -8985,7 +9787,7 @@
"type": "string"
},
"method": {
- "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"get\"",
+ "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"`get`\"",
"type": "string"
},
"productId": {
@@ -9028,7 +9830,7 @@
},
"kind": {
"default": "content#productstatusesCustomBatchResponseEntry",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#productstatusesCustomBatchResponseEntry\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#productstatusesCustomBatchResponseEntry`\"",
"type": "string"
},
"productStatus": {
@@ -9060,7 +9862,7 @@
"type": "object"
},
"PubsubNotificationSettings": {
- "description": "Settings for Pub/Sub notifications, all methods require that the caller is a direct user of the merchant center account.",
+ "description": "Settings for Pub/Sub notifications, all methods require that the caller is a direct user of the merchant center account. (== resource_for v2.1.pubsubnotificationsettings ==)",
"id": "PubsubNotificationSettings",
"properties": {
"cloudTopicName": {
@@ -9069,11 +9871,11 @@
},
"kind": {
"default": "content#pubsubNotificationSettings",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#pubsubNotificationSettings\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#pubsubNotificationSettings`\"",
"type": "string"
},
"registeredEvents": {
- "description": "List of event types. Supported event types: orderPendingShipment.",
+ "description": "List of event types.\n\nAcceptable values are: \n- \"`orderPendingShipment`\"",
"items": {
"type": "string"
},
@@ -9093,7 +9895,7 @@
"type": "array"
},
"carrierRates": {
- "description": "A list of carrier rates that can be referred to by mainTable or singleValue.",
+ "description": "A list of carrier rates that can be referred to by `mainTable` or `singleValue`.",
"items": {
"$ref": "CarrierRate"
},
@@ -9101,7 +9903,7 @@
},
"mainTable": {
"$ref": "Table",
- "description": "A table defining the rate group, when singleValue is not expressive enough. Can only be set if singleValue is not set."
+ "description": "A table defining the rate group, when `singleValue` is not expressive enough. Can only be set if `singleValue` is not set."
},
"name": {
"description": "Name of the rate group. Optional. If set has to be unique within shipping service.",
@@ -9109,10 +9911,10 @@
},
"singleValue": {
"$ref": "Value",
- "description": "The value of the rate group (e.g. flat rate $10). Can only be set if mainTable and subtables are not set."
+ "description": "The value of the rate group (e.g. flat rate $10). Can only be set if `mainTable` and `subtables` are not set."
},
"subtables": {
- "description": "A list of subtables referred to by mainTable. Can only be set if mainTable is set.",
+ "description": "A list of subtables referred to by `mainTable`. Can only be set if `mainTable` is set.",
"items": {
"$ref": "Table"
},
@@ -9129,7 +9931,7 @@
"type": "string"
},
"reasonCode": {
- "description": "Code of the refund reason.\n\nAcceptable values are: \n- \"adjustment\" \n- \"autoPostInternal\" \n- \"autoPostInvalidBillingAddress\" \n- \"autoPostNoInventory\" \n- \"autoPostPriceError\" \n- \"autoPostUndeliverableShippingAddress\" \n- \"couponAbuse\" \n- \"courtesyAdjustment\" \n- \"customerCanceled\" \n- \"customerDiscretionaryReturn\" \n- \"customerInitiatedMerchantCancel\" \n- \"customerSupportRequested\" \n- \"deliveredLateByCarrier\" \n- \"deliveredTooLate\" \n- \"expiredItem\" \n- \"failToPushOrderGoogleError\" \n- \"failToPushOrderMerchantError\" \n- \"failToPushOrderMerchantFulfillmentError\" \n- \"failToPushOrderToMerchant\" \n- \"failToPushOrderToMerchantOutOfStock\" \n- \"feeAdjustment\" \n- \"invalidCoupon\" \n- \"lateShipmentCredit\" \n- \"malformedShippingAddress\" \n- \"merchantDidNotShipOnTime\" \n- \"noInventory\" \n- \"orderTimeout\" \n- \"other\" \n- \"paymentAbuse\" \n- \"paymentDeclined\" \n- \"priceAdjustment\" \n- \"priceError\" \n- \"productArrivedDamaged\" \n- \"productNotAsDescribed\" \n- \"promoReallocation\" \n- \"qualityNotAsExpected\" \n- \"returnRefundAbuse\" \n- \"shippingCostAdjustment\" \n- \"shippingPriceError\" \n- \"taxAdjustment\" \n- \"taxError\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\" \n- \"wrongProductShipped\"",
+ "description": "Code of the refund reason.\n\nAcceptable values are: \n- \"`adjustment`\" \n- \"`autoPostInternal`\" \n- \"`autoPostInvalidBillingAddress`\" \n- \"`autoPostNoInventory`\" \n- \"`autoPostPriceError`\" \n- \"`autoPostUndeliverableShippingAddress`\" \n- \"`couponAbuse`\" \n- \"`courtesyAdjustment`\" \n- \"`customerCanceled`\" \n- \"`customerDiscretionaryReturn`\" \n- \"`customerInitiatedMerchantCancel`\" \n- \"`customerSupportRequested`\" \n- \"`deliveredLateByCarrier`\" \n- \"`deliveredTooLate`\" \n- \"`expiredItem`\" \n- \"`failToPushOrderGoogleError`\" \n- \"`failToPushOrderMerchantError`\" \n- \"`failToPushOrderMerchantFulfillmentError`\" \n- \"`failToPushOrderToMerchant`\" \n- \"`failToPushOrderToMerchantOutOfStock`\" \n- \"`feeAdjustment`\" \n- \"`invalidCoupon`\" \n- \"`lateShipmentCredit`\" \n- \"`malformedShippingAddress`\" \n- \"`merchantDidNotShipOnTime`\" \n- \"`noInventory`\" \n- \"`orderTimeout`\" \n- \"`other`\" \n- \"`paymentAbuse`\" \n- \"`paymentDeclined`\" \n- \"`priceAdjustment`\" \n- \"`priceError`\" \n- \"`productArrivedDamaged`\" \n- \"`productNotAsDescribed`\" \n- \"`promoReallocation`\" \n- \"`qualityNotAsExpected`\" \n- \"`returnRefundAbuse`\" \n- \"`shippingCostAdjustment`\" \n- \"`shippingPriceError`\" \n- \"`taxAdjustment`\" \n- \"`taxError`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\" \n- \"`wrongProductShipped`\"",
"type": "string"
}
},
@@ -9165,7 +9967,7 @@
},
"salePrice": {
"$ref": "Price",
- "description": "The sale price of the product. Mandatory if sale_price_effective_date is defined."
+ "description": "The sale price of the product. Mandatory if `sale_price_effective_date` is defined."
},
"salePriceEffectiveDate": {
"description": "A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash. Both dates might be specified as 'null' if undecided.",
@@ -9202,7 +10004,7 @@
"type": "string"
},
"method": {
- "description": "Method of the batch request entry.\n\nAcceptable values are: \n- \"insert\"",
+ "description": "Method of the batch request entry.\n\nAcceptable values are: \n- \"`insert`\"",
"type": "string"
},
"productId": {
@@ -9283,7 +10085,7 @@
},
"kind": {
"default": "content#returnAddress",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#returnAddress\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#returnAddress`\"",
"type": "string"
},
"label": {
@@ -9359,7 +10161,7 @@
},
"kind": {
"default": "content#returnPolicy",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#returnPolicy\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#returnPolicy`\"",
"type": "string"
},
"label": {
@@ -9428,7 +10230,7 @@
"type": "string"
},
"type": {
- "description": "Policy type. Use \"lastReturnDate\" for seasonal overrides only. Note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics or non-returnable items such as food, perishables, and living things. A policy of less than 30 days can only be applied to those items.\n\nAcceptable values are: \n- \"lastReturnDate\" \n- \"lifetimeReturns\" \n- \"noReturns\" \n- \"numberOfDaysAfterDelivery\"",
+ "description": "Policy type. Use \"lastReturnDate\" for seasonal overrides only. Note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics or non-returnable items such as food, perishables, and living things. A policy of less than 30 days can only be applied to those items.\n\nAcceptable values are: \n- \"`lastReturnDate`\" \n- \"`lifetimeReturns`\" \n- \"`noReturns`\" \n- \"`numberOfDaysAfterDelivery`\"",
"type": "string"
}
},
@@ -9476,6 +10278,32 @@
},
"type": "object"
},
+ "ReturnPricingInfo": {
+ "id": "ReturnPricingInfo",
+ "properties": {
+ "chargeReturnShippingFee": {
+ "description": "Default option for whether merchant should charge the customer for return shipping costs, based on customer selected return reason and merchant's return policy for the items being returned.",
+ "type": "boolean"
+ },
+ "maxReturnShippingFee": {
+ "$ref": "MonetaryAmount",
+ "description": "Maximum return shipping costs that may be charged to the customer depending on merchant's assessment of the return reason and the merchant's return policy for the items being returned."
+ },
+ "refundableItemsTotalAmount": {
+ "$ref": "MonetaryAmount",
+ "description": "Total amount that can be refunded for the items in this return. It represents the total amount received by the merchant for the items, after applying merchant coupons."
+ },
+ "refundableShippingAmount": {
+ "$ref": "MonetaryAmount",
+ "description": "Maximum amount that can be refunded for the original shipping fee."
+ },
+ "totalRefundedAmount": {
+ "$ref": "MonetaryAmount",
+ "description": "Total amount already refunded by the merchant. It includes all types of refunds (items, shipping, etc.) Not provided if no refund has been applied yet."
+ }
+ },
+ "type": "object"
+ },
"ReturnShipment": {
"id": "ReturnShipment",
"properties": {
@@ -9488,7 +10316,7 @@
"type": "string"
},
"returnMethodType": {
- "description": "Type of the return method.\n\nAcceptable values are: \n- \"byMail\" \n- \"contactCustomerSupport\" \n- \"returnless\"",
+ "description": "Type of the return method.\n\nAcceptable values are: \n- \"`byMail`\" \n- \"`contactCustomerSupport`\" \n- \"`returnless`\"",
"type": "string"
},
"shipmentId": {
@@ -9507,7 +10335,7 @@
"type": "string"
},
"state": {
- "description": "State of the shipment.\n\nAcceptable values are: \n- \"completed\" \n- \"new\" \n- \"shipped\" \n- \"undeliverable\"",
+ "description": "State of the shipment.\n\nAcceptable values are: \n- \"`completed`\" \n- \"`new`\" \n- \"`shipped`\" \n- \"`undeliverable`\" \n- \"`pending`\"",
"type": "string"
}
},
@@ -9540,15 +10368,15 @@
"type": "string"
},
"method": {
- "description": "Method of the batch request entry.\n\nAcceptable values are: \n- \"delete\" \n- \"get\" \n- \"insert\"",
+ "description": "Method of the batch request entry.\n\nAcceptable values are: \n- \"`delete`\" \n- \"`get`\" \n- \"`insert`\"",
"type": "string"
},
"returnAddress": {
"$ref": "ReturnAddress",
- "description": "The return address to submit. Set this only if the method is insert."
+ "description": "The return address to submit. Set this only if the method is `insert`."
},
"returnAddressId": {
- "description": "The return address ID. Set this only if the method is delete or get.",
+ "description": "The return address ID. Set this only if the method is `delete` or `get`.",
"type": "string"
}
},
@@ -9586,7 +10414,7 @@
},
"kind": {
"default": "content#returnaddressCustomBatchResponseEntry",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#returnaddressCustomBatchResponseEntry\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#returnaddressCustomBatchResponseEntry`\"",
"type": "string"
},
"returnAddress": {
@@ -9644,15 +10472,15 @@
"type": "string"
},
"method": {
- "description": "Method of the batch request entry.\n\nAcceptable values are: \n- \"delete\" \n- \"get\" \n- \"insert\"",
+ "description": "Method of the batch request entry.\n\nAcceptable values are: \n- \"`delete`\" \n- \"`get`\" \n- \"`insert`\"",
"type": "string"
},
"returnPolicy": {
"$ref": "ReturnPolicy",
- "description": "The return policy to submit. Set this only if the method is insert."
+ "description": "The return policy to submit. Set this only if the method is `insert`."
},
"returnPolicyId": {
- "description": "The return policy ID. Set this only if the method is delete or get.",
+ "description": "The return policy ID. Set this only if the method is `delete` or `get`.",
"type": "string"
}
},
@@ -9690,7 +10518,7 @@
},
"kind": {
"default": "content#returnpolicyCustomBatchResponseEntry",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#returnpolicyCustomBatchResponseEntry\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#returnpolicyCustomBatchResponseEntry`\"",
"type": "string"
},
"returnPolicy": {
@@ -9721,7 +10549,7 @@
"id": "Row",
"properties": {
"cells": {
- "description": "The list of cells that constitute the row. Must have the same length as columnHeaders for two-dimensional tables, a length of 1 for one-dimensional tables. Required.",
+ "description": "The list of cells that constitute the row. Must have the same length as `columnHeaders` for two-dimensional tables, a length of 1 for one-dimensional tables. Required.",
"items": {
"$ref": "Value"
},
@@ -9750,12 +10578,16 @@
"description": "Time spent in various aspects from order to the delivery of the product. Required."
},
"eligibility": {
- "description": "Eligibility for this service.\n\nAcceptable values are: \n- \"All scenarios\" \n- \"All scenarios except Shopping Actions\" \n- \"Shopping Actions\"",
+ "description": "Eligibility for this service.\n\nAcceptable values are: \n- \"`All scenarios`\" \n- \"`All scenarios except Shopping Actions`\" \n- \"`Shopping Actions`\"",
"type": "string"
},
"minimumOrderValue": {
"$ref": "Price",
- "description": "Minimum order value for this service. If set, indicates that customers will have to spend at least this amount. All prices within a service must have the same currency."
+ "description": "Minimum order value for this service. If set, indicates that customers will have to spend at least this amount. All prices within a service must have the same currency. Cannot be set together with minimum_order_value_table."
+ },
+ "minimumOrderValueTable": {
+ "$ref": "MinimumOrderValueTable",
+ "description": "Table of per store minimum order values for the pickup fulfillment type. Cannot be set together with minimum_order_value."
},
"name": {
"description": "Free-form name of the service. Must be unique within target account. Required.",
@@ -9763,22 +10595,213 @@
},
"pickupService": {
"$ref": "PickupCarrierService",
- "description": "The carrier-service pair delivering items to collection points. The list of supported pickup services can be retrieved via the getSupportedPickupServices method. Required if and only if the service delivery type is pickup."
+ "description": "The carrier-service pair delivering items to collection points. The list of supported pickup services can be retrieved via the `getSupportedPickupServices` method. Required if and only if the service delivery type is `pickup`."
},
"rateGroups": {
- "description": "Shipping rate group definitions. Only the last one is allowed to have an empty applicableShippingLabels, which means \"everything else\". The other applicableShippingLabels must not overlap.",
+ "description": "Shipping rate group definitions. Only the last one is allowed to have an empty `applicableShippingLabels`, which means \"everything else\". The other `applicableShippingLabels` must not overlap.",
"items": {
"$ref": "RateGroup"
},
"type": "array"
},
"shipmentType": {
- "description": "Type of locations this service ships orders to.\n\nAcceptable values are: \n- \"delivery\" \n- \"pickup\"",
+ "description": "Type of locations this service ships orders to.\n\nAcceptable values are: \n- \"`delivery`\" \n- \"`pickup`\"",
"type": "string"
}
},
"type": "object"
},
+ "SettlementReport": {
+ "description": "Settlement reports detail order-level and item-level credits and debits between you and Google.",
+ "id": "SettlementReport",
+ "properties": {
+ "endDate": {
+ "description": "The end date on which all transactions are included in the report, in ISO 8601 format.",
+ "type": "string"
+ },
+ "kind": {
+ "default": "content#settlementReport",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#settlementReport`\"",
+ "type": "string"
+ },
+ "previousBalance": {
+ "$ref": "Price",
+ "description": "The residual amount from the previous invoice. This is set only if the previous invoices are not paid because of negative balance."
+ },
+ "settlementId": {
+ "description": "The ID of the settlement report.",
+ "type": "string"
+ },
+ "startDate": {
+ "description": "The start date on which all transactions are included in the report, in ISO 8601 format.",
+ "type": "string"
+ },
+ "transferAmount": {
+ "$ref": "Price",
+ "description": "The money due to the merchant."
+ },
+ "transferDate": {
+ "description": "Date on which transfer for this payment was initiated by Google, in ISO 8601 format.",
+ "type": "string"
+ },
+ "transferIds": {
+ "description": "The list of bank identifiers used for the transfer. e.g. Trace ID for Federal Automated Clearing House (ACH). This may also be known as the Wire ID.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "SettlementTransaction": {
+ "description": "Settlement transactions give a detailed breakdown of the settlement report. (== resource_for v2.1.settlementtransactions ==)",
+ "id": "SettlementTransaction",
+ "properties": {
+ "amount": {
+ "$ref": "SettlementTransactionAmount",
+ "description": "The amount for the transaction."
+ },
+ "identifiers": {
+ "$ref": "SettlementTransactionIdentifiers",
+ "description": "Identifiers of the transaction."
+ },
+ "kind": {
+ "default": "content#settlementTransaction",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#settlementTransaction`\"",
+ "type": "string"
+ },
+ "transaction": {
+ "$ref": "SettlementTransactionTransaction",
+ "description": "Details of the transaction."
+ }
+ },
+ "type": "object"
+ },
+ "SettlementTransactionAmount": {
+ "id": "SettlementTransactionAmount",
+ "properties": {
+ "commission": {
+ "$ref": "SettlementTransactionAmountCommission"
+ },
+ "description": {
+ "description": "The description of the event.\n\nAcceptable values are: \n- \"`taxWithhold`\" \n- \"`principal`\" \n- \"`principalAdjustment`\" \n- \"`shippingFee`\" \n- \"`merchantRemittedSalesTax`\" \n- \"`googleRemittedSalesTax`\" \n- \"`merchantCoupon`\" \n- \"`merchantCouponTax`\" \n- \"`merchantRemittedDisposalTax`\" \n- \"`googleRemittedDisposalTax`\" \n- \"`merchantRemittedRedemptionFee`\" \n- \"`googleRemittedRedemptionFee`\" \n- \"`eeeEcoFee`\" \n- \"`furnitureEcoFee`\" \n- \"`copyPrivateFee`\" \n- \"`eeeEcoFeeCommission`\" \n- \"`furnitureEcoFeeCommission`\" \n- \"`copyPrivateFeeCommission`\" \n- \"`principalRefund`\" \n- \"`principalRefundTax`\" \n- \"`itemCommission`\" \n- \"`adjustmentCommission`\" \n- \"`shippingFeeCommission`\" \n- \"`commissionRefund`\" \n- \"`damaged`\" \n- \"`damagedOrDefectiveItem`\" \n- \"`expiredItem`\" \n- \"`faultyItem`\" \n- \"`incorrectItemReceived`\" \n- \"`itemMissing`\" \n- \"`qualityNotExpected`\" \n- \"`receivedTooLate`\" \n- \"`storePackageMissing`\" \n- \"`transitPackageMissing`\" \n- \"`unsuccessfulDeliveryUndeliverable`\" \n- \"`wrongChargeInStore`\" \n- \"`wrongItem`\" \n- \"`returns`\" \n- \"`undeliverable`\" \n- \"`refundFromMerchant`\" \n- \"`returnLabelShippingFee`\"",
+ "type": "string"
+ },
+ "transactionAmount": {
+ "$ref": "Price",
+ "description": "The amount that contributes to the line item price."
+ },
+ "type": {
+ "description": "The type of the amount.\n\nAcceptable values are: \n- \"`itemPrice`\" \n- \"`orderPrice`\" \n- \"`refund`\" \n- \"`earlyRefund`\" \n- \"`courtesyRefund`\" \n- \"`returnRefund`\" \n- \"`returnLabelShippingFeeAmount`\"",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SettlementTransactionAmountCommission": {
+ "id": "SettlementTransactionAmountCommission",
+ "properties": {
+ "category": {
+ "description": "The category of the commission.\n\nAcceptable values are: \n- \"`animalsAndPetSupplies`\" \n- \"`dogCatFoodAndCatLitter`\" \n- \"`apparelAndAccessories`\" \n- \"`shoesHandbagsAndSunglasses`\" \n- \"`costumesAndAccessories`\" \n- \"`jewelry`\" \n- \"`watches`\" \n- \"`hobbiesArtsAndCrafts`\" \n- \"`homeAndGarden`\" \n- \"`entertainmentCollectibles`\" \n- \"`collectibleCoins`\" \n- \"`sportsCollectibles`\" \n- \"`sportingGoods`\" \n- \"`toysAndGames`\" \n- \"`musicalInstruments`\" \n- \"`giftCards`\" \n- \"`babyAndToddler`\" \n- \"`babyFoodWipesAndDiapers`\" \n- \"`businessAndIndustrial`\" \n- \"`camerasOpticsAndPhotography`\" \n- \"`consumerElectronics`\" \n- \"`electronicsAccessories`\" \n- \"`personalComputers`\" \n- \"`videoGameConsoles`\" \n- \"`foodAndGrocery`\" \n- \"`beverages`\" \n- \"`tobaccoProducts`\" \n- \"`furniture`\" \n- \"`hardware`\" \n- \"`buildingMaterials`\" \n- \"`tools`\" \n- \"`healthAndPersonalCare`\" \n- \"`beauty`\" \n- \"`householdSupplies`\" \n- \"`kitchenAndDining`\" \n- \"`majorAppliances`\" \n- \"`luggageAndBags`\" \n- \"`media`\" \n- \"`officeSupplies`\" \n- \"`softwareAndVideoGames`\" \n- \"`vehiclePartsAndAccessories`\" \n- \"`vehicleTiresAndWheels`\" \n- \"`vehicles`\" \n- \"`everythingElse`\"",
+ "type": "string"
+ },
+ "rate": {
+ "description": "Rate of the commission in percentage.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SettlementTransactionIdentifiers": {
+ "id": "SettlementTransactionIdentifiers",
+ "properties": {
+ "adjustmentId": {
+ "description": "The identifier of the adjustments, if it is available.",
+ "type": "string"
+ },
+ "merchantOrderId": {
+ "description": "The merchant provided order ID.",
+ "type": "string"
+ },
+ "orderItemId": {
+ "description": "The identifier of the item.",
+ "type": "string"
+ },
+ "settlementEntryId": {
+ "description": "The unique ID of the settlement transaction entry.",
+ "type": "string"
+ },
+ "shipmentIds": {
+ "description": "The shipment ids for the item.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "transactionId": {
+ "description": "The Google transaction ID.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SettlementTransactionTransaction": {
+ "id": "SettlementTransactionTransaction",
+ "properties": {
+ "postDate": {
+ "description": "The time on which the event occurred in ISO 8601 format.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The type of the transaction that occurred.\n\nAcceptable values are: \n- \"`order`\" \n- \"`reversal`\" \n- \"`orderRefund`\" \n- \"`reversalRefund`\" \n- \"`issueRelatedRefundAndReplacement`\" \n- \"`returnLabelShippingFeeTransaction`\" \n- \"`reversalIssueRelatedRefundAndReplacement`\" \n- \"`reversalReturnLabelShippingFeeTransaction`\"",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SettlementreportsListResponse": {
+ "id": "SettlementreportsListResponse",
+ "properties": {
+ "kind": {
+ "default": "content#settlementreportsListResponse",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"content#settlementreportsListResponse\".",
+ "type": "string"
+ },
+ "nextPageToken": {
+ "description": "The token for the retrieval of the next page of returns.",
+ "type": "string"
+ },
+ "resources": {
+ "items": {
+ "$ref": "SettlementReport"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "SettlementtransactionsListResponse": {
+ "id": "SettlementtransactionsListResponse",
+ "properties": {
+ "kind": {
+ "default": "content#settlementtransactionsListResponse",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"content#settlementtransactionsListResponse\".",
+ "type": "string"
+ },
+ "nextPageToken": {
+ "description": "The token for the retrieval of the next page of returns.",
+ "type": "string"
+ },
+ "resources": {
+ "items": {
+ "$ref": "SettlementTransaction"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"ShipmentInvoice": {
"id": "ShipmentInvoice",
"properties": {
@@ -9794,7 +10817,7 @@
"type": "array"
},
"shipmentGroupId": {
- "description": "[required] ID of the shipment group. It is assigned by the merchant in the shipLineItems method and is used to group multiple line items that have the same kind of shipping charges.",
+ "description": "[required] ID of the shipment group. It is assigned by the merchant in the `shipLineItems` method and is used to group multiple line items that have the same kind of shipping charges.",
"type": "string"
}
},
@@ -9829,7 +10852,7 @@
"id": "ShipmentTrackingInfo",
"properties": {
"carrier": {
- "description": "The shipping carrier that handles the package.\n\nAcceptable values are: \n- \"boxtal\" \n- \"bpost\" \n- \"chronopost\" \n- \"colisPrive\" \n- \"colissimo\" \n- \"cxt\" \n- \"deliv\" \n- \"dhl\" \n- \"dpd\" \n- \"dynamex\" \n- \"eCourier\" \n- \"easypost\" \n- \"efw\" \n- \"fedex\" \n- \"fedexSmartpost\" \n- \"geodis\" \n- \"gls\" \n- \"googleCourier\" \n- \"gsx\" \n- \"jdLogistics\" \n- \"laPoste\" \n- \"lasership\" \n- \"manual\" \n- \"mpx\" \n- \"onTrac\" \n- \"other\" \n- \"tnt\" \n- \"uds\" \n- \"ups\" \n- \"usps\"",
+ "description": "The shipping carrier that handles the package.\n\nAcceptable values are: \n- \"`boxtal`\" \n- \"`bpost`\" \n- \"`chronopost`\" \n- \"`colisPrive`\" \n- \"`colissimo`\" \n- \"`cxt`\" \n- \"`deliv`\" \n- \"`dhl`\" \n- \"`dpd`\" \n- \"`dynamex`\" \n- \"`eCourier`\" \n- \"`easypost`\" \n- \"`efw`\" \n- \"`fedex`\" \n- \"`fedexSmartpost`\" \n- \"`geodis`\" \n- \"`gls`\" \n- \"`googleCourier`\" \n- \"`gsx`\" \n- \"`jdLogistics`\" \n- \"`laPoste`\" \n- \"`lasership`\" \n- \"`manual`\" \n- \"`mpx`\" \n- \"`onTrac`\" \n- \"`other`\" \n- \"`tnt`\" \n- \"`uds`\" \n- \"`ups`\" \n- \"`usps`\"",
"type": "string"
},
"trackingNumber": {
@@ -9849,7 +10872,7 @@
"type": "string"
},
"postalCodeGroups": {
- "description": "A list of postal code groups that can be referred to in services. Optional.",
+ "description": "A list of postal code groups that can be referred to in `services`. Optional.",
"items": {
"$ref": "PostalCodeGroup"
},
@@ -9898,12 +10921,12 @@
"type": "string"
},
"method": {
- "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"get\" \n- \"update\"",
+ "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"`get`\" \n- \"`update`\"",
"type": "string"
},
"shippingSettings": {
"$ref": "ShippingSettings",
- "description": "The account shipping settings to update. Only defined if the method is update."
+ "description": "The account shipping settings to update. Only defined if the method is `update`."
}
},
"type": "object"
@@ -9941,7 +10964,7 @@
},
"kind": {
"default": "content#shippingsettingsCustomBatchResponseEntry",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#shippingsettingsCustomBatchResponseEntry\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#shippingsettingsCustomBatchResponseEntry`\"",
"type": "string"
},
"shippingSettings": {
@@ -10042,7 +11065,7 @@
"description": "Headers of the table's rows. Required."
},
"rows": {
- "description": "The list of rows that constitute the table. Must have the same length as rowHeaders. Required.",
+ "description": "The list of rows that constitute the table. Must have the same length as `rowHeaders`. Required.",
"items": {
"$ref": "Row"
},
@@ -10054,13 +11077,17 @@
"TestOrder": {
"id": "TestOrder",
"properties": {
+ "deliveryDetails": {
+ "$ref": "TestOrderDeliveryDetails",
+ "description": "Overrides the predefined delivery details if provided."
+ },
"enableOrderinvoices": {
"description": "Whether the orderinvoices service should support this order.",
"type": "boolean"
},
"kind": {
"default": "content#testOrder",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#testOrder\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#testOrder`\"",
"type": "string"
},
"lineItems": {
@@ -10076,16 +11103,20 @@
"type": "array"
},
"notificationMode": {
- "description": "Determines if test order must be pulled by merchant or pushed to merchant via push integration.\n\nAcceptable values are: \n- \"checkoutIntegration\" \n- \"merchantPull\"",
+ "description": "Restricted. Do not use.",
"type": "string"
},
+ "pickupDetails": {
+ "$ref": "TestOrderPickupDetails",
+ "description": "Overrides the predefined pickup details if provided."
+ },
"predefinedBillingAddress": {
"annotations": {
"required": [
"content.orders.createtestorder"
]
},
- "description": "Required. The billing address.\n\nAcceptable values are: \n- \"dwight\" \n- \"jim\" \n- \"pam\"",
+ "description": "Required. The billing address.\n\nAcceptable values are: \n- \"`dwight`\" \n- \"`jim`\" \n- \"`pam`\"",
"type": "string"
},
"predefinedDeliveryAddress": {
@@ -10094,7 +11125,7 @@
"content.orders.createtestorder"
]
},
- "description": "Required. Identifier of one of the predefined delivery addresses for the delivery.\n\nAcceptable values are: \n- \"dwight\" \n- \"jim\" \n- \"pam\"",
+ "description": "Required. Identifier of one of the predefined delivery addresses for the delivery.\n\nAcceptable values are: \n- \"`dwight`\" \n- \"`jim`\" \n- \"`pam`\"",
"type": "string"
},
"predefinedEmail": {
@@ -10103,11 +11134,11 @@
"content.orders.createtestorder"
]
},
- "description": "Required. Email address of the customer.\n\nAcceptable values are: \n- \"pog.dwight.schrute@gmail.com\" \n- \"pog.jim.halpert@gmail.com\" \n- \"penpog.pam.beesly@gmail.comding\"",
+ "description": "Required. Email address of the customer.\n\nAcceptable values are: \n- \"`pog.dwight.schrute@gmail.com`\" \n- \"`pog.jim.halpert@gmail.com`\" \n- \"`penpog.pam.beesly@gmail.comding`\"",
"type": "string"
},
"predefinedPickupDetails": {
- "description": "Identifier of one of the predefined pickup details. Required for orders containing line items with shipping type pickup.\n\nAcceptable values are: \n- \"dwight\" \n- \"jim\" \n- \"pam\"",
+ "description": "Identifier of one of the predefined pickup details. Required for orders containing line items with shipping type `pickup`.\n\nAcceptable values are: \n- \"`dwight`\" \n- \"`jim`\" \n- \"`pam`\"",
"type": "string"
},
"promotions": {
@@ -10132,7 +11163,65 @@
"content.orders.createtestorder"
]
},
- "description": "Required. The requested shipping option.\n\nAcceptable values are: \n- \"economy\" \n- \"expedited\" \n- \"oneDay\" \n- \"sameDay\" \n- \"standard\" \n- \"twoDay\"",
+ "description": "Required. The requested shipping option.\n\nAcceptable values are: \n- \"`economy`\" \n- \"`expedited`\" \n- \"`oneDay`\" \n- \"`sameDay`\" \n- \"`standard`\" \n- \"`twoDay`\"",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "TestOrderAddress": {
+ "id": "TestOrderAddress",
+ "properties": {
+ "country": {
+ "description": "CLDR country code (e.g. \"US\").",
+ "type": "string"
+ },
+ "fullAddress": {
+ "description": "Strings representing the lines of the printed label for mailing the order, for example:\nJohn Smith\n1600 Amphitheatre Parkway\nMountain View, CA, 94043\nUnited States",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "isPostOfficeBox": {
+ "description": "Whether the address is a post office box.",
+ "type": "boolean"
+ },
+ "locality": {
+ "description": "City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs).",
+ "type": "string"
+ },
+ "postalCode": {
+ "description": "Postal Code or ZIP (e.g. \"94043\").",
+ "type": "string"
+ },
+ "recipientName": {
+ "description": "Name of the recipient.",
+ "type": "string"
+ },
+ "region": {
+ "description": "Top-level administrative subdivision of the country. For example, a state like California (\"CA\") or a province like Quebec (\"QC\").",
+ "type": "string"
+ },
+ "streetAddress": {
+ "description": "Street-level part of the address.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "TestOrderDeliveryDetails": {
+ "id": "TestOrderDeliveryDetails",
+ "properties": {
+ "address": {
+ "$ref": "TestOrderAddress",
+ "description": "The delivery address"
+ },
+ "phoneNumber": {
+ "description": "The phone number of the person receiving the delivery.",
"type": "string"
}
},
@@ -10194,7 +11283,7 @@
"content.orders.createtestorder"
]
},
- "description": "Required. Condition or state of the item.\n\nAcceptable values are: \n- \"new\"",
+ "description": "Required. Condition or state of the item.\n\nAcceptable values are: \n- \"`new`\"",
"type": "string"
},
"contentLanguage": {
@@ -10203,7 +11292,7 @@
"content.orders.createtestorder"
]
},
- "description": "Required. The two-letter ISO 639-1 language code for the item.\n\nAcceptable values are: \n- \"en\" \n- \"fr\"",
+ "description": "Required. The two-letter ISO 639-1 language code for the item.\n\nAcceptable values are: \n- \"`en`\" \n- \"`fr`\"",
"type": "string"
},
"fees": {
@@ -10280,11 +11369,50 @@
},
"type": "object"
},
+ "TestOrderPickupDetails": {
+ "id": "TestOrderPickupDetails",
+ "properties": {
+ "locationCode": {
+ "description": "Required. Code of the location defined by provider or merchant.",
+ "type": "string"
+ },
+ "pickupLocationAddress": {
+ "$ref": "TestOrderAddress",
+ "description": "Required. Pickup location address."
+ },
+ "pickupLocationType": {
+ "description": "Pickup location type.\n\nAcceptable values are: \n- \"`locker`\" \n- \"`store`\" \n- \"`curbside`\"",
+ "type": "string"
+ },
+ "pickupPersons": {
+ "description": "Required. all pickup persons set by users.",
+ "items": {
+ "$ref": "TestOrderPickupDetailsPickupPerson"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "TestOrderPickupDetailsPickupPerson": {
+ "id": "TestOrderPickupDetailsPickupPerson",
+ "properties": {
+ "name": {
+ "description": "Required. Full name of the pickup person.",
+ "type": "string"
+ },
+ "phoneNumber": {
+ "description": "Required. The phone number of the person picking up the items.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"TransitTable": {
"id": "TransitTable",
"properties": {
"postalCodeGroupNames": {
- "description": "A list of postal group names. The last value can be \"all other locations\". Example: [\"zone 1\", \"zone 2\", \"all other locations\"]. The referred postal code groups must match the delivery country of the service.",
+ "description": "A list of postal group names. The last value can be `\"all other locations\"`. Example: `[\"zone 1\", \"zone 2\", \"all other locations\"]`. The referred postal code groups must match the delivery country of the service.",
"items": {
"type": "string"
},
@@ -10297,7 +11425,7 @@
"type": "array"
},
"transitTimeLabels": {
- "description": "A list of transit time labels. The last value can be \"all other labels\". Example: [\"food\", \"electronics\", \"all other labels\"].",
+ "description": "A list of transit time labels. The last value can be `\"all other labels\"`. Example: `[\"food\", \"electronics\", \"all other labels\"]`.",
"items": {
"type": "string"
},
@@ -10322,7 +11450,7 @@
"id": "TransitTableTransitTimeRowTransitTimeValue",
"properties": {
"maxTransitTimeInDays": {
- "description": "Must be greater than or equal to minTransitTimeInDays.",
+ "description": "Must be greater than or equal to `minTransitTimeInDays`.",
"format": "uint32",
"type": "integer"
},
@@ -10366,7 +11494,7 @@
"description": "[required] Amount of the additional charge."
},
"type": {
- "description": "[required] Type of the additional charge.\n\nAcceptable values are: \n- \"shipping\"",
+ "description": "[required] Type of the additional charge.\n\nAcceptable values are: \n- \"`shipping`\"",
"type": "string"
}
},
@@ -10380,18 +11508,18 @@
"description": "[required] Tax amount for the tax type."
},
"taxName": {
- "description": "Optional name of the tax type. This should only be provided if taxType is otherFeeTax.",
+ "description": "Optional name of the tax type. This should only be provided if `taxType` is `otherFeeTax`.",
"type": "string"
},
"taxType": {
- "description": "[required] Type of the tax.\n\nAcceptable values are: \n- \"otherFee\" \n- \"otherFeeTax\" \n- \"sales\"",
+ "description": "[required] Type of the tax.\n\nAcceptable values are: \n- \"`otherFee`\" \n- \"`otherFeeTax`\" \n- \"`sales`\"",
"type": "string"
}
},
"type": "object"
},
"Value": {
- "description": "The single value of a rate group or the value of a rate group table's cell. Exactly one of noShipping, flatRate, pricePercentage, carrierRateName, subtableName must be set.",
+ "description": "The single value of a rate group or the value of a rate group table's cell. Exactly one of `noShipping`, `flatRate`, `pricePercentage`, `carrierRateName`, `subtableName` must be set.",
"id": "Value",
"properties": {
"carrierRateName": {
@@ -10407,7 +11535,7 @@
"type": "boolean"
},
"pricePercentage": {
- "description": "A percentage of the price represented as a number in decimal notation (e.g., \"5.4\"). Can only be set if all other fields are not set.",
+ "description": "A percentage of the price represented as a number in decimal notation (e.g., `\"5.4\"`). Can only be set if all other fields are not set.",
"type": "string"
},
"subtableName": {
@@ -10421,7 +11549,7 @@
"id": "Weight",
"properties": {
"unit": {
- "description": "Required. The weight unit.\n\nAcceptable values are: \n- \"kg\" \n- \"lb\"",
+ "description": "Required. The weight unit.\n\nAcceptable values are: \n- \"`kg`\" \n- \"`lb`\"",
"type": "string"
},
"value": {
diff --git a/etc/api/content/v2/content-api.json b/etc/api/content/v2/content-api.json
index 0eb1a7b570..146f219333 100644
--- a/etc/api/content/v2/content-api.json
+++ b/etc/api/content/v2/content-api.json
@@ -15,7 +15,7 @@
"description": "Manages product items, inventory, and Merchant Center accounts for Google Shopping.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/shopping-content",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/FCbogHEaDYtIb38u_EKa1gG2PAw\"",
+ "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/seWVFIM6TQ0ZbicGCsWtCvIDWuo\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -103,14 +103,14 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"overwrite": {
- "description": "Only available to selected merchants. When set to True, this flag removes any existing claim on the requested website by another account and replaces it with a claim from this account.",
+ "description": "Only available to selected merchants. When set to `True`, this flag removes any existing claim on the requested website by another account and replaces it with a claim from this account.",
"location": "query",
"type": "boolean"
}
@@ -202,7 +202,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -266,7 +266,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -320,7 +320,7 @@
]
},
"update": {
- "description": "Updates a Merchant Center account.",
+ "description": "Updates a Merchant Center account. Any fields that are not provided are deleted from the resource.",
"httpMethod": "PUT",
"id": "content.accounts.update",
"parameterOrder": [
@@ -341,7 +341,7 @@
"type": "boolean"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -401,7 +401,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -500,7 +500,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -551,7 +551,7 @@
]
},
"update": {
- "description": "Updates the tax settings of the account.",
+ "description": "Updates the tax settings of the account. Any fields that are not provided are deleted from the resource.",
"httpMethod": "PUT",
"id": "content.accounttax.update",
"parameterOrder": [
@@ -572,7 +572,7 @@
"type": "boolean"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -787,7 +787,7 @@
]
},
"update": {
- "description": "Updates a datafeed configuration of your Merchant Center account.",
+ "description": "Updates a datafeed configuration of your Merchant Center account. Any fields that are not provided are deleted from the resource.",
"httpMethod": "PUT",
"id": "content.datafeeds.update",
"parameterOrder": [
@@ -977,7 +977,7 @@
"type": "string"
},
"storeCode": {
- "description": "The code of the store for which to update price and availability. Use online to update price and availability of an online product.",
+ "description": "The code of the store for which to update price and availability. Use `online` to update price and availability of an online product.",
"location": "path",
"required": true,
"type": "string"
@@ -1037,7 +1037,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -1069,7 +1069,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -1155,7 +1155,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -1194,7 +1194,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -1254,7 +1254,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -1293,7 +1293,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -1320,7 +1320,7 @@
]
},
"update": {
- "description": "Updates the LIA settings of the account.",
+ "description": "Updates the LIA settings of the account. Any fields that are not provided are deleted from the resource.",
"httpMethod": "PUT",
"id": "content.liasettings.update",
"parameterOrder": [
@@ -1341,7 +1341,7 @@
"type": "boolean"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -1398,7 +1398,7 @@
]
},
"createrefundinvoice": {
- "description": "Creates a refund invoice for one or more shipment groups, and triggers a refund for orderinvoice enabled orders. This can only be used for line items that have previously been charged using createChargeInvoice. All amounts (except for the summary) are incremental with respect to the previous invoice.",
+ "description": "Creates a refund invoice for one or more shipment groups, and triggers a refund for orderinvoice enabled orders. This can only be used for line items that have previously been charged using `createChargeInvoice`. All amounts (except for the summary) are incremental with respect to the previous invoice.",
"httpMethod": "POST",
"id": "content.orderinvoices.createrefundinvoice",
"parameterOrder": [
@@ -1668,7 +1668,7 @@
]
},
"advancetestorder": {
- "description": "Sandbox only. Moves a test order from state \"inProgress\" to state \"pendingShipment\".",
+ "description": "Sandbox only. Moves a test order from state \"`inProgress`\" to state \"`pendingShipment`\".",
"httpMethod": "POST",
"id": "content.orders.advancetestorder",
"parameterOrder": [
@@ -1948,7 +1948,7 @@
],
"parameters": {
"country": {
- "description": "The country of the template to retrieve. Defaults to US.",
+ "description": "The country of the template to retrieve. Defaults to `US`.",
"location": "query",
"type": "string"
},
@@ -2031,7 +2031,7 @@
],
"parameters": {
"acknowledged": {
- "description": "Obtains orders that match the acknowledgement status. When set to true, obtains orders that have been acknowledged. When false, obtains orders that have not been acknowledged.\nWe recommend using this filter set to false, in conjunction with the acknowledge call, such that only un-acknowledged orders are returned.",
+ "description": "Obtains orders that match the acknowledgement status. When set to true, obtains orders that have been acknowledged. When false, obtains orders that have not been acknowledged.\nWe recommend using this filter set to `false`, in conjunction with the `acknowledge` call, such that only un-acknowledged orders are returned.",
"location": "query",
"type": "boolean"
},
@@ -2069,7 +2069,7 @@
"type": "string"
},
"statuses": {
- "description": "Obtains orders that match any of the specified statuses. Please note that active is a shortcut for pendingShipment and partiallyShipped, and completed is a shortcut for shipped, partiallyDelivered, delivered, partiallyReturned, returned, and canceled.",
+ "description": "Obtains orders that match any of the specified statuses. Please note that `active` is a shortcut for `pendingShipment` and `partiallyShipped`, and `completed` is a shortcut for `shipped`, `partiallyDelivered`, `delivered`, `partiallyReturned`, `returned`, and `canceled`.",
"enum": [
"active",
"canceled",
@@ -2212,7 +2212,7 @@
]
},
"returnrefundlineitem": {
- "description": "Returns and refunds a line item. Note that this method can only be called on fully shipped orders.",
+ "description": "Returns and refunds a line item. Note that this method can only be called on fully shipped orders. Please also note that the Orderreturns API is the preferred way to handle returns after you receive a return from a customer. You can use Orderreturns.list or Orderreturns.get to search for the return, and then use Orderreturns.processreturn to issue the refund. If the return cannot be found, then we recommend using this API to issue a refund.",
"httpMethod": "POST",
"id": "content.orders.returnrefundlineitem",
"parameterOrder": [
@@ -2997,7 +2997,7 @@
"type": "string"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -3120,7 +3120,7 @@
]
},
"update": {
- "description": "Updates the shipping settings of the account.",
+ "description": "Updates the shipping settings of the account. Any fields that are not provided are deleted from the resource.",
"httpMethod": "PUT",
"id": "content.shippingsettings.update",
"parameterOrder": [
@@ -3141,7 +3141,7 @@
"type": "boolean"
},
"merchantId": {
- "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
@@ -3162,7 +3162,7 @@
}
}
},
- "revision": "20200310",
+ "revision": "20200617",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Account": {
@@ -3174,7 +3174,7 @@
"type": "boolean"
},
"adwordsLinks": {
- "description": "List of linked AdWords accounts that are active or pending approval. To create a new link request, add a new link with status active to the list. It will remain in a pending state until approved or rejected either in the AdWords interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list.",
+ "description": "List of linked AdWords accounts that are active or pending approval. To create a new link request, add a new link with status `active` to the list. It will remain in a `pending` state until approved or rejected either in the AdWords interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list.",
"items": {
"$ref": "AccountAdwordsLink"
},
@@ -3200,7 +3200,7 @@
},
"kind": {
"default": "content#account",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#account\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#account`\"",
"type": "string"
},
"name": {
@@ -3233,7 +3233,7 @@
"type": "string"
},
"youtubeChannelLinks": {
- "description": "List of linked YouTube channels that are active or pending approval. To create a new link request, add a new link with status active to the list. It will remain in a pending state until approved or rejected in the YT Creator Studio interface. To delete an active link, or to cancel a link request, remove it from the list.",
+ "description": "List of linked YouTube channels that are active or pending approval. To create a new link request, add a new link with status `active` to the list. It will remain in a `pending` state until approved or rejected in the YT Creator Studio interface. To delete an active link, or to cancel a link request, remove it from the list.",
"items": {
"$ref": "AccountYouTubeChannelLink"
},
@@ -3277,7 +3277,7 @@
"type": "string"
},
"status": {
- "description": "Status of the link between this Merchant Center account and the AdWords account. Upon retrieval, it represents the actual status of the link and can be either active if it was approved in Google AdWords or pending if it's pending approval. Upon insertion, it represents the intended status of the link. Re-uploading a link with status active when it's still pending or with status pending when it's already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status inactive is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending.\n\nAcceptable values are: \n- \"active\" \n- \"pending\"",
+ "description": "Status of the link between this Merchant Center account and the AdWords account. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in Google AdWords or `pending` if it's pending approval. Upon insertion, it represents the intended status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it's already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending.\n\nAcceptable values are: \n- \"`active`\" \n- \"`pending`\"",
"type": "string"
}
},
@@ -3327,7 +3327,7 @@
"type": "string"
},
"status": {
- "description": "Status of the link between this Merchant Center account and the GMB account.\n\nAcceptable values are: \n- \"active\" \n- \"pending\"",
+ "description": "Status of the link between this Merchant Center account and the GMB account.\n\nAcceptable values are: \n- \"`active`\" \n- \"`pending`\"",
"type": "string"
}
},
@@ -3373,7 +3373,7 @@
},
"kind": {
"default": "content#accountStatus",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountStatus\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountStatus`\"",
"type": "string"
},
"products": {
@@ -3414,7 +3414,7 @@
"type": "string"
},
"severity": {
- "description": "Severity of the issue.\n\nAcceptable values are: \n- \"critical\" \n- \"error\" \n- \"suggestion\"",
+ "description": "Severity of the issue.\n\nAcceptable values are: \n- \"`critical`\" \n- \"`error`\" \n- \"`suggestion`\"",
"type": "string"
},
"title": {
@@ -3459,7 +3459,7 @@
"type": "integer"
},
"severity": {
- "description": "Acceptable values are: \n- \"critical\" \n- \"error\" \n- \"suggestion\"",
+ "description": "Acceptable values are: \n- \"`critical`\" \n- \"`error`\" \n- \"`suggestion`\"",
"type": "string"
},
"submittedValue": {
@@ -3532,7 +3532,7 @@
"id": "AccountStatusProducts",
"properties": {
"channel": {
- "description": "The channel the data applies to.\n\nAcceptable values are: \n- \"local\" \n- \"online\"",
+ "description": "The channel the data applies to.\n\nAcceptable values are: \n- \"`local`\" \n- \"`online`\"",
"type": "string"
},
"country": {
@@ -3679,7 +3679,7 @@
"type": "string"
},
"status": {
- "description": "Status of the link between this Merchant Center account and the YouTube channel. Upon retrieval, it represents the actual status of the link and can be either active if it was approved in YT Creator Studio or pending if it's pending approval. Upon insertion, it represents the intended status of the link. Re-uploading a link with status active when it's still pending or with status pending when it's already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status inactive is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending.",
+ "description": "Status of the link between this Merchant Center account and the YouTube channel. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in YT Creator Studio or `pending` if it's pending approval. Upon insertion, it represents the intended status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it's already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending.",
"type": "string"
}
},
@@ -3733,10 +3733,10 @@
"properties": {
"account": {
"$ref": "Account",
- "description": "The account to create or update. Only defined if the method is insert or update."
+ "description": "The account to create or update. Only defined if the method is `insert` or `update`."
},
"accountId": {
- "description": "The ID of the targeted account. Only defined if the method is not insert.",
+ "description": "The ID of the targeted account. Only defined if the method is not `insert`.",
"format": "uint64",
"type": "string"
},
@@ -3746,12 +3746,12 @@
"type": "integer"
},
"force": {
- "description": "Whether the account should be deleted if the account has offers. Only applicable if the method is delete.",
+ "description": "Whether the account should be deleted if the account has offers. Only applicable if the method is `delete`.",
"type": "boolean"
},
"linkRequest": {
"$ref": "AccountsCustomBatchRequestEntryLinkRequest",
- "description": "Details about the link request."
+ "description": "Details about the `link` request."
},
"merchantId": {
"description": "The ID of the managing account.",
@@ -3759,11 +3759,11 @@
"type": "string"
},
"method": {
- "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"claimWebsite\" \n- \"delete\" \n- \"get\" \n- \"insert\" \n- \"link\" \n- \"update\"",
+ "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"`claimWebsite`\" \n- \"`delete`\" \n- \"`get`\" \n- \"`insert`\" \n- \"`link`\" \n- \"`update`\"",
"type": "string"
},
"overwrite": {
- "description": "Only applicable if the method is claimwebsite. Indicates whether or not to take the claim from another account in case there is a conflict.",
+ "description": "Only applicable if the method is `claimwebsite`. Indicates whether or not to take the claim from another account in case there is a conflict.",
"type": "boolean"
}
},
@@ -3773,11 +3773,11 @@
"id": "AccountsCustomBatchRequestEntryLinkRequest",
"properties": {
"action": {
- "description": "Action to perform for this link. The \"request\" action is only available to select merchants.\n\nAcceptable values are: \n- \"approve\" \n- \"remove\" \n- \"request\"",
+ "description": "Action to perform for this link. The `\"request\"` action is only available to select merchants.\n\nAcceptable values are: \n- \"`approve`\" \n- \"`remove`\" \n- \"`request`\"",
"type": "string"
},
"linkType": {
- "description": "Type of the link between the two accounts.\n\nAcceptable values are: \n- \"channelPartner\" \n- \"eCommercePlatform\"",
+ "description": "Type of the link between the two accounts.\n\nAcceptable values are: \n- \"`channelPartner`\" \n- \"`eCommercePlatform`\"",
"type": "string"
},
"linkedAccountId": {
@@ -3811,7 +3811,7 @@
"properties": {
"account": {
"$ref": "Account",
- "description": "The retrieved, created, or updated account. Not defined if the method was delete, claimwebsite or link."
+ "description": "The retrieved, created, or updated account. Not defined if the method was `delete`, `claimwebsite` or `link`."
},
"batchId": {
"description": "The ID of the request entry this entry responds to.",
@@ -3824,11 +3824,11 @@
},
"kind": {
"default": "content#accountsCustomBatchResponseEntry",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountsCustomBatchResponseEntry\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountsCustomBatchResponseEntry`\"",
"type": "string"
},
"linkStatus": {
- "description": "Deprecated. This field is never set.\n\nAcceptable values are: \n- \"active\" \n- \"inactive\" \n- \"pending\"",
+ "description": "Deprecated. This field is never set.\n\nAcceptable values are: \n- \"`active`\" \n- \"`inactive`\" \n- \"`pending`\"",
"type": "string"
}
},
@@ -3838,11 +3838,11 @@
"id": "AccountsLinkRequest",
"properties": {
"action": {
- "description": "Action to perform for this link. The \"request\" action is only available to select merchants.\n\nAcceptable values are: \n- \"approve\" \n- \"remove\" \n- \"request\"",
+ "description": "Action to perform for this link. The `\"request\"` action is only available to select merchants.\n\nAcceptable values are: \n- \"`approve`\" \n- \"`remove`\" \n- \"`request`\"",
"type": "string"
},
"linkType": {
- "description": "Type of the link between the two accounts.\n\nAcceptable values are: \n- \"channelPartner\" \n- \"eCommercePlatform\"",
+ "description": "Type of the link between the two accounts.\n\nAcceptable values are: \n- \"`channelPartner`\" \n- \"`eCommercePlatform`\"",
"type": "string"
},
"linkedAccountId": {
@@ -3924,7 +3924,7 @@
"type": "string"
},
"method": {
- "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"get\"",
+ "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"`get`\"",
"type": "string"
}
},
@@ -4013,7 +4013,7 @@
},
"accountTax": {
"$ref": "AccountTax",
- "description": "The account tax settings to update. Only defined if the method is update."
+ "description": "The account tax settings to update. Only defined if the method is `update`."
},
"batchId": {
"description": "An entry ID, unique within the batch request.",
@@ -4026,7 +4026,7 @@
"type": "string"
},
"method": {
- "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"get\" \n- \"update\"",
+ "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"`get`\" \n- \"`update`\"",
"type": "string"
}
},
@@ -4069,7 +4069,7 @@
},
"kind": {
"default": "content#accounttaxCustomBatchResponseEntry",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#accounttaxCustomBatchResponseEntry\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accounttaxCustomBatchResponseEntry`\"",
"type": "string"
}
},
@@ -4127,16 +4127,16 @@
"id": "CarrierRate",
"properties": {
"carrierName": {
- "description": "Carrier service, such as \"UPS\" or \"Fedex\". The list of supported carriers can be retrieved via the getSupportedCarriers method. Required.",
+ "description": "Carrier service, such as `\"UPS\"` or `\"Fedex\"`. The list of supported carriers can be retrieved via the `getSupportedCarriers` method. Required.",
"type": "string"
},
"carrierService": {
- "description": "Carrier service, such as \"ground\" or \"2 days\". The list of supported services for a carrier can be retrieved via the getSupportedCarriers method. Required.",
+ "description": "Carrier service, such as `\"ground\"` or `\"2 days\"`. The list of supported services for a carrier can be retrieved via the `getSupportedCarriers` method. Required.",
"type": "string"
},
"flatAdjustment": {
"$ref": "Price",
- "description": "Additive shipping rate modifier. Can be negative. For example { \"value\": \"1\", \"currency\" : \"USD\" } adds $1 to the rate, { \"value\": \"-3\", \"currency\" : \"USD\" } removes $3 from the rate. Optional."
+ "description": "Additive shipping rate modifier. Can be negative. For example `{ \"value\": \"1\", \"currency\" : \"USD\" }` adds $1 to the rate, `{ \"value\": \"-3\", \"currency\" : \"USD\" }` removes $3 from the rate. Optional."
},
"name": {
"description": "Name of the carrier rate. Must be unique per rate group. Required.",
@@ -4147,7 +4147,7 @@
"type": "string"
},
"percentageAdjustment": {
- "description": "Multiplicative shipping rate modifier as a number in decimal notation. Can be negative. For example \"5.4\" increases the rate by 5.4%, \"-3\" decreases the rate by 3%. Optional.",
+ "description": "Multiplicative shipping rate modifier as a number in decimal notation. Can be negative. For example `\"5.4\"` increases the rate by 5.4%, `\"-3\"` decreases the rate by 3%. Optional.",
"type": "string"
}
},
@@ -4161,11 +4161,11 @@
"type": "string"
},
"name": {
- "description": "The name of the carrier (e.g., \"UPS\"). Always present.",
+ "description": "The name of the carrier (e.g., `\"UPS\"`). Always present.",
"type": "string"
},
"services": {
- "description": "A list of supported services (e.g., \"ground\") for that carrier. Contains at least one service.",
+ "description": "A list of supported services (e.g., `\"ground\"`) for that carrier. Contains at least one service.",
"items": {
"type": "string"
},
@@ -4182,7 +4182,7 @@
"type": "string"
},
"type": {
- "description": "The type of the attribute.\n\nAcceptable values are: \n- \"boolean\" \n- \"datetimerange\" \n- \"float\" \n- \"group\" \n- \"int\" \n- \"price\" \n- \"text\" \n- \"time\" \n- \"url\"",
+ "description": "The type of the attribute.\n\nAcceptable values are: \n- \"`boolean`\" \n- \"`datetimerange`\" \n- \"`float`\" \n- \"`group`\" \n- \"`int`\" \n- \"`price`\" \n- \"`text`\" \n- \"`time`\" \n- \"`url`\"",
"type": "string"
},
"unit": {
@@ -4221,7 +4221,7 @@
"type": "string"
},
"reasonCode": {
- "description": "Code of the return reason.\n\nAcceptable values are: \n- \"betterPriceFound\" \n- \"changedMind\" \n- \"damagedOrDefectiveItem\" \n- \"didNotMatchDescription\" \n- \"doesNotFit\" \n- \"expiredItem\" \n- \"incorrectItemReceived\" \n- \"noLongerNeeded\" \n- \"notSpecified\" \n- \"orderedWrongItem\" \n- \"other\" \n- \"qualityNotExpected\" \n- \"receivedTooLate\" \n- \"undeliverable\"",
+ "description": "Code of the return reason.\n\nAcceptable values are: \n- \"`betterPriceFound`\" \n- \"`changedMind`\" \n- \"`damagedOrDefectiveItem`\" \n- \"`didNotMatchDescription`\" \n- \"`doesNotFit`\" \n- \"`expiredItem`\" \n- \"`incorrectItemReceived`\" \n- \"`noLongerNeeded`\" \n- \"`notSpecified`\" \n- \"`orderedWrongItem`\" \n- \"`other`\" \n- \"`qualityNotExpected`\" \n- \"`receivedTooLate`\" \n- \"`undeliverable`\"",
"type": "string"
}
},
@@ -4256,7 +4256,7 @@
"type": "string"
},
"contentLanguage": {
- "description": "[DEPRECATED] Please use targets[].language instead. The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for targetCountry.",
+ "description": "[DEPRECATED] Please use targets[].language instead. The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for `targetCountry`.",
"type": "string"
},
"contentType": {
@@ -4266,7 +4266,7 @@
"content.datafeeds.update"
]
},
- "description": "Required. The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported.\n\nAcceptable values are: \n- \"local products\" \n- \"product inventory\" \n- \"products\"",
+ "description": "Required. The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported.\n\nAcceptable values are: \n- \"`local products`\" \n- \"`product inventory`\" \n- \"`products`\"",
"type": "string"
},
"fetchSchedule": {
@@ -4298,7 +4298,7 @@
"type": "string"
},
"intendedDestinations": {
- "description": "[DEPRECATED] Please use targets[].includedDestinations instead. The list of intended destinations (corresponds to checked check boxes in Merchant Center).",
+ "description": "[DEPRECATED] Please use targets[].includedDestinations instead. The list of intended destinations (corresponds to checked check boxes in Merchant Center).",
"items": {
"type": "string"
},
@@ -4306,7 +4306,7 @@
},
"kind": {
"default": "content#datafeed",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#datafeed\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#datafeed`\"",
"type": "string"
},
"name": {
@@ -4372,7 +4372,7 @@
"type": "string"
},
"weekday": {
- "description": "The day of the week the feed file should be fetched.\n\nAcceptable values are: \n- \"monday\" \n- \"tuesday\" \n- \"wednesday\" \n- \"thursday\" \n- \"friday\" \n- \"saturday\" \n- \"sunday\"",
+ "description": "The day of the week the feed file should be fetched.\n\nAcceptable values are: \n- \"`monday`\" \n- \"`tuesday`\" \n- \"`wednesday`\" \n- \"`thursday`\" \n- \"`friday`\" \n- \"`saturday`\" \n- \"`sunday`\"",
"type": "string"
}
},
@@ -4382,15 +4382,15 @@
"id": "DatafeedFormat",
"properties": {
"columnDelimiter": {
- "description": "Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds.\n\nAcceptable values are: \n- \"pipe\" \n- \"tab\" \n- \"tilde\"",
+ "description": "Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds.\n\nAcceptable values are: \n- \"`pipe`\" \n- \"`tab`\" \n- \"`tilde`\"",
"type": "string"
},
"fileEncoding": {
- "description": "Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected.\n\nAcceptable values are: \n- \"latin-1\" \n- \"utf-16be\" \n- \"utf-16le\" \n- \"utf-8\" \n- \"windows-1252\"",
+ "description": "Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected.\n\nAcceptable values are: \n- \"`latin-1`\" \n- \"`utf-16be`\" \n- \"`utf-16le`\" \n- \"`utf-8`\" \n- \"`windows-1252`\"",
"type": "string"
},
"quotingMode": {
- "description": "Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds.\n\nAcceptable values are: \n- \"normal character\" \n- \"value quoting\"",
+ "description": "Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds.\n\nAcceptable values are: \n- \"`normal character`\" \n- \"`value quoting`\"",
"type": "string"
}
},
@@ -4428,7 +4428,7 @@
},
"kind": {
"default": "content#datafeedStatus",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#datafeedStatus\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#datafeedStatus`\"",
"type": "string"
},
"language": {
@@ -4440,7 +4440,7 @@
"type": "string"
},
"processingStatus": {
- "description": "The processing status of the feed.\n\nAcceptable values are: \n- \"\"failure\": The feed could not be processed or all items had errors.\" \n- \"in progress\": The feed is being processed. \n- \"none\": The feed has not yet been processed. For example, a feed that has never been uploaded will have this processing status. \n- \"success\": The feed was processed successfully, though some items might have had errors.",
+ "description": "The processing status of the feed.\n\nAcceptable values are: \n- \"`\"`failure`\": The feed could not be processed or all items had errors.`\" \n- \"`in progress`\": The feed is being processed. \n- \"`none`\": The feed has not yet been processed. For example, a feed that has never been uploaded will have this processing status. \n- \"`success`\": The feed was processed successfully, though some items might have had errors.",
"type": "string"
},
"warnings": {
@@ -4515,14 +4515,14 @@
"type": "array"
},
"includedDestinations": {
- "description": "The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in excludedDestinations.\n\nList of supported destinations (if available to the account): \n- DisplayAds \n- Shopping \n- ShoppingActions \n- SurfacesAcrossGoogle",
+ "description": "The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in `excludedDestinations`.\n\nList of supported destinations (if available to the account): \n- DisplayAds \n- Shopping \n- ShoppingActions \n- SurfacesAcrossGoogle",
"items": {
"type": "string"
},
"type": "array"
},
"language": {
- "description": "The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for targets[].country.",
+ "description": "The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for `targets[].country`.",
"type": "string"
}
},
@@ -4565,7 +4565,7 @@
"type": "string"
},
"method": {
- "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"delete\" \n- \"fetchNow\" \n- \"get\" \n- \"insert\" \n- \"update\"",
+ "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"`delete`\" \n- \"`fetchNow`\" \n- \"`get`\" \n- \"`insert`\" \n- \"`update`\"",
"type": "string"
}
},
@@ -4682,7 +4682,7 @@
"type": "string"
},
"method": {
- "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"get\"",
+ "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"`get`\"",
"type": "string"
}
},
@@ -4766,12 +4766,12 @@
"type": "array"
},
"maxHandlingTimeInDays": {
- "description": "Maximum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. Must be greater than or equal to minHandlingTimeInDays.",
+ "description": "Maximum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. Must be greater than or equal to `minHandlingTimeInDays`.",
"format": "uint32",
"type": "integer"
},
"maxTransitTimeInDays": {
- "description": "Maximum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Must be greater than or equal to minTransitTimeInDays.",
+ "description": "Maximum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Must be greater than or equal to `minTransitTimeInDays`.",
"format": "uint32",
"type": "integer"
},
@@ -4781,7 +4781,7 @@
"type": "integer"
},
"minTransitTimeInDays": {
- "description": "Minimum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Either {min,max}TransitTimeInDays or transitTimeTable must be set, but not both.",
+ "description": "Minimum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Either `{min,max}TransitTimeInDays` or `transitTimeTable` must be set, but not both.",
"format": "uint32",
"type": "integer"
},
@@ -4791,7 +4791,7 @@
},
"transitTimeTable": {
"$ref": "TransitTable",
- "description": "Transit time table, number of business days spent in transit based on row and column dimensions. Either {min,max}TransitTimeInDays or transitTimeTable can be set, but not both."
+ "description": "Transit time table, number of business days spent in transit based on row and column dimensions. Either `{min,max}TransitTimeInDays` or `transitTimeTable` can be set, but not both."
}
},
"type": "object"
@@ -4820,7 +4820,7 @@
"id": "Errors",
"properties": {
"code": {
- "description": "The HTTP status of the first error in errors.",
+ "description": "The HTTP status of the first error in `errors`.",
"format": "uint32",
"type": "integer"
},
@@ -4832,7 +4832,7 @@
"type": "array"
},
"message": {
- "description": "The message of the first error in errors.",
+ "description": "The message of the first error in `errors`.",
"type": "string"
}
},
@@ -4842,7 +4842,7 @@
"id": "GmbAccounts",
"properties": {
"accountId": {
- "description": "The ID of the account.",
+ "description": "The ID of the Merchant Center account.",
"format": "uint64",
"type": "string"
},
@@ -4880,7 +4880,7 @@
"type": "object"
},
"Headers": {
- "description": "A non-empty list of row or column headers for a table. Exactly one of prices, weights, numItems, postalCodeGroupNames, or location must be set.",
+ "description": "A non-empty list of row or column headers for a table. Exactly one of `prices`, `weights`, `numItems`, `postalCodeGroupNames`, or `location` must be set.",
"id": "Headers",
"properties": {
"locations": {
@@ -4891,28 +4891,28 @@
"type": "array"
},
"numberOfItems": {
- "description": "A list of inclusive number of items upper bounds. The last value can be \"infinity\". For example [\"10\", \"50\", \"infinity\"] represents the headers \"<= 10 items\", \" 50 items\". Must be non-empty. Can only be set if all other fields are not set.",
+ "description": "A list of inclusive number of items upper bounds. The last value can be `\"infinity\"`. For example `[\"10\", \"50\", \"infinity\"]` represents the headers \"<= 10 items\", \" 50 items\". Must be non-empty. Can only be set if all other fields are not set.",
"items": {
"type": "string"
},
"type": "array"
},
"postalCodeGroupNames": {
- "description": "A list of postal group names. The last value can be \"all other locations\". Example: [\"zone 1\", \"zone 2\", \"all other locations\"]. The referred postal code groups must match the delivery country of the service. Must be non-empty. Can only be set if all other fields are not set.",
+ "description": "A list of postal group names. The last value can be `\"all other locations\"`. Example: `[\"zone 1\", \"zone 2\", \"all other locations\"]`. The referred postal code groups must match the delivery country of the service. Must be non-empty. Can only be set if all other fields are not set.",
"items": {
"type": "string"
},
"type": "array"
},
"prices": {
- "description": "A list of inclusive order price upper bounds. The last price's value can be \"infinity\". For example [{\"value\": \"10\", \"currency\": \"USD\"}, {\"value\": \"500\", \"currency\": \"USD\"}, {\"value\": \"infinity\", \"currency\": \"USD\"}] represents the headers \"<= $10\", \" $500\". All prices within a service must have the same currency. Must be non-empty. Can only be set if all other fields are not set.",
+ "description": "A list of inclusive order price upper bounds. The last price's value can be `\"infinity\"`. For example `[{\"value\": \"10\", \"currency\": \"USD\"}, {\"value\": \"500\", \"currency\": \"USD\"}, {\"value\": \"infinity\", \"currency\": \"USD\"}]` represents the headers \"<= $10\", \" $500\". All prices within a service must have the same currency. Must be non-empty. Can only be set if all other fields are not set.",
"items": {
"$ref": "Price"
},
"type": "array"
},
"weights": {
- "description": "A list of inclusive order weight upper bounds. The last weight's value can be \"infinity\". For example [{\"value\": \"10\", \"unit\": \"kg\"}, {\"value\": \"50\", \"unit\": \"kg\"}, {\"value\": \"infinity\", \"unit\": \"kg\"}] represents the headers \"<= 10kg\", \" 50kg\". All weights within a service must have the same unit. Must be non-empty. Can only be set if all other fields are not set.",
+ "description": "A list of inclusive order weight upper bounds. The last weight's value can be `\"infinity\"`. For example `[{\"value\": \"10\", \"unit\": \"kg\"}, {\"value\": \"50\", \"unit\": \"kg\"}, {\"value\": \"infinity\", \"unit\": \"kg\"}]` represents the headers \"<= 10kg\", \" 50kg\". All weights within a service must have the same unit. Must be non-empty. Can only be set if all other fields are not set.",
"items": {
"$ref": "Weight"
},
@@ -4973,7 +4973,7 @@
"type": "string"
},
"type": {
- "description": "The holiday type. Always present.\n\nAcceptable values are: \n- \"Christmas\" \n- \"Easter\" \n- \"Father's Day\" \n- \"Halloween\" \n- \"Independence Day (USA)\" \n- \"Mother's Day\" \n- \"Thanksgiving\" \n- \"Valentine's Day\"",
+ "description": "The holiday type. Always present.\n\nAcceptable values are: \n- \"`Christmas`\" \n- \"`Easter`\" \n- \"`Father's Day`\" \n- \"`Halloween`\" \n- \"`Independence Day (USA)`\" \n- \"`Mother's Day`\" \n- \"`Thanksgiving`\" \n- \"`Valentine's Day`\"",
"type": "string"
}
},
@@ -4995,10 +4995,11 @@
"type": "object"
},
"Inventory": {
+ "description": "(== resource_for v2.inventory ==)",
"id": "Inventory",
"properties": {
"availability": {
- "description": "The availability of the product.\n\nAcceptable values are: \n- \"in stock\" \n- \"out of stock\" \n- \"preorder\"",
+ "description": "The availability of the product.\n\nAcceptable values are: \n- \"`in stock`\" \n- \"`out of stock`\" \n- \"`preorder`\"",
"type": "string"
},
"customLabel0": {
@@ -5031,7 +5032,7 @@
},
"kind": {
"default": "content#inventory",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#inventory\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#inventory`\"",
"type": "string"
},
"loyaltyPoints": {
@@ -5040,7 +5041,7 @@
},
"pickup": {
"$ref": "InventoryPickup",
- "description": "Store pickup information. Only supported for local inventory. Not setting pickup means \"don't update\" while setting it to the empty value ({} in JSON) means \"delete\". Otherwise, pickupMethod and pickupSla must be set together, unless pickupMethod is \"not supported\"."
+ "description": "Store pickup information. Only supported for local inventory. Not setting `pickup` means \"don't update\" while setting it to the empty value (`{}` in JSON) means \"delete\". Otherwise, `pickupMethod` and `pickupSla` must be set together, unless `pickupMethod` is \"not supported\"."
},
"price": {
"$ref": "Price",
@@ -5053,7 +5054,7 @@
},
"salePrice": {
"$ref": "Price",
- "description": "The sale price of the product. Mandatory if sale_price_effective_date is defined."
+ "description": "The sale price of the product. Mandatory if `sale_price_effective_date` is defined."
},
"salePriceEffectiveDate": {
"description": "A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash. Both dates might be specified as 'null' if undecided.",
@@ -5103,7 +5104,7 @@
"type": "string"
},
"storeCode": {
- "description": "The code of the store for which to update price and availability. Use online to update price and availability of an online product.",
+ "description": "The code of the store for which to update price and availability. Use `online` to update price and availability of an online product.",
"type": "string"
}
},
@@ -5142,7 +5143,7 @@
},
"kind": {
"default": "content#inventoryCustomBatchResponseEntry",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#inventoryCustomBatchResponseEntry\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#inventoryCustomBatchResponseEntry`\"",
"type": "string"
}
},
@@ -5152,11 +5153,11 @@
"id": "InventoryPickup",
"properties": {
"pickupMethod": {
- "description": "Whether store pickup is available for this offer and whether the pickup option should be shown as buy, reserve, or not supported. Only supported for local inventory. Unless the value is \"not supported\", must be submitted together with pickupSla.\n\nAcceptable values are: \n- \"buy\" \n- \"not supported\" \n- \"reserve\" \n- \"ship to store\"",
+ "description": "Whether store pickup is available for this offer and whether the pickup option should be shown as buy, reserve, or not supported. Only supported for local inventory. Unless the value is \"not supported\", must be submitted together with `pickupSla`.\n\nAcceptable values are: \n- \"`buy`\" \n- \"`not supported`\" \n- \"`reserve`\" \n- \"`ship to store`\"",
"type": "string"
},
"pickupSla": {
- "description": "The expected date that an order will be ready for pickup, relative to when the order is placed. Only supported for local inventory. Must be submitted together with pickupMethod.\n\nAcceptable values are: \n- \"five day\" \n- \"four day\" \n- \"multi day\" \n- \"multi week\" \n- \"next day\" \n- \"same day\" \n- \"seven day\" \n- \"six day\" \n- \"three day\" \n- \"two day\"",
+ "description": "The expected date that an order will be ready for pickup, relative to when the order is placed. Only supported for local inventory. Must be submitted together with `pickupMethod`.\n\nAcceptable values are: \n- \"`five day`\" \n- \"`four day`\" \n- \"`multi day`\" \n- \"`multi week`\" \n- \"`next day`\" \n- \"`same day`\" \n- \"`seven day`\" \n- \"`six day`\" \n- \"`three day`\" \n- \"`two day`\"",
"type": "string"
}
},
@@ -5166,7 +5167,7 @@
"id": "InventorySetRequest",
"properties": {
"availability": {
- "description": "The availability of the product.\n\nAcceptable values are: \n- \"in stock\" \n- \"out of stock\" \n- \"preorder\"",
+ "description": "The availability of the product.\n\nAcceptable values are: \n- \"`in stock`\" \n- \"`out of stock`\" \n- \"`preorder`\"",
"type": "string"
},
"customLabel0": {
@@ -5203,7 +5204,7 @@
},
"pickup": {
"$ref": "InventoryPickup",
- "description": "Store pickup information. Only supported for local inventory. Not setting pickup means \"don't update\" while setting it to the empty value ({} in JSON) means \"delete\". Otherwise, pickupMethod and pickupSla must be set together, unless pickupMethod is \"not supported\"."
+ "description": "Store pickup information. Only supported for local inventory. Not setting `pickup` means \"don't update\" while setting it to the empty value (`{}` in JSON) means \"delete\". Otherwise, `pickupMethod` and `pickupSla` must be set together, unless `pickupMethod` is \"not supported\"."
},
"price": {
"$ref": "Price",
@@ -5216,7 +5217,7 @@
},
"salePrice": {
"$ref": "Price",
- "description": "The sale price of the product. Mandatory if sale_price_effective_date is defined."
+ "description": "The sale price of the product. Mandatory if `sale_price_effective_date` is defined."
},
"salePriceEffectiveDate": {
"description": "A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash. Both dates might be specified as 'null' if undecided.",
@@ -5285,7 +5286,7 @@
"description": "[required] Total additional charge for this type."
},
"type": {
- "description": "[required] Type of the additional charge.\n\nAcceptable values are: \n- \"shipping\"",
+ "description": "[required] Type of the additional charge.\n\nAcceptable values are: \n- \"`shipping`\"",
"type": "string"
}
},
@@ -5295,7 +5296,7 @@
"id": "LiaAboutPageSettings",
"properties": {
"status": {
- "description": "The status of the verification process for the About page.\n\nAcceptable values are: \n- \"active\" \n- \"inactive\" \n- \"pending\"",
+ "description": "The status of the verification process for the About page.\n\nAcceptable values are: \n- \"`active`\" \n- \"`inactive`\" \n- \"`pending`\"",
"type": "string"
},
"url": {
@@ -5356,11 +5357,11 @@
"type": "string"
},
"inventoryVerificationContactStatus": {
- "description": "The status of the verification contact.\n\nAcceptable values are: \n- \"active\" \n- \"inactive\" \n- \"pending\"",
+ "description": "The status of the verification contact.\n\nAcceptable values are: \n- \"`active`\" \n- \"`inactive`\" \n- \"`pending`\"",
"type": "string"
},
"status": {
- "description": "The status of the inventory verification process.\n\nAcceptable values are: \n- \"active\" \n- \"inactive\" \n- \"pending\"",
+ "description": "The status of the inventory verification process.\n\nAcceptable values are: \n- \"`active`\" \n- \"`inactive`\" \n- \"`pending`\"",
"type": "string"
}
},
@@ -5374,7 +5375,7 @@
"type": "string"
},
"status": {
- "description": "The status of the ?On display to order? feature.\n\nAcceptable values are: \n- \"active\" \n- \"inactive\" \n- \"pending\"",
+ "description": "The status of the ?On display to order? feature.\n\nAcceptable values are: \n- \"`active`\" \n- \"`inactive`\" \n- \"`pending`\"",
"type": "string"
}
},
@@ -5413,7 +5414,7 @@
},
"kind": {
"default": "content#liaSettings",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#liaSettings\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liaSettings`\"",
"type": "string"
}
},
@@ -5436,7 +5437,7 @@
"id": "LiasettingsCustomBatchRequestEntry",
"properties": {
"accountId": {
- "description": "The ID of the account for which to get/update account shipping settings.",
+ "description": "The ID of the account for which to get/update account LIA settings.",
"format": "uint64",
"type": "string"
},
@@ -5463,7 +5464,7 @@
},
"liaSettings": {
"$ref": "LiaSettings",
- "description": "The account Lia settings to update. Only defined if the method is update."
+ "description": "The account Lia settings to update. Only defined if the method is `update`."
},
"merchantId": {
"description": "The ID of the managing account.",
@@ -5471,7 +5472,7 @@
"type": "string"
},
"method": {
- "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"get\" \n- \"getAccessibleGmbAccounts\" \n- \"requestGmbAccess\" \n- \"requestInventoryVerification\" \n- \"setInventoryVerificationContact\" \n- \"update\"",
+ "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"`get`\" \n- \"`getAccessibleGmbAccounts`\" \n- \"`requestGmbAccess`\" \n- \"`requestInventoryVerification`\" \n- \"`setInventoryVerificationContact`\" \n- \"`update`\"",
"type": "string"
},
"posDataProviderId": {
@@ -5522,7 +5523,7 @@
},
"kind": {
"default": "content#liasettingsCustomBatchResponseEntry",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#liasettingsCustomBatchResponseEntry\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liasettingsCustomBatchResponseEntry`\"",
"type": "string"
},
"liaSettings": {
@@ -5543,7 +5544,7 @@
"id": "LiasettingsGetAccessibleGmbAccountsResponse",
"properties": {
"accountId": {
- "description": "The ID of the account.",
+ "description": "The ID of the Merchant Center account.",
"format": "uint64",
"type": "string"
},
@@ -5742,14 +5743,44 @@
"type": "array"
},
"state": {
- "description": "State of the item.\n\nAcceptable values are: \n- \"canceled\" \n- \"new\" \n- \"received\" \n- \"refunded\" \n- \"rejected\"",
+ "description": "State of the item.\n\nAcceptable values are: \n- \"`canceled`\" \n- \"`new`\" \n- \"`received`\" \n- \"`refunded`\" \n- \"`rejected`\"",
"type": "string"
}
},
"type": "object"
},
+ "MinimumOrderValueTable": {
+ "id": "MinimumOrderValueTable",
+ "properties": {
+ "storeCodeSetWithMovs": {
+ "items": {
+ "$ref": "MinimumOrderValueTableStoreCodeSetWithMov"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "MinimumOrderValueTableStoreCodeSetWithMov": {
+ "description": "A list of store code sets sharing the same minimum order value. At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.",
+ "id": "MinimumOrderValueTableStoreCodeSetWithMov",
+ "properties": {
+ "storeCodes": {
+ "description": "A list of unique store codes or empty for the catch all.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "value": {
+ "$ref": "Price",
+ "description": "The minimum order value for the given stores."
+ }
+ },
+ "type": "object"
+ },
"Order": {
- "description": "Order. Production access (all methods) requires the order manager role. Sandbox access does not.",
+ "description": "Order. Production access (all methods) requires the order manager role. Sandbox access does not. (== resource_for v2.orders ==) (== resource_for v2.1.orders ==)",
"id": "Order",
"properties": {
"acknowledged": {
@@ -5757,7 +5788,7 @@
"type": "boolean"
},
"channelType": {
- "description": "Deprecated.\n\nAcceptable values are: \n- \"googleExpress\" \n- \"purchasesOnGoogle\"",
+ "description": "Deprecated.\n\nAcceptable values are: \n- \"`googleExpress`\" \n- \"`purchasesOnGoogle`\"",
"type": "string"
},
"customer": {
@@ -5766,7 +5797,7 @@
},
"deliveryDetails": {
"$ref": "OrderDeliveryDetails",
- "description": "Delivery details for shipments of type delivery."
+ "description": "Delivery details for shipments of type `delivery`."
},
"id": {
"description": "The REST ID of the order. Globally unique.",
@@ -5774,7 +5805,7 @@
},
"kind": {
"default": "content#order",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#order\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#order`\"",
"type": "string"
},
"lineItems": {
@@ -5801,19 +5832,19 @@
"description": "The details of the payment method."
},
"paymentStatus": {
- "description": "The status of the payment.\n\nAcceptable values are: \n- \"paymentCaptured\" \n- \"paymentRejected\" \n- \"paymentSecured\" \n- \"pendingAuthorization\"",
+ "description": "The status of the payment.\n\nAcceptable values are: \n- \"`paymentCaptured`\" \n- \"`paymentRejected`\" \n- \"`paymentSecured`\" \n- \"`pendingAuthorization`\"",
"type": "string"
},
"pickupDetails": {
"$ref": "OrderPickupDetails",
- "description": "Pickup details for shipments of type pickup."
+ "description": "Pickup details for shipments of type `pickup`."
},
"placedDate": {
"description": "The date when the order was placed, in ISO 8601 format.",
"type": "string"
},
"promotions": {
- "description": "The details of the merchant provided promotions applied to the order.\n\nTo determine which promotions apply to which products, check the Promotions[].Benefits[].OfferIds field against the LineItems[].Product.OfferId field for each promotion. If a promotion is applied to more than 1 offerId, divide the discount value by the number of affected offers to determine how much discount to apply to each offerId.\n\nExamples: \n- To calculate the line item level discount for a single specific item: For each promotion, subtract the Promotions[].Benefits[].Discount.value amount from the LineItems[].Price.value. \n- To calculate the line item level discount for multiple quantity of a specific item: For each promotion, divide the Promotions[].Benefits[].Discount.value by the quantity of products and substract it from LineItems[].Product.Price.value for each quantity item. \n\nOnly 1 promotion can be applied to an offerId in a given order. To refund an item which had a promotion applied to it, make sure to refund the amount after first subtracting the promotion discount from the item price.\n\nMore details about the program are here.",
+ "description": "The details of the merchant provided promotions applied to the order.\n\nTo determine which promotions apply to which products, check the `Promotions[].Benefits[].OfferIds` field against the `LineItems[].Product.OfferId` field for each promotion. If a promotion is applied to more than 1 `offerId`, divide the discount value by the number of affected offers to determine how much discount to apply to each `offerId`.\n\nExamples: \n- To calculate the line item level discount for a single specific item: For each promotion, subtract the `Promotions[].Benefits[].Discount.value` amount from the `LineItems[].Price.value`. \n- To calculate the line item level discount for multiple quantity of a specific item: For each promotion, divide the `Promotions[].Benefits[].Discount.value` by the quantity of products and substract it from `LineItems[].Product.Price.value` for each quantity item. \n\nOnly 1 promotion can be applied to an offerId in a given order. To refund an item which had a promotion applied to it, make sure to refund the amount after first subtracting the promotion discount from the item price.\n\nMore details about the program are here.",
"items": {
"$ref": "OrderLegacyPromotion"
},
@@ -5842,15 +5873,15 @@
"description": "The tax for the total shipping cost."
},
"shippingOption": {
- "description": "Deprecated. Shipping details are provided with line items instead.\n\nAcceptable values are: \n- \"economy\" \n- \"expedited\" \n- \"oneDay\" \n- \"sameDay\" \n- \"standard\" \n- \"twoDay\"",
+ "description": "Deprecated. Shipping details are provided with line items instead.\n\nAcceptable values are: \n- \"`economy`\" \n- \"`expedited`\" \n- \"`oneDay`\" \n- \"`sameDay`\" \n- \"`standard`\" \n- \"`twoDay`\"",
"type": "string"
},
"status": {
- "description": "The status of the order.\n\nAcceptable values are: \n- \"canceled\" \n- \"delivered\" \n- \"inProgress\" \n- \"partiallyDelivered\" \n- \"partiallyReturned\" \n- \"partiallyShipped\" \n- \"pendingShipment\" \n- \"returned\" \n- \"shipped\"",
+ "description": "The status of the order.\n\nAcceptable values are: \n- \"`canceled`\" \n- \"`delivered`\" \n- \"`inProgress`\" \n- \"`partiallyDelivered`\" \n- \"`partiallyReturned`\" \n- \"`partiallyShipped`\" \n- \"`pendingShipment`\" \n- \"`returned`\" \n- \"`shipped`\"",
"type": "string"
},
"taxCollector": {
- "description": "The party responsible for collecting and remitting taxes.\n\nAcceptable values are: \n- \"marketplaceFacilitator\" \n- \"merchant\"",
+ "description": "The party responsible for collecting and remitting taxes.\n\nAcceptable values are: \n- \"`marketplaceFacilitator`\" \n- \"`merchant`\"",
"type": "string"
}
},
@@ -5904,7 +5935,7 @@
"id": "OrderCancellation",
"properties": {
"actor": {
- "description": "The actor that created the cancellation.\n\nAcceptable values are: \n- \"customer\" \n- \"googleBot\" \n- \"googleCustomerService\" \n- \"googlePayments\" \n- \"googleSabre\" \n- \"merchant\"",
+ "description": "The actor that created the cancellation.\n\nAcceptable values are: \n- \"`customer`\" \n- \"`googleBot`\" \n- \"`googleCustomerService`\" \n- \"`googlePayments`\" \n- \"`googleSabre`\" \n- \"`merchant`\"",
"type": "string"
},
"creationDate": {
@@ -5917,7 +5948,7 @@
"type": "integer"
},
"reason": {
- "description": "The reason for the cancellation. Orders that are canceled with a noInventory reason will lead to the removal of the product from Shopping Actions until you make an update to that product. This will not affect your Shopping ads.\n\nAcceptable values are: \n- \"autoPostInternal\" \n- \"autoPostInvalidBillingAddress\" \n- \"autoPostNoInventory\" \n- \"autoPostPriceError\" \n- \"autoPostUndeliverableShippingAddress\" \n- \"couponAbuse\" \n- \"customerCanceled\" \n- \"customerInitiatedCancel\" \n- \"customerSupportRequested\" \n- \"failToPushOrderGoogleError\" \n- \"failToPushOrderMerchantError\" \n- \"failToPushOrderMerchantFulfillmentError\" \n- \"failToPushOrderToMerchant\" \n- \"failToPushOrderToMerchantOutOfStock\" \n- \"invalidCoupon\" \n- \"malformedShippingAddress\" \n- \"merchantDidNotShipOnTime\" \n- \"noInventory\" \n- \"orderTimeout\" \n- \"other\" \n- \"paymentAbuse\" \n- \"paymentDeclined\" \n- \"priceError\" \n- \"returnRefundAbuse\" \n- \"shippingPriceError\" \n- \"taxError\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\"",
+ "description": "The reason for the cancellation. Orders that are canceled with a noInventory reason will lead to the removal of the product from Shopping Actions until you make an update to that product. This will not affect your Shopping ads.\n\nAcceptable values are: \n- \"`autoPostInternal`\" \n- \"`autoPostInvalidBillingAddress`\" \n- \"`autoPostNoInventory`\" \n- \"`autoPostPriceError`\" \n- \"`autoPostUndeliverableShippingAddress`\" \n- \"`couponAbuse`\" \n- \"`customerCanceled`\" \n- \"`customerInitiatedCancel`\" \n- \"`customerSupportRequested`\" \n- \"`failToPushOrderGoogleError`\" \n- \"`failToPushOrderMerchantError`\" \n- \"`failToPushOrderMerchantFulfillmentError`\" \n- \"`failToPushOrderToMerchant`\" \n- \"`failToPushOrderToMerchantOutOfStock`\" \n- \"`invalidCoupon`\" \n- \"`malformedShippingAddress`\" \n- \"`merchantDidNotShipOnTime`\" \n- \"`noInventory`\" \n- \"`orderTimeout`\" \n- \"`other`\" \n- \"`paymentAbuse`\" \n- \"`paymentDeclined`\" \n- \"`priceError`\" \n- \"`returnRefundAbuse`\" \n- \"`shippingPriceError`\" \n- \"`taxError`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\"",
"type": "string"
},
"reasonText": {
@@ -5943,7 +5974,7 @@
"type": "string"
},
"invoiceReceivingEmail": {
- "description": "Email address for the merchant to send value-added tax or invoice documentation of the order. This documentation is made available to the customer.",
+ "description": "Email address for the merchant to send value-added tax or invoice documentation of the order. Only the last document sent is made available to the customer. For more information, see About automated VAT invoicing for Shopping Actions.",
"type": "string"
},
"marketingRightsInfo": {
@@ -5957,7 +5988,7 @@
"id": "OrderCustomerMarketingRightsInfo",
"properties": {
"explicitMarketingPreference": {
- "description": "Last known customer selection regarding marketing preferences. In certain cases this selection might not be known, so this field would be empty. If a customer selected granted in their most recent order, they can be subscribed to marketing emails. Customers who have chosen denied must not be subscribed, or must be unsubscribed if already opted-in.\n\nAcceptable values are: \n- \"denied\" \n- \"granted\"",
+ "description": "Last known customer selection regarding marketing preferences. In certain cases this selection might not be known, so this field would be empty. If a customer selected `granted` in their most recent order, they can be subscribed to marketing emails. Customers who have chosen `denied` must not be subscribed, or must be unsubscribed if already opted-in.\n\nAcceptable values are: \n- \"`denied`\" \n- \"`granted`\"",
"type": "string"
},
"lastUpdatedTimestamp": {
@@ -5965,7 +5996,7 @@
"type": "string"
},
"marketingEmailAddress": {
- "description": "Email address that can be used for marketing purposes. The field may be empty even if explicitMarketingPreference is 'granted'. This happens when retrieving an old order from the customer who deleted their account.",
+ "description": "Email address that can be used for marketing purposes. The field may be empty even if `explicitMarketingPreference` is 'granted'. This happens when retrieving an old order from the customer who deleted their account.",
"type": "string"
}
},
@@ -6011,11 +6042,11 @@
"type": "string"
},
"productApplicability": {
- "description": "Whether the promotion is applicable to all products or only specific products.\n\nAcceptable values are: \n- \"allProducts\" \n- \"specificProducts\"",
+ "description": "Whether the promotion is applicable to all products or only specific products.\n\nAcceptable values are: \n- \"`allProducts`\" \n- \"`specificProducts`\"",
"type": "string"
},
"redemptionChannel": {
- "description": "Indicates that the promotion is valid online.\n\nAcceptable values are: \n- \"online\"",
+ "description": "Indicates that the promotion is valid online.\n\nAcceptable values are: \n- \"`online`\"",
"type": "string"
}
},
@@ -6036,7 +6067,7 @@
"type": "array"
},
"subType": {
- "description": "Further describes the benefit of the promotion. Note that we will expand on this enumeration as we support new promotion sub-types.\n\nAcceptable values are: \n- \"buyMGetMoneyOff\" \n- \"buyMGetNMoneyOff\" \n- \"buyMGetNPercentOff\" \n- \"buyMGetPercentOff\" \n- \"freeGift\" \n- \"freeGiftWithItemId\" \n- \"freeGiftWithValue\" \n- \"freeOvernightShipping\" \n- \"freeShipping\" \n- \"freeTwoDayShipping\" \n- \"moneyOff\" \n- \"percentageOff\" \n- \"rewardPoints\" \n- \"salePrice\"",
+ "description": "Further describes the benefit of the promotion. Note that we will expand on this enumeration as we support new promotion sub-types.\n\nAcceptable values are: \n- \"`buyMGetMoneyOff`\" \n- \"`buyMGetNMoneyOff`\" \n- \"`buyMGetNPercentOff`\" \n- \"`buyMGetPercentOff`\" \n- \"`freeGift`\" \n- \"`freeGiftWithItemId`\" \n- \"`freeGiftWithValue`\" \n- \"`freeOvernightShipping`\" \n- \"`freeShipping`\" \n- \"`freeTwoDayShipping`\" \n- \"`moneyOff`\" \n- \"`percentageOff`\" \n- \"`rewardPoints`\" \n- \"`salePrice`\"",
"type": "string"
},
"taxImpact": {
@@ -6044,7 +6075,7 @@
"description": "The impact on tax when the promotion is applied."
},
"type": {
- "description": "Describes whether the promotion applies to products (e.g. 20% off) or to shipping (e.g. Free Shipping).\n\nAcceptable values are: \n- \"product\" \n- \"shipping\"",
+ "description": "Describes whether the promotion applies to products (e.g. 20% off) or to shipping (e.g. Free Shipping).\n\nAcceptable values are: \n- \"`product`\" \n- \"`shipping`\"",
"type": "string"
}
},
@@ -6144,11 +6175,11 @@
"type": "string"
},
"channel": {
- "description": "The item's channel (online or local).\n\nAcceptable values are: \n- \"local\" \n- \"online\"",
+ "description": "The item's channel (online or local).\n\nAcceptable values are: \n- \"`local`\" \n- \"`online`\"",
"type": "string"
},
"condition": {
- "description": "Condition or state of the item.\n\nAcceptable values are: \n- \"new\" \n- \"refurbished\" \n- \"used\"",
+ "description": "Condition or state of the item.\n\nAcceptable values are: \n- \"`new`\" \n- \"`refurbished`\" \n- \"`used`\"",
"type": "string"
},
"contentLanguage": {
@@ -6305,7 +6336,7 @@
"type": "string"
},
"type": {
- "description": "Type of shipment. Indicates whether deliveryDetails or pickupDetails is applicable for this shipment.\n\nAcceptable values are: \n- \"delivery\" \n- \"pickup\"",
+ "description": "Type of shipment. Indicates whether `deliveryDetails` or `pickupDetails` is applicable for this shipment.\n\nAcceptable values are: \n- \"`delivery`\" \n- \"`pickup`\"",
"type": "string"
}
},
@@ -6315,7 +6346,7 @@
"id": "OrderLineItemShippingDetailsMethod",
"properties": {
"carrier": {
- "description": "The carrier for the shipping. Optional. See shipments[].carrier for a list of acceptable values.",
+ "description": "The carrier for the shipping. Optional. See `shipments[].carrier` for a list of acceptable values.",
"type": "string"
},
"maxDaysInTransit": {
@@ -6390,7 +6421,7 @@
"type": "string"
},
"type": {
- "description": "The type of instrument.\n\nAcceptable values are: \n- \"AMEX\" \n- \"DISCOVER\" \n- \"JCB\" \n- \"MASTERCARD\" \n- \"UNIONPAY\" \n- \"VISA\" \n- \"\"",
+ "description": "The type of instrument.\n\nAcceptable values are: \n- \"`AMEX`\" \n- \"`DISCOVER`\" \n- \"`JCB`\" \n- \"`MASTERCARD`\" \n- \"`UNIONPAY`\" \n- \"`VISA`\" \n- \"``\"",
"type": "string"
}
},
@@ -6401,7 +6432,7 @@
"properties": {
"address": {
"$ref": "OrderAddress",
- "description": "Address of the pickup location where the shipment should be sent. Note that recipientName in the address is the name of the business at the pickup location."
+ "description": "Address of the pickup location where the shipment should be sent. Note that `recipientName` in the address is the name of the business at the pickup location."
},
"collectors": {
"description": "Collectors authorized to pick up shipment from the pickup location.",
@@ -6435,7 +6466,7 @@
"id": "OrderRefund",
"properties": {
"actor": {
- "description": "The actor that created the refund.\n\nAcceptable values are: \n- \"customer\" \n- \"googleBot\" \n- \"googleCustomerService\" \n- \"googlePayments\" \n- \"googleSabre\" \n- \"merchant\"",
+ "description": "The actor that created the refund.\n\nAcceptable values are: \n- \"`customer`\" \n- \"`googleBot`\" \n- \"`googleCustomerService`\" \n- \"`googlePayments`\" \n- \"`googleSabre`\" \n- \"`merchant`\"",
"type": "string"
},
"amount": {
@@ -6447,7 +6478,7 @@
"type": "string"
},
"reason": {
- "description": "The reason for the refund.\n\nAcceptable values are: \n- \"adjustment\" \n- \"autoPostInternal\" \n- \"autoPostInvalidBillingAddress\" \n- \"autoPostNoInventory\" \n- \"autoPostPriceError\" \n- \"autoPostUndeliverableShippingAddress\" \n- \"couponAbuse\" \n- \"courtesyAdjustment\" \n- \"customerCanceled\" \n- \"customerDiscretionaryReturn\" \n- \"customerInitiatedMerchantCancel\" \n- \"customerSupportRequested\" \n- \"deliveredLateByCarrier\" \n- \"deliveredTooLate\" \n- \"expiredItem\" \n- \"failToPushOrderGoogleError\" \n- \"failToPushOrderMerchantError\" \n- \"failToPushOrderMerchantFulfillmentError\" \n- \"failToPushOrderToMerchant\" \n- \"failToPushOrderToMerchantOutOfStock\" \n- \"feeAdjustment\" \n- \"invalidCoupon\" \n- \"lateShipmentCredit\" \n- \"malformedShippingAddress\" \n- \"merchantDidNotShipOnTime\" \n- \"noInventory\" \n- \"orderTimeout\" \n- \"other\" \n- \"paymentAbuse\" \n- \"paymentDeclined\" \n- \"priceAdjustment\" \n- \"priceError\" \n- \"productArrivedDamaged\" \n- \"productNotAsDescribed\" \n- \"promoReallocation\" \n- \"qualityNotAsExpected\" \n- \"returnRefundAbuse\" \n- \"shippingCostAdjustment\" \n- \"shippingPriceError\" \n- \"taxAdjustment\" \n- \"taxError\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\" \n- \"wrongProductShipped\"",
+ "description": "The reason for the refund.\n\nAcceptable values are: \n- \"`adjustment`\" \n- \"`autoPostInternal`\" \n- \"`autoPostInvalidBillingAddress`\" \n- \"`autoPostNoInventory`\" \n- \"`autoPostPriceError`\" \n- \"`autoPostUndeliverableShippingAddress`\" \n- \"`couponAbuse`\" \n- \"`courtesyAdjustment`\" \n- \"`customerCanceled`\" \n- \"`customerDiscretionaryReturn`\" \n- \"`customerInitiatedMerchantCancel`\" \n- \"`customerSupportRequested`\" \n- \"`deliveredLateByCarrier`\" \n- \"`deliveredTooLate`\" \n- \"`expiredItem`\" \n- \"`failToPushOrderGoogleError`\" \n- \"`failToPushOrderMerchantError`\" \n- \"`failToPushOrderMerchantFulfillmentError`\" \n- \"`failToPushOrderToMerchant`\" \n- \"`failToPushOrderToMerchantOutOfStock`\" \n- \"`feeAdjustment`\" \n- \"`invalidCoupon`\" \n- \"`lateShipmentCredit`\" \n- \"`malformedShippingAddress`\" \n- \"`merchantDidNotShipOnTime`\" \n- \"`noInventory`\" \n- \"`orderTimeout`\" \n- \"`other`\" \n- \"`paymentAbuse`\" \n- \"`paymentDeclined`\" \n- \"`priceAdjustment`\" \n- \"`priceError`\" \n- \"`productArrivedDamaged`\" \n- \"`productNotAsDescribed`\" \n- \"`promoReallocation`\" \n- \"`qualityNotAsExpected`\" \n- \"`returnRefundAbuse`\" \n- \"`shippingCostAdjustment`\" \n- \"`shippingPriceError`\" \n- \"`taxAdjustment`\" \n- \"`taxError`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\" \n- \"`wrongProductShipped`\"",
"type": "string"
},
"reasonText": {
@@ -6458,7 +6489,7 @@
"type": "object"
},
"OrderReportDisbursement": {
- "description": "Order disbursement. All methods require the payment analyst role.",
+ "description": "Order disbursement. All methods require the payment analyst role. (== resource_for v2.orderreports ==) (== resource_for v2.1.orderreports ==)",
"id": "OrderReportDisbursement",
"properties": {
"disbursementAmount": {
@@ -6536,7 +6567,7 @@
"id": "OrderReturn",
"properties": {
"actor": {
- "description": "The actor that created the refund.\n\nAcceptable values are: \n- \"customer\" \n- \"googleBot\" \n- \"googleCustomerService\" \n- \"googlePayments\" \n- \"googleSabre\" \n- \"merchant\"",
+ "description": "The actor that created the refund.\n\nAcceptable values are: \n- \"`customer`\" \n- \"`googleBot`\" \n- \"`googleCustomerService`\" \n- \"`googlePayments`\" \n- \"`googleSabre`\" \n- \"`merchant`\"",
"type": "string"
},
"creationDate": {
@@ -6549,7 +6580,7 @@
"type": "integer"
},
"reason": {
- "description": "The reason for the return.\n\nAcceptable values are: \n- \"customerDiscretionaryReturn\" \n- \"customerInitiatedMerchantCancel\" \n- \"deliveredTooLate\" \n- \"expiredItem\" \n- \"invalidCoupon\" \n- \"malformedShippingAddress\" \n- \"other\" \n- \"productArrivedDamaged\" \n- \"productNotAsDescribed\" \n- \"qualityNotAsExpected\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\" \n- \"wrongProductShipped\"",
+ "description": "The reason for the return.\n\nAcceptable values are: \n- \"`customerDiscretionaryReturn`\" \n- \"`customerInitiatedMerchantCancel`\" \n- \"`deliveredTooLate`\" \n- \"`expiredItem`\" \n- \"`invalidCoupon`\" \n- \"`malformedShippingAddress`\" \n- \"`other`\" \n- \"`productArrivedDamaged`\" \n- \"`productNotAsDescribed`\" \n- \"`qualityNotAsExpected`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\" \n- \"`wrongProductShipped`\"",
"type": "string"
},
"reasonText": {
@@ -6563,7 +6594,7 @@
"id": "OrderShipment",
"properties": {
"carrier": {
- "description": "The carrier handling the shipment.\n\nFor supported carriers, Google includes the carrier name and tracking URL in emails to customers. For select supported carriers, Google also automatically updates the shipment status based on the provided shipment ID. Note: You can also use unsupported carriers, but emails to customers will not include the carrier name or tracking URL, and there will be no automatic order status updates. \nSupported carriers for US are: \n- \"ups\" (United Parcel Service) automatic status updates \n- \"usps\" (United States Postal Service) automatic status updates \n- \"fedex\" (FedEx) automatic status updates \n- \"dhl\" (DHL eCommerce) automatic status updates (US only) \n- \"ontrac\" (OnTrac) automatic status updates \n- \"dhl express\" (DHL Express)\n- \"deliv\" (Deliv) \n- \"dynamex\" (TForce) \n- \"lasership\" (LaserShip) \n- \"mpx\" (Military Parcel Xpress) \n- \"uds\" (United Delivery Service) \n- \"efw\" (Estes Forwarding Worldwide) \n- \"jd logistics\" (JD Logistics) \n- \"yunexpress\" (YunExpress) \n- \"china post\" (China Post) \n- \"china ems\" (China Post Express Mail Service) \n- \"singapore post\" (Singapore Post) \n- \"pos malaysia\" (Pos Malaysia) \n- \"postnl\" (PostNL) \n- \"ptt\" (PTT Turkish Post) \n- \"eub\" (ePacket) \n- \"chukou1\" (Chukou1 Logistics) \nSupported carriers for FR are: \n- \"la poste\" (La Poste) automatic status updates \n- \"colissimo\" (Colissimo by La Poste) automatic status updates \n- \"ups\" (United Parcel Service) automatic status updates \n- \"chronopost\" (Chronopost by La Poste) \n- \"gls\" (General Logistics Systems France) \n- \"dpd\" (DPD Group by GeoPost) \n- \"bpost\" (Belgian Post Group) \n- \"colis prive\" (Colis Priv\u00e9) \n- \"boxtal\" (Boxtal) \n- \"geodis\" (GEODIS) \n- \"tnt\" (TNT) \n- \"db schenker\" (DB Schenker) \n- \"aramex\" (Aramex)",
+ "description": "The carrier handling the shipment.\n\nFor supported carriers, Google includes the carrier name and tracking URL in emails to customers. For select supported carriers, Google also automatically updates the shipment status based on the provided shipment ID. Note: You can also use unsupported carriers, but emails to customers will not include the carrier name or tracking URL, and there will be no automatic order status updates. \nSupported carriers for US are: \n- \"`ups`\" (United Parcel Service) automatic status updates \n- \"`usps`\" (United States Postal Service) automatic status updates \n- \"`fedex`\" (FedEx) automatic status updates \n- \"`dhl`\" (DHL eCommerce) automatic status updates (US only) \n- \"`ontrac`\" (OnTrac) automatic status updates \n- \"`dhl express`\" (DHL Express)\n- \"`deliv`\" (Deliv) \n- \"`dynamex`\" (TForce) \n- \"`lasership`\" (LaserShip) \n- \"`mpx`\" (Military Parcel Xpress) \n- \"`uds`\" (United Delivery Service) \n- \"`efw`\" (Estes Forwarding Worldwide) \n- \"`jd logistics`\" (JD Logistics) \n- \"`yunexpress`\" (YunExpress) \n- \"`china post`\" (China Post) \n- \"`china ems`\" (China Post Express Mail Service) \n- \"`singapore post`\" (Singapore Post) \n- \"`pos malaysia`\" (Pos Malaysia) \n- \"`postnl`\" (PostNL) \n- \"`ptt`\" (PTT Turkish Post) \n- \"`eub`\" (ePacket) \n- \"`chukou1`\" (Chukou1 Logistics) \nSupported carriers for FR are: \n- \"`la poste`\" (La Poste) automatic status updates \n- \"`colissimo`\" (Colissimo by La Poste) automatic status updates \n- \"`ups`\" (United Parcel Service) automatic status updates \n- \"`chronopost`\" (Chronopost by La Poste) \n- \"`gls`\" (General Logistics Systems France) \n- \"`dpd`\" (DPD Group by GeoPost) \n- \"`bpost`\" (Belgian Post Group) \n- \"`colis prive`\" (Colis Priv\u00e9) \n- \"`boxtal`\" (Boxtal) \n- \"`geodis`\" (GEODIS) \n- \"`tnt`\" (TNT) \n- \"`db schenker`\" (DB Schenker) \n- \"`aramex`\" (Aramex)",
"type": "string"
},
"creationDate": {
@@ -6571,7 +6602,7 @@
"type": "string"
},
"deliveryDate": {
- "description": "Date on which the shipment has been delivered, in ISO 8601 format. Present only if status is delivered",
+ "description": "Date on which the shipment has been delivered, in ISO 8601 format. Present only if `status` is `delivered`",
"type": "string"
},
"id": {
@@ -6585,8 +6616,12 @@
},
"type": "array"
},
+ "scheduledDeliveryDetails": {
+ "$ref": "OrderShipmentScheduledDeliveryDetails",
+ "description": "Delivery details of the shipment if scheduling is needed."
+ },
"status": {
- "description": "The status of the shipment.\n\nAcceptable values are: \n- \"delivered\" \n- \"readyForPickup\" \n- \"shipped\" \n- \"undeliverable\"",
+ "description": "The status of the shipment.\n\nAcceptable values are: \n- \"`delivered`\" \n- \"`readyForPickup`\" \n- \"`shipped`\" \n- \"`undeliverable`\"",
"type": "string"
},
"trackingId": {
@@ -6615,6 +6650,20 @@
},
"type": "object"
},
+ "OrderShipmentScheduledDeliveryDetails": {
+ "id": "OrderShipmentScheduledDeliveryDetails",
+ "properties": {
+ "carrierPhoneNumber": {
+ "description": "The phone number of the carrier fulfilling the delivery.",
+ "type": "string"
+ },
+ "scheduledDate": {
+ "description": "The date a shipment is scheduled for delivery, in ISO 8601 format.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"OrderinvoicesCreateChargeInvoiceRequest": {
"id": "OrderinvoicesCreateChargeInvoiceRequest",
"properties": {
@@ -6638,7 +6687,7 @@
"type": "string"
},
"shipmentGroupId": {
- "description": "[required] ID of the shipment group. It is assigned by the merchant in the shipLineItems method and is used to group multiple line items that have the same kind of shipping charges.",
+ "description": "[required] ID of the shipment group. It is assigned by the merchant in the `shipLineItems` method and is used to group multiple line items that have the same kind of shipping charges.",
"type": "string"
}
},
@@ -6648,7 +6697,7 @@
"id": "OrderinvoicesCreateChargeInvoiceResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -6672,11 +6721,11 @@
},
"refundOnlyOption": {
"$ref": "OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption",
- "description": "Option to create a refund-only invoice. Exactly one of refundOnlyOption or returnOption must be provided."
+ "description": "Option to create a refund-only invoice. Exactly one of `refundOnlyOption` or `returnOption` must be provided."
},
"returnOption": {
"$ref": "OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption",
- "description": "Option to create an invoice for a refund and mark all items within the invoice as returned. Exactly one of refundOnlyOption or returnOption must be provided."
+ "description": "Option to create an invoice for a refund and mark all items within the invoice as returned. Exactly one of `refundOnlyOption` or `returnOption` must be provided."
},
"shipmentInvoices": {
"description": "Invoice details for different shipment groups.",
@@ -6692,7 +6741,7 @@
"id": "OrderinvoicesCreateRefundInvoiceResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -6711,7 +6760,7 @@
"type": "string"
},
"reason": {
- "description": "[required] Reason for the refund.\n\nAcceptable values are: \n- \"adjustment\" \n- \"autoPostInternal\" \n- \"autoPostInvalidBillingAddress\" \n- \"autoPostNoInventory\" \n- \"autoPostPriceError\" \n- \"autoPostUndeliverableShippingAddress\" \n- \"couponAbuse\" \n- \"courtesyAdjustment\" \n- \"customerCanceled\" \n- \"customerDiscretionaryReturn\" \n- \"customerInitiatedMerchantCancel\" \n- \"customerSupportRequested\" \n- \"deliveredLateByCarrier\" \n- \"deliveredTooLate\" \n- \"expiredItem\" \n- \"failToPushOrderGoogleError\" \n- \"failToPushOrderMerchantError\" \n- \"failToPushOrderMerchantFulfillmentError\" \n- \"failToPushOrderToMerchant\" \n- \"failToPushOrderToMerchantOutOfStock\" \n- \"feeAdjustment\" \n- \"invalidCoupon\" \n- \"lateShipmentCredit\" \n- \"malformedShippingAddress\" \n- \"merchantDidNotShipOnTime\" \n- \"noInventory\" \n- \"orderTimeout\" \n- \"other\" \n- \"paymentAbuse\" \n- \"paymentDeclined\" \n- \"priceAdjustment\" \n- \"priceError\" \n- \"productArrivedDamaged\" \n- \"productNotAsDescribed\" \n- \"promoReallocation\" \n- \"qualityNotAsExpected\" \n- \"returnRefundAbuse\" \n- \"shippingCostAdjustment\" \n- \"shippingPriceError\" \n- \"taxAdjustment\" \n- \"taxError\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\" \n- \"wrongProductShipped\"",
+ "description": "[required] Reason for the refund.\n\nAcceptable values are: \n- \"`adjustment`\" \n- \"`autoPostInternal`\" \n- \"`autoPostInvalidBillingAddress`\" \n- \"`autoPostNoInventory`\" \n- \"`autoPostPriceError`\" \n- \"`autoPostUndeliverableShippingAddress`\" \n- \"`couponAbuse`\" \n- \"`courtesyAdjustment`\" \n- \"`customerCanceled`\" \n- \"`customerDiscretionaryReturn`\" \n- \"`customerInitiatedMerchantCancel`\" \n- \"`customerSupportRequested`\" \n- \"`deliveredLateByCarrier`\" \n- \"`deliveredTooLate`\" \n- \"`expiredItem`\" \n- \"`failToPushOrderGoogleError`\" \n- \"`failToPushOrderMerchantError`\" \n- \"`failToPushOrderMerchantFulfillmentError`\" \n- \"`failToPushOrderToMerchant`\" \n- \"`failToPushOrderToMerchantOutOfStock`\" \n- \"`feeAdjustment`\" \n- \"`invalidCoupon`\" \n- \"`lateShipmentCredit`\" \n- \"`malformedShippingAddress`\" \n- \"`merchantDidNotShipOnTime`\" \n- \"`noInventory`\" \n- \"`orderTimeout`\" \n- \"`other`\" \n- \"`paymentAbuse`\" \n- \"`paymentDeclined`\" \n- \"`priceAdjustment`\" \n- \"`priceError`\" \n- \"`productArrivedDamaged`\" \n- \"`productNotAsDescribed`\" \n- \"`promoReallocation`\" \n- \"`qualityNotAsExpected`\" \n- \"`returnRefundAbuse`\" \n- \"`shippingCostAdjustment`\" \n- \"`shippingPriceError`\" \n- \"`taxAdjustment`\" \n- \"`taxError`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\" \n- \"`wrongProductShipped`\"",
"type": "string"
}
},
@@ -6725,7 +6774,7 @@
"type": "string"
},
"reason": {
- "description": "[required] Reason for the return.\n\nAcceptable values are: \n- \"customerDiscretionaryReturn\" \n- \"customerInitiatedMerchantCancel\" \n- \"deliveredTooLate\" \n- \"expiredItem\" \n- \"invalidCoupon\" \n- \"malformedShippingAddress\" \n- \"other\" \n- \"productArrivedDamaged\" \n- \"productNotAsDescribed\" \n- \"qualityNotAsExpected\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\" \n- \"wrongProductShipped\"",
+ "description": "[required] Reason for the return.\n\nAcceptable values are: \n- \"`customerDiscretionaryReturn`\" \n- \"`customerInitiatedMerchantCancel`\" \n- \"`deliveredTooLate`\" \n- \"`expiredItem`\" \n- \"`invalidCoupon`\" \n- \"`malformedShippingAddress`\" \n- \"`other`\" \n- \"`productArrivedDamaged`\" \n- \"`productNotAsDescribed`\" \n- \"`qualityNotAsExpected`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\" \n- \"`wrongProductShipped`\"",
"type": "string"
}
},
@@ -6810,7 +6859,7 @@
"id": "OrdersAcknowledgeResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -6865,7 +6914,7 @@
"type": "integer"
},
"reason": {
- "description": "The reason for the cancellation.\n\nAcceptable values are: \n- \"customerInitiatedCancel\" \n- \"invalidCoupon\" \n- \"malformedShippingAddress\" \n- \"noInventory\" \n- \"other\" \n- \"priceError\" \n- \"shippingPriceError\" \n- \"taxError\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\"",
+ "description": "The reason for the cancellation.\n\nAcceptable values are: \n- \"`customerInitiatedCancel`\" \n- \"`invalidCoupon`\" \n- \"`malformedShippingAddress`\" \n- \"`noInventory`\" \n- \"`other`\" \n- \"`priceError`\" \n- \"`shippingPriceError`\" \n- \"`taxError`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\"",
"type": "string"
},
"reasonText": {
@@ -6879,7 +6928,7 @@
"id": "OrdersCancelLineItemResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -6898,7 +6947,7 @@
"type": "string"
},
"reason": {
- "description": "The reason for the cancellation.\n\nAcceptable values are: \n- \"customerInitiatedCancel\" \n- \"invalidCoupon\" \n- \"malformedShippingAddress\" \n- \"noInventory\" \n- \"other\" \n- \"priceError\" \n- \"shippingPriceError\" \n- \"taxError\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\"",
+ "description": "The reason for the cancellation.\n\nAcceptable values are: \n- \"`customerInitiatedCancel`\" \n- \"`invalidCoupon`\" \n- \"`malformedShippingAddress`\" \n- \"`noInventory`\" \n- \"`other`\" \n- \"`priceError`\" \n- \"`shippingPriceError`\" \n- \"`taxError`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\"",
"type": "string"
},
"reasonText": {
@@ -6912,7 +6961,7 @@
"id": "OrdersCancelResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -6927,7 +6976,7 @@
"id": "OrdersCancelTestOrderByCustomerRequest",
"properties": {
"reason": {
- "description": "The reason for the cancellation.\n\nAcceptable values are: \n- \"changedMind\" \n- \"orderedWrongItem\" \n- \"other\"",
+ "description": "The reason for the cancellation.\n\nAcceptable values are: \n- \"`changedMind`\" \n- \"`orderedWrongItem`\" \n- \"`other`\"",
"type": "string"
}
},
@@ -6948,11 +6997,11 @@
"id": "OrdersCreateTestOrderRequest",
"properties": {
"country": {
- "description": "The CLDR territory code of the country of the test order to create. Affects the currency and addresses of orders created via template_name, or the addresses of orders created via test_order.\n\nAcceptable values are: \n- \"US\" \n- \"FR\" Defaults to US.",
+ "description": "The CLDR territory code of the country of the test order to create. Affects the currency and addresses of orders created via `template_name`, or the addresses of orders created via `test_order`.\n\nAcceptable values are: \n- \"`US`\" \n- \"`FR`\" Defaults to `US`.",
"type": "string"
},
"templateName": {
- "description": "The test order template to use. Specify as an alternative to testOrder as a shortcut for retrieving a template and then creating an order using that template.\n\nAcceptable values are: \n- \"template1\" \n- \"template1a\" \n- \"template1b\" \n- \"template2\" \n- \"template3\"",
+ "description": "The test order template to use. Specify as an alternative to `testOrder` as a shortcut for retrieving a template and then creating an order using that template.\n\nAcceptable values are: \n- \"`template1`\" \n- \"`template1a`\" \n- \"`template1b`\" \n- \"`template2`\" \n- \"`template3`\"",
"type": "string"
},
"testOrder": {
@@ -7028,15 +7077,15 @@
},
"cancel": {
"$ref": "OrdersCustomBatchRequestEntryCancel",
- "description": "Required for cancel method."
+ "description": "Required for `cancel` method."
},
"cancelLineItem": {
"$ref": "OrdersCustomBatchRequestEntryCancelLineItem",
- "description": "Required for cancelLineItem method."
+ "description": "Required for `cancelLineItem` method."
},
"inStoreRefundLineItem": {
"$ref": "OrdersCustomBatchRequestEntryInStoreRefundLineItem",
- "description": "Required for inStoreReturnLineItem method."
+ "description": "Required for `inStoreReturnLineItem` method."
},
"merchantId": {
"description": "The ID of the managing account.",
@@ -7044,52 +7093,52 @@
"type": "string"
},
"merchantOrderId": {
- "description": "The merchant order ID. Required for updateMerchantOrderId and getByMerchantOrderId methods.",
+ "description": "The merchant order ID. Required for `updateMerchantOrderId` and `getByMerchantOrderId` methods.",
"type": "string"
},
"method": {
- "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"acknowledge\" \n- \"cancel\" \n- \"cancelLineItem\" \n- \"get\" \n- \"getByMerchantOrderId\" \n- \"inStoreRefundLineItem\" \n- \"refund\" \n- \"rejectReturnLineItem\" \n- \"returnLineItem\" \n- \"returnRefundLineItem\" \n- \"setLineItemMetadata\" \n- \"shipLineItems\" \n- \"updateLineItemShippingDetails\" \n- \"updateMerchantOrderId\" \n- \"updateShipment\"",
+ "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"`acknowledge`\" \n- \"`cancel`\" \n- \"`cancelLineItem`\" \n- \"`get`\" \n- \"`getByMerchantOrderId`\" \n- \"`inStoreRefundLineItem`\" \n- \"`refund`\" \n- \"`rejectReturnLineItem`\" \n- \"`returnLineItem`\" \n- \"`returnRefundLineItem`\" \n- \"`setLineItemMetadata`\" \n- \"`shipLineItems`\" \n- \"`updateLineItemShippingDetails`\" \n- \"`updateMerchantOrderId`\" \n- \"`updateShipment`\"",
"type": "string"
},
"operationId": {
- "description": "The ID of the operation. Unique across all operations for a given order. Required for all methods beside get and getByMerchantOrderId.",
+ "description": "The ID of the operation. Unique across all operations for a given order. Required for all methods beside `get` and `getByMerchantOrderId`.",
"type": "string"
},
"orderId": {
- "description": "The ID of the order. Required for all methods beside getByMerchantOrderId.",
+ "description": "The ID of the order. Required for all methods beside `getByMerchantOrderId`.",
"type": "string"
},
"refund": {
"$ref": "OrdersCustomBatchRequestEntryRefund",
- "description": "Required for refund method."
+ "description": "Required for `refund` method."
},
"rejectReturnLineItem": {
"$ref": "OrdersCustomBatchRequestEntryRejectReturnLineItem",
- "description": "Required for rejectReturnLineItem method."
+ "description": "Required for `rejectReturnLineItem` method."
},
"returnLineItem": {
"$ref": "OrdersCustomBatchRequestEntryReturnLineItem",
- "description": "Required for returnLineItem method."
+ "description": "Required for `returnLineItem` method."
},
"returnRefundLineItem": {
"$ref": "OrdersCustomBatchRequestEntryReturnRefundLineItem",
- "description": "Required for returnRefundLineItem method."
+ "description": "Required for `returnRefundLineItem` method."
},
"setLineItemMetadata": {
"$ref": "OrdersCustomBatchRequestEntrySetLineItemMetadata",
- "description": "Required for setLineItemMetadata method."
+ "description": "Required for `setLineItemMetadata` method."
},
"shipLineItems": {
"$ref": "OrdersCustomBatchRequestEntryShipLineItems",
- "description": "Required for shipLineItems method."
+ "description": "Required for `shipLineItems` method."
},
"updateLineItemShippingDetails": {
"$ref": "OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails",
- "description": "Required for updateLineItemShippingDate method."
+ "description": "Required for `updateLineItemShippingDate` method."
},
"updateShipment": {
"$ref": "OrdersCustomBatchRequestEntryUpdateShipment",
- "description": "Required for updateShipment method."
+ "description": "Required for `updateShipment` method."
}
},
"type": "object"
@@ -7098,7 +7147,7 @@
"id": "OrdersCustomBatchRequestEntryCancel",
"properties": {
"reason": {
- "description": "The reason for the cancellation.\n\nAcceptable values are: \n- \"customerInitiatedCancel\" \n- \"invalidCoupon\" \n- \"malformedShippingAddress\" \n- \"noInventory\" \n- \"other\" \n- \"priceError\" \n- \"shippingPriceError\" \n- \"taxError\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\"",
+ "description": "The reason for the cancellation.\n\nAcceptable values are: \n- \"`customerInitiatedCancel`\" \n- \"`invalidCoupon`\" \n- \"`malformedShippingAddress`\" \n- \"`noInventory`\" \n- \"`other`\" \n- \"`priceError`\" \n- \"`shippingPriceError`\" \n- \"`taxError`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\"",
"type": "string"
},
"reasonText": {
@@ -7137,7 +7186,7 @@
"type": "integer"
},
"reason": {
- "description": "The reason for the cancellation.\n\nAcceptable values are: \n- \"customerInitiatedCancel\" \n- \"invalidCoupon\" \n- \"malformedShippingAddress\" \n- \"noInventory\" \n- \"other\" \n- \"priceError\" \n- \"shippingPriceError\" \n- \"taxError\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\"",
+ "description": "The reason for the cancellation.\n\nAcceptable values are: \n- \"`customerInitiatedCancel`\" \n- \"`invalidCoupon`\" \n- \"`malformedShippingAddress`\" \n- \"`noInventory`\" \n- \"`other`\" \n- \"`priceError`\" \n- \"`shippingPriceError`\" \n- \"`taxError`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\"",
"type": "string"
},
"reasonText": {
@@ -7187,7 +7236,7 @@
"type": "integer"
},
"reason": {
- "description": "The reason for the return.\n\nAcceptable values are: \n- \"customerDiscretionaryReturn\" \n- \"customerInitiatedMerchantCancel\" \n- \"deliveredTooLate\" \n- \"expiredItem\" \n- \"invalidCoupon\" \n- \"malformedShippingAddress\" \n- \"other\" \n- \"productArrivedDamaged\" \n- \"productNotAsDescribed\" \n- \"qualityNotAsExpected\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\" \n- \"wrongProductShipped\"",
+ "description": "The reason for the return.\n\nAcceptable values are: \n- \"`customerDiscretionaryReturn`\" \n- \"`customerInitiatedMerchantCancel`\" \n- \"`deliveredTooLate`\" \n- \"`expiredItem`\" \n- \"`invalidCoupon`\" \n- \"`malformedShippingAddress`\" \n- \"`other`\" \n- \"`productArrivedDamaged`\" \n- \"`productNotAsDescribed`\" \n- \"`qualityNotAsExpected`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\" \n- \"`wrongProductShipped`\"",
"type": "string"
},
"reasonText": {
@@ -7213,7 +7262,7 @@
"description": "Tax amount that corresponds to refund amount in amountPretax. Optional, but if filled, amountPretax must be set. Calculated automatically if not provided."
},
"reason": {
- "description": "The reason for the refund.\n\nAcceptable values are: \n- \"adjustment\" \n- \"courtesyAdjustment\" \n- \"customerCanceled\" \n- \"customerDiscretionaryReturn\" \n- \"deliveredLateByCarrier\" \n- \"feeAdjustment\" \n- \"lateShipmentCredit\" \n- \"noInventory\" \n- \"other\" \n- \"priceError\" \n- \"productArrivedDamaged\" \n- \"productNotAsDescribed\" \n- \"shippingCostAdjustment\" \n- \"taxAdjustment\" \n- \"undeliverableShippingAddress\" \n- \"wrongProductShipped\"",
+ "description": "The reason for the refund.\n\nAcceptable values are: \n- \"`adjustment`\" \n- \"`courtesyAdjustment`\" \n- \"`customerCanceled`\" \n- \"`customerDiscretionaryReturn`\" \n- \"`deliveredLateByCarrier`\" \n- \"`feeAdjustment`\" \n- \"`lateShipmentCredit`\" \n- \"`noInventory`\" \n- \"`other`\" \n- \"`priceError`\" \n- \"`productArrivedDamaged`\" \n- \"`productNotAsDescribed`\" \n- \"`shippingCostAdjustment`\" \n- \"`taxAdjustment`\" \n- \"`undeliverableShippingAddress`\" \n- \"`wrongProductShipped`\"",
"type": "string"
},
"reasonText": {
@@ -7240,7 +7289,7 @@
"type": "integer"
},
"reason": {
- "description": "The reason for the return.\n\nAcceptable values are: \n- \"damagedOrUsed\" \n- \"missingComponent\" \n- \"notEligible\" \n- \"other\" \n- \"outOfReturnWindow\"",
+ "description": "The reason for the return.\n\nAcceptable values are: \n- \"`damagedOrUsed`\" \n- \"`missingComponent`\" \n- \"`notEligible`\" \n- \"`other`\" \n- \"`outOfReturnWindow`\"",
"type": "string"
},
"reasonText": {
@@ -7267,7 +7316,7 @@
"type": "integer"
},
"reason": {
- "description": "The reason for the return.\n\nAcceptable values are: \n- \"customerDiscretionaryReturn\" \n- \"customerInitiatedMerchantCancel\" \n- \"deliveredTooLate\" \n- \"expiredItem\" \n- \"invalidCoupon\" \n- \"malformedShippingAddress\" \n- \"other\" \n- \"productArrivedDamaged\" \n- \"productNotAsDescribed\" \n- \"qualityNotAsExpected\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\" \n- \"wrongProductShipped\"",
+ "description": "The reason for the return.\n\nAcceptable values are: \n- \"`customerDiscretionaryReturn`\" \n- \"`customerInitiatedMerchantCancel`\" \n- \"`deliveredTooLate`\" \n- \"`expiredItem`\" \n- \"`invalidCoupon`\" \n- \"`malformedShippingAddress`\" \n- \"`other`\" \n- \"`productArrivedDamaged`\" \n- \"`productNotAsDescribed`\" \n- \"`qualityNotAsExpected`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\" \n- \"`wrongProductShipped`\"",
"type": "string"
},
"reasonText": {
@@ -7302,7 +7351,7 @@
"type": "integer"
},
"reason": {
- "description": "The reason for the return.\n\nAcceptable values are: \n- \"customerDiscretionaryReturn\" \n- \"customerInitiatedMerchantCancel\" \n- \"deliveredTooLate\" \n- \"expiredItem\" \n- \"invalidCoupon\" \n- \"malformedShippingAddress\" \n- \"other\" \n- \"productArrivedDamaged\" \n- \"productNotAsDescribed\" \n- \"qualityNotAsExpected\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\" \n- \"wrongProductShipped\"",
+ "description": "The reason for the return.\n\nAcceptable values are: \n- \"`customerDiscretionaryReturn`\" \n- \"`customerInitiatedMerchantCancel`\" \n- \"`deliveredTooLate`\" \n- \"`expiredItem`\" \n- \"`invalidCoupon`\" \n- \"`malformedShippingAddress`\" \n- \"`other`\" \n- \"`productArrivedDamaged`\" \n- \"`productNotAsDescribed`\" \n- \"`qualityNotAsExpected`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\" \n- \"`wrongProductShipped`\"",
"type": "string"
},
"reasonText": {
@@ -7336,7 +7385,7 @@
"id": "OrdersCustomBatchRequestEntryShipLineItems",
"properties": {
"carrier": {
- "description": "Deprecated. Please use shipmentInfo instead. The carrier handling the shipment. See shipments[].carrier in the Orders resource representation for a list of acceptable values.",
+ "description": "Deprecated. Please use shipmentInfo instead. The carrier handling the shipment. See `shipments[].carrier` in the Orders resource representation for a list of acceptable values.",
"type": "string"
},
"lineItems": {
@@ -7372,7 +7421,7 @@
"id": "OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo",
"properties": {
"carrier": {
- "description": "The carrier handling the shipment. See shipments[].carrier in the Orders resource representation for a list of acceptable values.",
+ "description": "The carrier handling the shipment. See `shipments[].carrier` in the Orders resource representation for a list of acceptable values.",
"type": "string"
},
"shipmentId": {
@@ -7417,11 +7466,11 @@
"id": "OrdersCustomBatchRequestEntryUpdateShipment",
"properties": {
"carrier": {
- "description": "The carrier handling the shipment. Not updated if missing. See shipments[].carrier in the Orders resource representation for a list of acceptable values.",
+ "description": "The carrier handling the shipment. Not updated if missing. See `shipments[].carrier` in the Orders resource representation for a list of acceptable values.",
"type": "string"
},
"deliveryDate": {
- "description": "Date on which the shipment has been delivered, in ISO 8601 format. Optional and can be provided only if status is delivered.",
+ "description": "Date on which the shipment has been delivered, in ISO 8601 format. Optional and can be provided only if `status` is `delivered`.",
"type": "string"
},
"shipmentId": {
@@ -7429,7 +7478,7 @@
"type": "string"
},
"status": {
- "description": "New status for the shipment. Not updated if missing.\n\nAcceptable values are: \n- \"delivered\" \n- \"undeliverable\"",
+ "description": "New status for the shipment. Not updated if missing.\n\nAcceptable values are: \n- \"`delivered`\" \n- \"`undeliverable`\" \n- \"`readyForPickup`\"",
"type": "string"
},
"trackingId": {
@@ -7470,17 +7519,17 @@
"description": "A list of errors defined if and only if the request failed."
},
"executionStatus": {
- "description": "The status of the execution. Only defined if \n- the request was successful; and \n- the method is not get, getByMerchantOrderId, or one of the test methods. \n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution. Only defined if \n- the request was successful; and \n- the method is not `get`, `getByMerchantOrderId`, or one of the test methods. \n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
"default": "content#ordersCustomBatchResponseEntry",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersCustomBatchResponseEntry\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#ordersCustomBatchResponseEntry`\"",
"type": "string"
},
"order": {
"$ref": "Order",
- "description": "The retrieved order. Only defined if the method is get and if the request was successful."
+ "description": "The retrieved order. Only defined if the method is `get` and if the request was successful."
}
},
"type": "object"
@@ -7544,7 +7593,7 @@
"type": "integer"
},
"reason": {
- "description": "The reason for the return.\n\nAcceptable values are: \n- \"customerDiscretionaryReturn\" \n- \"customerInitiatedMerchantCancel\" \n- \"deliveredTooLate\" \n- \"expiredItem\" \n- \"invalidCoupon\" \n- \"malformedShippingAddress\" \n- \"other\" \n- \"productArrivedDamaged\" \n- \"productNotAsDescribed\" \n- \"qualityNotAsExpected\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\" \n- \"wrongProductShipped\"",
+ "description": "The reason for the return.\n\nAcceptable values are: \n- \"`customerDiscretionaryReturn`\" \n- \"`customerInitiatedMerchantCancel`\" \n- \"`deliveredTooLate`\" \n- \"`expiredItem`\" \n- \"`invalidCoupon`\" \n- \"`malformedShippingAddress`\" \n- \"`other`\" \n- \"`productArrivedDamaged`\" \n- \"`productNotAsDescribed`\" \n- \"`qualityNotAsExpected`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\" \n- \"`wrongProductShipped`\"",
"type": "string"
},
"reasonText": {
@@ -7558,7 +7607,7 @@
"id": "OrdersInStoreRefundLineItemResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -7610,7 +7659,7 @@
"type": "string"
},
"reason": {
- "description": "The reason for the refund.\n\nAcceptable values are: \n- \"adjustment\" \n- \"courtesyAdjustment\" \n- \"customerCanceled\" \n- \"customerDiscretionaryReturn\" \n- \"deliveredLateByCarrier\" \n- \"feeAdjustment\" \n- \"lateShipmentCredit\" \n- \"noInventory\" \n- \"other\" \n- \"priceError\" \n- \"productArrivedDamaged\" \n- \"productNotAsDescribed\" \n- \"shippingCostAdjustment\" \n- \"taxAdjustment\" \n- \"undeliverableShippingAddress\" \n- \"wrongProductShipped\"",
+ "description": "The reason for the refund.\n\nAcceptable values are: \n- \"`adjustment`\" \n- \"`courtesyAdjustment`\" \n- \"`customerCanceled`\" \n- \"`customerDiscretionaryReturn`\" \n- \"`deliveredLateByCarrier`\" \n- \"`feeAdjustment`\" \n- \"`lateShipmentCredit`\" \n- \"`noInventory`\" \n- \"`other`\" \n- \"`priceError`\" \n- \"`productArrivedDamaged`\" \n- \"`productNotAsDescribed`\" \n- \"`shippingCostAdjustment`\" \n- \"`taxAdjustment`\" \n- \"`undeliverableShippingAddress`\" \n- \"`wrongProductShipped`\"",
"type": "string"
},
"reasonText": {
@@ -7624,7 +7673,7 @@
"id": "OrdersRefundResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -7656,7 +7705,7 @@
"type": "integer"
},
"reason": {
- "description": "The reason for the return.\n\nAcceptable values are: \n- \"damagedOrUsed\" \n- \"missingComponent\" \n- \"notEligible\" \n- \"other\" \n- \"outOfReturnWindow\"",
+ "description": "The reason for the return.\n\nAcceptable values are: \n- \"`damagedOrUsed`\" \n- \"`missingComponent`\" \n- \"`notEligible`\" \n- \"`other`\" \n- \"`outOfReturnWindow`\"",
"type": "string"
},
"reasonText": {
@@ -7670,7 +7719,7 @@
"id": "OrdersRejectReturnLineItemResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -7702,7 +7751,7 @@
"type": "integer"
},
"reason": {
- "description": "The reason for the return.\n\nAcceptable values are: \n- \"customerDiscretionaryReturn\" \n- \"customerInitiatedMerchantCancel\" \n- \"deliveredTooLate\" \n- \"expiredItem\" \n- \"invalidCoupon\" \n- \"malformedShippingAddress\" \n- \"other\" \n- \"productArrivedDamaged\" \n- \"productNotAsDescribed\" \n- \"qualityNotAsExpected\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\" \n- \"wrongProductShipped\"",
+ "description": "The reason for the return.\n\nAcceptable values are: \n- \"`customerDiscretionaryReturn`\" \n- \"`customerInitiatedMerchantCancel`\" \n- \"`deliveredTooLate`\" \n- \"`expiredItem`\" \n- \"`invalidCoupon`\" \n- \"`malformedShippingAddress`\" \n- \"`other`\" \n- \"`productArrivedDamaged`\" \n- \"`productNotAsDescribed`\" \n- \"`qualityNotAsExpected`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\" \n- \"`wrongProductShipped`\"",
"type": "string"
},
"reasonText": {
@@ -7716,7 +7765,7 @@
"id": "OrdersReturnLineItemResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -7756,7 +7805,7 @@
"type": "integer"
},
"reason": {
- "description": "The reason for the return.\n\nAcceptable values are: \n- \"customerDiscretionaryReturn\" \n- \"customerInitiatedMerchantCancel\" \n- \"deliveredTooLate\" \n- \"expiredItem\" \n- \"invalidCoupon\" \n- \"malformedShippingAddress\" \n- \"other\" \n- \"productArrivedDamaged\" \n- \"productNotAsDescribed\" \n- \"qualityNotAsExpected\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\" \n- \"wrongProductShipped\"",
+ "description": "The reason for the return.\n\nAcceptable values are: \n- \"`customerDiscretionaryReturn`\" \n- \"`customerInitiatedMerchantCancel`\" \n- \"`deliveredTooLate`\" \n- \"`expiredItem`\" \n- \"`invalidCoupon`\" \n- \"`malformedShippingAddress`\" \n- \"`other`\" \n- \"`productArrivedDamaged`\" \n- \"`productNotAsDescribed`\" \n- \"`qualityNotAsExpected`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\" \n- \"`wrongProductShipped`\"",
"type": "string"
},
"reasonText": {
@@ -7770,7 +7819,7 @@
"id": "OrdersReturnRefundLineItemResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -7809,7 +7858,7 @@
"id": "OrdersSetLineItemMetadataResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -7824,7 +7873,7 @@
"id": "OrdersShipLineItemsRequest",
"properties": {
"carrier": {
- "description": "Deprecated. Please use shipmentInfo instead. The carrier handling the shipment. See shipments[].carrier in the Orders resource representation for a list of acceptable values.",
+ "description": "Deprecated. Please use shipmentInfo instead. The carrier handling the shipment. See `shipments[].carrier` in the Orders resource representation for a list of acceptable values.",
"type": "string"
},
"lineItems": {
@@ -7864,7 +7913,7 @@
"id": "OrdersShipLineItemsResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -7905,7 +7954,7 @@
"id": "OrdersUpdateLineItemShippingDetailsResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -7934,7 +7983,7 @@
"id": "OrdersUpdateMerchantOrderIdResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -7949,11 +7998,11 @@
"id": "OrdersUpdateShipmentRequest",
"properties": {
"carrier": {
- "description": "The carrier handling the shipment. Not updated if missing. See shipments[].carrier in the Orders resource representation for a list of acceptable values.",
+ "description": "The carrier handling the shipment. Not updated if missing. See `shipments[].carrier` in the Orders resource representation for a list of acceptable values.",
"type": "string"
},
"deliveryDate": {
- "description": "Date on which the shipment has been delivered, in ISO 8601 format. Optional and can be provided only if status is delivered.",
+ "description": "Date on which the shipment has been delivered, in ISO 8601 format. Optional and can be provided only if `status` is `delivered`.",
"type": "string"
},
"operationId": {
@@ -7965,7 +8014,7 @@
"type": "string"
},
"status": {
- "description": "New status for the shipment. Not updated if missing.\n\nAcceptable values are: \n- \"delivered\" \n- \"undeliverable\"",
+ "description": "New status for the shipment. Not updated if missing.\n\nAcceptable values are: \n- \"`delivered`\" \n- \"`undeliverable`\" \n- \"`readyForPickup`\"",
"type": "string"
},
"trackingId": {
@@ -7979,7 +8028,7 @@
"id": "OrdersUpdateShipmentResponse",
"properties": {
"executionStatus": {
- "description": "The status of the execution.\n\nAcceptable values are: \n- \"duplicate\" \n- \"executed\"",
+ "description": "The status of the execution.\n\nAcceptable values are: \n- \"`duplicate`\" \n- \"`executed`\"",
"type": "string"
},
"kind": {
@@ -7994,11 +8043,11 @@
"id": "PickupCarrierService",
"properties": {
"carrierName": {
- "description": "The name of the pickup carrier (e.g., \"UPS\"). Required.",
+ "description": "The name of the pickup carrier (e.g., `\"UPS\"`). Required.",
"type": "string"
},
"serviceName": {
- "description": "The name of the pickup service (e.g., \"Access point\"). Required.",
+ "description": "The name of the pickup service (e.g., `\"Access point\"`). Required.",
"type": "string"
}
},
@@ -8008,7 +8057,7 @@
"id": "PickupServicesPickupService",
"properties": {
"carrierName": {
- "description": "The name of the carrier (e.g., \"UPS\"). Always present.",
+ "description": "The name of the carrier (e.g., `\"UPS\"`). Always present.",
"type": "string"
},
"country": {
@@ -8016,7 +8065,7 @@
"type": "string"
},
"serviceName": {
- "description": "The name of the pickup service (e.g., \"Access point\"). Always present.",
+ "description": "The name of the pickup service (e.g., `\"Access point\"`). Always present.",
"type": "string"
}
},
@@ -8045,7 +8094,7 @@
},
"inventory": {
"$ref": "PosInventory",
- "description": "The inventory to submit. Set this only if the method is inventory."
+ "description": "The inventory to submit. Set this only if the method is `inventory`."
},
"merchantId": {
"description": "The ID of the POS data provider.",
@@ -8053,19 +8102,19 @@
"type": "string"
},
"method": {
- "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"delete\" \n- \"get\" \n- \"insert\" \n- \"inventory\" \n- \"sale\"",
+ "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"`delete`\" \n- \"`get`\" \n- \"`insert`\" \n- \"`inventory`\" \n- \"`sale`\"",
"type": "string"
},
"sale": {
"$ref": "PosSale",
- "description": "The sale information to submit. Set this only if the method is sale."
+ "description": "The sale information to submit. Set this only if the method is `sale`."
},
"store": {
"$ref": "PosStore",
- "description": "The store information to submit. Set this only if the method is insert."
+ "description": "The store information to submit. Set this only if the method is `insert`."
},
"storeCode": {
- "description": "The store code. Set this only if the method is delete or get.",
+ "description": "The store code. Set this only if the method is `delete` or `get`.",
"type": "string"
},
"targetMerchantId": {
@@ -8112,7 +8161,7 @@
},
"kind": {
"default": "content#posCustomBatchResponseEntry",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#posCustomBatchResponseEntry\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posCustomBatchResponseEntry`\"",
"type": "string"
},
"sale": {
@@ -8190,7 +8239,7 @@
},
"kind": {
"default": "content#posInventory",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#posInventory\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posInventory`\"",
"type": "string"
},
"price": {
@@ -8218,7 +8267,7 @@
"content.pos.inventory"
]
},
- "description": "Required. The identifier of the merchant's store. Either a storeCode inserted via the API or the code of the store in Google My Business.",
+ "description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.",
"type": "string"
},
"targetCountry": {
@@ -8292,7 +8341,7 @@
"content.pos.inventory"
]
},
- "description": "Required. The identifier of the merchant's store. Either a storeCode inserted via the API or the code of the store in Google My Business.",
+ "description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.",
"type": "string"
},
"targetCountry": {
@@ -8371,7 +8420,7 @@
"content.pos.inventory"
]
},
- "description": "Required. The identifier of the merchant's store. Either a storeCode inserted via the API or the code of the store in Google My Business.",
+ "description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.",
"type": "string"
},
"targetCountry": {
@@ -8440,7 +8489,7 @@
},
"kind": {
"default": "content#posSale",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#posSale\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posSale`\"",
"type": "string"
},
"price": {
@@ -8472,7 +8521,7 @@
"content.pos.sale"
]
},
- "description": "Required. The identifier of the merchant's store. Either a storeCode inserted via the API or the code of the store in Google My Business.",
+ "description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.",
"type": "string"
},
"targetCountry": {
@@ -8550,7 +8599,7 @@
"content.pos.sale"
]
},
- "description": "Required. The identifier of the merchant's store. Either a storeCode inserted via the API or the code of the store in Google My Business.",
+ "description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.",
"type": "string"
},
"targetCountry": {
@@ -8633,7 +8682,7 @@
"content.pos.sale"
]
},
- "description": "Required. The identifier of the merchant's store. Either a storeCode inserted via the API or the code of the store in Google My Business.",
+ "description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.",
"type": "string"
},
"targetCountry": {
@@ -8663,7 +8712,7 @@
"properties": {
"kind": {
"default": "content#posStore",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#posStore\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posStore`\"",
"type": "string"
},
"storeAddress": {
@@ -8712,11 +8761,11 @@
"id": "PostalCodeRange",
"properties": {
"postalCodeRangeBegin": {
- "description": "A postal code or a pattern of the form prefix* denoting the inclusive lower bound of the range defining the area. Examples values: \"94108\", \"9410*\", \"9*\". Required.",
+ "description": "A postal code or a pattern of the form `prefix*` denoting the inclusive lower bound of the range defining the area. Examples values: `\"94108\"`, `\"9410*\"`, `\"9*\"`. Required.",
"type": "string"
},
"postalCodeRangeEnd": {
- "description": "A postal code or a pattern of the form prefix* denoting the inclusive upper bound of the range defining the area. It must have the same length as postalCodeRangeBegin: if postalCodeRangeBegin is a postal code then postalCodeRangeEnd must be a postal code too; if postalCodeRangeBegin is a pattern then postalCodeRangeEnd must be a pattern with the same prefix length. Optional: if not set, then the area is defined as being all the postal codes matching postalCodeRangeBegin.",
+ "description": "A postal code or a pattern of the form `prefix*` denoting the inclusive upper bound of the range defining the area. It must have the same length as `postalCodeRangeBegin`: if `postalCodeRangeBegin` is a postal code then `postalCodeRangeEnd` must be a postal code too; if `postalCodeRangeBegin` is a pattern then `postalCodeRangeEnd` must be a pattern with the same prefix length. Optional: if not set, then the area is defined as being all the postal codes matching `postalCodeRangeBegin`.",
"type": "string"
}
},
@@ -8737,7 +8786,7 @@
"type": "object"
},
"Product": {
- "description": "Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect.",
+ "description": "Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information.\n\nSome attributes are country-specific, so make sure you select the appropriate country in the drop-down selector at the top of the page. \n\nProduct data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect.",
"id": "Product",
"properties": {
"additionalImageLinks": {
@@ -8774,7 +8823,7 @@
"type": "string"
},
"ageGroup": {
- "description": "Target age group of the item.\n\nAcceptable values are: \n- \"adult\" \n- \"infant\" \n- \"kids\" \n- \"newborn\" \n- \"toddler\" \n- \"youngAdult\"",
+ "description": "Target age group of the item.\n\nAcceptable values are: \n- \"`adult`\" \n- \"`infant`\" \n- \"`kids`\" \n- \"`newborn`\" \n- \"`toddler`\" \n- \"`youngAdult`\"",
"type": "string"
},
"aspects": {
@@ -8785,7 +8834,7 @@
"type": "array"
},
"availability": {
- "description": "Availability status of the item.\n\nAcceptable values are: \n- \"in stock\" \n- \"out of stock\" \n- \"preorder\"",
+ "description": "Availability status of the item.\n\nAcceptable values are: \n- \"`in stock`\" \n- \"`out of stock`\" \n- \"`preorder`\"",
"type": "string"
},
"availabilityDate": {
@@ -8796,13 +8845,17 @@
"description": "Brand of the item.",
"type": "string"
},
+ "canonicalLink": {
+ "description": "Link to the canonical version of the landing page.",
+ "type": "string"
+ },
"channel": {
"annotations": {
"required": [
"content.products.insert"
]
},
- "description": "Required. The item's channel (online or local).\n\nAcceptable values are: \n- \"local\" \n- \"online\"",
+ "description": "Required. The item's channel (online or local).\n\nAcceptable values are: \n- \"`local`\" \n- \"`online`\"",
"type": "string"
},
"color": {
@@ -8810,7 +8863,7 @@
"type": "string"
},
"condition": {
- "description": "Condition or state of the item.\n\nAcceptable values are: \n- \"local\" \n- \"online\"",
+ "description": "Condition or state of the item.\n\nAcceptable values are: \n- \"`local`\" \n- \"`online`\"",
"type": "string"
},
"contentLanguage": {
@@ -8827,7 +8880,7 @@
"description": "Cost of goods sold. Used for gross profit reporting."
},
"customAttributes": {
- "description": "A list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form (e.g., { \"name\": \"size type\", \"value\": \"regular\" }). This is useful for submitting attributes not explicitly exposed by the API, such as additional attributes used for Shopping Actions.",
+ "description": "A list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form (e.g., `{ \"name\": \"size type\", \"value\": \"regular\" }`). This is useful for submitting attributes not explicitly exposed by the API, such as additional attributes used for Shopping Actions.",
"items": {
"$ref": "CustomAttribute"
},
@@ -8896,15 +8949,15 @@
"type": "number"
},
"energyEfficiencyClass": {
- "description": "The energy efficiency class as defined in EU directive 2010/30/EU.\n\nAcceptable values are: \n- \"A\" \n- \"A+\" \n- \"A++\" \n- \"A+++\" \n- \"B\" \n- \"C\" \n- \"D\" \n- \"E\" \n- \"F\" \n- \"G\"",
+ "description": "The energy efficiency class as defined in EU directive 2010/30/EU.\n\nAcceptable values are: \n- \"`A`\" \n- \"`A+`\" \n- \"`A++`\" \n- \"`A+++`\" \n- \"`B`\" \n- \"`C`\" \n- \"`D`\" \n- \"`E`\" \n- \"`F`\" \n- \"`G`\"",
"type": "string"
},
"expirationDate": {
- "description": "Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date in Google Shopping is exposed in productstatuses as googleExpirationDate and might be earlier if expirationDate is too far in the future.",
+ "description": "Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date in Google Shopping is exposed in `productstatuses` as `googleExpirationDate` and might be earlier if `expirationDate` is too far in the future.",
"type": "string"
},
"gender": {
- "description": "Target gender of the item.\n\nAcceptable values are: \n- \"female\" \n- \"male\" \n- \"unisex\"",
+ "description": "Target gender of the item.\n\nAcceptable values are: \n- \"`female`\" \n- \"`male`\" \n- \"`unisex`\"",
"type": "string"
},
"googleProductCategory": {
@@ -8916,7 +8969,7 @@
"type": "string"
},
"id": {
- "description": "The REST ID of the product. Content API methods that operate on products take this as their productId parameter.\nThe REST ID for a product is of the form channel:contentLanguage:targetCountry:offerId.",
+ "description": "The REST ID of the product. Content API methods that operate on products take this as their `productId` parameter.\nThe REST ID for a product is of the form channel:contentLanguage:targetCountry: offerId.",
"type": "string"
},
"identifierExists": {
@@ -8929,7 +8982,7 @@
},
"installment": {
"$ref": "Installment",
- "description": "Number and amount of installments to pay for an item. Brazil only."
+ "description": "Number and amount of installments to pay for an item."
},
"isBundle": {
"description": "Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.",
@@ -8941,7 +8994,7 @@
},
"kind": {
"default": "content#product",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#product\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#product`\"",
"type": "string"
},
"link": {
@@ -8957,7 +9010,7 @@
"type": "string"
},
"maxEnergyEfficiencyClass": {
- "description": "The energy efficiency class as defined in EU directive 2010/30/EU.\n\nAcceptable values are: \n- \"A\" \n- \"A+\" \n- \"A++\" \n- \"A+++\" \n- \"B\" \n- \"C\" \n- \"D\" \n- \"E\" \n- \"F\" \n- \"G\"",
+ "description": "The energy efficiency class as defined in EU directive 2010/30/EU.\n\nAcceptable values are: \n- \"`A`\" \n- \"`A+`\" \n- \"`A++`\" \n- \"`A+++`\" \n- \"`B`\" \n- \"`C`\" \n- \"`D`\" \n- \"`E`\" \n- \"`F`\" \n- \"`G`\"",
"type": "string"
},
"maxHandlingTime": {
@@ -8966,7 +9019,7 @@
"type": "string"
},
"minEnergyEfficiencyClass": {
- "description": "The energy efficiency class as defined in EU directive 2010/30/EU.\n\nAcceptable values are: \n- \"A\" \n- \"A+\" \n- \"A++\" \n- \"A+++\" \n- \"B\" \n- \"C\" \n- \"D\" \n- \"E\" \n- \"F\" \n- \"G\"",
+ "description": "The energy efficiency class as defined in EU directive 2010/30/EU.\n\nAcceptable values are: \n- \"`A`\" \n- \"`A+`\" \n- \"`A++`\" \n- \"`A+++`\" \n- \"`B`\" \n- \"`C`\" \n- \"`D`\" \n- \"`E`\" \n- \"`F`\" \n- \"`G`\"",
"type": "string"
},
"minHandlingTime": {
@@ -8997,7 +9050,7 @@
"type": "string"
},
"onlineOnly": {
- "description": "Deprecated. Whether an item is available for purchase only online.",
+ "description": "Deprecated.",
"type": "boolean"
},
"pattern": {
@@ -9060,22 +9113,22 @@
"description": "Width of the item for shipping."
},
"sizeSystem": {
- "description": "System in which the size is specified. Recommended for apparel items.\n\nAcceptable values are: \n- \"AU\" \n- \"BR\" \n- \"CN\" \n- \"DE\" \n- \"EU\" \n- \"FR\" \n- \"IT\" \n- \"JP\" \n- \"MEX\" \n- \"UK\" \n- \"US\"",
+ "description": "System in which the size is specified. Recommended for apparel items.\n\nAcceptable values are: \n- \"`AU`\" \n- \"`BR`\" \n- \"`CN`\" \n- \"`DE`\" \n- \"`EU`\" \n- \"`FR`\" \n- \"`IT`\" \n- \"`JP`\" \n- \"`MEX`\" \n- \"`UK`\" \n- \"`US`\"",
"type": "string"
},
"sizeType": {
- "description": "The cut of the item. Recommended for apparel items.\n\nAcceptable values are: \n- \"big and tall\" \n- \"maternity\" \n- \"oversize\" \n- \"petite\" \n- \"plus\" \n- \"regular\"",
+ "description": "The cut of the item. Recommended for apparel items.\n\nAcceptable values are: \n- \"`big and tall`\" \n- \"`maternity`\" \n- \"`oversize`\" \n- \"`petite`\" \n- \"`plus`\" \n- \"`regular`\"",
"type": "string"
},
"sizes": {
- "description": "Size of the item. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same itemGroupId value (see size definition).",
+ "description": "Size of the item. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same `itemGroupId` value (see size definition).",
"items": {
"type": "string"
},
"type": "array"
},
"source": {
- "description": "The source of the offer, i.e., how the offer was created.\n\nAcceptable values are: \n- \"api\" \n- \"crawl\" \n- \"feed\"",
+ "description": "The source of the offer, i.e., how the offer was created.\n\nAcceptable values are: \n- \"`api`\" \n- \"`crawl`\" \n- \"`feed`\"",
"type": "string"
},
"targetCountry": {
@@ -9145,15 +9198,15 @@
"id": "ProductAspect",
"properties": {
"aspectName": {
- "description": "The name of the aspect.",
+ "description": "Deprecated.",
"type": "string"
},
"destinationName": {
- "description": "The name of the destination. Leave out to apply to all destinations.",
+ "description": "Deprecated.",
"type": "string"
},
"intention": {
- "description": "Whether the aspect is required, excluded or should be validated.",
+ "description": "Deprecated.",
"type": "string"
}
},
@@ -9167,7 +9220,7 @@
"type": "string"
},
"intention": {
- "description": "Whether the destination is required, excluded or should be validated.\n\nAcceptable values are: \n- \"default\" \n- \"excluded\" \n- \"optional\" \n- \"required\"",
+ "description": "Whether the destination is required, excluded or should be validated.\n\nAcceptable values are: \n- \"`default`\" \n- \"`excluded`\" \n- \"`optional`\" \n- \"`required`\"",
"type": "string"
}
},
@@ -9273,7 +9326,7 @@
},
"kind": {
"default": "content#productStatus",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#productStatus\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#productStatus`\"",
"type": "string"
},
"lastUpdateDate": {
@@ -9340,7 +9393,7 @@
"type": "boolean"
},
"approvalStatus": {
- "description": "The destination's approval status.\n\nAcceptable values are: \n- \"approved\" \n- \"disapproved\"",
+ "description": "The destination's approval status.\n\nAcceptable values are: \n- \"`approved`\" \n- \"`disapproved`\"",
"type": "string"
},
"destination": {
@@ -9348,7 +9401,7 @@
"type": "string"
},
"intention": {
- "description": "Provided for backward compatibility only. Always set to \"required\".\n\nAcceptable values are: \n- \"default\" \n- \"excluded\" \n- \"optional\" \n- \"required\"",
+ "description": "Provided for backward compatibility only. Always set to \"required\".\n\nAcceptable values are: \n- \"`default`\" \n- \"`excluded`\" \n- \"`optional`\" \n- \"`required`\"",
"type": "string"
}
},
@@ -9482,15 +9535,15 @@
"type": "string"
},
"method": {
- "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"delete\" \n- \"get\" \n- \"insert\"",
+ "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"`delete`\" \n- \"`get`\" \n- \"`insert`\"",
"type": "string"
},
"product": {
"$ref": "Product",
- "description": "The product to insert. Only required if the method is insert."
+ "description": "The product to insert. Only required if the method is `insert`."
},
"productId": {
- "description": "The ID of the product to get or delete. Only defined if the method is get or delete.",
+ "description": "The ID of the product to get or delete. Only defined if the method is `get` or `delete`.",
"type": "string"
}
},
@@ -9529,12 +9582,12 @@
},
"kind": {
"default": "content#productsCustomBatchResponseEntry",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#productsCustomBatchResponseEntry\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#productsCustomBatchResponseEntry`\"",
"type": "string"
},
"product": {
"$ref": "Product",
- "description": "The inserted product. Only defined if the method is insert and if the request was successful."
+ "description": "The inserted product. Only defined if the method is `insert` and if the request was successful."
}
},
"type": "object"
@@ -9598,7 +9651,7 @@
"type": "string"
},
"method": {
- "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"get\"",
+ "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"`get`\"",
"type": "string"
},
"productId": {
@@ -9641,7 +9694,7 @@
},
"kind": {
"default": "content#productstatusesCustomBatchResponseEntry",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#productstatusesCustomBatchResponseEntry\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#productstatusesCustomBatchResponseEntry`\"",
"type": "string"
},
"productStatus": {
@@ -9697,7 +9750,7 @@
"type": "array"
},
"carrierRates": {
- "description": "A list of carrier rates that can be referred to by mainTable or singleValue.",
+ "description": "A list of carrier rates that can be referred to by `mainTable` or `singleValue`.",
"items": {
"$ref": "CarrierRate"
},
@@ -9705,7 +9758,7 @@
},
"mainTable": {
"$ref": "Table",
- "description": "A table defining the rate group, when singleValue is not expressive enough. Can only be set if singleValue is not set."
+ "description": "A table defining the rate group, when `singleValue` is not expressive enough. Can only be set if `singleValue` is not set."
},
"name": {
"description": "Name of the rate group. Optional. If set has to be unique within shipping service.",
@@ -9713,10 +9766,10 @@
},
"singleValue": {
"$ref": "Value",
- "description": "The value of the rate group (e.g. flat rate $10). Can only be set if mainTable and subtables are not set."
+ "description": "The value of the rate group (e.g. flat rate $10). Can only be set if `mainTable` and `subtables` are not set."
},
"subtables": {
- "description": "A list of subtables referred to by mainTable. Can only be set if mainTable is set.",
+ "description": "A list of subtables referred to by `mainTable`. Can only be set if `mainTable` is set.",
"items": {
"$ref": "Table"
},
@@ -9733,7 +9786,7 @@
"type": "string"
},
"reasonCode": {
- "description": "Code of the refund reason.\n\nAcceptable values are: \n- \"adjustment\" \n- \"autoPostInternal\" \n- \"autoPostInvalidBillingAddress\" \n- \"autoPostNoInventory\" \n- \"autoPostPriceError\" \n- \"autoPostUndeliverableShippingAddress\" \n- \"couponAbuse\" \n- \"courtesyAdjustment\" \n- \"customerCanceled\" \n- \"customerDiscretionaryReturn\" \n- \"customerInitiatedMerchantCancel\" \n- \"customerSupportRequested\" \n- \"deliveredLateByCarrier\" \n- \"deliveredTooLate\" \n- \"expiredItem\" \n- \"failToPushOrderGoogleError\" \n- \"failToPushOrderMerchantError\" \n- \"failToPushOrderMerchantFulfillmentError\" \n- \"failToPushOrderToMerchant\" \n- \"failToPushOrderToMerchantOutOfStock\" \n- \"feeAdjustment\" \n- \"invalidCoupon\" \n- \"lateShipmentCredit\" \n- \"malformedShippingAddress\" \n- \"merchantDidNotShipOnTime\" \n- \"noInventory\" \n- \"orderTimeout\" \n- \"other\" \n- \"paymentAbuse\" \n- \"paymentDeclined\" \n- \"priceAdjustment\" \n- \"priceError\" \n- \"productArrivedDamaged\" \n- \"productNotAsDescribed\" \n- \"promoReallocation\" \n- \"qualityNotAsExpected\" \n- \"returnRefundAbuse\" \n- \"shippingCostAdjustment\" \n- \"shippingPriceError\" \n- \"taxAdjustment\" \n- \"taxError\" \n- \"undeliverableShippingAddress\" \n- \"unsupportedPoBoxAddress\" \n- \"wrongProductShipped\"",
+ "description": "Code of the refund reason.\n\nAcceptable values are: \n- \"`adjustment`\" \n- \"`autoPostInternal`\" \n- \"`autoPostInvalidBillingAddress`\" \n- \"`autoPostNoInventory`\" \n- \"`autoPostPriceError`\" \n- \"`autoPostUndeliverableShippingAddress`\" \n- \"`couponAbuse`\" \n- \"`courtesyAdjustment`\" \n- \"`customerCanceled`\" \n- \"`customerDiscretionaryReturn`\" \n- \"`customerInitiatedMerchantCancel`\" \n- \"`customerSupportRequested`\" \n- \"`deliveredLateByCarrier`\" \n- \"`deliveredTooLate`\" \n- \"`expiredItem`\" \n- \"`failToPushOrderGoogleError`\" \n- \"`failToPushOrderMerchantError`\" \n- \"`failToPushOrderMerchantFulfillmentError`\" \n- \"`failToPushOrderToMerchant`\" \n- \"`failToPushOrderToMerchantOutOfStock`\" \n- \"`feeAdjustment`\" \n- \"`invalidCoupon`\" \n- \"`lateShipmentCredit`\" \n- \"`malformedShippingAddress`\" \n- \"`merchantDidNotShipOnTime`\" \n- \"`noInventory`\" \n- \"`orderTimeout`\" \n- \"`other`\" \n- \"`paymentAbuse`\" \n- \"`paymentDeclined`\" \n- \"`priceAdjustment`\" \n- \"`priceError`\" \n- \"`productArrivedDamaged`\" \n- \"`productNotAsDescribed`\" \n- \"`promoReallocation`\" \n- \"`qualityNotAsExpected`\" \n- \"`returnRefundAbuse`\" \n- \"`shippingCostAdjustment`\" \n- \"`shippingPriceError`\" \n- \"`taxAdjustment`\" \n- \"`taxError`\" \n- \"`undeliverableShippingAddress`\" \n- \"`unsupportedPoBoxAddress`\" \n- \"`wrongProductShipped`\"",
"type": "string"
}
},
@@ -9751,7 +9804,7 @@
"type": "string"
},
"returnMethodType": {
- "description": "Type of the return method.\n\nAcceptable values are: \n- \"byMail\" \n- \"contactCustomerSupport\" \n- \"returnless\"",
+ "description": "Type of the return method.\n\nAcceptable values are: \n- \"`byMail`\" \n- \"`contactCustomerSupport`\" \n- \"`returnless`\"",
"type": "string"
},
"shipmentId": {
@@ -9770,7 +9823,7 @@
"type": "string"
},
"state": {
- "description": "State of the shipment.\n\nAcceptable values are: \n- \"completed\" \n- \"new\" \n- \"shipped\" \n- \"undeliverable\"",
+ "description": "State of the shipment.\n\nAcceptable values are: \n- \"`completed`\" \n- \"`new`\" \n- \"`shipped`\" \n- \"`undeliverable`\" \n- \"`pending`\"",
"type": "string"
}
},
@@ -9780,7 +9833,7 @@
"id": "Row",
"properties": {
"cells": {
- "description": "The list of cells that constitute the row. Must have the same length as columnHeaders for two-dimensional tables, a length of 1 for one-dimensional tables. Required.",
+ "description": "The list of cells that constitute the row. Must have the same length as `columnHeaders` for two-dimensional tables, a length of 1 for one-dimensional tables. Required.",
"items": {
"$ref": "Value"
},
@@ -9809,12 +9862,16 @@
"description": "Time spent in various aspects from order to the delivery of the product. Required."
},
"eligibility": {
- "description": "Eligibility for this service.\n\nAcceptable values are: \n- \"All scenarios\" \n- \"All scenarios except Shopping Actions\" \n- \"Shopping Actions\"",
+ "description": "Eligibility for this service.\n\nAcceptable values are: \n- \"`All scenarios`\" \n- \"`All scenarios except Shopping Actions`\" \n- \"`Shopping Actions`\"",
"type": "string"
},
"minimumOrderValue": {
"$ref": "Price",
- "description": "Minimum order value for this service. If set, indicates that customers will have to spend at least this amount. All prices within a service must have the same currency."
+ "description": "Minimum order value for this service. If set, indicates that customers will have to spend at least this amount. All prices within a service must have the same currency. Cannot be set together with minimum_order_value_table."
+ },
+ "minimumOrderValueTable": {
+ "$ref": "MinimumOrderValueTable",
+ "description": "Table of per store minimum order values for the pickup fulfillment type. Cannot be set together with minimum_order_value."
},
"name": {
"description": "Free-form name of the service. Must be unique within target account. Required.",
@@ -9822,17 +9879,17 @@
},
"pickupService": {
"$ref": "PickupCarrierService",
- "description": "The carrier-service pair delivering items to collection points. The list of supported pickup services can be retrieved via the getSupportedPickupServices method. Required if and only if the service delivery type is pickup."
+ "description": "The carrier-service pair delivering items to collection points. The list of supported pickup services can be retrieved via the `getSupportedPickupServices` method. Required if and only if the service delivery type is `pickup`."
},
"rateGroups": {
- "description": "Shipping rate group definitions. Only the last one is allowed to have an empty applicableShippingLabels, which means \"everything else\". The other applicableShippingLabels must not overlap.",
+ "description": "Shipping rate group definitions. Only the last one is allowed to have an empty `applicableShippingLabels`, which means \"everything else\". The other `applicableShippingLabels` must not overlap.",
"items": {
"$ref": "RateGroup"
},
"type": "array"
},
"shipmentType": {
- "description": "Type of locations this service ships orders to.\n\nAcceptable values are: \n- \"delivery\" \n- \"pickup\"",
+ "description": "Type of locations this service ships orders to.\n\nAcceptable values are: \n- \"`delivery`\" \n- \"`pickup`\"",
"type": "string"
}
},
@@ -9853,7 +9910,7 @@
"type": "array"
},
"shipmentGroupId": {
- "description": "[required] ID of the shipment group. It is assigned by the merchant in the shipLineItems method and is used to group multiple line items that have the same kind of shipping charges.",
+ "description": "[required] ID of the shipment group. It is assigned by the merchant in the `shipLineItems` method and is used to group multiple line items that have the same kind of shipping charges.",
"type": "string"
}
},
@@ -9888,7 +9945,7 @@
"id": "ShipmentTrackingInfo",
"properties": {
"carrier": {
- "description": "The shipping carrier that handles the package.\n\nAcceptable values are: \n- \"boxtal\" \n- \"bpost\" \n- \"chronopost\" \n- \"colisPrive\" \n- \"colissimo\" \n- \"cxt\" \n- \"deliv\" \n- \"dhl\" \n- \"dpd\" \n- \"dynamex\" \n- \"eCourier\" \n- \"easypost\" \n- \"efw\" \n- \"fedex\" \n- \"fedexSmartpost\" \n- \"geodis\" \n- \"gls\" \n- \"googleCourier\" \n- \"gsx\" \n- \"jdLogistics\" \n- \"laPoste\" \n- \"lasership\" \n- \"manual\" \n- \"mpx\" \n- \"onTrac\" \n- \"other\" \n- \"tnt\" \n- \"uds\" \n- \"ups\" \n- \"usps\"",
+ "description": "The shipping carrier that handles the package.\n\nAcceptable values are: \n- \"`boxtal`\" \n- \"`bpost`\" \n- \"`chronopost`\" \n- \"`colisPrive`\" \n- \"`colissimo`\" \n- \"`cxt`\" \n- \"`deliv`\" \n- \"`dhl`\" \n- \"`dpd`\" \n- \"`dynamex`\" \n- \"`eCourier`\" \n- \"`easypost`\" \n- \"`efw`\" \n- \"`fedex`\" \n- \"`fedexSmartpost`\" \n- \"`geodis`\" \n- \"`gls`\" \n- \"`googleCourier`\" \n- \"`gsx`\" \n- \"`jdLogistics`\" \n- \"`laPoste`\" \n- \"`lasership`\" \n- \"`manual`\" \n- \"`mpx`\" \n- \"`onTrac`\" \n- \"`other`\" \n- \"`tnt`\" \n- \"`uds`\" \n- \"`ups`\" \n- \"`usps`\"",
"type": "string"
},
"trackingNumber": {
@@ -9908,7 +9965,7 @@
"type": "string"
},
"postalCodeGroups": {
- "description": "A list of postal code groups that can be referred to in services. Optional.",
+ "description": "A list of postal code groups that can be referred to in `services`. Optional.",
"items": {
"$ref": "PostalCodeGroup"
},
@@ -9957,12 +10014,12 @@
"type": "string"
},
"method": {
- "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"get\" \n- \"update\"",
+ "description": "The method of the batch entry.\n\nAcceptable values are: \n- \"`get`\" \n- \"`update`\"",
"type": "string"
},
"shippingSettings": {
"$ref": "ShippingSettings",
- "description": "The account shipping settings to update. Only defined if the method is update."
+ "description": "The account shipping settings to update. Only defined if the method is `update`."
}
},
"type": "object"
@@ -10000,7 +10057,7 @@
},
"kind": {
"default": "content#shippingsettingsCustomBatchResponseEntry",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#shippingsettingsCustomBatchResponseEntry\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#shippingsettingsCustomBatchResponseEntry`\"",
"type": "string"
},
"shippingSettings": {
@@ -10101,7 +10158,7 @@
"description": "Headers of the table's rows. Required."
},
"rows": {
- "description": "The list of rows that constitute the table. Must have the same length as rowHeaders. Required.",
+ "description": "The list of rows that constitute the table. Must have the same length as `rowHeaders`. Required.",
"items": {
"$ref": "Row"
},
@@ -10128,7 +10185,7 @@
},
"kind": {
"default": "content#testOrder",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#testOrder\".",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#testOrder`\"",
"type": "string"
},
"lineItems": {
@@ -10144,7 +10201,7 @@
"type": "array"
},
"notificationMode": {
- "description": "Determines if test order must be pulled by merchant or pushed to merchant via push integration.\n\nAcceptable values are: \n- \"checkoutIntegration\" \n- \"merchantPull\"",
+ "description": "Restricted. Do not use.",
"type": "string"
},
"paymentMethod": {
@@ -10157,11 +10214,11 @@
"content.orders.createtestorder"
]
},
- "description": "Required. Identifier of one of the predefined delivery addresses for the delivery.\n\nAcceptable values are: \n- \"dwight\" \n- \"jim\" \n- \"pam\"",
+ "description": "Required. Identifier of one of the predefined delivery addresses for the delivery.\n\nAcceptable values are: \n- \"`dwight`\" \n- \"`jim`\" \n- \"`pam`\"",
"type": "string"
},
"predefinedPickupDetails": {
- "description": "Identifier of one of the predefined pickup details. Required for orders containing line items with shipping type pickup.\n\nAcceptable values are: \n- \"dwight\" \n- \"jim\" \n- \"pam\"",
+ "description": "Identifier of one of the predefined pickup details. Required for orders containing line items with shipping type `pickup`.\n\nAcceptable values are: \n- \"`dwight`\" \n- \"`jim`\" \n- \"`pam`\"",
"type": "string"
},
"promotions": {
@@ -10190,7 +10247,7 @@
"content.orders.createtestorder"
]
},
- "description": "Required. The requested shipping option.\n\nAcceptable values are: \n- \"economy\" \n- \"expedited\" \n- \"oneDay\" \n- \"sameDay\" \n- \"standard\" \n- \"twoDay\"",
+ "description": "Required. The requested shipping option.\n\nAcceptable values are: \n- \"`economy`\" \n- \"`expedited`\" \n- \"`oneDay`\" \n- \"`sameDay`\" \n- \"`standard`\" \n- \"`twoDay`\"",
"type": "string"
}
},
@@ -10205,7 +10262,7 @@
"content.orders.createtestorder"
]
},
- "description": "Required. Email address of the customer.\n\nAcceptable values are: \n- \"pog.dwight.schrute@gmail.com\" \n- \"pog.jim.halpert@gmail.com\" \n- \"penpog.pam.beesly@gmail.comding\"",
+ "description": "Required. Email address of the customer.\n\nAcceptable values are: \n- \"`pog.dwight.schrute@gmail.com`\" \n- \"`pog.jim.halpert@gmail.com`\" \n- \"`penpog.pam.beesly@gmail.comding`\"",
"type": "string"
},
"explicitMarketingPreference": {
@@ -10227,7 +10284,7 @@
"id": "TestOrderCustomerMarketingRightsInfo",
"properties": {
"explicitMarketingPreference": {
- "description": "Last know user use selection regards marketing preferences. In certain cases selection might not be known, so this field would be empty.\n\nAcceptable values are: \n- \"denied\" \n- \"granted\"",
+ "description": "Last know user use selection regards marketing preferences. In certain cases selection might not be known, so this field would be empty.\n\nAcceptable values are: \n- \"`denied`\" \n- \"`granted`\"",
"type": "string"
},
"lastUpdatedTimestamp": {
@@ -10292,7 +10349,7 @@
"type": "string"
},
"channel": {
- "description": "Deprecated.\n\nAcceptable values are: \n- \"online\"",
+ "description": "Deprecated.\n\nAcceptable values are: \n- \"`online`\"",
"type": "string"
},
"condition": {
@@ -10301,7 +10358,7 @@
"content.orders.createtestorder"
]
},
- "description": "Required. Condition or state of the item.\n\nAcceptable values are: \n- \"new\"",
+ "description": "Required. Condition or state of the item.\n\nAcceptable values are: \n- \"`new`\"",
"type": "string"
},
"contentLanguage": {
@@ -10310,7 +10367,7 @@
"content.orders.createtestorder"
]
},
- "description": "Required. The two-letter ISO 639-1 language code for the item.\n\nAcceptable values are: \n- \"en\" \n- \"fr\"",
+ "description": "Required. The two-letter ISO 639-1 language code for the item.\n\nAcceptable values are: \n- \"`en`\" \n- \"`fr`\"",
"type": "string"
},
"fees": {
@@ -10405,11 +10462,11 @@
"type": "string"
},
"predefinedBillingAddress": {
- "description": "The billing address.\n\nAcceptable values are: \n- \"dwight\" \n- \"jim\" \n- \"pam\"",
+ "description": "The billing address.\n\nAcceptable values are: \n- \"`dwight`\" \n- \"`jim`\" \n- \"`pam`\"",
"type": "string"
},
"type": {
- "description": "The type of instrument. Note that real orders might have different values than the four values accepted by createTestOrder.\n\nAcceptable values are: \n- \"AMEX\" \n- \"DISCOVER\" \n- \"MASTERCARD\" \n- \"VISA\"",
+ "description": "The type of instrument. Note that real orders might have different values than the four values accepted by `createTestOrder`.\n\nAcceptable values are: \n- \"`AMEX`\" \n- \"`DISCOVER`\" \n- \"`MASTERCARD`\" \n- \"`VISA`\"",
"type": "string"
}
},
@@ -10419,7 +10476,7 @@
"id": "TransitTable",
"properties": {
"postalCodeGroupNames": {
- "description": "A list of postal group names. The last value can be \"all other locations\". Example: [\"zone 1\", \"zone 2\", \"all other locations\"]. The referred postal code groups must match the delivery country of the service.",
+ "description": "A list of postal group names. The last value can be `\"all other locations\"`. Example: `[\"zone 1\", \"zone 2\", \"all other locations\"]`. The referred postal code groups must match the delivery country of the service.",
"items": {
"type": "string"
},
@@ -10432,7 +10489,7 @@
"type": "array"
},
"transitTimeLabels": {
- "description": "A list of transit time labels. The last value can be \"all other labels\". Example: [\"food\", \"electronics\", \"all other labels\"].",
+ "description": "A list of transit time labels. The last value can be `\"all other labels\"`. Example: `[\"food\", \"electronics\", \"all other labels\"]`.",
"items": {
"type": "string"
},
@@ -10457,7 +10514,7 @@
"id": "TransitTableTransitTimeRowTransitTimeValue",
"properties": {
"maxTransitTimeInDays": {
- "description": "Must be greater than or equal to minTransitTimeInDays.",
+ "description": "Must be greater than or equal to `minTransitTimeInDays`.",
"format": "uint32",
"type": "integer"
},
@@ -10515,7 +10572,7 @@
"type": "array"
},
"type": {
- "description": "[required] Type of the additional charge.\n\nAcceptable values are: \n- \"shipping\"",
+ "description": "[required] Type of the additional charge.\n\nAcceptable values are: \n- \"`shipping`\"",
"type": "string"
}
},
@@ -10529,18 +10586,18 @@
"description": "[required] Tax amount for the tax type."
},
"taxName": {
- "description": "Optional name of the tax type. This should only be provided if taxType is otherFeeTax.",
+ "description": "Optional name of the tax type. This should only be provided if `taxType` is `otherFeeTax`.",
"type": "string"
},
"taxType": {
- "description": "[required] Type of the tax.\n\nAcceptable values are: \n- \"otherFee\" \n- \"otherFeeTax\" \n- \"sales\"",
+ "description": "[required] Type of the tax.\n\nAcceptable values are: \n- \"`otherFee`\" \n- \"`otherFeeTax`\" \n- \"`sales`\"",
"type": "string"
}
},
"type": "object"
},
"Value": {
- "description": "The single value of a rate group or the value of a rate group table's cell. Exactly one of noShipping, flatRate, pricePercentage, carrierRateName, subtableName must be set.",
+ "description": "The single value of a rate group or the value of a rate group table's cell. Exactly one of `noShipping`, `flatRate`, `pricePercentage`, `carrierRateName`, `subtableName` must be set.",
"id": "Value",
"properties": {
"carrierRateName": {
@@ -10556,7 +10613,7 @@
"type": "boolean"
},
"pricePercentage": {
- "description": "A percentage of the price represented as a number in decimal notation (e.g., \"5.4\"). Can only be set if all other fields are not set.",
+ "description": "A percentage of the price represented as a number in decimal notation (e.g., `\"5.4\"`). Can only be set if all other fields are not set.",
"type": "string"
},
"subtableName": {
@@ -10570,7 +10627,7 @@
"id": "Weight",
"properties": {
"unit": {
- "description": "Required. The weight unit.\n\nAcceptable values are: \n- \"kg\" \n- \"lb\"",
+ "description": "Required. The weight unit.\n\nAcceptable values are: \n- \"`kg`\" \n- \"`lb`\"",
"type": "string"
},
"value": {
diff --git a/etc/api/customsearch/v1/customsearch-api.json b/etc/api/customsearch/v1/customsearch-api.json
index 50379d8ce9..581de72dfb 100644
--- a/etc/api/customsearch/v1/customsearch-api.json
+++ b/etc/api/customsearch/v1/customsearch-api.json
@@ -1,33 +1,60 @@
{
- "basePath": "/customsearch/",
- "baseUrl": "https://www.googleapis.com/customsearch/",
- "batchPath": "batch/customsearch/v1",
+ "basePath": "",
+ "baseUrl": "https://customsearch.googleapis.com/",
+ "batchPath": "batch",
"description": "Searches over a website or collection of websites",
"discoveryVersion": "v1",
- "documentationLink": "https://developers.google.com/custom-search/v1/using_rest",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/DuDrBlvHLFXE8uorI6UhfoH-kUs\"",
+ "documentationLink": "https://developers.google.com/custom-search/v1/introduction",
"icons": {
- "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
- "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"id": "customsearch:v1",
"kind": "discovery#restDescription",
+ "mtlsRootUrl": "https://customsearch.mtls.googleapis.com/",
"name": "customsearch",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "alt": {
- "default": "json",
- "description": "Data format for the response.",
+ "$.xgafv": {
+ "description": "V1 error format.",
"enum": [
- "json"
+ "1",
+ "2"
],
"enumDescriptions": [
- "Responses with Content-Type of application/json"
+ "v1 error format",
+ "v2 error format"
],
"location": "query",
"type": "string"
},
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "alt": {
+ "default": "json",
+ "description": "Data format for response.",
+ "enum": [
+ "json",
+ "media",
+ "proto"
+ ],
+ "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",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
@@ -50,12 +77,17 @@
"type": "boolean"
},
"quotaUser": {
- "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
+ "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",
"type": "string"
},
- "userIp": {
- "description": "Deprecated. Please use quotaUser instead.",
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
}
@@ -65,118 +97,93 @@
"cse": {
"methods": {
"list": {
- "description": "Returns metadata about the search performed, metadata about the custom search engine used for the search, and the search results.",
+ "description": "Returns metadata about the search performed, metadata about the custom\nsearch engine used for the search, and the search results.",
+ "flatPath": "customsearch/v1",
"httpMethod": "GET",
"id": "search.cse.list",
- "parameterOrder": [
- "q"
- ],
+ "parameterOrder": [],
"parameters": {
"c2coff": {
- "description": "Turns off the translation between zh-CN and zh-TW.",
+ "description": "Enables or disables [Simplified and Traditional Chinese\nSearch](https://developers.google.com/custom-search/docs/xml_results#chineseSearch).\n\nThe default value for this parameter is 0 (zero), meaning that the feature\nis enabled. Supported values are:\n\n* `1`: Disabled\n\n* `0`: Enabled (default)",
"location": "query",
"type": "string"
},
"cr": {
- "description": "Country restrict(s).",
+ "description": "Restricts search results to documents originating in a particular country.\nYou may use [Boolean\noperators](https://developers.google.com/custom-search/docs/xml_results_appendices#booleanOperators)\nin the cr parameter's value.\n\nGoogle Search determines the country of a document by analyzing:\n\n* the top-level domain (TLD) of the document's URL\n\n* the geographic location of the Web server's IP address\n\nSee the [Country Parameter\nValues](https://developers.google.com/custom-search/docs/xml_results_appendices#countryCollections)\npage for a list of valid values for this parameter.",
"location": "query",
"type": "string"
},
"cx": {
- "description": "The custom search engine ID to scope this search query",
+ "description": "The custom search engine ID to use for this request.",
"location": "query",
"type": "string"
},
"dateRestrict": {
- "description": "Specifies all search results are from a time period",
+ "description": "Restricts results to URLs based on date. Supported values include:\n\n* `d[number]`: requests results from the specified number of past days.\n\n* `w[number]`: requests results from the specified number of past weeks.\n\n* `m[number]`: requests results from the specified number of past months.\n\n* `y[number]`: requests results from the specified number of past years.",
"location": "query",
"type": "string"
},
"exactTerms": {
- "description": "Identifies a phrase that all documents in the search results must contain",
+ "description": "Identifies a phrase that all documents in the search results must contain.",
"location": "query",
"type": "string"
},
"excludeTerms": {
- "description": "Identifies a word or phrase that should not appear in any documents in the search results",
+ "description": "Identifies a word or phrase that should not appear in any documents in the\nsearch results.",
"location": "query",
"type": "string"
},
"fileType": {
- "description": "Returns images of a specified type. Some of the allowed values are: bmp, gif, png, jpg, svg, pdf, ...",
+ "description": "Restricts results to files of a specified extension. A list of file types\nindexable by Google can be found in Search Console [Help\nCenter](https://support.google.com/webmasters/answer/35287).",
"location": "query",
"type": "string"
},
"filter": {
- "description": "Controls turning on or off the duplicate content filter.",
- "enum": [
- "0",
- "1"
- ],
- "enumDescriptions": [
- "Turns off duplicate content filter.",
- "Turns on duplicate content filter."
- ],
+ "description": "Controls turning on or off the duplicate content filter.\n\n* See [Automatic\nFiltering](https://developers.google.com/custom-search/docs/xml_results#automaticFiltering)\nfor more information about Google's search results filters. Note that host\ncrowding filtering applies only to multi-site searches.\n\n* By default, Google applies filtering to all search results to improve the\nquality of those results.\n\nAcceptable values are:\n\n* `0`: Turns off duplicate content filter.\n\n* `1`: Turns on duplicate content filter.",
"location": "query",
"type": "string"
},
"gl": {
- "description": "Geolocation of end user.",
+ "description": "Geolocation of end user.\n\n* The `gl` parameter value is a two-letter country code. The `gl` parameter\nboosts search results whose country of origin matches the parameter value.\nSee the [Country\nCodes](https://developers.google.com/custom-search/docs/xml_results_appendices#countryCodes)\npage for a list of valid values.\n\n* Specifying a `gl` parameter value should lead to more relevant results.\nThis is particularly true for international customers and, even more\nspecifically, for customers in English- speaking countries other than the\nUnited States.",
"location": "query",
"type": "string"
},
"googlehost": {
- "description": "The local Google domain to use to perform the search.",
+ "description": "**Deprecated**. Use the `gl` parameter for a similar effect.\n\nThe local Google domain (for example, google.com, google.de, or\ngoogle.fr) to use to perform the search.",
"location": "query",
"type": "string"
},
"highRange": {
- "description": "Creates a range in form as_nlo value..as_nhi value and attempts to append it to query",
+ "description": "Specifies the ending value for a search range.\n\n* Use `lowRange` and `highRange` to append an inclusive search range of\n`lowRange...highRange` to the query.",
"location": "query",
"type": "string"
},
"hl": {
- "description": "Sets the user interface language.",
+ "description": "Sets the user interface language.\n\n* Explicitly setting this parameter improves the performance and the\nquality of your search results.\n\n* See the [Interface\nLanguages](https://developers.google.com/custom-search/docs/xml_results#wsInterfaceLanguages)\nsection of [Internationalizing Queries and Results\nPresentation](https://developers.google.com/custom-search/docs/xml_results#wsInternationalizing)\nfor more information, and (Supported Interface\nLanguages)[https://developers.google.com/custom-search/docs/xml_results_appendices#interfaceLanguages]\nfor a list of supported languages.",
"location": "query",
"type": "string"
},
"hq": {
- "description": "Appends the extra query terms to the query.",
+ "description": "Appends the specified query terms to the query, as if they were combined\nwith a logical AND operator.",
"location": "query",
"type": "string"
},
"imgColorType": {
- "description": "Returns black and white, grayscale, or color images: mono, gray, and color.",
+ "description": "Returns black and white, grayscale, transparent, or color images.\nAcceptable values are:\n\n* `\"color\"`\n\n* `\"gray\"`\n\n* `\"mono\"`: black and white\n\n* `\"trans\"`: transparent background",
"enum": [
- "color",
+ "imgColorTypeUndefined",
+ "mono",
"gray",
- "mono"
- ],
- "enumDescriptions": [
"color",
- "gray",
- "mono"
+ "trans"
],
"location": "query",
"type": "string"
},
"imgDominantColor": {
- "description": "Returns images of a specific dominant color: red, orange, yellow, green, teal, blue, purple, pink, white, gray, black and brown.",
+ "description": "Returns images of a specific dominant color. Acceptable values are:\n\n* `\"black\"`\n\n* `\"blue\"`\n\n* `\"brown\"`\n\n* `\"gray\"`\n\n* `\"green\"`\n\n* `\"orange\"`\n\n* `\"pink\"`\n\n* `\"purple\"`\n\n* `\"red\"`\n\n* `\"teal\"`\n\n* `\"white\"`\n\n* `\"yellow\"`",
"enum": [
- "black",
- "blue",
- "brown",
- "gray",
- "green",
- "orange",
- "pink",
- "purple",
- "red",
- "teal",
- "white",
- "yellow"
- ],
- "enumDescriptions": [
+ "imgDominantColorUndefined",
"black",
"blue",
"brown",
@@ -194,224 +201,124 @@
"type": "string"
},
"imgSize": {
- "description": "Returns images of a specified size, where size can be one of: icon, small, medium, large, xlarge, xxlarge, and huge.",
+ "description": "Returns images of a specified size. Acceptable values are:\n\n* `\"huge\"`\n\n* `\"icon\"`\n\n* `\"large\"`\n\n* `\"medium\"`\n\n* `\"small\"`\n\n* `\"xlarge\"`\n\n* `\"xxlarge\"`",
"enum": [
- "huge",
- "icon",
- "large",
- "medium",
- "small",
- "xlarge",
- "xxlarge"
- ],
- "enumDescriptions": [
- "huge",
- "icon",
- "large",
- "medium",
- "small",
- "xlarge",
- "xxlarge"
+ "imgSizeUndefined",
+ "HUGE",
+ "ICON",
+ "LARGE",
+ "MEDIUM",
+ "SMALL",
+ "XLARGE",
+ "XXLARGE"
],
"location": "query",
"type": "string"
},
"imgType": {
- "description": "Returns images of a type, which can be one of: clipart, face, lineart, news, and photo.",
+ "description": "Returns images of a type. Acceptable values are:\n\n* `\"clipart\"`\n\n* `\"face\"`\n\n* `\"lineart\"`\n\n* `\"stock\"`\n\n* `\"photo\"`\n\n* `\"animated\"`",
"enum": [
+ "imgTypeUndefined",
"clipart",
"face",
"lineart",
- "news",
- "photo"
- ],
- "enumDescriptions": [
- "clipart",
- "face",
- "lineart",
- "news",
- "photo"
+ "stock",
+ "photo",
+ "animated"
],
"location": "query",
"type": "string"
},
"linkSite": {
- "description": "Specifies that all search results should contain a link to a particular URL",
+ "description": "Specifies that all search results should contain a link to a particular\nURL.",
"location": "query",
"type": "string"
},
"lowRange": {
- "description": "Creates a range in form as_nlo value..as_nhi value and attempts to append it to query",
+ "description": "Specifies the starting value for a search range. Use `lowRange` and\n`highRange` to append an inclusive search range of `lowRange...highRange`\nto the query.",
"location": "query",
"type": "string"
},
"lr": {
- "description": "The language restriction for the search results",
- "enum": [
- "lang_ar",
- "lang_bg",
- "lang_ca",
- "lang_cs",
- "lang_da",
- "lang_de",
- "lang_el",
- "lang_en",
- "lang_es",
- "lang_et",
- "lang_fi",
- "lang_fr",
- "lang_hr",
- "lang_hu",
- "lang_id",
- "lang_is",
- "lang_it",
- "lang_iw",
- "lang_ja",
- "lang_ko",
- "lang_lt",
- "lang_lv",
- "lang_nl",
- "lang_no",
- "lang_pl",
- "lang_pt",
- "lang_ro",
- "lang_ru",
- "lang_sk",
- "lang_sl",
- "lang_sr",
- "lang_sv",
- "lang_tr",
- "lang_zh-CN",
- "lang_zh-TW"
- ],
- "enumDescriptions": [
- "Arabic",
- "Bulgarian",
- "Catalan",
- "Czech",
- "Danish",
- "German",
- "Greek",
- "English",
- "Spanish",
- "Estonian",
- "Finnish",
- "French",
- "Croatian",
- "Hungarian",
- "Indonesian",
- "Icelandic",
- "Italian",
- "Hebrew",
- "Japanese",
- "Korean",
- "Lithuanian",
- "Latvian",
- "Dutch",
- "Norwegian",
- "Polish",
- "Portuguese",
- "Romanian",
- "Russian",
- "Slovak",
- "Slovenian",
- "Serbian",
- "Swedish",
- "Turkish",
- "Chinese (Simplified)",
- "Chinese (Traditional)"
- ],
+ "description": "Restricts the search to documents written in a particular language (e.g.,\n`lr=lang_ja`).\n\nAcceptable values are:\n\n* `\"lang_ar\"`: Arabic\n\n* `\"lang_bg\"`: Bulgarian\n\n* `\"lang_ca\"`: Catalan\n\n* `\"lang_cs\"`: Czech\n\n* `\"lang_da\"`: Danish\n\n* `\"lang_de\"`: German\n\n* `\"lang_el\"`: Greek\n\n* `\"lang_en\"`: English\n\n* `\"lang_es\"`: Spanish\n\n* `\"lang_et\"`: Estonian\n\n* `\"lang_fi\"`: Finnish\n\n* `\"lang_fr\"`: French\n\n* `\"lang_hr\"`: Croatian\n\n* `\"lang_hu\"`: Hungarian\n\n* `\"lang_id\"`: Indonesian\n\n* `\"lang_is\"`: Icelandic\n\n* `\"lang_it\"`: Italian\n\n* `\"lang_iw\"`: Hebrew\n\n* `\"lang_ja\"`: Japanese\n\n* `\"lang_ko\"`: Korean\n\n* `\"lang_lt\"`: Lithuanian\n\n* `\"lang_lv\"`: Latvian\n\n* `\"lang_nl\"`: Dutch\n\n* `\"lang_no\"`: Norwegian\n\n* `\"lang_pl\"`: Polish\n\n* `\"lang_pt\"`: Portuguese\n\n* `\"lang_ro\"`: Romanian\n\n* `\"lang_ru\"`: Russian\n\n* `\"lang_sk\"`: Slovak\n\n* `\"lang_sl\"`: Slovenian\n\n* `\"lang_sr\"`: Serbian\n\n* `\"lang_sv\"`: Swedish\n\n* `\"lang_tr\"`: Turkish\n\n* `\"lang_zh-CN\"`: Chinese (Simplified)\n\n* `\"lang_zh-TW\"`: Chinese (Traditional)",
"location": "query",
"type": "string"
},
"num": {
- "default": "10",
- "description": "Number of search results to return",
- "format": "uint32",
+ "description": "Number of search results to return.\n\n* Valid values are integers between 1 and 10, inclusive.",
+ "format": "int32",
"location": "query",
"type": "integer"
},
"orTerms": {
- "description": "Provides additional search terms to check for in a document, where each document in the search results must contain at least one of the additional search terms",
+ "description": "Provides additional search terms to check for in a document, where each\ndocument in the search results must contain at least one of the additional\nsearch terms.",
"location": "query",
"type": "string"
},
"q": {
"description": "Query",
"location": "query",
- "required": true,
"type": "string"
},
"relatedSite": {
- "description": "Specifies that all search results should be pages that are related to the specified URL",
+ "description": "Specifies that all search results should be pages that are related to the\nspecified URL.",
"location": "query",
"type": "string"
},
"rights": {
- "description": "Filters based on licensing. Supported values include: cc_publicdomain, cc_attribute, cc_sharealike, cc_noncommercial, cc_nonderived and combinations of these.",
+ "description": "Filters based on licensing. Supported values include: `cc_publicdomain`,\n`cc_attribute`, `cc_sharealike`, `cc_noncommercial`, `cc_nonderived` and\ncombinations of these. See [typical\ncombinations](https://wiki.creativecommons.org/wiki/CC_Search_integration).",
"location": "query",
"type": "string"
},
"safe": {
- "default": "off",
- "description": "Search safety level",
+ "description": "Search safety level. Acceptable values are:\n\n* `\"active\"`: Enables SafeSearch filtering.\n\n* `\"off\"`: Disables SafeSearch filtering. (default)",
"enum": [
+ "safeUndefined",
"active",
"high",
"medium",
"off"
],
- "enumDescriptions": [
- "Enables safe search filtering.",
- "(Deprecated) Same as active.",
- "(Deprecated) Same as active.",
- "Disables safe search filtering."
- ],
"location": "query",
"type": "string"
},
"searchType": {
- "description": "Specifies the search type: image.",
+ "description": "Specifies the search type: `image`. If unspecified, results are limited to\nwebpages.\n\nAcceptable values are:\n\n* `\"image\"`: custom image search.",
"enum": [
+ "searchTypeUndefined",
"image"
],
- "enumDescriptions": [
- "custom image search"
- ],
"location": "query",
"type": "string"
},
"siteSearch": {
- "description": "Specifies all search results should be pages from a given site",
+ "description": "Specifies a given site which should always be included or excluded from\nresults (see `siteSearchFilter` parameter, below).",
"location": "query",
"type": "string"
},
"siteSearchFilter": {
- "description": "Controls whether to include or exclude results from the site named in the as_sitesearch parameter",
+ "description": "Controls whether to include or exclude results from the site named in the\n`siteSearch` parameter.\n\nAcceptable values are:\n\n* `\"e\"`: exclude\n\n* `\"i\"`: include",
"enum": [
+ "siteSearchFilterUndefined",
"e",
"i"
],
- "enumDescriptions": [
- "exclude",
- "include"
- ],
"location": "query",
"type": "string"
},
"sort": {
- "description": "The sort expression to apply to the results",
+ "description": "The sort expression to apply to the results.",
"location": "query",
"type": "string"
},
"start": {
- "description": "The index of the first result to return",
+ "description": "The index of the first result to return. The default number of results per\npage is 10, so `&start=11` would start at the top of the second page of\nresults. **Note**: The JSON API will never return more than 100 results,\neven if more than 100 documents match the query, so setting the sum of\n`start + num` to a number greater than 100 will produce an error. Also note\nthat the maximum value for `num` is 10.",
"format": "uint32",
"location": "query",
"type": "integer"
}
},
- "path": "v1",
+ "path": "customsearch/v1",
"response": {
"$ref": "Search"
}
@@ -421,118 +328,93 @@
"siterestrict": {
"methods": {
"list": {
- "description": "Returns metadata about the search performed, metadata about the custom search engine used for the search, and the search results. Uses a small set of url patterns.",
+ "description": "Returns metadata about the search performed, metadata about the custom\nsearch engine used for the search, and the search results. Uses a small set\nof url patterns.",
+ "flatPath": "customsearch/v1/siterestrict",
"httpMethod": "GET",
"id": "search.cse.siterestrict.list",
- "parameterOrder": [
- "q"
- ],
+ "parameterOrder": [],
"parameters": {
"c2coff": {
- "description": "Turns off the translation between zh-CN and zh-TW.",
+ "description": "Enables or disables [Simplified and Traditional Chinese\nSearch](https://developers.google.com/custom-search/docs/xml_results#chineseSearch).\n\nThe default value for this parameter is 0 (zero), meaning that the feature\nis enabled. Supported values are:\n\n* `1`: Disabled\n\n* `0`: Enabled (default)",
"location": "query",
"type": "string"
},
"cr": {
- "description": "Country restrict(s).",
+ "description": "Restricts search results to documents originating in a particular country.\nYou may use [Boolean\noperators](https://developers.google.com/custom-search/docs/xml_results_appendices#booleanOperators)\nin the cr parameter's value.\n\nGoogle Search determines the country of a document by analyzing:\n\n* the top-level domain (TLD) of the document's URL\n\n* the geographic location of the Web server's IP address\n\nSee the [Country Parameter\nValues](https://developers.google.com/custom-search/docs/xml_results_appendices#countryCollections)\npage for a list of valid values for this parameter.",
"location": "query",
"type": "string"
},
"cx": {
- "description": "The custom search engine ID to scope this search query",
+ "description": "The custom search engine ID to use for this request.",
"location": "query",
"type": "string"
},
"dateRestrict": {
- "description": "Specifies all search results are from a time period",
+ "description": "Restricts results to URLs based on date. Supported values include:\n\n* `d[number]`: requests results from the specified number of past days.\n\n* `w[number]`: requests results from the specified number of past weeks.\n\n* `m[number]`: requests results from the specified number of past months.\n\n* `y[number]`: requests results from the specified number of past years.",
"location": "query",
"type": "string"
},
"exactTerms": {
- "description": "Identifies a phrase that all documents in the search results must contain",
+ "description": "Identifies a phrase that all documents in the search results must contain.",
"location": "query",
"type": "string"
},
"excludeTerms": {
- "description": "Identifies a word or phrase that should not appear in any documents in the search results",
+ "description": "Identifies a word or phrase that should not appear in any documents in the\nsearch results.",
"location": "query",
"type": "string"
},
"fileType": {
- "description": "Returns images of a specified type. Some of the allowed values are: bmp, gif, png, jpg, svg, pdf, ...",
+ "description": "Restricts results to files of a specified extension. A list of file types\nindexable by Google can be found in Search Console [Help\nCenter](https://support.google.com/webmasters/answer/35287).",
"location": "query",
"type": "string"
},
"filter": {
- "description": "Controls turning on or off the duplicate content filter.",
- "enum": [
- "0",
- "1"
- ],
- "enumDescriptions": [
- "Turns off duplicate content filter.",
- "Turns on duplicate content filter."
- ],
+ "description": "Controls turning on or off the duplicate content filter.\n\n* See [Automatic\nFiltering](https://developers.google.com/custom-search/docs/xml_results#automaticFiltering)\nfor more information about Google's search results filters. Note that host\ncrowding filtering applies only to multi-site searches.\n\n* By default, Google applies filtering to all search results to improve the\nquality of those results.\n\nAcceptable values are:\n\n* `0`: Turns off duplicate content filter.\n\n* `1`: Turns on duplicate content filter.",
"location": "query",
"type": "string"
},
"gl": {
- "description": "Geolocation of end user.",
+ "description": "Geolocation of end user.\n\n* The `gl` parameter value is a two-letter country code. The `gl` parameter\nboosts search results whose country of origin matches the parameter value.\nSee the [Country\nCodes](https://developers.google.com/custom-search/docs/xml_results_appendices#countryCodes)\npage for a list of valid values.\n\n* Specifying a `gl` parameter value should lead to more relevant results.\nThis is particularly true for international customers and, even more\nspecifically, for customers in English- speaking countries other than the\nUnited States.",
"location": "query",
"type": "string"
},
"googlehost": {
- "description": "The local Google domain to use to perform the search.",
+ "description": "**Deprecated**. Use the `gl` parameter for a similar effect.\n\nThe local Google domain (for example, google.com, google.de, or\ngoogle.fr) to use to perform the search.",
"location": "query",
"type": "string"
},
"highRange": {
- "description": "Creates a range in form as_nlo value..as_nhi value and attempts to append it to query",
+ "description": "Specifies the ending value for a search range.\n\n* Use `lowRange` and `highRange` to append an inclusive search range of\n`lowRange...highRange` to the query.",
"location": "query",
"type": "string"
},
"hl": {
- "description": "Sets the user interface language.",
+ "description": "Sets the user interface language.\n\n* Explicitly setting this parameter improves the performance and the\nquality of your search results.\n\n* See the [Interface\nLanguages](https://developers.google.com/custom-search/docs/xml_results#wsInterfaceLanguages)\nsection of [Internationalizing Queries and Results\nPresentation](https://developers.google.com/custom-search/docs/xml_results#wsInternationalizing)\nfor more information, and (Supported Interface\nLanguages)[https://developers.google.com/custom-search/docs/xml_results_appendices#interfaceLanguages]\nfor a list of supported languages.",
"location": "query",
"type": "string"
},
"hq": {
- "description": "Appends the extra query terms to the query.",
+ "description": "Appends the specified query terms to the query, as if they were combined\nwith a logical AND operator.",
"location": "query",
"type": "string"
},
"imgColorType": {
- "description": "Returns black and white, grayscale, or color images: mono, gray, and color.",
+ "description": "Returns black and white, grayscale, transparent, or color images.\nAcceptable values are:\n\n* `\"color\"`\n\n* `\"gray\"`\n\n* `\"mono\"`: black and white\n\n* `\"trans\"`: transparent background",
"enum": [
- "color",
+ "imgColorTypeUndefined",
+ "mono",
"gray",
- "mono"
- ],
- "enumDescriptions": [
"color",
- "gray",
- "mono"
+ "trans"
],
"location": "query",
"type": "string"
},
"imgDominantColor": {
- "description": "Returns images of a specific dominant color: red, orange, yellow, green, teal, blue, purple, pink, white, gray, black and brown.",
+ "description": "Returns images of a specific dominant color. Acceptable values are:\n\n* `\"black\"`\n\n* `\"blue\"`\n\n* `\"brown\"`\n\n* `\"gray\"`\n\n* `\"green\"`\n\n* `\"orange\"`\n\n* `\"pink\"`\n\n* `\"purple\"`\n\n* `\"red\"`\n\n* `\"teal\"`\n\n* `\"white\"`\n\n* `\"yellow\"`",
"enum": [
- "black",
- "blue",
- "brown",
- "gray",
- "green",
- "orange",
- "pink",
- "purple",
- "red",
- "teal",
- "white",
- "yellow"
- ],
- "enumDescriptions": [
+ "imgDominantColorUndefined",
"black",
"blue",
"brown",
@@ -550,222 +432,124 @@
"type": "string"
},
"imgSize": {
- "description": "Returns images of a specified size, where size can be one of: icon, small, medium, large, xlarge, xxlarge, and huge.",
+ "description": "Returns images of a specified size. Acceptable values are:\n\n* `\"huge\"`\n\n* `\"icon\"`\n\n* `\"large\"`\n\n* `\"medium\"`\n\n* `\"small\"`\n\n* `\"xlarge\"`\n\n* `\"xxlarge\"`",
"enum": [
- "huge",
- "icon",
- "large",
- "medium",
- "small",
- "xlarge",
- "xxlarge"
- ],
- "enumDescriptions": [
- "huge",
- "icon",
- "large",
- "medium",
- "small",
- "xlarge",
- "xxlarge"
+ "imgSizeUndefined",
+ "HUGE",
+ "ICON",
+ "LARGE",
+ "MEDIUM",
+ "SMALL",
+ "XLARGE",
+ "XXLARGE"
],
"location": "query",
"type": "string"
},
"imgType": {
- "description": "Returns images of a type, which can be one of: clipart, face, lineart, news, and photo.",
+ "description": "Returns images of a type. Acceptable values are:\n\n* `\"clipart\"`\n\n* `\"face\"`\n\n* `\"lineart\"`\n\n* `\"stock\"`\n\n* `\"photo\"`\n\n* `\"animated\"`",
"enum": [
+ "imgTypeUndefined",
"clipart",
"face",
"lineart",
- "news",
- "photo"
- ],
- "enumDescriptions": [
- "clipart",
- "face",
- "lineart",
- "news",
- "photo"
+ "stock",
+ "photo",
+ "animated"
],
"location": "query",
"type": "string"
},
"linkSite": {
- "description": "Specifies that all search results should contain a link to a particular URL",
+ "description": "Specifies that all search results should contain a link to a particular\nURL.",
"location": "query",
"type": "string"
},
"lowRange": {
- "description": "Creates a range in form as_nlo value..as_nhi value and attempts to append it to query",
+ "description": "Specifies the starting value for a search range. Use `lowRange` and\n`highRange` to append an inclusive search range of `lowRange...highRange`\nto the query.",
"location": "query",
"type": "string"
},
"lr": {
- "description": "The language restriction for the search results",
- "enum": [
- "lang_ar",
- "lang_bg",
- "lang_ca",
- "lang_cs",
- "lang_da",
- "lang_de",
- "lang_el",
- "lang_en",
- "lang_es",
- "lang_et",
- "lang_fi",
- "lang_fr",
- "lang_hr",
- "lang_hu",
- "lang_id",
- "lang_is",
- "lang_it",
- "lang_iw",
- "lang_ja",
- "lang_ko",
- "lang_lt",
- "lang_lv",
- "lang_nl",
- "lang_no",
- "lang_pl",
- "lang_pt",
- "lang_ro",
- "lang_ru",
- "lang_sk",
- "lang_sl",
- "lang_sr",
- "lang_sv",
- "lang_tr",
- "lang_zh-CN",
- "lang_zh-TW"
- ],
- "enumDescriptions": [
- "Arabic",
- "Bulgarian",
- "Catalan",
- "Czech",
- "Danish",
- "German",
- "Greek",
- "English",
- "Spanish",
- "Estonian",
- "Finnish",
- "French",
- "Croatian",
- "Hungarian",
- "Indonesian",
- "Icelandic",
- "Italian",
- "Hebrew",
- "Japanese",
- "Korean",
- "Lithuanian",
- "Latvian",
- "Dutch",
- "Norwegian",
- "Polish",
- "Portuguese",
- "Romanian",
- "Russian",
- "Slovak",
- "Slovenian",
- "Serbian",
- "Swedish",
- "Turkish",
- "Chinese (Simplified)",
- "Chinese (Traditional)"
- ],
+ "description": "Restricts the search to documents written in a particular language (e.g.,\n`lr=lang_ja`).\n\nAcceptable values are:\n\n* `\"lang_ar\"`: Arabic\n\n* `\"lang_bg\"`: Bulgarian\n\n* `\"lang_ca\"`: Catalan\n\n* `\"lang_cs\"`: Czech\n\n* `\"lang_da\"`: Danish\n\n* `\"lang_de\"`: German\n\n* `\"lang_el\"`: Greek\n\n* `\"lang_en\"`: English\n\n* `\"lang_es\"`: Spanish\n\n* `\"lang_et\"`: Estonian\n\n* `\"lang_fi\"`: Finnish\n\n* `\"lang_fr\"`: French\n\n* `\"lang_hr\"`: Croatian\n\n* `\"lang_hu\"`: Hungarian\n\n* `\"lang_id\"`: Indonesian\n\n* `\"lang_is\"`: Icelandic\n\n* `\"lang_it\"`: Italian\n\n* `\"lang_iw\"`: Hebrew\n\n* `\"lang_ja\"`: Japanese\n\n* `\"lang_ko\"`: Korean\n\n* `\"lang_lt\"`: Lithuanian\n\n* `\"lang_lv\"`: Latvian\n\n* `\"lang_nl\"`: Dutch\n\n* `\"lang_no\"`: Norwegian\n\n* `\"lang_pl\"`: Polish\n\n* `\"lang_pt\"`: Portuguese\n\n* `\"lang_ro\"`: Romanian\n\n* `\"lang_ru\"`: Russian\n\n* `\"lang_sk\"`: Slovak\n\n* `\"lang_sl\"`: Slovenian\n\n* `\"lang_sr\"`: Serbian\n\n* `\"lang_sv\"`: Swedish\n\n* `\"lang_tr\"`: Turkish\n\n* `\"lang_zh-CN\"`: Chinese (Simplified)\n\n* `\"lang_zh-TW\"`: Chinese (Traditional)",
"location": "query",
"type": "string"
},
"num": {
- "default": "10",
- "description": "Number of search results to return",
- "format": "uint32",
+ "description": "Number of search results to return.\n\n* Valid values are integers between 1 and 10, inclusive.",
+ "format": "int32",
"location": "query",
"type": "integer"
},
"orTerms": {
- "description": "Provides additional search terms to check for in a document, where each document in the search results must contain at least one of the additional search terms",
+ "description": "Provides additional search terms to check for in a document, where each\ndocument in the search results must contain at least one of the additional\nsearch terms.",
"location": "query",
"type": "string"
},
"q": {
"description": "Query",
"location": "query",
- "required": true,
"type": "string"
},
"relatedSite": {
- "description": "Specifies that all search results should be pages that are related to the specified URL",
+ "description": "Specifies that all search results should be pages that are related to the\nspecified URL.",
"location": "query",
"type": "string"
},
"rights": {
- "description": "Filters based on licensing. Supported values include: cc_publicdomain, cc_attribute, cc_sharealike, cc_noncommercial, cc_nonderived and combinations of these.",
+ "description": "Filters based on licensing. Supported values include: `cc_publicdomain`,\n`cc_attribute`, `cc_sharealike`, `cc_noncommercial`, `cc_nonderived` and\ncombinations of these. See [typical\ncombinations](https://wiki.creativecommons.org/wiki/CC_Search_integration).",
"location": "query",
"type": "string"
},
"safe": {
- "default": "off",
- "description": "Search safety level",
+ "description": "Search safety level. Acceptable values are:\n\n* `\"active\"`: Enables SafeSearch filtering.\n\n* `\"off\"`: Disables SafeSearch filtering. (default)",
"enum": [
+ "safeUndefined",
+ "active",
"high",
"medium",
"off"
],
- "enumDescriptions": [
- "Enables highest level of safe search filtering.",
- "Enables moderate safe search filtering.",
- "Disables safe search filtering."
- ],
"location": "query",
"type": "string"
},
"searchType": {
- "description": "Specifies the search type: image.",
+ "description": "Specifies the search type: `image`. If unspecified, results are limited to\nwebpages.\n\nAcceptable values are:\n\n* `\"image\"`: custom image search.",
"enum": [
+ "searchTypeUndefined",
"image"
],
- "enumDescriptions": [
- "custom image search"
- ],
"location": "query",
"type": "string"
},
"siteSearch": {
- "description": "Specifies all search results should be pages from a given site",
+ "description": "Specifies a given site which should always be included or excluded from\nresults (see `siteSearchFilter` parameter, below).",
"location": "query",
"type": "string"
},
"siteSearchFilter": {
- "description": "Controls whether to include or exclude results from the site named in the as_sitesearch parameter",
+ "description": "Controls whether to include or exclude results from the site named in the\n`siteSearch` parameter.\n\nAcceptable values are:\n\n* `\"e\"`: exclude\n\n* `\"i\"`: include",
"enum": [
+ "siteSearchFilterUndefined",
"e",
"i"
],
- "enumDescriptions": [
- "exclude",
- "include"
- ],
"location": "query",
"type": "string"
},
"sort": {
- "description": "The sort expression to apply to the results",
+ "description": "The sort expression to apply to the results.",
"location": "query",
"type": "string"
},
"start": {
- "description": "The index of the first result to return",
+ "description": "The index of the first result to return. The default number of results per\npage is 10, so `&start=11` would start at the top of the second page of\nresults. **Note**: The JSON API will never return more than 100 results,\neven if more than 100 documents match the query, so setting the sum of\n`start + num` to a number greater than 100 will produce an error. Also note\nthat the maximum value for `num` is 10.",
"format": "uint32",
"location": "query",
"type": "integer"
}
},
- "path": "v1/siterestrict",
+ "path": "customsearch/v1/siterestrict",
"response": {
"$ref": "Search"
}
@@ -775,54 +559,32 @@
}
}
},
- "revision": "20181001",
- "rootUrl": "https://www.googleapis.com/",
+ "revision": "20200708",
+ "rootUrl": "https://customsearch.googleapis.com/",
"schemas": {
- "Context": {
- "id": "Context",
- "properties": {
- "facets": {
- "items": {
- "items": {
- "properties": {
- "anchor": {
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "label_with_op": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "type": "array"
- },
- "title": {
- "type": "string"
- }
- },
- "type": "object"
- },
"Promotion": {
+ "description": "Promotion result.",
"id": "Promotion",
"properties": {
"bodyLines": {
+ "description": "An array of block objects for this promotion. See [Google WebSearch\nProtocol\nreference](https://developers.google.com/custom-search/docs/xml_results)\nfor more information.",
"items": {
+ "description": "Block object belonging to a promotion.",
"properties": {
"htmlTitle": {
+ "description": "The block object's text in HTML, if it has text.",
"type": "string"
},
"link": {
+ "description": "The anchor text of the block object's link, if it has a link.",
"type": "string"
},
"title": {
+ "description": "The block object's text, if it has text.",
"type": "string"
},
"url": {
+ "description": "The URL of the block object's link, if it has one.",
"type": "string"
}
},
@@ -831,21 +593,27 @@
"type": "array"
},
"displayLink": {
+ "description": "An abridged version of this search's result URL, e.g. www.example.com.",
"type": "string"
},
"htmlTitle": {
+ "description": "The title of the promotion, in HTML.",
"type": "string"
},
"image": {
+ "description": "Image belonging to a promotion.",
"properties": {
"height": {
+ "description": "Image height in pixels.",
"format": "int32",
"type": "integer"
},
"source": {
+ "description": "URL of the image for this promotion link.",
"type": "string"
},
"width": {
+ "description": "Image width in pixels.",
"format": "int32",
"type": "integer"
}
@@ -853,181 +621,81 @@
"type": "object"
},
"link": {
+ "description": "The URL of the promotion.",
"type": "string"
},
"title": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "Query": {
- "id": "Query",
- "properties": {
- "count": {
- "format": "int32",
- "type": "integer"
- },
- "cr": {
- "type": "string"
- },
- "cx": {
- "type": "string"
- },
- "dateRestrict": {
- "type": "string"
- },
- "disableCnTwTranslation": {
- "type": "string"
- },
- "exactTerms": {
- "type": "string"
- },
- "excludeTerms": {
- "type": "string"
- },
- "fileType": {
- "type": "string"
- },
- "filter": {
- "type": "string"
- },
- "gl": {
- "type": "string"
- },
- "googleHost": {
- "type": "string"
- },
- "highRange": {
- "type": "string"
- },
- "hl": {
- "type": "string"
- },
- "hq": {
- "type": "string"
- },
- "imgColorType": {
- "type": "string"
- },
- "imgDominantColor": {
- "type": "string"
- },
- "imgSize": {
- "type": "string"
- },
- "imgType": {
- "type": "string"
- },
- "inputEncoding": {
- "type": "string"
- },
- "language": {
- "type": "string"
- },
- "linkSite": {
- "type": "string"
- },
- "lowRange": {
- "type": "string"
- },
- "orTerms": {
- "type": "string"
- },
- "outputEncoding": {
- "type": "string"
- },
- "relatedSite": {
- "type": "string"
- },
- "rights": {
- "type": "string"
- },
- "safe": {
- "type": "string"
- },
- "searchTerms": {
- "type": "string"
- },
- "searchType": {
- "type": "string"
- },
- "siteSearch": {
- "type": "string"
- },
- "siteSearchFilter": {
- "type": "string"
- },
- "sort": {
- "type": "string"
- },
- "startIndex": {
- "format": "int32",
- "type": "integer"
- },
- "startPage": {
- "format": "int32",
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "totalResults": {
- "format": "int64",
+ "description": "The title of the promotion.",
"type": "string"
}
},
"type": "object"
},
"Result": {
+ "description": "A custom search result.",
"id": "Result",
"properties": {
"cacheId": {
+ "description": "Indicates the ID of Google's cached version of the search result.",
"type": "string"
},
"displayLink": {
+ "description": "An abridged version of this search result\u2019s URL, e.g. www.example.com.",
"type": "string"
},
"fileFormat": {
+ "description": "The file format of the search result.",
"type": "string"
},
"formattedUrl": {
+ "description": "The URL displayed after the snippet for each search result.",
"type": "string"
},
"htmlFormattedUrl": {
+ "description": "The HTML-formatted URL displayed after the snippet for each search result.",
"type": "string"
},
"htmlSnippet": {
+ "description": "The snippet of the search result, in HTML.",
"type": "string"
},
"htmlTitle": {
+ "description": "The title of the search result, in HTML.",
"type": "string"
},
"image": {
+ "description": "Image belonging to a custom search result.",
"properties": {
"byteSize": {
+ "description": "The size of the image, in pixels.",
"format": "int32",
"type": "integer"
},
"contextLink": {
+ "description": "A URL pointing to the webpage hosting the image.",
"type": "string"
},
"height": {
+ "description": "The height of the image, in pixels.",
"format": "int32",
"type": "integer"
},
"thumbnailHeight": {
+ "description": "The height of the thumbnail image, in pixels.",
"format": "int32",
"type": "integer"
},
"thumbnailLink": {
+ "description": "A URL to the thumbnail image.",
"type": "string"
},
"thumbnailWidth": {
+ "description": "The width of the thumbnail image, in pixels.",
"format": "int32",
"type": "integer"
},
"width": {
+ "description": "The width of the image, in pixels.",
"format": "int32",
"type": "integer"
}
@@ -1035,19 +703,24 @@
"type": "object"
},
"kind": {
- "default": "customsearch#result",
+ "description": "A unique identifier for the type of current object. For this API, it is\n`customsearch#result.`",
"type": "string"
},
"labels": {
+ "description": "Encapsulates all information about [refinement\nlabels](https://developers.google.com/custom-search/docs/xml_results).",
"items": {
+ "description": "Refinement label associated with a custom search result.",
"properties": {
"displayName": {
+ "description": "The display name of a refinement label. This is the name you should\ndisplay in your user interface.",
"type": "string"
},
"label_with_op": {
+ "description": "Refinement label and the associated refinement operation.",
"type": "string"
},
"name": {
+ "description": "The name of a refinement label, which you can use to refine searches.\nDon't display this in your user interface; instead, use displayName.",
"type": "string"
}
},
@@ -1056,101 +729,588 @@
"type": "array"
},
"link": {
+ "description": "The full URL to which the search result is pointing, e.g.\nhttp://www.example.com/foo/bar.",
"type": "string"
},
"mime": {
+ "description": "The MIME type of the search result.",
"type": "string"
},
"pagemap": {
"additionalProperties": {
- "items": {
- "additionalProperties": {
- "type": "any"
- },
- "type": "object"
- },
- "type": "array"
+ "description": "Properties of the object.",
+ "type": "any"
},
+ "description": "Contains\n[PageMap](https://developers.google.com/custom-search/docs/structured_data#pagemaps)\ninformation for this search result.",
"type": "object"
},
"snippet": {
+ "description": "The snippet of the search result, in plain text.",
"type": "string"
},
"title": {
+ "description": "The title of the search result, in plain text.",
"type": "string"
}
},
"type": "object"
},
"Search": {
+ "description": "Response to a custom search request.",
"id": "Search",
"properties": {
"context": {
- "$ref": "Context"
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "Metadata and refinements associated with the given search engine,\nincluding:\n\n* The name of the search engine that was used for the query.\n\n* A set of [facet\nobjects](https://developers.google.com/custom-search/docs/refinements#create)\n(refinements) you can use for refining a search.",
+ "type": "object"
},
"items": {
+ "description": "The current set of custom search results.",
"items": {
"$ref": "Result"
},
"type": "array"
},
"kind": {
- "default": "customsearch#search",
+ "description": "Unique identifier for the type of current object. For this API, it is\ncustomsearch#search.",
"type": "string"
},
"promotions": {
+ "description": "The set of\n[promotions](https://developers.google.com/custom-search/docs/promotions).\nPresent only if the custom search engine's configuration files define any\npromotions for the given query.",
"items": {
"$ref": "Promotion"
},
"type": "array"
},
"queries": {
- "additionalProperties": {
- "items": {
- "$ref": "Query"
+ "description": "Query metadata for the previous, current, and next pages of results.",
+ "properties": {
+ "nextPage": {
+ "description": "Metadata representing the next page of results, if applicable.",
+ "items": {
+ "description": "Custom search request metadata.",
+ "properties": {
+ "count": {
+ "description": "Number of search results returned in this set.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "cr": {
+ "description": "Restricts search results to documents originating in a particular\ncountry. You may use [Boolean\noperators](https://developers.google.com/custom-search/docs/xml_results#booleanOperators)\nin the `cr` parameter's value.\n\nGoogle WebSearch determines the country of a document by analyzing the\nfollowing:\n\n* The top-level domain (TLD) of the document's URL.\n\n* The geographic location of the web server's IP address.\n\nSee [Country (cr) Parameter\nValues](https://developers.google.com/custom-search/docs/xml_results#countryCollections)\nfor a list of valid values for this parameter.",
+ "type": "string"
+ },
+ "cx": {
+ "description": "The identifier of a custom search engine created using the Custom Search\n[Control Panel](https://cse.google.com/). This is a custom property not\ndefined in the OpenSearch spec. This parameter is **required**.",
+ "type": "string"
+ },
+ "dateRestrict": {
+ "description": "Restricts results to URLs based on date. Supported values include:\n\n* `d[number]`: requests results from the specified number of past days.\n\n* `w[number]`: requests results from the specified number of past weeks.\n\n* `m[number]`: requests results from the specified number of past months.\n\n* `y[number]`: requests results from the specified number of past years.",
+ "type": "string"
+ },
+ "disableCnTwTranslation": {
+ "description": "Enables or disables the [Simplified and Traditional Chinese\nSearch](https://developers.google.com/custom-search/docs/xml_results#chineseSearch)\nfeature.\n\nSupported values are:\n\n* `0`: enabled (default)\n\n* `1`: disabled",
+ "type": "string"
+ },
+ "exactTerms": {
+ "description": "Identifies a phrase that all documents in the search results must\ncontain.",
+ "type": "string"
+ },
+ "excludeTerms": {
+ "description": "Identifies a word or phrase that should not appear in any documents in\nthe search results.",
+ "type": "string"
+ },
+ "fileType": {
+ "description": "Restricts results to files of a specified extension. Filetypes supported\nby Google include:\n\n* Adobe Portable Document Format (`pdf`)\n\n* Adobe PostScript (`ps`)\n\n* Lotus 1-2-3 (`wk1`, `wk2`, `wk3`, `wk4`, `wk5`, `wki`, `wks`, `wku`)\n\n* Lotus WordPro (`lwp`)\n\n* Macwrite (`mw`)\n\n* Microsoft Excel (`xls`)\n\n* Microsoft PowerPoint (`ppt`)\n\n* Microsoft Word (`doc`)\n\n* Microsoft Works (`wks`, `wps`, `wdb`)\n\n* Microsoft Write (`wri`)\n\n* Rich Text Format (`rtf`)\n\n* Shockwave Flash (`swf`)\n\n* Text (`ans`, `txt`).\n\nAdditional filetypes may be added in the future. An up-to-date list can\nalways be found in Google's [file type\nFAQ](https://support.google.com/webmasters/answer/35287).",
+ "type": "string"
+ },
+ "filter": {
+ "description": "Activates or deactivates the automatic filtering of Google search\nresults. See [Automatic\nFiltering](https://developers.google.com/custom-search/docs/xml_results#automaticFiltering)\nfor more information about Google's search results filters. Valid values\nfor this parameter are:\n\n* `0`: Disabled\n\n* `1`: Enabled (default)\n\n**Note**: By default, Google applies filtering to all search results to\nimprove the quality of those results.",
+ "type": "string"
+ },
+ "gl": {
+ "description": "Boosts search results whose country of origin matches the parameter\nvalue. See [Country\nCodes](https://developers.google.com/custom-search/docs/xml_results#countryCodes)\nfor a list of valid values.\n\nSpecifying a `gl` parameter value in WebSearch requests should improve\nthe relevance of results. This is particularly true for international\ncustomers and, even more specifically, for customers in English-speaking\ncountries other than the United States.",
+ "type": "string"
+ },
+ "googleHost": {
+ "description": "Specifies the Google domain (for example, google.com, google.de, or\ngoogle.fr) to which the search should be limited.",
+ "type": "string"
+ },
+ "highRange": {
+ "description": "Specifies the ending value for a search range. Use `cse:lowRange` and\n`cse:highrange` to append an inclusive search range of\n`lowRange...highRange` to the query.",
+ "type": "string"
+ },
+ "hl": {
+ "description": "Specifies the interface language (host language) of your user interface.\nExplicitly setting this parameter improves the performance and the\nquality of your search results.\n\nSee the [Interface\nLanguages](https://developers.google.com/custom-search/docs/xml_results#wsInterfaceLanguages)\nsection of [Internationalizing Queries and Results\nPresentation](https://developers.google.com/custom-search/docs/xml_results#wsInternationalizing)\nfor more information, and [Supported Interface\nLanguages](https://developers.google.com/custom-search/docs/xml_results_appendices#interfaceLanguages)\nfor a list of supported languages.",
+ "type": "string"
+ },
+ "hq": {
+ "description": "Appends the specified query terms to the query, as if they were combined\nwith a logical `AND` operator.",
+ "type": "string"
+ },
+ "imgColorType": {
+ "description": "Restricts results to images of a specified color type. Supported values\n are:\n\n* `mono` (black and white)\n\n* `gray` (grayscale)\n\n* `color` (color)",
+ "type": "string"
+ },
+ "imgDominantColor": {
+ "description": "Restricts results to images with a specific dominant color. Supported\nvalues are:\n\n* `red`\n\n* `orange`\n\n* `yellow`\n\n* `green`\n\n* `teal`\n\n* `blue`\n\n* `purple`\n\n* `pink`\n\n* `white`\n\n* `gray`\n\n* `black`\n\n* `brown`",
+ "type": "string"
+ },
+ "imgSize": {
+ "description": "Restricts results to images of a specified size. Supported values are:\n\n* `icon` (small)\n\n* `small | medium | large | xlarge` (medium)\n\n* `xxlarge` (large)\n\n* `huge` (extra-large)",
+ "type": "string"
+ },
+ "imgType": {
+ "description": "Restricts results to images of a specified type. Supported values are:\n\n* `clipart` (Clip art)\n\n* `face` (Face)\n\n* `lineart` (Line drawing)\n\n* `photo` (Photo)\n\n* `animated` (Animated)\n\n* `stock` (Stock)",
+ "type": "string"
+ },
+ "inputEncoding": {
+ "description": "The character encoding supported for search requests.",
+ "type": "string"
+ },
+ "language": {
+ "description": "The language of the search results.",
+ "type": "string"
+ },
+ "linkSite": {
+ "description": "Specifies that all results should contain a link to a specific URL.",
+ "type": "string"
+ },
+ "lowRange": {
+ "description": "Specifies the starting value for a search range. Use `cse:lowRange` and\n`cse:highrange` to append an inclusive search range of\n`lowRange...highRange` to the query.",
+ "type": "string"
+ },
+ "orTerms": {
+ "description": "Provides additional search terms to check for in a document, where each\ndocument in the search results must contain at least one of the\nadditional search terms. You can also use the [Boolean\nOR](https://developers.google.com/custom-search/docs/xml_results#BooleanOrqt)\nquery term for this type of query.",
+ "type": "string"
+ },
+ "outputEncoding": {
+ "description": "The character encoding supported for search results.",
+ "type": "string"
+ },
+ "relatedSite": {
+ "description": "Specifies that all search results should be pages that are related to the\nspecified URL. The parameter value should be a URL.",
+ "type": "string"
+ },
+ "rights": {
+ "description": "Filters based on licensing. Supported values include:\n\n* `cc_publicdomain`\n\n* `cc_attribute`\n\n* `cc_sharealike`\n\n* `cc_noncommercial`\n\n* `cc_nonderived`",
+ "type": "string"
+ },
+ "safe": {
+ "description": "Specifies the [SafeSearch\nlevel](https://developers.google.com/custom-search/docs/xml_results#safeSearchLevels)\nused for filtering out adult results. This is a custom property not\ndefined in the OpenSearch spec. Valid parameter values are:\n\n* `\"off\"`: Disable SafeSearch\n\n* `\"active\"`: Enable SafeSearch",
+ "type": "string"
+ },
+ "searchTerms": {
+ "description": "The search terms entered by the user.",
+ "type": "string"
+ },
+ "searchType": {
+ "description": "Allowed values are `web` or `image`. If unspecified, results are limited\nto webpages.",
+ "type": "string"
+ },
+ "siteSearch": {
+ "description": "Restricts results to URLs from a specified site.",
+ "type": "string"
+ },
+ "siteSearchFilter": {
+ "description": "Specifies whether to include or exclude results from the site named in\nthe `sitesearch` parameter. Supported values are:\n\n* `i`: include content from site\n\n* `e`: exclude content from site",
+ "type": "string"
+ },
+ "sort": {
+ "description": "Specifies that results should be sorted according to the specified\nexpression. For example, sort by date.",
+ "type": "string"
+ },
+ "startIndex": {
+ "description": "The index of the current set of search results into the total set of\nresults, where the index of the first result is 1.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "startPage": {
+ "description": "The page number of this set of results, where the page length is set by\nthe `count` property.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "title": {
+ "description": "A description of the query.",
+ "type": "string"
+ },
+ "totalResults": {
+ "description": "Estimated number of total search results. May not be accurate.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
},
- "type": "array"
+ "previousPage": {
+ "description": "Metadata representing the previous page of results, if applicable.",
+ "items": {
+ "description": "Custom search request metadata.",
+ "properties": {
+ "count": {
+ "description": "Number of search results returned in this set.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "cr": {
+ "description": "Restricts search results to documents originating in a particular\ncountry. You may use [Boolean\noperators](https://developers.google.com/custom-search/docs/xml_results#booleanOperators)\nin the `cr` parameter's value.\n\nGoogle WebSearch determines the country of a document by analyzing the\nfollowing:\n\n* The top-level domain (TLD) of the document's URL.\n\n* The geographic location of the web server's IP address.\n\nSee [Country (cr) Parameter\nValues](https://developers.google.com/custom-search/docs/xml_results#countryCollections)\nfor a list of valid values for this parameter.",
+ "type": "string"
+ },
+ "cx": {
+ "description": "The identifier of a custom search engine created using the Custom Search\n[Control Panel](https://cse.google.com/). This is a custom property not\ndefined in the OpenSearch spec. This parameter is **required**.",
+ "type": "string"
+ },
+ "dateRestrict": {
+ "description": "Restricts results to URLs based on date. Supported values include:\n\n* `d[number]`: requests results from the specified number of past days.\n\n* `w[number]`: requests results from the specified number of past weeks.\n\n* `m[number]`: requests results from the specified number of past months.\n\n* `y[number]`: requests results from the specified number of past years.",
+ "type": "string"
+ },
+ "disableCnTwTranslation": {
+ "description": "Enables or disables the [Simplified and Traditional Chinese\nSearch](https://developers.google.com/custom-search/docs/xml_results#chineseSearch)\nfeature.\n\nSupported values are:\n\n* `0`: enabled (default)\n\n* `1`: disabled",
+ "type": "string"
+ },
+ "exactTerms": {
+ "description": "Identifies a phrase that all documents in the search results must\ncontain.",
+ "type": "string"
+ },
+ "excludeTerms": {
+ "description": "Identifies a word or phrase that should not appear in any documents in\nthe search results.",
+ "type": "string"
+ },
+ "fileType": {
+ "description": "Restricts results to files of a specified extension. Filetypes supported\nby Google include:\n\n* Adobe Portable Document Format (`pdf`)\n\n* Adobe PostScript (`ps`)\n\n* Lotus 1-2-3 (`wk1`, `wk2`, `wk3`, `wk4`, `wk5`, `wki`, `wks`, `wku`)\n\n* Lotus WordPro (`lwp`)\n\n* Macwrite (`mw`)\n\n* Microsoft Excel (`xls`)\n\n* Microsoft PowerPoint (`ppt`)\n\n* Microsoft Word (`doc`)\n\n* Microsoft Works (`wks`, `wps`, `wdb`)\n\n* Microsoft Write (`wri`)\n\n* Rich Text Format (`rtf`)\n\n* Shockwave Flash (`swf`)\n\n* Text (`ans`, `txt`).\n\nAdditional filetypes may be added in the future. An up-to-date list can\nalways be found in Google's [file type\nFAQ](https://support.google.com/webmasters/answer/35287).",
+ "type": "string"
+ },
+ "filter": {
+ "description": "Activates or deactivates the automatic filtering of Google search\nresults. See [Automatic\nFiltering](https://developers.google.com/custom-search/docs/xml_results#automaticFiltering)\nfor more information about Google's search results filters. Valid values\nfor this parameter are:\n\n* `0`: Disabled\n\n* `1`: Enabled (default)\n\n**Note**: By default, Google applies filtering to all search results to\nimprove the quality of those results.",
+ "type": "string"
+ },
+ "gl": {
+ "description": "Boosts search results whose country of origin matches the parameter\nvalue. See [Country\nCodes](https://developers.google.com/custom-search/docs/xml_results#countryCodes)\nfor a list of valid values.\n\nSpecifying a `gl` parameter value in WebSearch requests should improve\nthe relevance of results. This is particularly true for international\ncustomers and, even more specifically, for customers in English-speaking\ncountries other than the United States.",
+ "type": "string"
+ },
+ "googleHost": {
+ "description": "Specifies the Google domain (for example, google.com, google.de, or\ngoogle.fr) to which the search should be limited.",
+ "type": "string"
+ },
+ "highRange": {
+ "description": "Specifies the ending value for a search range. Use `cse:lowRange` and\n`cse:highrange` to append an inclusive search range of\n`lowRange...highRange` to the query.",
+ "type": "string"
+ },
+ "hl": {
+ "description": "Specifies the interface language (host language) of your user interface.\nExplicitly setting this parameter improves the performance and the\nquality of your search results.\n\nSee the [Interface\nLanguages](https://developers.google.com/custom-search/docs/xml_results#wsInterfaceLanguages)\nsection of [Internationalizing Queries and Results\nPresentation](https://developers.google.com/custom-search/docs/xml_results#wsInternationalizing)\nfor more information, and [Supported Interface\nLanguages](https://developers.google.com/custom-search/docs/xml_results_appendices#interfaceLanguages)\nfor a list of supported languages.",
+ "type": "string"
+ },
+ "hq": {
+ "description": "Appends the specified query terms to the query, as if they were combined\nwith a logical `AND` operator.",
+ "type": "string"
+ },
+ "imgColorType": {
+ "description": "Restricts results to images of a specified color type. Supported values\n are:\n\n* `mono` (black and white)\n\n* `gray` (grayscale)\n\n* `color` (color)",
+ "type": "string"
+ },
+ "imgDominantColor": {
+ "description": "Restricts results to images with a specific dominant color. Supported\nvalues are:\n\n* `red`\n\n* `orange`\n\n* `yellow`\n\n* `green`\n\n* `teal`\n\n* `blue`\n\n* `purple`\n\n* `pink`\n\n* `white`\n\n* `gray`\n\n* `black`\n\n* `brown`",
+ "type": "string"
+ },
+ "imgSize": {
+ "description": "Restricts results to images of a specified size. Supported values are:\n\n* `icon` (small)\n\n* `small | medium | large | xlarge` (medium)\n\n* `xxlarge` (large)\n\n* `huge` (extra-large)",
+ "type": "string"
+ },
+ "imgType": {
+ "description": "Restricts results to images of a specified type. Supported values are:\n\n* `clipart` (Clip art)\n\n* `face` (Face)\n\n* `lineart` (Line drawing)\n\n* `photo` (Photo)\n\n* `animated` (Animated)\n\n* `stock` (Stock)",
+ "type": "string"
+ },
+ "inputEncoding": {
+ "description": "The character encoding supported for search requests.",
+ "type": "string"
+ },
+ "language": {
+ "description": "The language of the search results.",
+ "type": "string"
+ },
+ "linkSite": {
+ "description": "Specifies that all results should contain a link to a specific URL.",
+ "type": "string"
+ },
+ "lowRange": {
+ "description": "Specifies the starting value for a search range. Use `cse:lowRange` and\n`cse:highrange` to append an inclusive search range of\n`lowRange...highRange` to the query.",
+ "type": "string"
+ },
+ "orTerms": {
+ "description": "Provides additional search terms to check for in a document, where each\ndocument in the search results must contain at least one of the\nadditional search terms. You can also use the [Boolean\nOR](https://developers.google.com/custom-search/docs/xml_results#BooleanOrqt)\nquery term for this type of query.",
+ "type": "string"
+ },
+ "outputEncoding": {
+ "description": "The character encoding supported for search results.",
+ "type": "string"
+ },
+ "relatedSite": {
+ "description": "Specifies that all search results should be pages that are related to the\nspecified URL. The parameter value should be a URL.",
+ "type": "string"
+ },
+ "rights": {
+ "description": "Filters based on licensing. Supported values include:\n\n* `cc_publicdomain`\n\n* `cc_attribute`\n\n* `cc_sharealike`\n\n* `cc_noncommercial`\n\n* `cc_nonderived`",
+ "type": "string"
+ },
+ "safe": {
+ "description": "Specifies the [SafeSearch\nlevel](https://developers.google.com/custom-search/docs/xml_results#safeSearchLevels)\nused for filtering out adult results. This is a custom property not\ndefined in the OpenSearch spec. Valid parameter values are:\n\n* `\"off\"`: Disable SafeSearch\n\n* `\"active\"`: Enable SafeSearch",
+ "type": "string"
+ },
+ "searchTerms": {
+ "description": "The search terms entered by the user.",
+ "type": "string"
+ },
+ "searchType": {
+ "description": "Allowed values are `web` or `image`. If unspecified, results are limited\nto webpages.",
+ "type": "string"
+ },
+ "siteSearch": {
+ "description": "Restricts results to URLs from a specified site.",
+ "type": "string"
+ },
+ "siteSearchFilter": {
+ "description": "Specifies whether to include or exclude results from the site named in\nthe `sitesearch` parameter. Supported values are:\n\n* `i`: include content from site\n\n* `e`: exclude content from site",
+ "type": "string"
+ },
+ "sort": {
+ "description": "Specifies that results should be sorted according to the specified\nexpression. For example, sort by date.",
+ "type": "string"
+ },
+ "startIndex": {
+ "description": "The index of the current set of search results into the total set of\nresults, where the index of the first result is 1.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "startPage": {
+ "description": "The page number of this set of results, where the page length is set by\nthe `count` property.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "title": {
+ "description": "A description of the query.",
+ "type": "string"
+ },
+ "totalResults": {
+ "description": "Estimated number of total search results. May not be accurate.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "request": {
+ "description": "Metadata representing the current request.",
+ "items": {
+ "description": "Custom search request metadata.",
+ "properties": {
+ "count": {
+ "description": "Number of search results returned in this set.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "cr": {
+ "description": "Restricts search results to documents originating in a particular\ncountry. You may use [Boolean\noperators](https://developers.google.com/custom-search/docs/xml_results#booleanOperators)\nin the `cr` parameter's value.\n\nGoogle WebSearch determines the country of a document by analyzing the\nfollowing:\n\n* The top-level domain (TLD) of the document's URL.\n\n* The geographic location of the web server's IP address.\n\nSee [Country (cr) Parameter\nValues](https://developers.google.com/custom-search/docs/xml_results#countryCollections)\nfor a list of valid values for this parameter.",
+ "type": "string"
+ },
+ "cx": {
+ "description": "The identifier of a custom search engine created using the Custom Search\n[Control Panel](https://cse.google.com/). This is a custom property not\ndefined in the OpenSearch spec. This parameter is **required**.",
+ "type": "string"
+ },
+ "dateRestrict": {
+ "description": "Restricts results to URLs based on date. Supported values include:\n\n* `d[number]`: requests results from the specified number of past days.\n\n* `w[number]`: requests results from the specified number of past weeks.\n\n* `m[number]`: requests results from the specified number of past months.\n\n* `y[number]`: requests results from the specified number of past years.",
+ "type": "string"
+ },
+ "disableCnTwTranslation": {
+ "description": "Enables or disables the [Simplified and Traditional Chinese\nSearch](https://developers.google.com/custom-search/docs/xml_results#chineseSearch)\nfeature.\n\nSupported values are:\n\n* `0`: enabled (default)\n\n* `1`: disabled",
+ "type": "string"
+ },
+ "exactTerms": {
+ "description": "Identifies a phrase that all documents in the search results must\ncontain.",
+ "type": "string"
+ },
+ "excludeTerms": {
+ "description": "Identifies a word or phrase that should not appear in any documents in\nthe search results.",
+ "type": "string"
+ },
+ "fileType": {
+ "description": "Restricts results to files of a specified extension. Filetypes supported\nby Google include:\n\n* Adobe Portable Document Format (`pdf`)\n\n* Adobe PostScript (`ps`)\n\n* Lotus 1-2-3 (`wk1`, `wk2`, `wk3`, `wk4`, `wk5`, `wki`, `wks`, `wku`)\n\n* Lotus WordPro (`lwp`)\n\n* Macwrite (`mw`)\n\n* Microsoft Excel (`xls`)\n\n* Microsoft PowerPoint (`ppt`)\n\n* Microsoft Word (`doc`)\n\n* Microsoft Works (`wks`, `wps`, `wdb`)\n\n* Microsoft Write (`wri`)\n\n* Rich Text Format (`rtf`)\n\n* Shockwave Flash (`swf`)\n\n* Text (`ans`, `txt`).\n\nAdditional filetypes may be added in the future. An up-to-date list can\nalways be found in Google's [file type\nFAQ](https://support.google.com/webmasters/answer/35287).",
+ "type": "string"
+ },
+ "filter": {
+ "description": "Activates or deactivates the automatic filtering of Google search\nresults. See [Automatic\nFiltering](https://developers.google.com/custom-search/docs/xml_results#automaticFiltering)\nfor more information about Google's search results filters. Valid values\nfor this parameter are:\n\n* `0`: Disabled\n\n* `1`: Enabled (default)\n\n**Note**: By default, Google applies filtering to all search results to\nimprove the quality of those results.",
+ "type": "string"
+ },
+ "gl": {
+ "description": "Boosts search results whose country of origin matches the parameter\nvalue. See [Country\nCodes](https://developers.google.com/custom-search/docs/xml_results#countryCodes)\nfor a list of valid values.\n\nSpecifying a `gl` parameter value in WebSearch requests should improve\nthe relevance of results. This is particularly true for international\ncustomers and, even more specifically, for customers in English-speaking\ncountries other than the United States.",
+ "type": "string"
+ },
+ "googleHost": {
+ "description": "Specifies the Google domain (for example, google.com, google.de, or\ngoogle.fr) to which the search should be limited.",
+ "type": "string"
+ },
+ "highRange": {
+ "description": "Specifies the ending value for a search range. Use `cse:lowRange` and\n`cse:highrange` to append an inclusive search range of\n`lowRange...highRange` to the query.",
+ "type": "string"
+ },
+ "hl": {
+ "description": "Specifies the interface language (host language) of your user interface.\nExplicitly setting this parameter improves the performance and the\nquality of your search results.\n\nSee the [Interface\nLanguages](https://developers.google.com/custom-search/docs/xml_results#wsInterfaceLanguages)\nsection of [Internationalizing Queries and Results\nPresentation](https://developers.google.com/custom-search/docs/xml_results#wsInternationalizing)\nfor more information, and [Supported Interface\nLanguages](https://developers.google.com/custom-search/docs/xml_results_appendices#interfaceLanguages)\nfor a list of supported languages.",
+ "type": "string"
+ },
+ "hq": {
+ "description": "Appends the specified query terms to the query, as if they were combined\nwith a logical `AND` operator.",
+ "type": "string"
+ },
+ "imgColorType": {
+ "description": "Restricts results to images of a specified color type. Supported values\n are:\n\n* `mono` (black and white)\n\n* `gray` (grayscale)\n\n* `color` (color)",
+ "type": "string"
+ },
+ "imgDominantColor": {
+ "description": "Restricts results to images with a specific dominant color. Supported\nvalues are:\n\n* `red`\n\n* `orange`\n\n* `yellow`\n\n* `green`\n\n* `teal`\n\n* `blue`\n\n* `purple`\n\n* `pink`\n\n* `white`\n\n* `gray`\n\n* `black`\n\n* `brown`",
+ "type": "string"
+ },
+ "imgSize": {
+ "description": "Restricts results to images of a specified size. Supported values are:\n\n* `icon` (small)\n\n* `small | medium | large | xlarge` (medium)\n\n* `xxlarge` (large)\n\n* `huge` (extra-large)",
+ "type": "string"
+ },
+ "imgType": {
+ "description": "Restricts results to images of a specified type. Supported values are:\n\n* `clipart` (Clip art)\n\n* `face` (Face)\n\n* `lineart` (Line drawing)\n\n* `photo` (Photo)\n\n* `animated` (Animated)\n\n* `stock` (Stock)",
+ "type": "string"
+ },
+ "inputEncoding": {
+ "description": "The character encoding supported for search requests.",
+ "type": "string"
+ },
+ "language": {
+ "description": "The language of the search results.",
+ "type": "string"
+ },
+ "linkSite": {
+ "description": "Specifies that all results should contain a link to a specific URL.",
+ "type": "string"
+ },
+ "lowRange": {
+ "description": "Specifies the starting value for a search range. Use `cse:lowRange` and\n`cse:highrange` to append an inclusive search range of\n`lowRange...highRange` to the query.",
+ "type": "string"
+ },
+ "orTerms": {
+ "description": "Provides additional search terms to check for in a document, where each\ndocument in the search results must contain at least one of the\nadditional search terms. You can also use the [Boolean\nOR](https://developers.google.com/custom-search/docs/xml_results#BooleanOrqt)\nquery term for this type of query.",
+ "type": "string"
+ },
+ "outputEncoding": {
+ "description": "The character encoding supported for search results.",
+ "type": "string"
+ },
+ "relatedSite": {
+ "description": "Specifies that all search results should be pages that are related to the\nspecified URL. The parameter value should be a URL.",
+ "type": "string"
+ },
+ "rights": {
+ "description": "Filters based on licensing. Supported values include:\n\n* `cc_publicdomain`\n\n* `cc_attribute`\n\n* `cc_sharealike`\n\n* `cc_noncommercial`\n\n* `cc_nonderived`",
+ "type": "string"
+ },
+ "safe": {
+ "description": "Specifies the [SafeSearch\nlevel](https://developers.google.com/custom-search/docs/xml_results#safeSearchLevels)\nused for filtering out adult results. This is a custom property not\ndefined in the OpenSearch spec. Valid parameter values are:\n\n* `\"off\"`: Disable SafeSearch\n\n* `\"active\"`: Enable SafeSearch",
+ "type": "string"
+ },
+ "searchTerms": {
+ "description": "The search terms entered by the user.",
+ "type": "string"
+ },
+ "searchType": {
+ "description": "Allowed values are `web` or `image`. If unspecified, results are limited\nto webpages.",
+ "type": "string"
+ },
+ "siteSearch": {
+ "description": "Restricts results to URLs from a specified site.",
+ "type": "string"
+ },
+ "siteSearchFilter": {
+ "description": "Specifies whether to include or exclude results from the site named in\nthe `sitesearch` parameter. Supported values are:\n\n* `i`: include content from site\n\n* `e`: exclude content from site",
+ "type": "string"
+ },
+ "sort": {
+ "description": "Specifies that results should be sorted according to the specified\nexpression. For example, sort by date.",
+ "type": "string"
+ },
+ "startIndex": {
+ "description": "The index of the current set of search results into the total set of\nresults, where the index of the first result is 1.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "startPage": {
+ "description": "The page number of this set of results, where the page length is set by\nthe `count` property.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "title": {
+ "description": "A description of the query.",
+ "type": "string"
+ },
+ "totalResults": {
+ "description": "Estimated number of total search results. May not be accurate.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
},
"type": "object"
},
"searchInformation": {
+ "description": "Metadata about a search operation.",
"properties": {
"formattedSearchTime": {
+ "description": "The time taken for the server to return search results, formatted\naccording to locale style.",
"type": "string"
},
"formattedTotalResults": {
+ "description": "The total number of search results, formatted according to locale style.",
"type": "string"
},
"searchTime": {
+ "description": "The time taken for the server to return search results.",
"format": "double",
"type": "number"
},
"totalResults": {
- "format": "int64",
+ "description": "The total number of search results returned by the query.",
"type": "string"
}
},
"type": "object"
},
"spelling": {
+ "description": "Spell correction information for a query.",
"properties": {
"correctedQuery": {
+ "description": "The corrected query.",
"type": "string"
},
"htmlCorrectedQuery": {
+ "description": "The corrected query, formatted in HTML.",
"type": "string"
}
},
"type": "object"
},
"url": {
+ "description": "OpenSearch template and URL.",
"properties": {
"template": {
- "default": "https://www.googleapis.com/customsearch/v1?q={searchTerms}&num={count?}&start={startIndex?}&lr={language?}&safe={safe?}&cx={cx?}&sort={sort?}&filter={filter?}&gl={gl?}&cr={cr?}&googlehost={googleHost?}&c2coff={disableCnTwTranslation?}&hq={hq?}&hl={hl?}&siteSearch={siteSearch?}&siteSearchFilter={siteSearchFilter?}&exactTerms={exactTerms?}&excludeTerms={excludeTerms?}&linkSite={linkSite?}&orTerms={orTerms?}&relatedSite={relatedSite?}&dateRestrict={dateRestrict?}&lowRange={lowRange?}&highRange={highRange?}&searchType={searchType}&fileType={fileType?}&rights={rights?}&imgSize={imgSize?}&imgType={imgType?}&imgColorType={imgColorType?}&imgDominantColor={imgDominantColor?}&alt=json",
+ "description": "The actual [OpenSearch\ntemplate](http://www.opensearch.org/specifications/opensearch/1.1#opensearch_url_template_syntax)\nfor this API.",
"type": "string"
},
"type": {
- "default": "application/json",
+ "description": "The MIME type of the OpenSearch URL template for the Custom Search API.",
"type": "string"
}
},
@@ -1160,7 +1320,8 @@
"type": "object"
}
},
- "servicePath": "customsearch/",
- "title": "CustomSearch API",
- "version": "v1"
+ "servicePath": "",
+ "title": "Custom Search API",
+ "version": "v1",
+ "version_module": true
}
\ No newline at end of file
diff --git a/etc/api/datacatalog/v1beta1/datacatalog-api.json b/etc/api/datacatalog/v1beta1/datacatalog-api.json
index e1cf1f7e24..b1d213e87b 100644
--- a/etc/api/datacatalog/v1beta1/datacatalog-api.json
+++ b/etc/api/datacatalog/v1beta1/datacatalog-api.json
@@ -108,7 +108,7 @@
"catalog": {
"methods": {
"search": {
- "description": "Searches Data Catalog for multiple resources like entries, tags that\nmatch a query.\n\nThis is a custom method\n(https://cloud.google.com/apis/design/custom_methods) and does not return\nthe complete resource, only the resource identifier and high level\nfields. Clients can subsequentally call `Get` methods.\n\nNote that Data Catalog search queries do not guarantee full recall. Query\nresults that match your query may not be returned, even in subsequent\nresult pages. Also note that results returned (and not returned) can vary\nacross repeated search queries.\n\nSee [Data Catalog Search\nSyntax](/data-catalog/docs/how-to/search-reference) for more information.",
+ "description": "Searches Data Catalog for multiple resources like entries, tags that\nmatch a query.\n\nThis is a custom method\n(https://cloud.google.com/apis/design/custom_methods) and does not return\nthe complete resource, only the resource identifier and high level\nfields. Clients can subsequentally call `Get` methods.\n\nNote that Data Catalog search queries do not guarantee full recall. Query\nresults that match your query may not be returned, even in subsequent\nresult pages. Also note that results returned (and not returned) can vary\nacross repeated search queries.\n\nSee [Data Catalog Search\nSyntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)\nfor more information.",
"flatPath": "v1beta1/catalog:search",
"httpMethod": "POST",
"id": "datacatalog.catalog.search",
@@ -142,7 +142,7 @@
"type": "string"
},
"sqlResource": {
- "description": "The SQL name of the entry. SQL names are case-sensitive.\n\nExamples:\n\n * `cloud_pubsub.project_id.topic_id`\n * ``pubsub.project_id.`topic.id.with.dots` ``\n * `bigquery.table.project_id.dataset_id.table_id`\n * `bigquery.dataset.project_id.dataset_id`\n * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`\n\n`*_id`s shoud satisfy the standard SQL rules for identifiers.\nhttps://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.",
+ "description": "The SQL name of the entry. SQL names are case-sensitive.\n\nExamples:\n\n * `pubsub.project_id.topic_id`\n * ``pubsub.project_id.`topic.id.with.dots` ``\n * `bigquery.table.project_id.dataset_id.table_id`\n * `bigquery.dataset.project_id.dataset_id`\n * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`\n\n`*_id`s shoud satisfy the standard SQL rules for identifiers.\nhttps://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.",
"location": "query",
"type": "string"
}
@@ -164,7 +164,7 @@
"entryGroups": {
"methods": {
"create": {
- "description": "A maximum of 10,000 entry groups may be created per organization across all\nlocations.\n\nUsers should enable the Data Catalog API in the project identified by\nthe `parent` parameter (see [Data Catalog Resource Project]\n(/data-catalog/docs/concepts/resource-project) for more information).",
+ "description": "A maximum of 10,000 entry groups may be created per organization across all\nlocations.\n\nUsers should enable the Data Catalog API in the project identified by\nthe `parent` parameter (see [Data Catalog Resource Project]\n(https://cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups",
"httpMethod": "POST",
"id": "datacatalog.projects.locations.entryGroups.create",
@@ -197,7 +197,7 @@
]
},
"delete": {
- "description": "Deletes an EntryGroup. Only entry groups that do not contain entries can be\ndeleted. Users should enable the Data Catalog API in the project\nidentified by the `name` parameter (see [Data Catalog Resource Project]\n(/data-catalog/docs/concepts/resource-project) for more information).",
+ "description": "Deletes an EntryGroup. Only entry groups that do not contain entries can be\ndeleted. Users should enable the Data Catalog API in the project\nidentified by the `name` parameter (see [Data Catalog Resource Project]\n(https://cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}",
"httpMethod": "DELETE",
"id": "datacatalog.projects.locations.entryGroups.delete",
@@ -322,7 +322,7 @@
]
},
"patch": {
- "description": "Updates an EntryGroup. The user should enable the Data Catalog API in the\nproject identified by the `entry_group.name` parameter (see [Data Catalog\nResource Project] (/data-catalog/docs/concepts/resource-project) for more\ninformation).",
+ "description": "Updates an EntryGroup. The user should enable the Data Catalog API in the\nproject identified by the `entry_group.name` parameter (see [Data Catalog\nResource Project]\n(https://cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}",
"httpMethod": "PATCH",
"id": "datacatalog.projects.locations.entryGroups.patch",
@@ -416,7 +416,7 @@
"entries": {
"methods": {
"create": {
- "description": "Creates an entry. Only entries of 'FILESET' type or user-specified type can\nbe created.\n\nUsers should enable the Data Catalog API in the project identified by\nthe `parent` parameter (see [Data Catalog Resource Project]\n(/data-catalog/docs/concepts/resource-project) for more information).\n\nA maximum of 100,000 entries may be created per entry group.",
+ "description": "Creates an entry. Only entries of 'FILESET' type or user-specified type can\nbe created.\n\nUsers should enable the Data Catalog API in the project identified by\nthe `parent` parameter (see [Data Catalog Resource Project]\n(https://cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).\n\nA maximum of 100,000 entries may be created per entry group.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}/entries",
"httpMethod": "POST",
"id": "datacatalog.projects.locations.entryGroups.entries.create",
@@ -449,7 +449,7 @@
]
},
"delete": {
- "description": "Deletes an existing entry. Only entries created through\nCreateEntry\nmethod can be deleted.\nUsers should enable the Data Catalog API in the project identified by\nthe `name` parameter (see [Data Catalog Resource Project]\n(/data-catalog/docs/concepts/resource-project) for more information).",
+ "description": "Deletes an existing entry. Only entries created through\nCreateEntry\nmethod can be deleted.\nUsers should enable the Data Catalog API in the project identified by\nthe `name` parameter (see [Data Catalog Resource Project]\n(https://cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}/entries/{entriesId}",
"httpMethod": "DELETE",
"id": "datacatalog.projects.locations.entryGroups.entries.delete",
@@ -569,7 +569,7 @@
]
},
"patch": {
- "description": "Updates an existing entry.\nUsers should enable the Data Catalog API in the project identified by\nthe `entry.name` parameter (see [Data Catalog Resource Project]\n(/data-catalog/docs/concepts/resource-project) for more information).",
+ "description": "Updates an existing entry.\nUsers should enable the Data Catalog API in the project identified by\nthe `entry.name` parameter (see [Data Catalog Resource Project]\n(https://cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}/entries/{entriesId}",
"httpMethod": "PATCH",
"id": "datacatalog.projects.locations.entryGroups.entries.patch",
@@ -635,7 +635,7 @@
"tags": {
"methods": {
"create": {
- "description": "Creates a tag on an Entry.\nNote: The project identified by the `parent` parameter for the\n[tag](/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)\nand the\n[tag\ntemplate](/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)\nused to create the tag must be from the same organization.",
+ "description": "Creates a tag on an Entry.\nNote: The project identified by the `parent` parameter for the\n[tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)\nand the\n[tag\ntemplate](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)\nused to create the tag must be from the same organization.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}/entries/{entriesId}/tags",
"httpMethod": "POST",
"id": "datacatalog.projects.locations.entryGroups.entries.tags.create",
@@ -764,7 +764,7 @@
"tags": {
"methods": {
"create": {
- "description": "Creates a tag on an Entry.\nNote: The project identified by the `parent` parameter for the\n[tag](/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)\nand the\n[tag\ntemplate](/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)\nused to create the tag must be from the same organization.",
+ "description": "Creates a tag on an Entry.\nNote: The project identified by the `parent` parameter for the\n[tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)\nand the\n[tag\ntemplate](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)\nused to create the tag must be from the same organization.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}/tags",
"httpMethod": "POST",
"id": "datacatalog.projects.locations.entryGroups.tags.create",
@@ -893,7 +893,7 @@
"tagTemplates": {
"methods": {
"create": {
- "description": "Creates a tag template. The user should enable the Data Catalog API in\nthe project identified by the `parent` parameter (see [Data Catalog\nResource Project](/data-catalog/docs/concepts/resource-project) for more\ninformation).",
+ "description": "Creates a tag template. The user should enable the Data Catalog API in\nthe project identified by the `parent` parameter (see [Data Catalog\nResource\nProject](https://cloud.google.com/data-catalog/docs/concepts/resource-project)\nfor more information).",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/tagTemplates",
"httpMethod": "POST",
"id": "datacatalog.projects.locations.tagTemplates.create",
@@ -902,7 +902,7 @@
],
"parameters": {
"parent": {
- "description": "Required. The name of the project and the template location\n[region](/compute/docs/regions-zones/#available).\nNOTE: Currently, only the `us-central1 region` is supported.\n\nExample:\n\n* projects/{project_id}/locations/us-central1",
+ "description": "Required. The name of the project and the template location\n[region](https://cloud.google.com/data-catalog/docs/concepts/regions.\n\nExample:\n\n* projects/{project_id}/locations/us-central1",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
@@ -926,7 +926,7 @@
]
},
"delete": {
- "description": "Deletes a tag template and all tags using the template.\nUsers should enable the Data Catalog API in the project identified by\nthe `name` parameter (see [Data Catalog Resource Project]\n(/data-catalog/docs/concepts/resource-project) for more information).",
+ "description": "Deletes a tag template and all tags using the template.\nUsers should enable the Data Catalog API in the project identified by\nthe `name` parameter (see [Data Catalog Resource Project]\n(https://cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/tagTemplates/{tagTemplatesId}",
"httpMethod": "DELETE",
"id": "datacatalog.projects.locations.tagTemplates.delete",
@@ -1009,7 +1009,7 @@
]
},
"patch": {
- "description": "Updates a tag template. This method cannot be used to update the fields of\na template. The tag template fields are represented as separate resources\nand should be updated using their own create/update/delete methods.\nUsers should enable the Data Catalog API in the project identified by\nthe `tag_template.name` parameter (see [Data Catalog Resource Project]\n(/data-catalog/docs/concepts/resource-project) for more information).",
+ "description": "Updates a tag template. This method cannot be used to update the fields of\na template. The tag template fields are represented as separate resources\nand should be updated using their own create/update/delete methods.\nUsers should enable the Data Catalog API in the project identified by\nthe `tag_template.name` parameter (see [Data Catalog Resource Project]\n(https://cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/tagTemplates/{tagTemplatesId}",
"httpMethod": "PATCH",
"id": "datacatalog.projects.locations.tagTemplates.patch",
@@ -1103,7 +1103,7 @@
"fields": {
"methods": {
"create": {
- "description": "Creates a field in a tag template. The user should enable the Data Catalog\nAPI in the project identified by the `parent` parameter (see\n[Data Catalog Resource\nProject](/data-catalog/docs/concepts/resource-project) for more\ninformation).",
+ "description": "Creates a field in a tag template. The user should enable the Data Catalog\nAPI in the project identified by the `parent` parameter (see\n[Data Catalog Resource\nProject](https://cloud.google.com/data-catalog/docs/concepts/resource-project)\nfor more information).",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/tagTemplates/{tagTemplatesId}/fields",
"httpMethod": "POST",
"id": "datacatalog.projects.locations.tagTemplates.fields.create",
@@ -1112,7 +1112,7 @@
],
"parameters": {
"parent": {
- "description": "Required. The name of the project and the template location\n[region](/compute/docs/regions-zones/#available).\nNOTE: Currently, only the `us-central1 region` is supported.\n\nExample:\n\n* projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}",
+ "description": "Required. The name of the project and the template location\n[region](https://cloud.google.com/data-catalog/docs/concepts/regions).\n\nExample:\n\n* projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+$",
"required": true,
@@ -1136,7 +1136,7 @@
]
},
"delete": {
- "description": "Deletes a field in a tag template and all uses of that field.\nUsers should enable the Data Catalog API in the project identified by\nthe `name` parameter (see [Data Catalog Resource Project]\n(/data-catalog/docs/concepts/resource-project) for more information).",
+ "description": "Deletes a field in a tag template and all uses of that field.\nUsers should enable the Data Catalog API in the project identified by\nthe `name` parameter (see [Data Catalog Resource Project]\n(https://cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/tagTemplates/{tagTemplatesId}/fields/{fieldsId}",
"httpMethod": "DELETE",
"id": "datacatalog.projects.locations.tagTemplates.fields.delete",
@@ -1166,7 +1166,7 @@
]
},
"patch": {
- "description": "Updates a field in a tag template. This method cannot be used to update the\nfield type. Users should enable the Data Catalog API in the project\nidentified by the `name` parameter (see [Data Catalog Resource Project]\n(/data-catalog/docs/concepts/resource-project) for more information).",
+ "description": "Updates a field in a tag template. This method cannot be used to update the\nfield type. Users should enable the Data Catalog API in the project\nidentified by the `name` parameter (see [Data Catalog Resource Project]\n(https://cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/tagTemplates/{tagTemplatesId}/fields/{fieldsId}",
"httpMethod": "PATCH",
"id": "datacatalog.projects.locations.tagTemplates.fields.patch",
@@ -1200,7 +1200,7 @@
]
},
"rename": {
- "description": "Renames a field in a tag template. The user should enable the Data Catalog\nAPI in the project identified by the `name` parameter (see [Data Catalog\nResource Project](/data-catalog/docs/concepts/resource-project) for more\ninformation).",
+ "description": "Renames a field in a tag template. The user should enable the Data Catalog\nAPI in the project identified by the `name` parameter (see [Data Catalog\nResource\nProject](https://cloud.google.com/data-catalog/docs/concepts/resource-project)\nfor more information).",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/tagTemplates/{tagTemplatesId}/fields/{fieldsId}:rename",
"httpMethod": "POST",
"id": "datacatalog.projects.locations.tagTemplates.fields.rename",
@@ -1385,7 +1385,7 @@
],
"parameters": {
"parent": {
- "description": "Required. Resource name of project that the newly created taxonomies will\nbelong to.",
+ "description": "Required. Resource name of project that the imported taxonomies will belong to.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
@@ -1774,7 +1774,7 @@
}
}
},
- "revision": "20200402",
+ "revision": "20200528",
"rootUrl": "https://datacatalog.googleapis.com/",
"schemas": {
"Binding": {
@@ -1783,7 +1783,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
@@ -1834,7 +1834,7 @@
"properties": {
"options": {
"$ref": "GetPolicyOptions",
- "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`. This field is only used by Cloud IAM."
+ "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`."
}
},
"type": "object"
@@ -1844,7 +1844,7 @@
"id": "GetPolicyOptions",
"properties": {
"requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.",
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -1880,12 +1880,14 @@
"enum": [
"TABLE_SOURCE_TYPE_UNSPECIFIED",
"BIGQUERY_VIEW",
- "BIGQUERY_TABLE"
+ "BIGQUERY_TABLE",
+ "BIGQUERY_MATERIALIZED_VIEW"
],
"enumDescriptions": [
"Default unknown type.",
"Table view.",
- "BigQuery native table."
+ "BigQuery native table.",
+ "BigQuery materialized view."
],
"type": "string"
},
@@ -1996,7 +1998,7 @@
"enumDescriptions": [
"Default unknown type.",
"Output only. The type of entry that has a GoogleSQL schema, including\nlogical views.",
- "Output only. The type of models.",
+ "Output only. The type of models.\nhttps://cloud.google.com/bigquery-ml/docs/bigqueryml-intro",
"Output only. An entry type which is used for streaming entries. Example:\nPub/Sub topic.",
"An entry type which is a set of files or objects. Example:\nCloud Storage fileset."
],
@@ -2148,7 +2150,7 @@
"properties": {
"inlineSource": {
"$ref": "GoogleCloudDatacatalogV1beta1InlineSource",
- "description": "Inline source used for taxonomies import"
+ "description": "Inline source used for taxonomies to be imported."
}
},
"type": "object"
@@ -2344,7 +2346,7 @@
"type": "string"
},
"query": {
- "description": "Required. The query string in search query syntax. The query must be non-empty.\n\nQuery strings can be simple as \"x\" or more qualified as:\n\n* name:x\n* column:x\n* description:y\n\nNote: Query tokens need to have a minimum of 3 characters for substring\nmatching to work correctly. See [Data Catalog Search\nSyntax](/data-catalog/docs/how-to/search-reference) for more information.",
+ "description": "Required. The query string in search query syntax. The query must be non-empty.\n\nQuery strings can be simple as \"x\" or more qualified as:\n\n* name:x\n* column:x\n* description:y\n\nNote: Query tokens need to have a minimum of 3 characters for substring\nmatching to work correctly. See [Data Catalog Search\nSyntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)\nfor more information.",
"type": "string"
},
"scope": {
@@ -2375,6 +2377,13 @@
"type": "string"
},
"type": "array"
+ },
+ "restrictedLocations": {
+ "description": "Optional. The list of locations to search within.\n1. If empty, search will be performed in all locations;\n2. If any of the locations are NOT in the valid locations list, error\nwill be returned;\n3. Otherwise, search only the given locations for matching results.\nTypical usage is to leave this field empty. When a location is\nunreachable as returned in the `SearchCatalogResponse.unreachable` field,\nusers can repeat the search request with this parameter set to get\nadditional information on the error.\n\nValid locations:\n * asia-east1\n * asia-east2\n * asia-northeast1\n * asia-northeast2\n * asia-northeast3\n * asia-south1\n * asia-southeast1\n * australia-southeast1\n * eu\n * europe-north1\n * europe-west1\n * europe-west2\n * europe-west3\n * europe-west4\n * europe-west6\n * global\n * northamerica-northeast1\n * southamerica-east1\n * us\n * us-central1\n * us-east1\n * us-east4\n * us-west1\n * us-west2",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -2393,6 +2402,13 @@
"$ref": "GoogleCloudDatacatalogV1beta1SearchCatalogResult"
},
"type": "array"
+ },
+ "unreachable": {
+ "description": "Unreachable locations. Search result does not include data from those\nlocations. Users can get additional information on the error by repeating\nthe search request with a more restrictive parameter -- setting the value\nfor `SearchDataCatalogRequest.scope.include_locations`.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -2450,6 +2466,10 @@
"displayName": {
"description": "Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.",
"type": "string"
+ },
+ "policyTag": {
+ "description": "Resource name of the policy tag.\n\nThis field will be ignored when calling ImportTaxonomies.",
+ "type": "string"
}
},
"type": "object"
@@ -2510,7 +2530,7 @@
"type": "object"
},
"GoogleCloudDatacatalogV1beta1Tag": {
- "description": "Tags are used to attach custom metadata to Data Catalog resources. Tags\nconform to the specifications within their tag template.\n\nSee [Data Catalog IAM](/data-catalog/docs/concepts/iam) for information on\nthe permissions needed to create or view tags.",
+ "description": "Tags are used to attach custom metadata to Data Catalog resources. Tags\nconform to the specifications within their tag template.\n\nSee [Data Catalog\nIAM](https://cloud.google.com/data-catalog/docs/concepts/iam) for information\non the permissions needed to create or view tags.",
"id": "GoogleCloudDatacatalogV1beta1Tag",
"properties": {
"column": {
@@ -2589,7 +2609,7 @@
"type": "object"
},
"GoogleCloudDatacatalogV1beta1TagTemplate": {
- "description": "A tag template defines a tag, which can have one or more typed fields.\nThe template is used to create and attach the tag to GCP resources.\n[Tag template roles](/iam/docs/understanding-roles#data-catalog-roles)\nprovide permissions to create, edit, and use the template (see, for example,\nthe [TagTemplate User](/data-catalog/docs/how-to/template-user) role, which\nincludes permission to use the tag template to tag resources.",
+ "description": "A tag template defines a tag, which can have one or more typed fields.\nThe template is used to create and attach the tag to GCP resources.\n[Tag template\nroles](https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles)\nprovide permissions to create, edit, and use the template. See, for example,\nthe [TagTemplate\nUser](https://cloud.google.com/data-catalog/docs/how-to/template-user) role,\nwhich includes permission to use the tag template to tag resources.",
"id": "GoogleCloudDatacatalogV1beta1TagTemplate",
"properties": {
"displayName": {
@@ -2684,7 +2704,7 @@
"type": "object"
},
"Policy": {
- "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"bindings": {
@@ -2700,7 +2720,7 @@
"type": "string"
},
"version": {
- "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
diff --git a/etc/api/dataflow/v1b3/dataflow-api.json b/etc/api/dataflow/v1b3/dataflow-api.json
index 8a86a509ec..c243f128e7 100644
--- a/etc/api/dataflow/v1b3/dataflow-api.json
+++ b/etc/api/dataflow/v1b3/dataflow-api.json
@@ -183,6 +183,184 @@
}
},
"resources": {
+ "catalogTemplates": {
+ "methods": {
+ "commit": {
+ "description": "Creates a new TemplateVersion (Important: not new Template) entry in the\nspanner table. Requires project_id and display_name (template).",
+ "flatPath": "v1b3/projects/{projectsId}/catalogTemplates/{catalogTemplatesId}:commit",
+ "httpMethod": "POST",
+ "id": "dataflow.projects.catalogTemplates.commit",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The location of the template, name includes project_id and display_name.\n\nCommit using project_id(pid1) and display_name(tid1).\n Format: projects/{pid1}/catalogTemplates/{tid1}",
+ "location": "path",
+ "pattern": "^projects/[^/]+/catalogTemplates/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1b3/{+name}:commit",
+ "request": {
+ "$ref": "CommitTemplateVersionRequest"
+ },
+ "response": {
+ "$ref": "TemplateVersion"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/userinfo.email"
+ ]
+ },
+ "delete": {
+ "description": "Deletes an existing Template. Do nothing if Template does not exist.",
+ "flatPath": "v1b3/projects/{projectsId}/catalogTemplates/{catalogTemplatesId}",
+ "httpMethod": "DELETE",
+ "id": "dataflow.projects.catalogTemplates.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "name includes project_id and display_name.\n\nDelete by project_id(pid1) and display_name(tid1).\n Format: projects/{pid1}/catalogTemplates/{tid1}",
+ "location": "path",
+ "pattern": "^projects/[^/]+/catalogTemplates/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1b3/{+name}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/userinfo.email"
+ ]
+ },
+ "get": {
+ "description": "Get TemplateVersion using project_id and display_name with an optional\nversion_id field. Get latest (has tag \"latest\") TemplateVersion if\nversion_id not set.",
+ "flatPath": "v1b3/projects/{projectsId}/catalogTemplates/{catalogTemplatesId}",
+ "httpMethod": "GET",
+ "id": "dataflow.projects.catalogTemplates.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Resource name includes project_id and display_name. version_id is optional.\nGet the latest TemplateVersion if version_id not set.\n\nGet by project_id(pid1) and display_name(tid1):\n Format: projects/{pid1}/catalogTemplates/{tid1}\n\nGet by project_id(pid1), display_name(tid1), and version_id(vid1):\n Format: projects/{pid1}/catalogTemplates/{tid1@vid}",
+ "location": "path",
+ "pattern": "^projects/[^/]+/catalogTemplates/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1b3/{+name}",
+ "response": {
+ "$ref": "TemplateVersion"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/userinfo.email"
+ ]
+ },
+ "label": {
+ "description": "Updates the label of the TemplateVersion. Label can be duplicated in\nTemplate, so either add or remove the label in the TemplateVersion.",
+ "flatPath": "v1b3/projects/{projectsId}/catalogTemplates/{catalogTemplatesId}:label",
+ "httpMethod": "POST",
+ "id": "dataflow.projects.catalogTemplates.label",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Resource name includes project_id, display_name, and version_id.\n\nUpdates by project_id(pid1), display_name(tid1), and version_id(vid1):\n Format: projects/{pid1}/catalogTemplates/{tid1@vid}",
+ "location": "path",
+ "pattern": "^projects/[^/]+/catalogTemplates/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1b3/{+name}:label",
+ "request": {
+ "$ref": "ModifyTemplateVersionLabelRequest"
+ },
+ "response": {
+ "$ref": "ModifyTemplateVersionLabelResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/userinfo.email"
+ ]
+ },
+ "tag": {
+ "description": "Updates the tag of the TemplateVersion, and tag is unique in Template.\nIf tag exists in another TemplateVersion in the Template, updates the tag\nto this TemplateVersion will remove it from the old TemplateVersion and add\nit to this TemplateVersion. If request is remove_only (remove_only = true),\nremove the tag from this TemplateVersion.",
+ "flatPath": "v1b3/projects/{projectsId}/catalogTemplates/{catalogTemplatesId}:tag",
+ "httpMethod": "POST",
+ "id": "dataflow.projects.catalogTemplates.tag",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Resource name includes project_id, display_name, and version_id.\n\nUpdates by project_id(pid1), display_name(tid1), and version_id(vid1):\n Format: projects/{pid1}/catalogTemplates/{tid1@vid}",
+ "location": "path",
+ "pattern": "^projects/[^/]+/catalogTemplates/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1b3/{+name}:tag",
+ "request": {
+ "$ref": "ModifyTemplateVersionTagRequest"
+ },
+ "response": {
+ "$ref": "ModifyTemplateVersionTagResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/userinfo.email"
+ ]
+ }
+ },
+ "resources": {
+ "templateVersions": {
+ "methods": {
+ "create": {
+ "description": "Creates a new Template with TemplateVersion. Requires\nproject_id(projects) and template display_name(catalogTemplates).\nThe template display_name is set by the user.",
+ "flatPath": "v1b3/projects/{projectsId}/catalogTemplates/{catalogTemplatesId}/templateVersions",
+ "httpMethod": "POST",
+ "id": "dataflow.projects.catalogTemplates.templateVersions.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "The parent project and template that the TemplateVersion will be created\nunder.\n\nCreate using project_id(pid1) and display_name(tid1).\n Format: projects/{pid1}/catalogTemplates/{tid1}",
+ "location": "path",
+ "pattern": "^projects/[^/]+/catalogTemplates/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1b3/{+parent}/templateVersions",
+ "request": {
+ "$ref": "CreateTemplateVersionRequest"
+ },
+ "response": {
+ "$ref": "TemplateVersion"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/userinfo.email"
+ ]
+ }
+ }
+ }
+ }
+ },
"jobs": {
"methods": {
"aggregated": {
@@ -1877,6 +2055,47 @@
}
}
},
+ "templateVersions": {
+ "methods": {
+ "list": {
+ "description": "List TemplateVersions using project_id and an optional display_name field.\nList all the TemplateVersions in the Template if display set.\nList all the TemplateVersions in the Project if display_name not set.",
+ "flatPath": "v1b3/projects/{projectsId}/templateVersions",
+ "httpMethod": "GET",
+ "id": "dataflow.projects.templateVersions.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "The maximum number of TemplateVersions to return per page.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "The page token, received from a previous ListTemplateVersions call.\nProvide this to retrieve the subsequent page.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "parent includes project_id, and display_name is optional.\n\nList by project_id(pid1) and display_name(tid1).\n Format: projects/{pid1}/catalogTemplates/{tid1}\n\nList by project_id(pid1).\n Format: projects/{pid1}",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1b3/{+parent}/templateVersions",
+ "response": {
+ "$ref": "ListTemplateVersionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/userinfo.email"
+ ]
+ }
+ }
+ },
"templates": {
"methods": {
"create": {
@@ -2014,7 +2233,7 @@
}
}
},
- "revision": "20200319",
+ "revision": "20200602",
"rootUrl": "https://dataflow.googleapis.com/",
"schemas": {
"ApproximateProgress": {
@@ -2083,6 +2302,25 @@
},
"type": "object"
},
+ "Artifact": {
+ "description": "Job information for templates.",
+ "id": "Artifact",
+ "properties": {
+ "containerSpec": {
+ "$ref": "ContainerSpec",
+ "description": "Container image path set for flex Template."
+ },
+ "jobGraphGcsPath": {
+ "description": "job_graph_gcs_path set for legacy Template.",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "TemplateMetadata",
+ "description": "Metadata set for legacy Template."
+ }
+ },
+ "type": "object"
+ },
"AutoscalingEvent": {
"description": "A structured message reporting an autoscaling decision made by the Dataflow\nservice.",
"id": "AutoscalingEvent",
@@ -2221,6 +2459,17 @@
},
"type": "object"
},
+ "CommitTemplateVersionRequest": {
+ "description": "Commit will add a new TemplateVersion to an existing template.",
+ "id": "CommitTemplateVersionRequest",
+ "properties": {
+ "templateVersion": {
+ "$ref": "TemplateVersion",
+ "description": "TemplateVersion obejct to create."
+ }
+ },
+ "type": "object"
+ },
"ComponentSource": {
"description": "Description of an interstitial value between transforms in an execution\nstage.",
"id": "ComponentSource",
@@ -2584,6 +2833,17 @@
},
"type": "object"
},
+ "CreateTemplateVersionRequest": {
+ "description": "Creates a new Template with TemplateVersions.",
+ "id": "CreateTemplateVersionRequest",
+ "properties": {
+ "templateVersion": {
+ "$ref": "TemplateVersion",
+ "description": "The TemplateVersion object to create."
+ }
+ },
+ "type": "object"
+ },
"CustomSourceLocation": {
"description": "Identifies the location of a custom souce.",
"id": "CustomSourceLocation",
@@ -2787,6 +3047,12 @@
},
"type": "object"
},
+ "Empty": {
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
+ },
"Environment": {
"description": "Describes the environment in which a Dataflow Job runs.",
"id": "Environment",
@@ -3868,6 +4134,24 @@
},
"type": "object"
},
+ "ListTemplateVersionsResponse": {
+ "description": "Respond a list of TemplateVersions.",
+ "id": "ListTemplateVersionsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "A token that can be sent as `page_token` to retrieve the next page.\nIf this field is omitted, there are no subsequent pages.",
+ "type": "string"
+ },
+ "templateVersions": {
+ "description": "A list of TemplateVersions.",
+ "items": {
+ "$ref": "TemplateVersion"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"MapTask": {
"description": "MapTask consists of an ordered set of instructions, each of which\ndescribes one particular low-level operation for the worker to\nperform in order to accomplish the MapTask's WorkItem.\n\nEach instruction must appear in the list before any instructions which\ndepends on its output.",
"id": "MapTask",
@@ -4012,6 +4296,78 @@
},
"type": "object"
},
+ "ModifyTemplateVersionLabelRequest": {
+ "description": "Either add the label to TemplateVersion or remove it from the\nTemplateVersion.",
+ "id": "ModifyTemplateVersionLabelRequest",
+ "properties": {
+ "key": {
+ "description": "The label key for update.",
+ "type": "string"
+ },
+ "op": {
+ "description": "Requests for add label to TemplateVersion or remove label from\nTemplateVersion.",
+ "enum": [
+ "OPERATION_UNSPECIFIED",
+ "ADD",
+ "REMOVE"
+ ],
+ "enumDescriptions": [
+ "Default value.",
+ "Add the label to the TemplateVersion object.",
+ "Remove the label from the TemplateVersion object."
+ ],
+ "type": "string"
+ },
+ "value": {
+ "description": "The label value for update.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ModifyTemplateVersionLabelResponse": {
+ "description": "Respond the labels in the TemplateVersion.",
+ "id": "ModifyTemplateVersionLabelResponse",
+ "properties": {
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "All the label in the TemplateVersion.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "ModifyTemplateVersionTagRequest": {
+ "description": "Add a tag to the current TemplateVersion. If tag exist in another\nTemplateVersion in the Template, remove the tag before add it to the current\nTemplateVersion. If remove_only set, remove the tag from the current\nTemplateVersion.",
+ "id": "ModifyTemplateVersionTagRequest",
+ "properties": {
+ "removeOnly": {
+ "description": "The flag that indicates if the request is only for remove tag from\nTemplateVersion.",
+ "type": "boolean"
+ },
+ "tag": {
+ "description": "The tag for update.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ModifyTemplateVersionTagResponse": {
+ "description": "Respond the current tags in the TemplateVersion.",
+ "id": "ModifyTemplateVersionTagResponse",
+ "properties": {
+ "tags": {
+ "description": "All the tags in the TemplateVersion.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"MountedDataDisk": {
"description": "Describes mounted data disk.",
"id": "MountedDataDisk",
@@ -4418,6 +4774,28 @@
},
"type": "object"
},
+ "QueryInfo": {
+ "description": "Information about a validated query.",
+ "id": "QueryInfo",
+ "properties": {
+ "queryProperty": {
+ "description": "Includes an entry for each satisfied QueryProperty.",
+ "enumDescriptions": [
+ "The query property is unknown or unspecified.",
+ "Indicates this query reads from >= 1 unbounded source."
+ ],
+ "items": {
+ "enum": [
+ "QUERY_PROPERTY_UNSPECIFIED",
+ "HAS_UNBOUNDED_SOURCE"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"ReadInstruction": {
"description": "An instruction that reads records.\nTakes no inputs, produces one output.",
"id": "ReadInstruction",
@@ -5723,6 +6101,66 @@
},
"type": "object"
},
+ "TemplateVersion": {
+ "description": "/////////////////////////////////////////////////////////////////////////////\n//// Template Catalog is used to organize user TemplateVersions.\n//// TemplateVersions that have the same project_id and display_name are\n//// belong to the same Template.\n//// Templates with the same project_id belong to the same Project.\n//// TemplateVersion may have labels and multiple labels are allowed.\n//// Duplicated labels in the same `TemplateVersion` are not allowed.\n//// TemplateVersion may have tags and multiple tags are allowed. Duplicated\n//// tags in the same `Template` are not allowed!",
+ "id": "TemplateVersion",
+ "properties": {
+ "artifact": {
+ "$ref": "Artifact",
+ "description": "Job graph and metadata if it is a legacy Template.\nContainer image path and metadata if it is flex Template."
+ },
+ "createTime": {
+ "description": "Creation time of this TemplateVersion.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "description": {
+ "description": "Template description from the user.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "A customized name for Template. Multiple TemplateVersions per Template.",
+ "type": "string"
+ },
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Labels for the Template Version. Labels can be duplicate within Template.",
+ "type": "object"
+ },
+ "projectId": {
+ "description": "A unique project_id. Multiple Templates per Project.",
+ "type": "string"
+ },
+ "tags": {
+ "description": "Alias for version_id, helps locate a TemplateVersion.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "type": {
+ "description": "Either LEGACY or FLEX. This should match with the type of artifact.",
+ "enum": [
+ "TEMPLATE_TYPE_UNSPECIFIED",
+ "LEGACY",
+ "FLEX"
+ ],
+ "enumDescriptions": [
+ "Default value. Not a useful zero case.",
+ "Legacy Template.",
+ "Flex Template."
+ ],
+ "type": "string"
+ },
+ "versionId": {
+ "description": "An auto generated version_id for TemplateVersion.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"TopologyConfig": {
"description": "Global topology of the streaming Dataflow job, including all\ncomputations and their sharded locations.",
"id": "TopologyConfig",
@@ -5830,6 +6268,10 @@
"errorMessage": {
"description": "Will be empty if validation succeeds.",
"type": "string"
+ },
+ "queryInfo": {
+ "$ref": "QueryInfo",
+ "description": "Information about the validated query. Not defined if validation fails."
}
},
"type": "object"
diff --git a/etc/api/datafusion/v1beta1/datafusion-api.json b/etc/api/datafusion/v1beta1/datafusion-api.json
index e509a7daa9..74293fd9ce 100644
--- a/etc/api/datafusion/v1beta1/datafusion-api.json
+++ b/etc/api/datafusion/v1beta1/datafusion-api.json
@@ -40,11 +40,6 @@
"location": "query",
"type": "string"
},
- "access_token": {
- "description": "OAuth access token.",
- "location": "query",
- "type": "string"
- },
"alt": {
"default": "json",
"description": "Data format for response.",
@@ -76,11 +71,6 @@
"location": "query",
"type": "string"
},
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
- "location": "query",
- "type": "string"
- },
"prettyPrint": {
"default": "true",
"description": "Returns response with indentations and line breaks.",
@@ -277,7 +267,7 @@
],
"parameters": {
"options.requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.",
+ "description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"location": "query",
"type": "integer"
@@ -407,7 +397,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED",
+ "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:setIamPolicy",
"httpMethod": "POST",
"id": "datafusion.projects.locations.instances.setIamPolicy",
@@ -435,7 +425,7 @@
]
},
"testIamPermissions": {
- "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
+ "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:testIamPermissions",
"httpMethod": "POST",
"id": "datafusion.projects.locations.instances.testIamPermissions",
@@ -614,13 +604,58 @@
]
}
}
+ },
+ "versions": {
+ "methods": {
+ "list": {
+ "description": "Lists possible versions for Data Fusion instances in the specified project\nand location.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/versions",
+ "httpMethod": "GET",
+ "id": "datafusion.projects.locations.versions.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "latestPatchOnly": {
+ "description": "Whether or not to return the latest patch of every available minor version.\nIf true, only the latest patch will be returned. Ex. if allowed versions is\n[6.1.1, 6.1.2, 6.2.0] then response will be [6.1.2, 6.2.0]",
+ "location": "query",
+ "type": "boolean"
+ },
+ "pageSize": {
+ "description": "The maximum number of items to return.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "The next_page_token value to use if there are additional\nresults to retrieve for this list request.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. The project and location for which to retrieve instance information\nin the format projects/{project}/locations/{location}.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+parent}/versions",
+ "response": {
+ "$ref": "ListAvailableVersionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
}
}
}
}
}
},
- "revision": "20200318",
+ "revision": "20200609",
"rootUrl": "https://datafusion.googleapis.com/",
"schemas": {
"Accelerator": {
@@ -645,7 +680,7 @@
"type": "object"
},
"AuditConfig": {
- "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
+ "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n },\n {\n \"log_type\": \"ADMIN_READ\"\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\"\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"auditLogConfigs": {
@@ -663,7 +698,7 @@
"type": "object"
},
"AuditLogConfig": {
- "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
+ "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
"id": "AuditLogConfig",
"properties": {
"exemptedMembers": {
@@ -698,7 +733,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
@@ -777,7 +812,7 @@
"type": "string"
},
"description": {
- "description": "Optional. An optional description of this instance.",
+ "description": "A description of this instance.",
"type": "string"
},
"displayName": {
@@ -894,6 +929,24 @@
},
"type": "object"
},
+ "ListAvailableVersionsResponse": {
+ "description": "Response message for the list available versions request.",
+ "id": "ListAvailableVersionsResponse",
+ "properties": {
+ "availableVersions": {
+ "description": "Represents a list of versions that are supported.",
+ "items": {
+ "$ref": "Version"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "Token to retrieve the next page of results or empty if there are no more\nresults in the list.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"ListInstancesResponse": {
"description": "Response message for the list instance request.",
"id": "ListInstancesResponse",
@@ -1077,7 +1130,7 @@
"type": "object"
},
"Policy": {
- "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"auditConfigs": {
@@ -1100,7 +1153,7 @@
"type": "string"
},
"version": {
- "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -1122,7 +1175,7 @@
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
},
"updateMask": {
- "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.",
+ "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\n\n`paths: \"bindings, etag\"`",
"format": "google-fieldmask",
"type": "string"
}
@@ -1194,6 +1247,10 @@
"description": "The Data Fusion version.",
"id": "Version",
"properties": {
+ "defaultVersion": {
+ "description": "Whether this is currently the default version for Cloud Data Fusion",
+ "type": "boolean"
+ },
"versionNumber": {
"description": "The version number of the Data Fusion instance, such as '6.0.1.0'.",
"type": "string"
diff --git a/etc/api/dataproc/v1/dataproc-api.json b/etc/api/dataproc/v1/dataproc-api.json
index 36f59b180b..ea2c8bf6a6 100644
--- a/etc/api/dataproc/v1/dataproc-api.json
+++ b/etc/api/dataproc/v1/dataproc-api.json
@@ -254,7 +254,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED",
+ "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies/{autoscalingPoliciesId}:setIamPolicy",
"httpMethod": "POST",
"id": "dataproc.projects.locations.autoscalingPolicies.setIamPolicy",
@@ -557,7 +557,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED",
+ "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}:setIamPolicy",
"httpMethod": "POST",
"id": "dataproc.projects.locations.workflowTemplates.setIamPolicy",
@@ -791,7 +791,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED",
+ "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies/{autoscalingPoliciesId}:setIamPolicy",
"httpMethod": "POST",
"id": "dataproc.projects.regions.autoscalingPolicies.setIamPolicy",
@@ -1178,7 +1178,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED",
+ "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}:setIamPolicy",
"httpMethod": "POST",
"id": "dataproc.projects.regions.clusters.setIamPolicy",
@@ -1492,7 +1492,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED",
+ "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/jobs/{jobsId}:setIamPolicy",
"httpMethod": "POST",
"id": "dataproc.projects.regions.jobs.setIamPolicy",
@@ -1764,7 +1764,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED",
+ "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}:setIamPolicy",
"httpMethod": "POST",
"id": "dataproc.projects.regions.operations.setIamPolicy",
@@ -2039,7 +2039,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED",
+ "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/workflowTemplates/{workflowTemplatesId}:setIamPolicy",
"httpMethod": "POST",
"id": "dataproc.projects.regions.workflowTemplates.setIamPolicy",
@@ -2129,11 +2129,11 @@
}
}
},
- "revision": "20200323",
+ "revision": "20200703",
"rootUrl": "https://dataproc.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
- "description": "Specifies the type and number of accelerator cards attached to the instances of an instance. See GPUs on Compute Engine.",
+ "description": "Specifies the type and number of accelerator cards attached to the instances of an instance. See GPUs on Compute Engine (https://cloud.google.com/compute/docs/gpus/).",
"id": "AcceleratorConfig",
"properties": {
"acceleratorCount": {
@@ -2142,7 +2142,7 @@
"type": "integer"
},
"acceleratorTypeUri": {
- "description": "Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes.Examples:\nhttps://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80\nprojects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80\nnvidia-tesla-k80Auto Zone Exception: If you are using the Dataproc Auto Zone Placement feature, you must use the short name of the accelerator type resource, for example, nvidia-tesla-k80.",
+ "description": "Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes (https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).Examples:\nhttps://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80\nprojects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80\nnvidia-tesla-k80Auto Zone Exception: If you are using the Dataproc Auto Zone Placement (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the accelerator type resource, for example, nvidia-tesla-k80.",
"type": "string"
}
},
@@ -2211,7 +2211,7 @@
"type": "string"
},
"scaleDownFactor": {
- "description": "Required. Fraction of average pending memory in the last cooldown period for which to remove workers. A scale-down factor of 1 will result in scaling down so that there is no available memory remaining after the update (more aggressive scaling). A scale-down factor of 0 disables removing workers, which can be beneficial for autoscaling a single job.Bounds: 0.0, 1.0.",
+ "description": "Required. Fraction of average YARN pending memory in the last cooldown period for which to remove workers. A scale-down factor of 1 will result in scaling down so that there is no available memory remaining after the update (more aggressive scaling). A scale-down factor of 0 disables removing workers, which can be beneficial for autoscaling a single job. See How autoscaling works for more information.Bounds: 0.0, 1.0.",
"format": "double",
"type": "number"
},
@@ -2221,7 +2221,7 @@
"type": "number"
},
"scaleUpFactor": {
- "description": "Required. Fraction of average pending memory in the last cooldown period for which to add workers. A scale-up factor of 1.0 will result in scaling up so that there is no pending memory remaining after the update (more aggressive scaling). A scale-up factor closer to 0 will result in a smaller magnitude of scaling up (less aggressive scaling).Bounds: 0.0, 1.0.",
+ "description": "Required. Fraction of average YARN pending memory in the last cooldown period for which to add workers. A scale-up factor of 1.0 will result in scaling up so that there is no pending memory remaining after the update (more aggressive scaling). A scale-up factor closer to 0 will result in a smaller magnitude of scaling up (less aggressive scaling). See How autoscaling works for more information.Bounds: 0.0, 1.0.",
"format": "double",
"type": "number"
},
@@ -2239,7 +2239,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding. NOTE: An unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently."
+ "description": "The condition that is associated with this binding.If the condition evaluates to true, then this binding applies to the current request.If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource. members can have the following values:\nallUsers: A special identifier that represents anyone who is on the internet; with or without a Google account.\nallAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account.\nuser:{emailid}: An email address that represents a specific Google account. For example, alice@example.com .\nserviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.\ngroup:{emailid}: An email address that represents a Google group. For example, admins@example.com.\ndeleted:user:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a user that has been recently deleted. For example, alice@example.com?uid=123456789012345678901. If the user is recovered, this value reverts to user:{emailid} and the recovered user retains the role in the binding.\ndeleted:serviceAccount:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the service account is undeleted, this value reverts to serviceAccount:{emailid} and the undeleted service account retains the role in the binding.\ndeleted:group:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, admins@example.com?uid=123456789012345678901. If the group is recovered, this value reverts to group:{emailid} and the recovered group retains the role in the binding.\ndomain:{domain}: The G Suite domain (primary) that represents all the users of that domain. For example, google.com or example.com.",
@@ -2286,7 +2286,7 @@
},
"metrics": {
"$ref": "ClusterMetrics",
- "description": "Contains cluster daemon metrics such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release."
+ "description": "Output only. Contains cluster daemon metrics such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release."
},
"projectId": {
"description": "Required. The Google Cloud Platform project ID that the cluster belongs to.",
@@ -2315,13 +2315,17 @@
"description": "Optional. Autoscaling config for the policy associated with the cluster. Cluster does not autoscale if this field is unset."
},
"configBucket": {
- "description": "Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see Dataproc staging bucket).",
+ "description": "Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see Dataproc staging bucket (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).",
"type": "string"
},
"encryptionConfig": {
"$ref": "EncryptionConfig",
"description": "Optional. Encryption settings for the cluster."
},
+ "endpointConfig": {
+ "$ref": "EndpointConfig",
+ "description": "Optional. Port/endpoint configuration for this cluster"
+ },
"gceClusterConfig": {
"$ref": "GceClusterConfig",
"description": "Optional. The shared Compute Engine config settings for all instances in a cluster."
@@ -2353,6 +2357,10 @@
"$ref": "SoftwareConfig",
"description": "Optional. The config settings for software inside the cluster."
},
+ "tempBucket": {
+ "description": "Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data, such as Spark and MapReduce history files. If you do not specify a temp bucket, Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's temp bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket. The default bucket has a TTL of 90 days, but you can use any TTL (or none) if you specify a bucket.",
+ "type": "string"
+ },
"workerConfig": {
"$ref": "InstanceGroupConfig",
"description": "Optional. The Compute Engine config settings for worker instances in a cluster."
@@ -2609,6 +2617,24 @@
},
"type": "object"
},
+ "EndpointConfig": {
+ "description": "Endpoint config for this cluster",
+ "id": "EndpointConfig",
+ "properties": {
+ "enableHttpPortAccess": {
+ "description": "Optional. If true, enable http access to specific ports on the cluster from external sources. Defaults to false.",
+ "type": "boolean"
+ },
+ "httpPorts": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Output only. The map of port descriptions to URLs. Will only be populated if enable_http_port_access is true.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
"Expr": {
"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec.Example (Comparison):\ntitle: \"Summary size limit\"\ndescription: \"Determines if a summary is less than 100 chars\"\nexpression: \"document.summary.size() < 100\"\nExample (Equality):\ntitle: \"Requestor is owner\"\ndescription: \"Determines if requestor is the document owner\"\nexpression: \"document.owner == request.auth.claims.email\"\nExample (Logic):\ntitle: \"Public documents\"\ndescription: \"Determine whether the document should be publicly visible\"\nexpression: \"document.type != 'private' && document.type != 'internal'\"\nExample (Data Manipulation):\ntitle: \"Notification string\"\ndescription: \"Create a notification string with a timestamp.\"\nexpression: \"'New message received at ' + string(document.create_time)\"\nThe exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.",
"id": "Expr",
@@ -2648,7 +2674,7 @@
"type": "object"
},
"networkUri": {
- "description": "Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither network_uri nor subnetwork_uri is specified, the \"default\" network of the project is used, if it exists. Cannot be a \"Custom Subnet Network\" (see Using Subnetworks for more information).A full URL, partial URI, or short name are valid. Examples:\nhttps://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default\nprojects/[project_id]/regions/global/default\ndefault",
+ "description": "Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither network_uri nor subnetwork_uri is specified, the \"default\" network of the project is used, if it exists. Cannot be a \"Custom Subnet Network\" (see Using Subnetworks (https://cloud.google.com/compute/docs/subnetworks) for more information).A full URL, partial URI, or short name are valid. Examples:\nhttps://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default\nprojects/[project_id]/regions/global/default\ndefault",
"type": "string"
},
"reservationAffinity": {
@@ -2656,7 +2682,7 @@
"description": "Optional. Reservation Affinity for consuming Zonal reservation."
},
"serviceAccount": {
- "description": "Optional. The Dataproc service account (also see VM Data Plane identity) used by Dataproc cluster VM instances to access Google Cloud Platform services.If not specified, the Compute Engine default service account is used.",
+ "description": "Optional. The Dataproc service account (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_cloud_dataproc) (also see VM Data Plane identity (https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity)) used by Dataproc cluster VM instances to access Google Cloud Platform services.If not specified, the Compute Engine default service account (https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used.",
"type": "string"
},
"serviceAccountScopes": {
@@ -2671,7 +2697,7 @@
"type": "string"
},
"tags": {
- "description": "The Compute Engine tags to add to all instances (see Tagging instances).",
+ "description": "The Compute Engine tags to add to all instances (see Tagging instances (https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).",
"items": {
"type": "string"
},
@@ -2690,7 +2716,7 @@
"properties": {
"options": {
"$ref": "GetPolicyOptions",
- "description": "OPTIONAL: A GetPolicyOptions object for specifying options to GetIamPolicy. This field is only used by Cloud IAM."
+ "description": "OPTIONAL: A GetPolicyOptions object for specifying options to GetIamPolicy."
}
},
"type": "object"
@@ -2700,7 +2726,7 @@
"id": "GetPolicyOptions",
"properties": {
"requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.",
+ "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -2839,7 +2865,7 @@
"description": "Optional. Disk option config settings."
},
"imageUri": {
- "description": "Optional. The Compute Engine image resource used for cluster instances. It can be specified or may be inferred from SoftwareConfig.image_version.",
+ "description": "Optional. The Compute Engine image resource used for cluster instances.The URI can represent an image or image family.Image examples:\nhttps://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]\nprojects/[project_id]/global/images/[image-id]\nimage-idImage family examples. Dataproc will use the most recent image from the family:\nhttps://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]\nprojects/[project_id]/global/images/family/[custom-image-family-name]If the URI is unspecified, it will be inferred from SoftwareConfig.image_version or the system default.",
"type": "string"
},
"instanceNames": {
@@ -2854,7 +2880,7 @@
"type": "boolean"
},
"machineTypeUri": {
- "description": "Optional. The Compute Engine machine type used for cluster instances.A full URL, partial URI, or short name are valid. Examples:\nhttps://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2\nprojects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2\nn1-standard-2Auto Zone Exception: If you are using the Dataproc Auto Zone Placement feature, you must use the short name of the machine type resource, for example, n1-standard-2.",
+ "description": "Optional. The Compute Engine machine type used for cluster instances.A full URL, partial URI, or short name are valid. Examples:\nhttps://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2\nprojects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2\nn1-standard-2Auto Zone Exception: If you are using the Dataproc Auto Zone Placement (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the machine type resource, for example, n1-standard-2.",
"type": "string"
},
"managedGroupConfig": {
@@ -2862,7 +2888,7 @@
"description": "Output only. The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups."
},
"minCpuPlatform": {
- "description": "Optional. Specifies the minimum cpu platform for the Instance Group. See Dataproc→Minimum CPU Platform.",
+ "description": "Optional. Specifies the minimum cpu platform for the Instance Group. See Dataproc -> Minimum CPU Platform (https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).",
"type": "string"
},
"numInstances": {
@@ -3050,7 +3076,7 @@
"type": "string"
},
"projectId": {
- "description": "Required. The ID of the Google Cloud Platform project that the job belongs to.",
+ "description": "Optional. The ID of the Google Cloud Platform project that the job belongs to. If specified, must match the request project ID.",
"type": "string"
}
},
@@ -3149,7 +3175,7 @@
"type": "string"
},
"enableKerberos": {
- "description": "Optional. Flag to indicate whether to Kerberize the cluster.",
+ "description": "Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster.",
"type": "boolean"
},
"kdcDbKeyUri": {
@@ -3431,10 +3457,12 @@
"id": "OrderedJob",
"properties": {
"hadoopJob": {
- "$ref": "HadoopJob"
+ "$ref": "HadoopJob",
+ "description": "Optional. Job is a Hadoop job."
},
"hiveJob": {
- "$ref": "HiveJob"
+ "$ref": "HiveJob",
+ "description": "Optional. Job is a Hive job."
},
"labels": {
"additionalProperties": {
@@ -3444,7 +3472,8 @@
"type": "object"
},
"pigJob": {
- "$ref": "PigJob"
+ "$ref": "PigJob",
+ "description": "Optional. Job is a Pig job."
},
"prerequisiteStepIds": {
"description": "Optional. The optional list of prerequisite job step_ids. If not specified, the job will start at the beginning of workflow.",
@@ -3455,24 +3484,27 @@
},
"prestoJob": {
"$ref": "PrestoJob",
- "description": "Presto job"
+ "description": "Optional. Job is a Presto job."
},
"pysparkJob": {
- "$ref": "PySparkJob"
+ "$ref": "PySparkJob",
+ "description": "Optional. Job is a PySpark job."
},
"scheduling": {
"$ref": "JobScheduling",
"description": "Optional. Job scheduling configuration."
},
"sparkJob": {
- "$ref": "SparkJob"
+ "$ref": "SparkJob",
+ "description": "Optional. Job is a Spark job."
},
"sparkRJob": {
"$ref": "SparkRJob",
- "description": "Spark R job"
+ "description": "Optional. Job is a SparkR job."
},
"sparkSqlJob": {
- "$ref": "SparkSqlJob"
+ "$ref": "SparkSqlJob",
+ "description": "Optional. Job is a SparkSql job."
},
"stepId": {
"description": "Required. The step id. The id must be unique among all jobs within the template.The step id is used as prefix for job id, as job goog-dataproc-workflow-step-id label, and in prerequisiteStepIds field from other steps.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.",
@@ -3541,7 +3573,7 @@
"type": "object"
},
"Policy": {
- "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.A Policy is a collection of bindings. A binding binds one or more members to a single role. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A role is a named list of permissions; each role can be an IAM predefined role or a user-created custom role.Optionally, a binding can specify a condition, which is a logical expression that allows access to a resource only if the expression evaluates to true. A condition can add constraints based on attributes of the request, the resource, or both.JSON example:\n{\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n}\nYAML example:\nbindings:\n- members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n- members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n- etag: BwWWja0YfJA=\n- version: 3\nFor a description of IAM and its features, see the IAM documentation (https://cloud.google.com/iam/docs/).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.A Policy is a collection of bindings. A binding binds one or more members to a single role. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A role is a named list of permissions; each role can be an IAM predefined role or a user-created custom role.For some types of Google Cloud resources, a binding can also specify a condition, which is a logical expression that allows access to a resource only if the expression evaluates to true. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).JSON example:\n{\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n}\nYAML example:\nbindings:\n- members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n- members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n- etag: BwWWja0YfJA=\n- version: 3\nFor a description of IAM and its features, see the IAM documentation (https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"bindings": {
@@ -3557,7 +3589,7 @@
"type": "string"
},
"version": {
- "description": "Specifies the format of the policy.Valid values are 0, 1, and 3. Requests that specify an invalid value are rejected.Any operation that affects conditional role bindings must specify version 3. This requirement applies to the following operations:\nGetting a policy that includes a conditional role binding\nAdding a conditional role binding to a policy\nChanging a conditional role binding in a policy\nRemoving any role binding, with or without a condition, from a policy that includes conditionsImportant: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost.If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset.",
+ "description": "Specifies the format of the policy.Valid values are 0, 1, and 3. Requests that specify an invalid value are rejected.Any operation that affects conditional role bindings must specify version 3. This requirement applies to the following operations:\nGetting a policy that includes a conditional role binding\nAdding a conditional role binding to a policy\nChanging a conditional role binding in a policy\nRemoving any role binding, with or without a condition, from a policy that includes conditionsImportant: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost.If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -3565,7 +3597,7 @@
"type": "object"
},
"PrestoJob": {
- "description": "A Dataproc job for running Presto (https://prestosql.io/) queries",
+ "description": "A Dataproc job for running Presto (https://prestosql.io/) queries. IMPORTANT: The Dataproc Presto Optional Component (https://cloud.google.com/dataproc/docs/concepts/components/presto) must be enabled when the cluster is created to submit a Presto job to the cluster.",
"id": "PrestoJob",
"properties": {
"clientTags": {
@@ -3610,7 +3642,7 @@
"id": "PySparkJob",
"properties": {
"archiveUris": {
- "description": "Optional. HCFS URIs of archives to be extracted in the working directory of .jar, .tar, .tar.gz, .tgz, and .zip.",
+ "description": "Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.",
"items": {
"type": "string"
},
@@ -3624,7 +3656,7 @@
"type": "array"
},
"fileUris": {
- "description": "Optional. HCFS URIs of files to be copied to the working directory of Python drivers and distributed tasks. Useful for naively parallel tasks.",
+ "description": "Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.",
"items": {
"type": "string"
},
@@ -3751,13 +3783,13 @@
"id": "SoftwareConfig",
"properties": {
"imageVersion": {
- "description": "Optional. The version of software inside the cluster. It must be one of the supported Dataproc Versions, such as \"1.2\" (including a subminor version, such as \"1.2.29\"), or the \"preview\" version. If unspecified, it defaults to the latest Debian version.",
+ "description": "Optional. The version of software inside the cluster. It must be one of the supported Dataproc Versions (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported_cloud_dataproc_versions), such as \"1.2\" (including a subminor version, such as \"1.2.29\"), or the \"preview\" version (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions). If unspecified, it defaults to the latest Debian version.",
"type": "string"
},
"optionalComponents": {
"description": "Optional. The set of components to activate on the cluster.",
"enumDescriptions": [
- "Unspecified component.",
+ "Unspecified component. Specifying this will cause Cluster creation to fail.",
"The Anaconda python distribution.",
"The Hive Web HCatalog (the REST service for accessing HCatalog).",
"The Jupyter Notebook.",
@@ -3783,7 +3815,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Optional. The properties to set on daemon config files.Property keys are specified in prefix:property format, for example core:hadoop.tmp.dir. The following are supported prefixes and their mappings:\ncapacity-scheduler: capacity-scheduler.xml\ncore: core-site.xml\ndistcp: distcp-default.xml\nhdfs: hdfs-site.xml\nhive: hive-site.xml\nmapred: mapred-site.xml\npig: pig.properties\nspark: spark-defaults.conf\nyarn: yarn-site.xmlFor more information, see Cluster properties.",
+ "description": "Optional. The properties to set on daemon config files.Property keys are specified in prefix:property format, for example core:hadoop.tmp.dir. The following are supported prefixes and their mappings:\ncapacity-scheduler: capacity-scheduler.xml\ncore: core-site.xml\ndistcp: distcp-default.xml\nhdfs: hdfs-site.xml\nhive: hive-site.xml\nmapred: mapred-site.xml\npig: pig.properties\nspark: spark-defaults.conf\nyarn: yarn-site.xmlFor more information, see Cluster properties (https://cloud.google.com/dataproc/docs/concepts/cluster-properties).",
"type": "object"
}
},
@@ -3794,7 +3826,7 @@
"id": "SparkJob",
"properties": {
"archiveUris": {
- "description": "Optional. HCFS URIs of archives to be extracted in the working directory of Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.",
+ "description": "Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.",
"items": {
"type": "string"
},
@@ -3808,7 +3840,7 @@
"type": "array"
},
"fileUris": {
- "description": "Optional. HCFS URIs of files to be copied to the working directory of Spark drivers and distributed tasks. Useful for naively parallel tasks.",
+ "description": "Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.",
"items": {
"type": "string"
},
@@ -3848,7 +3880,7 @@
"id": "SparkRJob",
"properties": {
"archiveUris": {
- "description": "Optional. HCFS URIs of archives to be extracted in the working directory of Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.",
+ "description": "Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.",
"items": {
"type": "string"
},
@@ -3862,7 +3894,7 @@
"type": "array"
},
"fileUris": {
- "description": "Optional. HCFS URIs of files to be copied to the working directory of R drivers and distributed tasks. Useful for naively parallel tasks.",
+ "description": "Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.",
"items": {
"type": "string"
},
@@ -4196,7 +4228,7 @@
"type": "string"
},
"parameters": {
- "description": "Optional. emplate parameters whose values are substituted into the template. Values for parameters must be provided when the template is instantiated.",
+ "description": "Optional. Template parameters whose values are substituted into the template. Values for parameters must be provided when the template is instantiated.",
"items": {
"$ref": "TemplateParameter"
},
diff --git a/etc/api/dataproc/v1beta2/dataproc-api.json b/etc/api/dataproc/v1beta2/dataproc-api.json
index e6f0eb1b9c..89ca8d1445 100644
--- a/etc/api/dataproc/v1beta2/dataproc-api.json
+++ b/etc/api/dataproc/v1beta2/dataproc-api.json
@@ -199,7 +199,7 @@
],
"parameters": {
"options.requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.",
+ "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"location": "query",
"type": "integer"
@@ -257,7 +257,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED",
+ "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies/{autoscalingPoliciesId}:setIamPolicy",
"httpMethod": "POST",
"id": "dataproc.projects.locations.autoscalingPolicies.setIamPolicy",
@@ -444,7 +444,7 @@
],
"parameters": {
"options.requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.",
+ "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"location": "query",
"type": "integer"
@@ -568,7 +568,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED",
+ "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}:setIamPolicy",
"httpMethod": "POST",
"id": "dataproc.projects.locations.workflowTemplates.setIamPolicy",
@@ -747,7 +747,7 @@
],
"parameters": {
"options.requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.",
+ "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"location": "query",
"type": "integer"
@@ -805,7 +805,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED",
+ "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
"flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies/{autoscalingPoliciesId}:setIamPolicy",
"httpMethod": "POST",
"id": "dataproc.projects.regions.autoscalingPolicies.setIamPolicy",
@@ -1068,7 +1068,7 @@
],
"parameters": {
"options.requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.",
+ "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"location": "query",
"type": "integer"
@@ -1195,7 +1195,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED",
+ "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
"flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}:setIamPolicy",
"httpMethod": "POST",
"id": "dataproc.projects.regions.clusters.setIamPolicy",
@@ -1463,7 +1463,7 @@
],
"parameters": {
"options.requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.",
+ "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"location": "query",
"type": "integer"
@@ -1594,7 +1594,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED",
+ "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
"flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/jobs/{jobsId}:setIamPolicy",
"httpMethod": "POST",
"id": "dataproc.projects.regions.jobs.setIamPolicy",
@@ -1806,7 +1806,7 @@
],
"parameters": {
"options.requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.",
+ "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"location": "query",
"type": "integer"
@@ -1869,7 +1869,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED",
+ "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
"flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}:setIamPolicy",
"httpMethod": "POST",
"id": "dataproc.projects.regions.operations.setIamPolicy",
@@ -2028,7 +2028,7 @@
],
"parameters": {
"options.requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.",
+ "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"location": "query",
"type": "integer"
@@ -2152,7 +2152,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED",
+ "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
"flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/workflowTemplates/{workflowTemplatesId}:setIamPolicy",
"httpMethod": "POST",
"id": "dataproc.projects.regions.workflowTemplates.setIamPolicy",
@@ -2242,11 +2242,11 @@
}
}
},
- "revision": "20200323",
+ "revision": "20200703",
"rootUrl": "https://dataproc.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
- "description": "Specifies the type and number of accelerator cards attached to the instances of an instance group (see GPUs on Compute Engine).",
+ "description": "Specifies the type and number of accelerator cards attached to the instances of an instance group (see GPUs on Compute Engine (https://cloud.google.com/compute/docs/gpus/)).",
"id": "AcceleratorConfig",
"properties": {
"acceleratorCount": {
@@ -2255,7 +2255,7 @@
"type": "integer"
},
"acceleratorTypeUri": {
- "description": "Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypesExamples * https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 * projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 * nvidia-tesla-k80Auto Zone Exception: If you are using the Dataproc Auto Zone Placement feature, you must use the short name of the accelerator type resource, for example, nvidia-tesla-k80.",
+ "description": "Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes (https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes)Examples * https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 * projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 * nvidia-tesla-k80Auto Zone Exception: If you are using the Dataproc Auto Zone Placement (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the accelerator type resource, for example, nvidia-tesla-k80.",
"type": "string"
}
},
@@ -2324,7 +2324,7 @@
"type": "string"
},
"scaleDownFactor": {
- "description": "Required. Fraction of average pending memory in the last cooldown period for which to remove workers. A scale-down factor of 1 will result in scaling down so that there is no available memory remaining after the update (more aggressive scaling). A scale-down factor of 0 disables removing workers, which can be beneficial for autoscaling a single job.Bounds: 0.0, 1.0.",
+ "description": "Required. Fraction of average YARN pending memory in the last cooldown period for which to remove workers. A scale-down factor of 1 will result in scaling down so that there is no available memory remaining after the update (more aggressive scaling). A scale-down factor of 0 disables removing workers, which can be beneficial for autoscaling a single job. See How autoscaling works for more information.Bounds: 0.0, 1.0.",
"format": "double",
"type": "number"
},
@@ -2334,7 +2334,7 @@
"type": "number"
},
"scaleUpFactor": {
- "description": "Required. Fraction of average pending memory in the last cooldown period for which to add workers. A scale-up factor of 1.0 will result in scaling up so that there is no pending memory remaining after the update (more aggressive scaling). A scale-up factor closer to 0 will result in a smaller magnitude of scaling up (less aggressive scaling).Bounds: 0.0, 1.0.",
+ "description": "Required. Fraction of average YARN pending memory in the last cooldown period for which to add workers. A scale-up factor of 1.0 will result in scaling up so that there is no pending memory remaining after the update (more aggressive scaling). A scale-up factor closer to 0 will result in a smaller magnitude of scaling up (less aggressive scaling). See How autoscaling works for more information.Bounds: 0.0, 1.0.",
"format": "double",
"type": "number"
},
@@ -2352,7 +2352,7 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "The condition that is associated with this binding. NOTE: An unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently."
+ "description": "The condition that is associated with this binding.If the condition evaluates to true, then this binding applies to the current request.If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource. members can have the following values:\nallUsers: A special identifier that represents anyone who is on the internet; with or without a Google account.\nallAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account.\nuser:{emailid}: An email address that represents a specific Google account. For example, alice@example.com .\nserviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.\ngroup:{emailid}: An email address that represents a Google group. For example, admins@example.com.\ndeleted:user:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a user that has been recently deleted. For example, alice@example.com?uid=123456789012345678901. If the user is recovered, this value reverts to user:{emailid} and the recovered user retains the role in the binding.\ndeleted:serviceAccount:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the service account is undeleted, this value reverts to serviceAccount:{emailid} and the undeleted service account retains the role in the binding.\ndeleted:group:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, admins@example.com?uid=123456789012345678901. If the group is recovered, this value reverts to group:{emailid} and the recovered group retains the role in the binding.\ndomain:{domain}: The G Suite domain (primary) that represents all the users of that domain. For example, google.com or example.com.",
@@ -2428,7 +2428,7 @@
"description": "Optional. Autoscaling config for the policy associated with the cluster. Cluster does not autoscale if this field is unset."
},
"configBucket": {
- "description": "Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see Dataproc staging bucket).",
+ "description": "Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see Dataproc staging bucket (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).",
"type": "string"
},
"encryptionConfig": {
@@ -2474,6 +2474,10 @@
"$ref": "SoftwareConfig",
"description": "Optional. The config settings for software inside the cluster."
},
+ "tempBucket": {
+ "description": "Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data, such as Spark and MapReduce history files. If you do not specify a temp bucket, Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's temp bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket. The default bucket has a TTL of 90 days, but you can use any TTL (or none) if you specify a bucket.",
+ "type": "string"
+ },
"workerConfig": {
"$ref": "InstanceGroupConfig",
"description": "Optional. The Compute Engine config settings for worker instances in a cluster."
@@ -2641,7 +2645,10 @@
"RUNNING",
"ERROR",
"DELETING",
- "UPDATING"
+ "UPDATING",
+ "STOPPING",
+ "STOPPED",
+ "STARTING"
],
"enumDescriptions": [
"The cluster state is unknown.",
@@ -2649,7 +2656,10 @@
"The cluster is currently running and healthy. It is ready for use.",
"The cluster encountered an error. It is not ready for use.",
"The cluster is being deleted. It cannot be used.",
- "The cluster is being updated. It continues to accept and process jobs."
+ "The cluster is being updated. It continues to accept and process jobs.",
+ "The cluster is being stopped. It cannot be used.",
+ "The cluster is currently stopped. It is not ready for use.",
+ "The cluster is being started. It is not ready for use."
],
"type": "string"
},
@@ -2787,7 +2797,7 @@
"type": "object"
},
"networkUri": {
- "description": "Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither network_uri nor subnetwork_uri is specified, the \"default\" network of the project is used, if it exists. Cannot be a \"Custom Subnet Network\" (see Using Subnetworks for more information).A full URL, partial URI, or short name are valid. Examples:\nhttps://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default\nprojects/[project_id]/regions/global/default\ndefault",
+ "description": "Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither network_uri nor subnetwork_uri is specified, the \"default\" network of the project is used, if it exists. Cannot be a \"Custom Subnet Network\" (see Using Subnetworks (https://cloud.google.com/compute/docs/subnetworks) for more information).A full URL, partial URI, or short name are valid. Examples:\nhttps://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default\nprojects/[project_id]/regions/global/default\ndefault",
"type": "string"
},
"reservationAffinity": {
@@ -2795,7 +2805,7 @@
"description": "Optional. Reservation Affinity for consuming Zonal reservation."
},
"serviceAccount": {
- "description": "Optional. The Dataproc service account (also see VM Data Plane identity) used by Dataproc cluster VM instances to access Google Cloud Platform services.If not specified, the Compute Engine default service account is used.",
+ "description": "Optional. The Dataproc service account (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_cloud_dataproc) (also see VM Data Plane identity (https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity)) used by Dataproc cluster VM instances to access Google Cloud Platform services.If not specified, the Compute Engine default service account (https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used.",
"type": "string"
},
"serviceAccountScopes": {
@@ -2810,7 +2820,7 @@
"type": "string"
},
"tags": {
- "description": "The Compute Engine tags to add to all instances (see Tagging instances).",
+ "description": "The Compute Engine tags to add to all instances (see Tagging instances (https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).",
"items": {
"type": "string"
},
@@ -2829,7 +2839,7 @@
"properties": {
"options": {
"$ref": "GetPolicyOptions",
- "description": "OPTIONAL: A GetPolicyOptions object for specifying options to GetIamPolicy. This field is only used by Cloud IAM."
+ "description": "OPTIONAL: A GetPolicyOptions object for specifying options to GetIamPolicy."
}
},
"type": "object"
@@ -2839,7 +2849,7 @@
"id": "GetPolicyOptions",
"properties": {
"requestedPolicyVersion": {
- "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.",
+ "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -2989,7 +2999,7 @@
"description": "Optional. Disk option config settings."
},
"imageUri": {
- "description": "Optional. The Compute Engine image resource used for cluster instances. It can be specified or may be inferred from SoftwareConfig.image_version.",
+ "description": "Optional. The Compute Engine image resource used for cluster instances.The URI can represent an image or image family.Image examples:\nhttps://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]\nprojects/[project_id]/global/images/[image-id]\nimage-idImage family examples. Dataproc will use the most recent image from the family:\nhttps://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]\nprojects/[project_id]/global/images/family/[custom-image-family-name]If the URI is unspecified, it will be inferred from SoftwareConfig.image_version or the system default.",
"type": "string"
},
"instanceNames": {
@@ -3004,7 +3014,7 @@
"type": "boolean"
},
"machineTypeUri": {
- "description": "Optional. The Compute Engine machine type used for cluster instances.A full URL, partial URI, or short name are valid. Examples:\nhttps://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2\nprojects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2\nn1-standard-2Auto Zone Exception: If you are using the Dataproc Auto Zone Placement feature, you must use the short name of the machine type resource, for example, n1-standard-2.",
+ "description": "Optional. The Compute Engine machine type used for cluster instances.A full URL, partial URI, or short name are valid. Examples:\nhttps://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2\nprojects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2\nn1-standard-2Auto Zone Exception: If you are using the Dataproc Auto Zone Placement (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the machine type resource, for example, n1-standard-2.",
"type": "string"
},
"managedGroupConfig": {
@@ -3012,7 +3022,7 @@
"description": "Output only. The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups."
},
"minCpuPlatform": {
- "description": "Specifies the minimum cpu platform for the Instance Group. See Dataproc→Minimum CPU Platform.",
+ "description": "Specifies the minimum cpu platform for the Instance Group. See Dataproc -> Minimum CPU Platform (https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).",
"type": "string"
},
"numInstances": {
@@ -3081,10 +3091,12 @@
"type": "string"
},
"hadoopJob": {
- "$ref": "HadoopJob"
+ "$ref": "HadoopJob",
+ "description": "Optional. Job is a Hadoop job."
},
"hiveJob": {
- "$ref": "HiveJob"
+ "$ref": "HiveJob",
+ "description": "Optional. Job is a Hive job."
},
"jobUuid": {
"description": "Output only. A UUID that uniquely identifies a job within the project over time. This is in contrast to a user-settable reference.job_id that may be reused over time.",
@@ -3098,17 +3110,20 @@
"type": "object"
},
"pigJob": {
- "$ref": "PigJob"
+ "$ref": "PigJob",
+ "description": "Optional. Job is a Pig job."
},
"placement": {
"$ref": "JobPlacement",
"description": "Required. Job information, including how, when, and where to run the job."
},
"prestoJob": {
- "$ref": "PrestoJob"
+ "$ref": "PrestoJob",
+ "description": "Optional. Job is a Presto job."
},
"pysparkJob": {
- "$ref": "PySparkJob"
+ "$ref": "PySparkJob",
+ "description": "Optional. Job is a PySpark job."
},
"reference": {
"$ref": "JobReference",
@@ -3119,13 +3134,16 @@
"description": "Optional. Job scheduling configuration."
},
"sparkJob": {
- "$ref": "SparkJob"
+ "$ref": "SparkJob",
+ "description": "Optional. Job is a Spark job."
},
"sparkRJob": {
- "$ref": "SparkRJob"
+ "$ref": "SparkRJob",
+ "description": "Optional. Job is a SparkR job."
},
"sparkSqlJob": {
- "$ref": "SparkSqlJob"
+ "$ref": "SparkSqlJob",
+ "description": "Optional. Job is a SparkSql job."
},
"status": {
"$ref": "JobStatus",
@@ -3200,7 +3218,7 @@
"type": "string"
},
"projectId": {
- "description": "Required. The ID of the Google Cloud Platform project that the job belongs to.",
+ "description": "Optional. The ID of the Google Cloud Platform project that the job belongs to. If specified, must match the request project ID.",
"type": "string"
}
},
@@ -3299,7 +3317,7 @@
"type": "string"
},
"enableKerberos": {
- "description": "Optional. Flag to indicate whether to Kerberize the cluster.",
+ "description": "Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster.",
"type": "boolean"
},
"kdcDbKeyUri": {
@@ -3596,10 +3614,12 @@
"id": "OrderedJob",
"properties": {
"hadoopJob": {
- "$ref": "HadoopJob"
+ "$ref": "HadoopJob",
+ "description": "Optional. Job is a Hadoop job."
},
"hiveJob": {
- "$ref": "HiveJob"
+ "$ref": "HiveJob",
+ "description": "Optional. Job is a Hive job."
},
"labels": {
"additionalProperties": {
@@ -3609,7 +3629,8 @@
"type": "object"
},
"pigJob": {
- "$ref": "PigJob"
+ "$ref": "PigJob",
+ "description": "Optional. Job is a Pig job."
},
"prerequisiteStepIds": {
"description": "Optional. The optional list of prerequisite job step_ids. If not specified, the job will start at the beginning of workflow.",
@@ -3620,24 +3641,27 @@
},
"prestoJob": {
"$ref": "PrestoJob",
- "description": "Presto job"
+ "description": "Optional. Job is a Presto job."
},
"pysparkJob": {
- "$ref": "PySparkJob"
+ "$ref": "PySparkJob",
+ "description": "Optional. Job is a PySpark job."
},
"scheduling": {
"$ref": "JobScheduling",
"description": "Optional. Job scheduling configuration."
},
"sparkJob": {
- "$ref": "SparkJob"
+ "$ref": "SparkJob",
+ "description": "Optional. Job is a Spark job."
},
"sparkRJob": {
"$ref": "SparkRJob",
- "description": "Spark R job"
+ "description": "Optional. Job is a SparkR job."
},
"sparkSqlJob": {
- "$ref": "SparkSqlJob"
+ "$ref": "SparkSqlJob",
+ "description": "Optional. Job is a SparkSql job."
},
"stepId": {
"description": "Required. The step id. The id must be unique among all jobs within the template.The step id is used as prefix for job id, as job goog-dataproc-workflow-step-id label, and in prerequisiteStepIds field from other steps.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.",
@@ -3706,7 +3730,7 @@
"type": "object"
},
"Policy": {
- "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.A Policy is a collection of bindings. A binding binds one or more members to a single role. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A role is a named list of permissions; each role can be an IAM predefined role or a user-created custom role.Optionally, a binding can specify a condition, which is a logical expression that allows access to a resource only if the expression evaluates to true. A condition can add constraints based on attributes of the request, the resource, or both.JSON example:\n{\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n}\nYAML example:\nbindings:\n- members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n- members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n- etag: BwWWja0YfJA=\n- version: 3\nFor a description of IAM and its features, see the IAM documentation (https://cloud.google.com/iam/docs/).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.A Policy is a collection of bindings. A binding binds one or more members to a single role. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A role is a named list of permissions; each role can be an IAM predefined role or a user-created custom role.For some types of Google Cloud resources, a binding can also specify a condition, which is a logical expression that allows access to a resource only if the expression evaluates to true. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).JSON example:\n{\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n}\nYAML example:\nbindings:\n- members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n- members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n- etag: BwWWja0YfJA=\n- version: 3\nFor a description of IAM and its features, see the IAM documentation (https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"bindings": {
@@ -3722,7 +3746,7 @@
"type": "string"
},
"version": {
- "description": "Specifies the format of the policy.Valid values are 0, 1, and 3. Requests that specify an invalid value are rejected.Any operation that affects conditional role bindings must specify version 3. This requirement applies to the following operations:\nGetting a policy that includes a conditional role binding\nAdding a conditional role binding to a policy\nChanging a conditional role binding in a policy\nRemoving any role binding, with or without a condition, from a policy that includes conditionsImportant: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost.If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset.",
+ "description": "Specifies the format of the policy.Valid values are 0, 1, and 3. Requests that specify an invalid value are rejected.Any operation that affects conditional role bindings must specify version 3. This requirement applies to the following operations:\nGetting a policy that includes a conditional role binding\nAdding a conditional role binding to a policy\nChanging a conditional role binding in a policy\nRemoving any role binding, with or without a condition, from a policy that includes conditionsImportant: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost.If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -3730,7 +3754,7 @@
"type": "object"
},
"PrestoJob": {
- "description": "A Dataproc job for running Presto (https://prestosql.io/) queries",
+ "description": "A Dataproc job for running Presto (https://prestosql.io/) queries. IMPORTANT: The Dataproc Presto Optional Component (https://cloud.google.com/dataproc/docs/concepts/components/presto) must be enabled when the cluster is created to submit a Presto job to the cluster.",
"id": "PrestoJob",
"properties": {
"clientTags": {
@@ -3775,7 +3799,7 @@
"id": "PySparkJob",
"properties": {
"archiveUris": {
- "description": "Optional. HCFS URIs of archives to be extracted in the working directory of .jar, .tar, .tar.gz, .tgz, and .zip.",
+ "description": "Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.",
"items": {
"type": "string"
},
@@ -3789,7 +3813,7 @@
"type": "array"
},
"fileUris": {
- "description": "Optional. HCFS URIs of files to be copied to the working directory of Python drivers and distributed tasks. Useful for naively parallel tasks.",
+ "description": "Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.",
"items": {
"type": "string"
},
@@ -3916,13 +3940,13 @@
"id": "SoftwareConfig",
"properties": {
"imageVersion": {
- "description": "Optional. The version of software inside the cluster. It must be one of the supported Dataproc Versions, such as \"1.2\" (including a subminor version, such as \"1.2.29\"), or the \"preview\" version. If unspecified, it defaults to the latest Debian version.",
+ "description": "Optional. The version of software inside the cluster. It must be one of the supported Dataproc Versions (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported_cloud_dataproc_versions), such as \"1.2\" (including a subminor version, such as \"1.2.29\"), or the \"preview\" version (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions). If unspecified, it defaults to the latest Debian version.",
"type": "string"
},
"optionalComponents": {
"description": "The set of optional components to activate on the cluster.",
"enumDescriptions": [
- "Unspecified component.",
+ "Unspecified component. Specifying this will cause Cluster creation to fail.",
"The Anaconda python distribution.",
"The Druid query engine.",
"HBase.",
@@ -3958,7 +3982,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Optional. The properties to set on daemon config files.Property keys are specified in prefix:property format, for example core:hadoop.tmp.dir. The following are supported prefixes and their mappings:\ncapacity-scheduler: capacity-scheduler.xml\ncore: core-site.xml\ndistcp: distcp-default.xml\nhdfs: hdfs-site.xml\nhive: hive-site.xml\nmapred: mapred-site.xml\npig: pig.properties\nspark: spark-defaults.conf\nyarn: yarn-site.xmlFor more information, see Cluster properties.",
+ "description": "Optional. The properties to set on daemon config files.Property keys are specified in prefix:property format, for example core:hadoop.tmp.dir. The following are supported prefixes and their mappings:\ncapacity-scheduler: capacity-scheduler.xml\ncore: core-site.xml\ndistcp: distcp-default.xml\nhdfs: hdfs-site.xml\nhive: hive-site.xml\nmapred: mapred-site.xml\npig: pig.properties\nspark: spark-defaults.conf\nyarn: yarn-site.xmlFor more information, see Cluster properties (https://cloud.google.com/dataproc/docs/concepts/cluster-properties).",
"type": "object"
}
},
@@ -3969,7 +3993,7 @@
"id": "SparkJob",
"properties": {
"archiveUris": {
- "description": "Optional. HCFS URIs of archives to be extracted in the working directory of Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.",
+ "description": "Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.",
"items": {
"type": "string"
},
@@ -3983,7 +4007,7 @@
"type": "array"
},
"fileUris": {
- "description": "Optional. HCFS URIs of files to be copied to the working directory of Spark drivers and distributed tasks. Useful for naively parallel tasks.",
+ "description": "Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.",
"items": {
"type": "string"
},
@@ -4023,7 +4047,7 @@
"id": "SparkRJob",
"properties": {
"archiveUris": {
- "description": "Optional. HCFS URIs of archives to be extracted in the working directory of Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.",
+ "description": "Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.",
"items": {
"type": "string"
},
@@ -4037,7 +4061,7 @@
"type": "array"
},
"fileUris": {
- "description": "Optional. HCFS URIs of files to be copied to the working directory of R drivers and distributed tasks. Useful for naively parallel tasks.",
+ "description": "Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.",
"items": {
"type": "string"
},
@@ -4271,6 +4295,21 @@
"$ref": "ClusterOperation",
"description": "Output only. The create cluster operation metadata."
},
+ "dagEndTime": {
+ "description": "Output only. DAG end time, only set for workflows with dag_timeout when DAG ends.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "dagStartTime": {
+ "description": "Output only. DAG start time, only set for workflows with dag_timeout when DAG begins.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "dagTimeout": {
+ "description": "Output only. The timeout duration for the DAG of jobs. Minimum timeout duration is 10 minutes and maximum is 24 hours, expressed as a google.protobuf.Duration. For example, \"1800\" = 1800 seconds/30 minutes duration.",
+ "format": "google-duration",
+ "type": "string"
+ },
"deleteCluster": {
"$ref": "ClusterOperation",
"description": "Output only. The delete cluster operation metadata."
@@ -4379,6 +4418,11 @@
"format": "google-datetime",
"type": "string"
},
+ "dagTimeout": {
+ "description": "Optional. Timeout for DAG of jobs. The timer begins when the first job is submitted. Minimum duration of 10 minutes, max of 24 hours.",
+ "format": "google-duration",
+ "type": "string"
+ },
"id": {
"description": "Required. The template id.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters..",
"type": "string"
diff --git a/etc/api/datastore/v1/datastore-api.json b/etc/api/datastore/v1/datastore-api.json
index 342d505a80..5e147384c2 100644
--- a/etc/api/datastore/v1/datastore-api.json
+++ b/etc/api/datastore/v1/datastore-api.json
@@ -625,7 +625,7 @@
}
}
},
- "revision": "20200311",
+ "revision": "20200524",
"rootUrl": "https://datastore.googleapis.com/",
"schemas": {
"AllocateIdsRequest": {
@@ -2038,7 +2038,7 @@
"type": "string"
},
"stringValue": {
- "description": "A UTF-8 encoded string value.\nWhen `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.\nOtherwise, may be set to at least 1,000,000 bytes.",
+ "description": "A UTF-8 encoded string value.\nWhen `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.\nOtherwise, may be set to at most 1,000,000 bytes.",
"type": "string"
},
"timestampValue": {
diff --git a/etc/api/datastore/v1beta1/datastore-api.json b/etc/api/datastore/v1beta1/datastore-api.json
index 323f9c4b37..9cc71c4068 100644
--- a/etc/api/datastore/v1beta1/datastore-api.json
+++ b/etc/api/datastore/v1beta1/datastore-api.json
@@ -167,7 +167,7 @@
}
}
},
- "revision": "20200311",
+ "revision": "20200524",
"rootUrl": "https://datastore.googleapis.com/",
"schemas": {
"GoogleDatastoreAdminV1CommonMetadata": {
diff --git a/etc/api/datastore/v1beta3/datastore-api.json b/etc/api/datastore/v1beta3/datastore-api.json
index b715bb5635..a58e204090 100644
--- a/etc/api/datastore/v1beta3/datastore-api.json
+++ b/etc/api/datastore/v1beta3/datastore-api.json
@@ -307,7 +307,7 @@
}
}
},
- "revision": "20200311",
+ "revision": "20200524",
"rootUrl": "https://datastore.googleapis.com/",
"schemas": {
"AllocateIdsRequest": {
@@ -1489,7 +1489,7 @@
"type": "string"
},
"stringValue": {
- "description": "A UTF-8 encoded string value.\nWhen `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.\nOtherwise, may be set to at least 1,000,000 bytes.",
+ "description": "A UTF-8 encoded string value.\nWhen `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.\nOtherwise, may be set to at most 1,000,000 bytes.",
"type": "string"
},
"timestampValue": {
diff --git a/etc/api/deploymentmanager/alpha/deploymentmanager-api.json b/etc/api/deploymentmanager/alpha/deploymentmanager-api.json
index a900f80a14..2d2a5d2b32 100644
--- a/etc/api/deploymentmanager/alpha/deploymentmanager-api.json
+++ b/etc/api/deploymentmanager/alpha/deploymentmanager-api.json
@@ -24,7 +24,7 @@
"description": "The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.",
"discoveryVersion": "v1",
"documentationLink": "https://cloud.google.com/deployment-manager/",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/OmfS0K_Z1wKMS2BW_65KIAugN-I\"",
+ "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/63EX9BnMLuhjIkgK6mld1yuMPoE\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -188,25 +188,25 @@
],
"parameters": {
"filter": {
- "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "500",
- "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
"format": "uint32",
"location": "query",
"minimum": "0",
"type": "integer"
},
"orderBy": {
- "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
"location": "query",
"type": "string"
},
"pageToken": {
- "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
"location": "query",
"type": "string"
},
@@ -216,6 +216,11 @@
"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])?))",
"required": true,
"type": "string"
+ },
+ "returnPartialSuccess": {
+ "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false and the logic is the same as today.",
+ "location": "query",
+ "type": "boolean"
}
},
"path": "{project}/global/compositeTypes",
@@ -230,7 +235,7 @@
]
},
"patch": {
- "description": "Updates a composite type. This method supports patch semantics.",
+ "description": "Patches a composite type.",
"httpMethod": "PATCH",
"id": "deploymentmanager.compositeTypes.patch",
"parameterOrder": [
@@ -431,6 +436,12 @@
"resource"
],
"parameters": {
+ "optionsRequestedPolicyVersion": {
+ "description": "Requested IAM Policy version.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
"project": {
"description": "Project ID for this request.",
"location": "path",
@@ -480,7 +491,7 @@
"type": "string"
},
"preview": {
- "description": "If set to true, creates a deployment and creates \"shell\" resources but does not actually instantiate these resources. This allows you to preview what your deployment looks like. After previewing a deployment, you can deploy your resources by making a request with the update() method or you can use the cancelPreview() method to cancel the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.",
+ "description": "If set to true, creates a deployment and creates \"shell\" resources but does not actually instantiate these resources. This allows you to preview what your deployment looks like. After previewing a deployment, you can deploy your resources by making a request with the `update()` method or you can use the `cancelPreview()` method to cancel the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.",
"location": "query",
"type": "boolean"
},
@@ -513,25 +524,25 @@
],
"parameters": {
"filter": {
- "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "500",
- "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
"format": "uint32",
"location": "query",
"minimum": "0",
"type": "integer"
},
"orderBy": {
- "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
"location": "query",
"type": "string"
},
"pageToken": {
- "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
"location": "query",
"type": "string"
},
@@ -541,6 +552,11 @@
"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])?))",
"required": true,
"type": "string"
+ },
+ "returnPartialSuccess": {
+ "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false and the logic is the same as today.",
+ "location": "query",
+ "type": "boolean"
}
},
"path": "{project}/global/deployments",
@@ -555,7 +571,7 @@
]
},
"patch": {
- "description": "Updates a deployment and all of the resources described by the deployment manifest. This method supports patch semantics.",
+ "description": "Patches a deployment and all of the resources described by the deployment manifest.",
"httpMethod": "PATCH",
"id": "deploymentmanager.deployments.patch",
"parameterOrder": [
@@ -602,7 +618,7 @@
},
"preview": {
"default": "false",
- "description": "If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a target.config with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the update() or you can cancelPreview() to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.",
+ "description": "If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a `target.config` with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the `update()` or you can `cancelPreview()` to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.",
"location": "query",
"type": "boolean"
},
@@ -782,7 +798,7 @@
},
"preview": {
"default": "false",
- "description": "If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a target.config with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the update() or you can cancelPreview() to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.",
+ "description": "If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a `target.config` with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the `update()` or you can `cancelPreview()` to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.",
"location": "query",
"type": "boolean"
},
@@ -870,25 +886,25 @@
"type": "string"
},
"filter": {
- "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "500",
- "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
"format": "uint32",
"location": "query",
"minimum": "0",
"type": "integer"
},
"orderBy": {
- "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
"location": "query",
"type": "string"
},
"pageToken": {
- "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
"location": "query",
"type": "string"
},
@@ -898,6 +914,11 @@
"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])?))",
"required": true,
"type": "string"
+ },
+ "returnPartialSuccess": {
+ "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false and the logic is the same as today.",
+ "location": "query",
+ "type": "boolean"
}
},
"path": "{project}/global/deployments/{deployment}/manifests",
@@ -958,25 +979,25 @@
],
"parameters": {
"filter": {
- "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "500",
- "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
"format": "uint32",
"location": "query",
"minimum": "0",
"type": "integer"
},
"orderBy": {
- "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
"location": "query",
"type": "string"
},
"pageToken": {
- "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
"location": "query",
"type": "string"
},
@@ -986,6 +1007,11 @@
"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])?))",
"required": true,
"type": "string"
+ },
+ "returnPartialSuccess": {
+ "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false and the logic is the same as today.",
+ "location": "query",
+ "type": "boolean"
}
},
"path": "{project}/global/operations",
@@ -1062,25 +1088,25 @@
"type": "string"
},
"filter": {
- "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "500",
- "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
"format": "uint32",
"location": "query",
"minimum": "0",
"type": "integer"
},
"orderBy": {
- "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
"location": "query",
"type": "string"
},
"pageToken": {
- "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
"location": "query",
"type": "string"
},
@@ -1090,6 +1116,11 @@
"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])?))",
"required": true,
"type": "string"
+ },
+ "returnPartialSuccess": {
+ "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false and the logic is the same as today.",
+ "location": "query",
+ "type": "boolean"
}
},
"path": "{project}/global/deployments/{deployment}/resources",
@@ -1254,25 +1285,25 @@
],
"parameters": {
"filter": {
- "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "500",
- "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
"format": "uint32",
"location": "query",
"minimum": "0",
"type": "integer"
},
"orderBy": {
- "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
"location": "query",
"type": "string"
},
"pageToken": {
- "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
"location": "query",
"type": "string"
},
@@ -1282,6 +1313,11 @@
"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])?))",
"required": true,
"type": "string"
+ },
+ "returnPartialSuccess": {
+ "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false and the logic is the same as today.",
+ "location": "query",
+ "type": "boolean"
}
},
"path": "{project}/global/typeProviders",
@@ -1305,25 +1341,25 @@
],
"parameters": {
"filter": {
- "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "500",
- "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
"format": "uint32",
"location": "query",
"minimum": "0",
"type": "integer"
},
"orderBy": {
- "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
"location": "query",
"type": "string"
},
"pageToken": {
- "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
"location": "query",
"type": "string"
},
@@ -1334,6 +1370,11 @@
"required": true,
"type": "string"
},
+ "returnPartialSuccess": {
+ "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false and the logic is the same as today.",
+ "location": "query",
+ "type": "boolean"
+ },
"typeProvider": {
"description": "The name of the type provider for this request.",
"location": "path",
@@ -1354,7 +1395,7 @@
]
},
"patch": {
- "description": "Updates a type provider. This method supports patch semantics.",
+ "description": "Patches a type provider.",
"httpMethod": "PATCH",
"id": "deploymentmanager.typeProviders.patch",
"parameterOrder": [
@@ -1429,39 +1470,6 @@
},
"types": {
"methods": {
- "delete": {
- "description": "Deletes a type and all of the resources in the type.",
- "httpMethod": "DELETE",
- "id": "deploymentmanager.types.delete",
- "parameterOrder": [
- "project",
- "type"
- ],
- "parameters": {
- "project": {
- "description": "The project ID for this request.",
- "location": "path",
- "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])?))",
- "required": true,
- "type": "string"
- },
- "type": {
- "description": "The name of the type for this request.",
- "location": "path",
- "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
- "required": true,
- "type": "string"
- }
- },
- "path": "{project}/global/types/{type}",
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/ndev.cloudman"
- ]
- },
"get": {
"description": "Gets information about a specific type.",
"httpMethod": "GET",
@@ -1497,34 +1505,6 @@
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
},
- "insert": {
- "description": "Creates a type.",
- "httpMethod": "POST",
- "id": "deploymentmanager.types.insert",
- "parameterOrder": [
- "project"
- ],
- "parameters": {
- "project": {
- "description": "The project ID for this request.",
- "location": "path",
- "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])?))",
- "required": true,
- "type": "string"
- }
- },
- "path": "{project}/global/types",
- "request": {
- "$ref": "Type"
- },
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/ndev.cloudman"
- ]
- },
"list": {
"description": "Lists all resource types for Deployment Manager.",
"httpMethod": "GET",
@@ -1534,25 +1514,25 @@
],
"parameters": {
"filter": {
- "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "500",
- "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
"format": "uint32",
"location": "query",
"minimum": "0",
"type": "integer"
},
"orderBy": {
- "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
"location": "query",
"type": "string"
},
"pageToken": {
- "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
"location": "query",
"type": "string"
},
@@ -1562,6 +1542,11 @@
"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])?))",
"required": true,
"type": "string"
+ },
+ "returnPartialSuccess": {
+ "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false and the logic is the same as today.",
+ "location": "query",
+ "type": "boolean"
}
},
"path": "{project}/global/types",
@@ -1574,83 +1559,11 @@
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
- },
- "patch": {
- "description": "Updates a type. This method supports patch semantics.",
- "httpMethod": "PATCH",
- "id": "deploymentmanager.types.patch",
- "parameterOrder": [
- "project",
- "type"
- ],
- "parameters": {
- "project": {
- "description": "The project ID for this request.",
- "location": "path",
- "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])?))",
- "required": true,
- "type": "string"
- },
- "type": {
- "description": "The name of the type for this request.",
- "location": "path",
- "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
- "required": true,
- "type": "string"
- }
- },
- "path": "{project}/global/types/{type}",
- "request": {
- "$ref": "Type"
- },
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/ndev.cloudman"
- ]
- },
- "update": {
- "description": "Updates a type.",
- "httpMethod": "PUT",
- "id": "deploymentmanager.types.update",
- "parameterOrder": [
- "project",
- "type"
- ],
- "parameters": {
- "project": {
- "description": "The project ID for this request.",
- "location": "path",
- "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])?))",
- "required": true,
- "type": "string"
- },
- "type": {
- "description": "The name of the type for this request.",
- "location": "path",
- "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
- "required": true,
- "type": "string"
- }
- },
- "path": "{project}/global/types/{type}",
- "request": {
- "$ref": "Type"
- },
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/ndev.cloudman"
- ]
}
}
}
},
- "revision": "20181207",
+ "revision": "20200512",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"AsyncOptions": {
@@ -1669,7 +1582,7 @@
"type": "object"
},
"AuditConfig": {
- "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n{ \"audit_configs\": [ { \"service\": \"allServices\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:foo@gmail.com\" ] }, { \"log_type\": \"DATA_WRITE\", }, { \"log_type\": \"ADMIN_READ\", } ] }, { \"service\": \"fooservice.googleapis.com\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:bar@gmail.com\" ] } ] } ] }\n\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.com from DATA_WRITE logging.",
+ "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n{ \"audit_configs\": [ { \"service\": \"allServices\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\", }, { \"log_type\": \"ADMIN_READ\", } ] }, { \"service\": \"sampleservice.googleapis.com\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"auditLogConfigs": {
@@ -1694,7 +1607,7 @@
"type": "object"
},
"AuditLogConfig": {
- "description": "Provides the configuration for logging a type of permissions. Example:\n\n{ \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:foo@gmail.com\" ] }, { \"log_type\": \"DATA_WRITE\", } ] }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo@gmail.com from DATA_READ logging.",
+ "description": "Provides the configuration for logging a type of permissions. Example:\n\n{ \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\", } ] }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.",
"id": "AuditLogConfig",
"properties": {
"exemptedMembers": {
@@ -1704,6 +1617,10 @@
},
"type": "array"
},
+ "ignoreChildExemptions": {
+ "description": "",
+ "type": "boolean"
+ },
"logType": {
"description": "The log type that this config enables.",
"type": "string"
@@ -1741,10 +1658,10 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "Unimplemented. The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the current request.\n\nIf the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
- "description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values:\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` .\n\n\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\n\n* `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.",
+ "description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values:\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@example.com` .\n\n\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* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.\n\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.",
"items": {
"type": "string"
},
@@ -1793,14 +1710,14 @@
"type": "string"
},
"labels": {
- "description": "Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?",
+ "description": "Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.",
"items": {
"$ref": "CompositeTypeLabelEntry"
},
"type": "array"
},
"name": {
- "description": "Name of the composite type, must follow the expression: [a-z]([-a-z0-9_.]{0,61}[a-z0-9])?.",
+ "description": "Name of the composite type, must follow the expression: `[a-z]([-a-z0-9_.]{0,61}[a-z0-9])?`.",
"type": "string"
},
"operation": {
@@ -1871,12 +1788,8 @@
"description": "Trusted attributes supplied by any service that owns resources and uses the IAM system for access control.",
"type": "string"
},
- "value": {
- "description": "DEPRECATED. Use 'values' instead.",
- "type": "string"
- },
"values": {
- "description": "The objects of the condition. This is mutually exclusive with 'value'.",
+ "description": "The objects of the condition.",
"items": {
"type": "string"
},
@@ -1954,7 +1867,7 @@
"type": "string"
},
"fingerprint": {
- "description": "Provides a fingerprint to use in requests to modify a deployment, such as update(), stop(), and cancelPreview() requests. A fingerprint is a randomly generated value that must be provided with update(), stop(), and cancelPreview() requests to perform optimistic locking. This ensures optimistic concurrency so that only one request happens at a time.\n\nThe fingerprint is initially generated by Deployment Manager and changes after every request to modify data. To get the latest fingerprint value, perform a get() request to a deployment.",
+ "description": "Provides a fingerprint to use in requests to modify a deployment, such as `update()`, `stop()`, and `cancelPreview()` requests. A fingerprint is a randomly generated value that must be provided with `update()`, `stop()`, and `cancelPreview()` requests to perform optimistic locking. This ensures optimistic concurrency so that only one request happens at a time.\n\nThe fingerprint is initially generated by Deployment Manager and changes after every request to modify data. To get the latest fingerprint value, perform a `get()` request to a deployment.",
"format": "byte",
"type": "string"
},
@@ -1967,18 +1880,18 @@
"type": "string"
},
"labels": {
- "description": "Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?",
+ "description": "Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.",
"items": {
"$ref": "DeploymentLabelEntry"
},
"type": "array"
},
"manifest": {
- "description": "Output only. URL of the manifest representing the last manifest that was successfully deployed.",
+ "description": "Output only. URL of the manifest representing the last manifest that was successfully deployed. If no manifest has been successfully deployed, this field will be absent.",
"type": "string"
},
"name": {
- "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.",
+ "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.",
"type": "string"
},
"operation": {
@@ -1986,9 +1899,9 @@
"description": "Output only. The Operation that most recently ran, or is currently running, on this deployment."
},
"outputs": {
- "description": "Output only. Map of outputs from the last manifest that deployed successfully.",
+ "description": "Output only. List of outputs from the last manifest that deployed successfully.",
"items": {
- "$ref": "DeploymentOutputsEntry"
+ "$ref": "DeploymentOutputEntry"
},
"type": "array"
},
@@ -2023,13 +1936,16 @@
},
"type": "object"
},
- "DeploymentOutputsEntry": {
- "id": "DeploymentOutputsEntry",
+ "DeploymentOutputEntry": {
+ "description": "Output object for Deployments",
+ "id": "DeploymentOutputEntry",
"properties": {
"key": {
+ "description": "Key of the output",
"type": "string"
},
"value": {
+ "description": "Value of the label",
"type": "string"
}
},
@@ -2048,7 +1964,7 @@
"type": "string"
},
"labels": {
- "description": "Output only. Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?",
+ "description": "Output only. Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.",
"items": {
"$ref": "DeploymentUpdateLabelEntry"
},
@@ -2078,7 +1994,7 @@
"id": "DeploymentsCancelPreviewRequest",
"properties": {
"fingerprint": {
- "description": "Specifies a fingerprint for cancelPreview() requests. A fingerprint is a randomly generated value that must be provided in cancelPreview() requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to cancel a preview, this would prevent one of the requests).\n\nThe fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a get() request on the deployment.",
+ "description": "Specifies a fingerprint for `cancelPreview()` requests. A fingerprint is a randomly generated value that must be provided in `cancelPreview()` requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to cancel a preview, this would prevent one of the requests).\n\nThe fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a `get()` request on the deployment.",
"format": "byte",
"type": "string"
}
@@ -2108,7 +2024,7 @@
"id": "DeploymentsStopRequest",
"properties": {
"fingerprint": {
- "description": "Specifies a fingerprint for stop() requests. A fingerprint is a randomly generated value that must be provided in stop() requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to stop an ongoing update request, this would prevent a collision).\n\nThe fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a get() request on the deployment.",
+ "description": "Specifies a fingerprint for `stop()` requests. A fingerprint is a randomly generated value that must be provided in `stop()` requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to stop an ongoing update request, this would prevent a collision).\n\nThe fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a `get()` request on the deployment.",
"format": "byte",
"type": "string"
}
@@ -2131,23 +2047,23 @@
"type": "object"
},
"Expr": {
- "description": "Represents an expression text. Example:\n\ntitle: \"User account presence\" description: \"Determines whether the request has a user account\" expression: \"size(request.user) > 0\"",
+ "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec.\n\nExample (Comparison):\n\ntitle: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\"\n\nExample (Equality):\n\ntitle: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\"\n\nExample (Logic):\n\ntitle: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\"\n\nExample (Data Manipulation):\n\ntitle: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\"\n\nThe exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.",
"id": "Expr",
"properties": {
"description": {
- "description": "An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.",
+ "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.",
"type": "string"
},
"expression": {
- "description": "Textual representation of an expression in Common Expression Language syntax.\n\nThe application context of the containing message determines which well-known feature set of CEL is supported.",
+ "description": "Textual representation of an expression in Common Expression Language syntax.",
"type": "string"
},
"location": {
- "description": "An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.",
+ "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.",
"type": "string"
},
"title": {
- "description": "An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.",
+ "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.",
"type": "string"
}
},
@@ -2248,9 +2164,16 @@
"type": "object"
},
"LogConfigCounterOptions": {
- "description": "Increment a streamz counter with the specified metric and field names.\n\nMetric 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.\n\nField names correspond to IAM request parameters and field values are their respective values.\n\nSupported field names: - \"authority\", which is \"[token]\" if IAMContext.token is present, otherwise the value of IAMContext.authority_selector if present, and otherwise a representation of IAMContext.principal; or - \"iam_principal\", a representation of IAMContext.principal even if a token or authority selector is present; or - \"\" (empty string), resulting in a counter with no fields.\n\nExamples: counter { metric: \"/debug_access_count\" field: \"iam_principal\" } ==> increment counter /iam/policy/backend_debug_access_count {iam_principal=[value of IAMContext.principal]}\n\nAt this time we do not support multiple field names (though this may be supported in the future).",
+ "description": "Increment a streamz counter with the specified metric and field names.\n\nMetric 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.\n\nField names correspond to IAM request parameters and field values are their respective values.\n\nSupported field names: - \"authority\", which is \"[token]\" if IAMContext.token is present, otherwise the value of IAMContext.authority_selector if present, and otherwise a representation of IAMContext.principal; or - \"iam_principal\", a representation of IAMContext.principal even if a token or authority selector is present; or - \"\" (empty string), resulting in a counter with no fields.\n\nExamples: counter { metric: \"/debug_access_count\" field: \"iam_principal\" } ==> increment counter /iam/policy/debug_access_count {iam_principal=[value of IAMContext.principal]}",
"id": "LogConfigCounterOptions",
"properties": {
+ "customFields": {
+ "description": "Custom fields.",
+ "items": {
+ "$ref": "LogConfigCounterOptionsCustomField"
+ },
+ "type": "array"
+ },
"field": {
"description": "The field value to attribute.",
"type": "string"
@@ -2262,12 +2185,27 @@
},
"type": "object"
},
+ "LogConfigCounterOptionsCustomField": {
+ "description": "Custom fields. These can be used to create a counter with arbitrary field/value pairs. See: go/rpcsp-custom-fields.",
+ "id": "LogConfigCounterOptionsCustomField",
+ "properties": {
+ "name": {
+ "description": "Name is the field name.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Value is the field value. It is important that in contrast to the CounterOptions.field, the value here is a constant that is not derived from the IAMContext.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"LogConfigDataAccessOptions": {
"description": "Write a Data Access (Gin) log",
"id": "LogConfigDataAccessOptions",
"properties": {
"logMode": {
- "description": "Whether Gin logging should happen in a fail-closed manner at the caller. This is relevant only in the LocalIAM implementation, for now.\n\nNOTE: Logging to Gin in a fail-closed manner is currently unsupported while work is being done to satisfy the requirements of go/345. Currently, setting LOG_FAIL_CLOSED mode will have no effect, but still exists because there is active work being done to support it (b/115874152).",
+ "description": "",
"type": "string"
}
},
@@ -2361,7 +2299,7 @@
"type": "object"
},
"Operation": {
- "description": "An Operation resource, used to manage asynchronous API requests. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)",
+ "description": "Represents an Operation resource.\n\nGoogle Compute Engine has three Operation resources:\n\n* [Global](/compute/docs/reference/rest/{$api_version}/globalOperations) * [Regional](/compute/docs/reference/rest/{$api_version}/regionOperations) * [Zonal](/compute/docs/reference/rest/{$api_version}/zoneOperations)\n\nYou can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.\n\nOperations can be global, regional or zonal. \n- For global operations, use the `globalOperations` resource. \n- For regional operations, use the `regionOperations` resource. \n- For zonal operations, use the `zonalOperations` resource. \n\nFor more information, read Global, Regional, and Zonal Resources. (== resource_for {$api_version}.globalOperations ==) (== resource_for {$api_version}.regionOperations ==) (== resource_for {$api_version}.zoneOperations ==)",
"id": "Operation",
"properties": {
"clientOperationId": {
@@ -2408,16 +2346,16 @@
"type": "object"
},
"httpErrorMessage": {
- "description": "[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.",
+ "description": "[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.",
"type": "string"
},
"httpErrorStatusCode": {
- "description": "[Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found.",
+ "description": "[Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.",
"format": "int32",
"type": "integer"
},
"id": {
- "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
+ "description": "[Output Only] The unique identifier for the operation. This identifier is defined by the server.",
"format": "uint64",
"type": "string"
},
@@ -2427,15 +2365,15 @@
},
"kind": {
"default": "deploymentmanager#operation",
- "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.",
"type": "string"
},
"name": {
- "description": "[Output Only] Name of the resource.",
+ "description": "[Output Only] Name of the operation.",
"type": "string"
},
"operationType": {
- "description": "[Output Only] The type of operation, such as insert, update, or delete, and so on.",
+ "description": "[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.",
"type": "string"
},
"progress": {
@@ -2444,19 +2382,23 @@
"type": "integer"
},
"region": {
- "description": "[Output Only] The URL of the region where the operation resides. Only available when performing regional operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.",
+ "description": "[Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.",
"type": "string"
},
"selfLink": {
"description": "[Output Only] Server-defined URL for the resource.",
"type": "string"
},
+ "selfLinkWithId": {
+ "description": "[Output Only] Server-defined URL for this resource with the resource id.",
+ "type": "string"
+ },
"startTime": {
"description": "[Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.",
"type": "string"
},
"status": {
- "description": "[Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.",
+ "description": "[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.",
"type": "string"
},
"statusMessage": {
@@ -2473,7 +2415,7 @@
"type": "string"
},
"user": {
- "description": "[Output Only] User who requested the operation, for example: user@example.com.",
+ "description": "[Output Only] User who requested the operation, for example: `user@example.com`.",
"type": "string"
},
"warnings": {
@@ -2511,7 +2453,7 @@
"type": "array"
},
"zone": {
- "description": "[Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.",
+ "description": "[Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.",
"type": "string"
}
},
@@ -2565,7 +2507,7 @@
"type": "object"
},
"Policy": {
- "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**JSON 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\n**YAML Example**\n\nbindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com role: roles/owner - members: - user:sean@example.com role: roles/viewer\n\n\n\nFor a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam/docs).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.\n\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n{ \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 }\n\n**YAML example:**\n\nbindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3\n\nFor a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"auditConfigs": {
@@ -2576,14 +2518,14 @@
"type": "array"
},
"bindings": {
- "description": "Associates a list of `members` to a `role`. `bindings` with no members will result in an error.",
+ "description": "Associates a list of `members` to a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one member.",
"items": {
"$ref": "Binding"
},
"type": "array"
},
"etag": {
- "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly.",
+ "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy.\n\n**Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.",
"format": "byte",
"type": "string"
},
@@ -2599,7 +2541,7 @@
"type": "array"
},
"version": {
- "description": "Deprecated.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected.\n\nAny operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -2680,7 +2622,7 @@
"type": "array"
},
"type": {
- "description": "Output only. The type of the resource, for example compute.v1.instance, or cloudfunctions.v1beta1.function.",
+ "description": "Output only. The type of the resource, for example `compute.v1.instance`, or `cloudfunctions.v1beta1.function`.",
"type": "string"
},
"update": {
@@ -2787,7 +2729,7 @@
"type": "string"
},
"intent": {
- "description": "Output only. The intent of the resource: PREVIEW, UPDATE, or CANCEL.",
+ "description": "Output only. The intent of the resource: `PREVIEW`, `UPDATE`, or `CANCEL`.",
"type": "string"
},
"manifest": {
@@ -3020,7 +2962,7 @@
"type": "string"
},
"labels": {
- "description": "Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?",
+ "description": "Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.",
"items": {
"$ref": "TypeLabelEntry"
},
@@ -3054,7 +2996,7 @@
"type": "string"
},
"kind": {
- "description": "Output only. Type of the output. Always deploymentManager#TypeInfo for TypeInfo.",
+ "description": "Output only. Type of the output. Always `deploymentManager#TypeInfo` for TypeInfo.",
"type": "string"
},
"name": {
@@ -3118,6 +3060,13 @@
"$ref": "Credential",
"description": "Credential used when interacting with this type."
},
+ "customCertificateAuthorityRoots": {
+ "description": "List of up to 2 custom certificate authority roots to use for TLS authentication when making calls on behalf of this type provider. If set, TLS authentication will exclusively use these roots instead of relying on publicly trusted certificate authorities when validating TLS certificate authenticity. The certificates must be in base64-encoded PEM format. The maximum size of each certificate must not exceed 10KB.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"description": {
"description": "An optional textual description of the resource; provided by the client when the resource is created.",
"type": "string"
@@ -3136,14 +3085,14 @@
"type": "string"
},
"labels": {
- "description": "Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?",
+ "description": "Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.",
"items": {
"$ref": "TypeProviderLabelEntry"
},
"type": "array"
},
"name": {
- "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.",
+ "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.",
"type": "string"
},
"operation": {
diff --git a/etc/api/deploymentmanager/v2/deploymentmanager-api.json b/etc/api/deploymentmanager/v2/deploymentmanager-api.json
index 7fa79dff32..5e08699e00 100644
--- a/etc/api/deploymentmanager/v2/deploymentmanager-api.json
+++ b/etc/api/deploymentmanager/v2/deploymentmanager-api.json
@@ -24,7 +24,7 @@
"description": "Declares, configures, and deploys complex solutions on Google Cloud Platform.",
"discoveryVersion": "v1",
"documentationLink": "https://cloud.google.com/deployment-manager/",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/mx4kSCi5JnN1R9XewhgmOLsHV0s\"",
+ "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/rm2hC5Ge9lVw-ih0zrA9raUXK0c\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -256,7 +256,7 @@
"type": "string"
},
"preview": {
- "description": "If set to true, creates a deployment and creates \"shell\" resources but does not actually instantiate these resources. This allows you to preview what your deployment looks like. After previewing a deployment, you can deploy your resources by making a request with the update() method or you can use the cancelPreview() method to cancel the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.",
+ "description": "If set to true, creates a deployment and creates \"shell\" resources but does not actually instantiate these resources. This allows you to preview what your deployment looks like. After previewing a deployment, you can deploy your resources by making a request with the `update()` method or you can use the `cancelPreview()` method to cancel the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.",
"location": "query",
"type": "boolean"
},
@@ -289,25 +289,25 @@
],
"parameters": {
"filter": {
- "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "500",
- "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
"format": "uint32",
"location": "query",
"minimum": "0",
"type": "integer"
},
"orderBy": {
- "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
"location": "query",
"type": "string"
},
"pageToken": {
- "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
"location": "query",
"type": "string"
},
@@ -331,7 +331,7 @@
]
},
"patch": {
- "description": "Updates a deployment and all of the resources described by the deployment manifest. This method supports patch semantics.",
+ "description": "Patches a deployment and all of the resources described by the deployment manifest.",
"httpMethod": "PATCH",
"id": "deploymentmanager.deployments.patch",
"parameterOrder": [
@@ -376,7 +376,7 @@
},
"preview": {
"default": "false",
- "description": "If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a target.config with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the update() or you can cancelPreview() to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.",
+ "description": "If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a `target.config` with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the `update()` or you can `cancelPreview()` to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.",
"location": "query",
"type": "boolean"
},
@@ -554,7 +554,7 @@
},
"preview": {
"default": "false",
- "description": "If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a target.config with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the update() or you can cancelPreview() to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.",
+ "description": "If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a `target.config` with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the `update()` or you can `cancelPreview()` to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.",
"location": "query",
"type": "boolean"
},
@@ -642,25 +642,25 @@
"type": "string"
},
"filter": {
- "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "500",
- "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
"format": "uint32",
"location": "query",
"minimum": "0",
"type": "integer"
},
"orderBy": {
- "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
"location": "query",
"type": "string"
},
"pageToken": {
- "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
"location": "query",
"type": "string"
},
@@ -730,25 +730,25 @@
],
"parameters": {
"filter": {
- "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "500",
- "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
"format": "uint32",
"location": "query",
"minimum": "0",
"type": "integer"
},
"orderBy": {
- "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
"location": "query",
"type": "string"
},
"pageToken": {
- "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
"location": "query",
"type": "string"
},
@@ -834,25 +834,25 @@
"type": "string"
},
"filter": {
- "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "500",
- "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
"format": "uint32",
"location": "query",
"minimum": "0",
"type": "integer"
},
"orderBy": {
- "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
"location": "query",
"type": "string"
},
"pageToken": {
- "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
"location": "query",
"type": "string"
},
@@ -888,25 +888,25 @@
],
"parameters": {
"filter": {
- "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "500",
- "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
"format": "uint32",
"location": "query",
"minimum": "0",
"type": "integer"
},
"orderBy": {
- "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
"location": "query",
"type": "string"
},
"pageToken": {
- "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
"location": "query",
"type": "string"
},
@@ -932,11 +932,11 @@
}
}
},
- "revision": "20181207",
+ "revision": "20200512",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"AuditConfig": {
- "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n{ \"audit_configs\": [ { \"service\": \"allServices\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:foo@gmail.com\" ] }, { \"log_type\": \"DATA_WRITE\", }, { \"log_type\": \"ADMIN_READ\", } ] }, { \"service\": \"fooservice.googleapis.com\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:bar@gmail.com\" ] } ] } ] }\n\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.com from DATA_WRITE logging.",
+ "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n{ \"audit_configs\": [ { \"service\": \"allServices\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\", }, { \"log_type\": \"ADMIN_READ\", } ] }, { \"service\": \"sampleservice.googleapis.com\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"auditLogConfigs": {
@@ -961,7 +961,7 @@
"type": "object"
},
"AuditLogConfig": {
- "description": "Provides the configuration for logging a type of permissions. Example:\n\n{ \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:foo@gmail.com\" ] }, { \"log_type\": \"DATA_WRITE\", } ] }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo@gmail.com from DATA_READ logging.",
+ "description": "Provides the configuration for logging a type of permissions. Example:\n\n{ \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\", } ] }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.",
"id": "AuditLogConfig",
"properties": {
"exemptedMembers": {
@@ -971,6 +971,10 @@
},
"type": "array"
},
+ "ignoreChildExemptions": {
+ "description": "",
+ "type": "boolean"
+ },
"logType": {
"description": "The log type that this config enables.",
"type": "string"
@@ -995,10 +999,10 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "Unimplemented. The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the current request.\n\nIf the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
- "description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values:\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` .\n\n\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\n\n* `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.",
+ "description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values:\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@example.com` .\n\n\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* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.\n\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.",
"items": {
"type": "string"
},
@@ -1031,12 +1035,8 @@
"description": "Trusted attributes supplied by any service that owns resources and uses the IAM system for access control.",
"type": "string"
},
- "value": {
- "description": "DEPRECATED. Use 'values' instead.",
- "type": "string"
- },
"values": {
- "description": "The objects of the condition. This is mutually exclusive with 'value'.",
+ "description": "The objects of the condition.",
"items": {
"type": "string"
},
@@ -1065,7 +1065,7 @@
"type": "string"
},
"fingerprint": {
- "description": "Provides a fingerprint to use in requests to modify a deployment, such as update(), stop(), and cancelPreview() requests. A fingerprint is a randomly generated value that must be provided with update(), stop(), and cancelPreview() requests to perform optimistic locking. This ensures optimistic concurrency so that only one request happens at a time.\n\nThe fingerprint is initially generated by Deployment Manager and changes after every request to modify data. To get the latest fingerprint value, perform a get() request to a deployment.",
+ "description": "Provides a fingerprint to use in requests to modify a deployment, such as `update()`, `stop()`, and `cancelPreview()` requests. A fingerprint is a randomly generated value that must be provided with `update()`, `stop()`, and `cancelPreview()` requests to perform optimistic locking. This ensures optimistic concurrency so that only one request happens at a time.\n\nThe fingerprint is initially generated by Deployment Manager and changes after every request to modify data. To get the latest fingerprint value, perform a `get()` request to a deployment.",
"format": "byte",
"type": "string"
},
@@ -1078,18 +1078,18 @@
"type": "string"
},
"labels": {
- "description": "Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?",
+ "description": "Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.",
"items": {
"$ref": "DeploymentLabelEntry"
},
"type": "array"
},
"manifest": {
- "description": "Output only. URL of the manifest representing the last manifest that was successfully deployed.",
+ "description": "Output only. URL of the manifest representing the last manifest that was successfully deployed. If no manifest has been successfully deployed, this field will be absent.",
"type": "string"
},
"name": {
- "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.",
+ "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.",
"type": "string"
},
"operation": {
@@ -1136,7 +1136,7 @@
"type": "string"
},
"labels": {
- "description": "Output only. Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?",
+ "description": "Output only. Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.",
"items": {
"$ref": "DeploymentUpdateLabelEntry"
},
@@ -1166,7 +1166,7 @@
"id": "DeploymentsCancelPreviewRequest",
"properties": {
"fingerprint": {
- "description": "Specifies a fingerprint for cancelPreview() requests. A fingerprint is a randomly generated value that must be provided in cancelPreview() requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to cancel a preview, this would prevent one of the requests).\n\nThe fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a get() request on the deployment.",
+ "description": "Specifies a fingerprint for `cancelPreview()` requests. A fingerprint is a randomly generated value that must be provided in `cancelPreview()` requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to cancel a preview, this would prevent one of the requests).\n\nThe fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a `get()` request on the deployment.",
"format": "byte",
"type": "string"
}
@@ -1196,7 +1196,7 @@
"id": "DeploymentsStopRequest",
"properties": {
"fingerprint": {
- "description": "Specifies a fingerprint for stop() requests. A fingerprint is a randomly generated value that must be provided in stop() requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to stop an ongoing update request, this would prevent a collision).\n\nThe fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a get() request on the deployment.",
+ "description": "Specifies a fingerprint for `stop()` requests. A fingerprint is a randomly generated value that must be provided in `stop()` requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to stop an ongoing update request, this would prevent a collision).\n\nThe fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a `get()` request on the deployment.",
"format": "byte",
"type": "string"
}
@@ -1204,23 +1204,23 @@
"type": "object"
},
"Expr": {
- "description": "Represents an expression text. Example:\n\ntitle: \"User account presence\" description: \"Determines whether the request has a user account\" expression: \"size(request.user) > 0\"",
+ "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec.\n\nExample (Comparison):\n\ntitle: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\"\n\nExample (Equality):\n\ntitle: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\"\n\nExample (Logic):\n\ntitle: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\"\n\nExample (Data Manipulation):\n\ntitle: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\"\n\nThe exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.",
"id": "Expr",
"properties": {
"description": {
- "description": "An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.",
+ "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.",
"type": "string"
},
"expression": {
- "description": "Textual representation of an expression in Common Expression Language syntax.\n\nThe application context of the containing message determines which well-known feature set of CEL is supported.",
+ "description": "Textual representation of an expression in Common Expression Language syntax.",
"type": "string"
},
"location": {
- "description": "An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.",
+ "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.",
"type": "string"
},
"title": {
- "description": "An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.",
+ "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.",
"type": "string"
}
},
@@ -1298,9 +1298,16 @@
"type": "object"
},
"LogConfigCounterOptions": {
- "description": "Increment a streamz counter with the specified metric and field names.\n\nMetric 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.\n\nField names correspond to IAM request parameters and field values are their respective values.\n\nSupported field names: - \"authority\", which is \"[token]\" if IAMContext.token is present, otherwise the value of IAMContext.authority_selector if present, and otherwise a representation of IAMContext.principal; or - \"iam_principal\", a representation of IAMContext.principal even if a token or authority selector is present; or - \"\" (empty string), resulting in a counter with no fields.\n\nExamples: counter { metric: \"/debug_access_count\" field: \"iam_principal\" } ==> increment counter /iam/policy/backend_debug_access_count {iam_principal=[value of IAMContext.principal]}\n\nAt this time we do not support multiple field names (though this may be supported in the future).",
+ "description": "Increment a streamz counter with the specified metric and field names.\n\nMetric 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.\n\nField names correspond to IAM request parameters and field values are their respective values.\n\nSupported field names: - \"authority\", which is \"[token]\" if IAMContext.token is present, otherwise the value of IAMContext.authority_selector if present, and otherwise a representation of IAMContext.principal; or - \"iam_principal\", a representation of IAMContext.principal even if a token or authority selector is present; or - \"\" (empty string), resulting in a counter with no fields.\n\nExamples: counter { metric: \"/debug_access_count\" field: \"iam_principal\" } ==> increment counter /iam/policy/debug_access_count {iam_principal=[value of IAMContext.principal]}",
"id": "LogConfigCounterOptions",
"properties": {
+ "customFields": {
+ "description": "Custom fields.",
+ "items": {
+ "$ref": "LogConfigCounterOptionsCustomField"
+ },
+ "type": "array"
+ },
"field": {
"description": "The field value to attribute.",
"type": "string"
@@ -1312,12 +1319,27 @@
},
"type": "object"
},
+ "LogConfigCounterOptionsCustomField": {
+ "description": "Custom fields. These can be used to create a counter with arbitrary field/value pairs. See: go/rpcsp-custom-fields.",
+ "id": "LogConfigCounterOptionsCustomField",
+ "properties": {
+ "name": {
+ "description": "Name is the field name.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Value is the field value. It is important that in contrast to the CounterOptions.field, the value here is a constant that is not derived from the IAMContext.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"LogConfigDataAccessOptions": {
"description": "Write a Data Access (Gin) log",
"id": "LogConfigDataAccessOptions",
"properties": {
"logMode": {
- "description": "Whether Gin logging should happen in a fail-closed manner at the caller. This is relevant only in the LocalIAM implementation, for now.\n\nNOTE: Logging to Gin in a fail-closed manner is currently unsupported while work is being done to satisfy the requirements of go/345. Currently, setting LOG_FAIL_CLOSED mode will have no effect, but still exists because there is active work being done to support it (b/115874152).",
+ "description": "",
"type": "string"
}
},
@@ -1384,7 +1406,7 @@
"type": "object"
},
"Operation": {
- "description": "An Operation resource, used to manage asynchronous API requests. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)",
+ "description": "Represents an Operation resource.\n\nGoogle Compute Engine has three Operation resources:\n\n* [Global](/compute/docs/reference/rest/{$api_version}/globalOperations) * [Regional](/compute/docs/reference/rest/{$api_version}/regionOperations) * [Zonal](/compute/docs/reference/rest/{$api_version}/zoneOperations)\n\nYou can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.\n\nOperations can be global, regional or zonal. \n- For global operations, use the `globalOperations` resource. \n- For regional operations, use the `regionOperations` resource. \n- For zonal operations, use the `zonalOperations` resource. \n\nFor more information, read Global, Regional, and Zonal Resources. (== resource_for {$api_version}.globalOperations ==) (== resource_for {$api_version}.regionOperations ==) (== resource_for {$api_version}.zoneOperations ==)",
"id": "Operation",
"properties": {
"clientOperationId": {
@@ -1431,16 +1453,16 @@
"type": "object"
},
"httpErrorMessage": {
- "description": "[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.",
+ "description": "[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.",
"type": "string"
},
"httpErrorStatusCode": {
- "description": "[Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found.",
+ "description": "[Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.",
"format": "int32",
"type": "integer"
},
"id": {
- "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
+ "description": "[Output Only] The unique identifier for the operation. This identifier is defined by the server.",
"format": "uint64",
"type": "string"
},
@@ -1450,15 +1472,15 @@
},
"kind": {
"default": "deploymentmanager#operation",
- "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.",
"type": "string"
},
"name": {
- "description": "[Output Only] Name of the resource.",
+ "description": "[Output Only] Name of the operation.",
"type": "string"
},
"operationType": {
- "description": "[Output Only] The type of operation, such as insert, update, or delete, and so on.",
+ "description": "[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.",
"type": "string"
},
"progress": {
@@ -1467,7 +1489,7 @@
"type": "integer"
},
"region": {
- "description": "[Output Only] The URL of the region where the operation resides. Only available when performing regional operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.",
+ "description": "[Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.",
"type": "string"
},
"selfLink": {
@@ -1479,7 +1501,7 @@
"type": "string"
},
"status": {
- "description": "[Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.",
+ "description": "[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.",
"type": "string"
},
"statusMessage": {
@@ -1496,7 +1518,7 @@
"type": "string"
},
"user": {
- "description": "[Output Only] User who requested the operation, for example: user@example.com.",
+ "description": "[Output Only] User who requested the operation, for example: `user@example.com`.",
"type": "string"
},
"warnings": {
@@ -1534,7 +1556,7 @@
"type": "array"
},
"zone": {
- "description": "[Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.",
+ "description": "[Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.",
"type": "string"
}
},
@@ -1559,7 +1581,7 @@
"type": "object"
},
"Policy": {
- "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**JSON 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\n**YAML Example**\n\nbindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com role: roles/owner - members: - user:sean@example.com role: roles/viewer\n\n\n\nFor a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam/docs).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.\n\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n{ \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 }\n\n**YAML example:**\n\nbindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3\n\nFor a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"auditConfigs": {
@@ -1570,14 +1592,14 @@
"type": "array"
},
"bindings": {
- "description": "Associates a list of `members` to a `role`. `bindings` with no members will result in an error.",
+ "description": "Associates a list of `members` to a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one member.",
"items": {
"$ref": "Binding"
},
"type": "array"
},
"etag": {
- "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly.",
+ "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy.\n\n**Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.",
"format": "byte",
"type": "string"
},
@@ -1593,7 +1615,7 @@
"type": "array"
},
"version": {
- "description": "Deprecated.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected.\n\nAny operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -1633,7 +1655,7 @@
"type": "string"
},
"type": {
- "description": "Output only. The type of the resource, for example compute.v1.instance, or cloudfunctions.v1beta1.function.",
+ "description": "Output only. The type of the resource, for example `compute.v1.instance`, or `cloudfunctions.v1beta1.function`.",
"type": "string"
},
"update": {
@@ -1736,7 +1758,7 @@
"type": "string"
},
"intent": {
- "description": "Output only. The intent of the resource: PREVIEW, UPDATE, or CANCEL.",
+ "description": "Output only. The intent of the resource: `PREVIEW`, `UPDATE`, or `CANCEL`.",
"type": "string"
},
"manifest": {
diff --git a/etc/api/deploymentmanager/v2beta/deploymentmanager-api.json b/etc/api/deploymentmanager/v2beta/deploymentmanager-api.json
index 5493c82e80..978f32732e 100644
--- a/etc/api/deploymentmanager/v2beta/deploymentmanager-api.json
+++ b/etc/api/deploymentmanager/v2beta/deploymentmanager-api.json
@@ -24,7 +24,7 @@
"description": "The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/deployment-manager/",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/YoLKMCopNCizJ_CWKjyBdDdQP1k\"",
+ "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/XcbOzngoh8gZXdZugVBduEYcx6w\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -188,25 +188,25 @@
],
"parameters": {
"filter": {
- "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "500",
- "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
"format": "uint32",
"location": "query",
"minimum": "0",
"type": "integer"
},
"orderBy": {
- "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
"location": "query",
"type": "string"
},
"pageToken": {
- "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
"location": "query",
"type": "string"
},
@@ -230,7 +230,7 @@
]
},
"patch": {
- "description": "Updates a composite type. This method supports patch semantics.",
+ "description": "Patches a composite type.",
"httpMethod": "PATCH",
"id": "deploymentmanager.compositeTypes.patch",
"parameterOrder": [
@@ -480,7 +480,7 @@
"type": "string"
},
"preview": {
- "description": "If set to true, creates a deployment and creates \"shell\" resources but does not actually instantiate these resources. This allows you to preview what your deployment looks like. After previewing a deployment, you can deploy your resources by making a request with the update() method or you can use the cancelPreview() method to cancel the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.",
+ "description": "If set to true, creates a deployment and creates \"shell\" resources but does not actually instantiate these resources. This allows you to preview what your deployment looks like. After previewing a deployment, you can deploy your resources by making a request with the `update()` method or you can use the `cancelPreview()` method to cancel the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.",
"location": "query",
"type": "boolean"
},
@@ -513,25 +513,25 @@
],
"parameters": {
"filter": {
- "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "500",
- "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
"format": "uint32",
"location": "query",
"minimum": "0",
"type": "integer"
},
"orderBy": {
- "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
"location": "query",
"type": "string"
},
"pageToken": {
- "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
"location": "query",
"type": "string"
},
@@ -555,7 +555,7 @@
]
},
"patch": {
- "description": "Updates a deployment and all of the resources described by the deployment manifest. This method supports patch semantics.",
+ "description": "Patches a deployment and all of the resources described by the deployment manifest.",
"httpMethod": "PATCH",
"id": "deploymentmanager.deployments.patch",
"parameterOrder": [
@@ -602,7 +602,7 @@
},
"preview": {
"default": "false",
- "description": "If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a target.config with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the update() or you can cancelPreview() to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.",
+ "description": "If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a `target.config` with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the `update()` or you can `cancelPreview()` to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.",
"location": "query",
"type": "boolean"
},
@@ -782,7 +782,7 @@
},
"preview": {
"default": "false",
- "description": "If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a target.config with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the update() or you can cancelPreview() to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.",
+ "description": "If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a `target.config` with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the `update()` or you can `cancelPreview()` to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.",
"location": "query",
"type": "boolean"
},
@@ -870,25 +870,25 @@
"type": "string"
},
"filter": {
- "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "500",
- "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
"format": "uint32",
"location": "query",
"minimum": "0",
"type": "integer"
},
"orderBy": {
- "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
"location": "query",
"type": "string"
},
"pageToken": {
- "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
"location": "query",
"type": "string"
},
@@ -958,25 +958,25 @@
],
"parameters": {
"filter": {
- "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "500",
- "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
"format": "uint32",
"location": "query",
"minimum": "0",
"type": "integer"
},
"orderBy": {
- "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
"location": "query",
"type": "string"
},
"pageToken": {
- "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
"location": "query",
"type": "string"
},
@@ -1062,25 +1062,25 @@
"type": "string"
},
"filter": {
- "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "500",
- "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
"format": "uint32",
"location": "query",
"minimum": "0",
"type": "integer"
},
"orderBy": {
- "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
"location": "query",
"type": "string"
},
"pageToken": {
- "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
"location": "query",
"type": "string"
},
@@ -1254,25 +1254,25 @@
],
"parameters": {
"filter": {
- "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "500",
- "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
"format": "uint32",
"location": "query",
"minimum": "0",
"type": "integer"
},
"orderBy": {
- "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
"location": "query",
"type": "string"
},
"pageToken": {
- "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
"location": "query",
"type": "string"
},
@@ -1305,25 +1305,25 @@
],
"parameters": {
"filter": {
- "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "500",
- "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
"format": "uint32",
"location": "query",
"minimum": "0",
"type": "integer"
},
"orderBy": {
- "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
"location": "query",
"type": "string"
},
"pageToken": {
- "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
"location": "query",
"type": "string"
},
@@ -1354,7 +1354,7 @@
]
},
"patch": {
- "description": "Updates a type provider. This method supports patch semantics.",
+ "description": "Patches a type provider.",
"httpMethod": "PATCH",
"id": "deploymentmanager.typeProviders.patch",
"parameterOrder": [
@@ -1438,25 +1438,25 @@
],
"parameters": {
"filter": {
- "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
+ "description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.\n\nYou can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ```",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "500",
- "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)",
"format": "uint32",
"location": "query",
"minimum": "0",
"type": "integer"
},
"orderBy": {
- "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or `creationTimestamp desc` is supported.",
"location": "query",
"type": "string"
},
"pageToken": {
- "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
+ "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.",
"location": "query",
"type": "string"
},
@@ -1482,7 +1482,7 @@
}
}
},
- "revision": "20181207",
+ "revision": "20200512",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"AsyncOptions": {
@@ -1501,7 +1501,7 @@
"type": "object"
},
"AuditConfig": {
- "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n{ \"audit_configs\": [ { \"service\": \"allServices\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:foo@gmail.com\" ] }, { \"log_type\": \"DATA_WRITE\", }, { \"log_type\": \"ADMIN_READ\", } ] }, { \"service\": \"fooservice.googleapis.com\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:bar@gmail.com\" ] } ] } ] }\n\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.com from DATA_WRITE logging.",
+ "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n{ \"audit_configs\": [ { \"service\": \"allServices\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\", }, { \"log_type\": \"ADMIN_READ\", } ] }, { \"service\": \"sampleservice.googleapis.com\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"auditLogConfigs": {
@@ -1526,7 +1526,7 @@
"type": "object"
},
"AuditLogConfig": {
- "description": "Provides the configuration for logging a type of permissions. Example:\n\n{ \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:foo@gmail.com\" ] }, { \"log_type\": \"DATA_WRITE\", } ] }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo@gmail.com from DATA_READ logging.",
+ "description": "Provides the configuration for logging a type of permissions. Example:\n\n{ \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\", } ] }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.",
"id": "AuditLogConfig",
"properties": {
"exemptedMembers": {
@@ -1536,6 +1536,10 @@
},
"type": "array"
},
+ "ignoreChildExemptions": {
+ "description": "",
+ "type": "boolean"
+ },
"logType": {
"description": "The log type that this config enables.",
"type": "string"
@@ -1599,10 +1603,10 @@
"properties": {
"condition": {
"$ref": "Expr",
- "description": "Unimplemented. The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently."
+ "description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the current request.\n\nIf the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
- "description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values:\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` .\n\n\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\n\n* `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.",
+ "description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values:\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@example.com` .\n\n\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* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.\n\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.",
"items": {
"type": "string"
},
@@ -1647,14 +1651,14 @@
"type": "string"
},
"labels": {
- "description": "Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?",
+ "description": "Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.",
"items": {
"$ref": "CompositeTypeLabelEntry"
},
"type": "array"
},
"name": {
- "description": "Name of the composite type, must follow the expression: [a-z]([-a-z0-9_.]{0,61}[a-z0-9])?.",
+ "description": "Name of the composite type, must follow the expression: `[a-z]([-a-z0-9_.]{0,61}[a-z0-9])?`.",
"type": "string"
},
"operation": {
@@ -1725,12 +1729,8 @@
"description": "Trusted attributes supplied by any service that owns resources and uses the IAM system for access control.",
"type": "string"
},
- "value": {
- "description": "DEPRECATED. Use 'values' instead.",
- "type": "string"
- },
"values": {
- "description": "The objects of the condition. This is mutually exclusive with 'value'.",
+ "description": "The objects of the condition.",
"items": {
"type": "string"
},
@@ -1778,7 +1778,7 @@
"type": "string"
},
"fingerprint": {
- "description": "Provides a fingerprint to use in requests to modify a deployment, such as update(), stop(), and cancelPreview() requests. A fingerprint is a randomly generated value that must be provided with update(), stop(), and cancelPreview() requests to perform optimistic locking. This ensures optimistic concurrency so that only one request happens at a time.\n\nThe fingerprint is initially generated by Deployment Manager and changes after every request to modify data. To get the latest fingerprint value, perform a get() request to a deployment.",
+ "description": "Provides a fingerprint to use in requests to modify a deployment, such as `update()`, `stop()`, and `cancelPreview()` requests. A fingerprint is a randomly generated value that must be provided with `update()`, `stop()`, and `cancelPreview()` requests to perform optimistic locking. This ensures optimistic concurrency so that only one request happens at a time.\n\nThe fingerprint is initially generated by Deployment Manager and changes after every request to modify data. To get the latest fingerprint value, perform a `get()` request to a deployment.",
"format": "byte",
"type": "string"
},
@@ -1791,18 +1791,18 @@
"type": "string"
},
"labels": {
- "description": "Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?",
+ "description": "Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.",
"items": {
"$ref": "DeploymentLabelEntry"
},
"type": "array"
},
"manifest": {
- "description": "Output only. URL of the manifest representing the last manifest that was successfully deployed.",
+ "description": "Output only. URL of the manifest representing the last manifest that was successfully deployed. If no manifest has been successfully deployed, this field will be absent.",
"type": "string"
},
"name": {
- "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.",
+ "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.",
"type": "string"
},
"operation": {
@@ -1849,7 +1849,7 @@
"type": "string"
},
"labels": {
- "description": "Output only. Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?",
+ "description": "Output only. Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.",
"items": {
"$ref": "DeploymentUpdateLabelEntry"
},
@@ -1879,7 +1879,7 @@
"id": "DeploymentsCancelPreviewRequest",
"properties": {
"fingerprint": {
- "description": "Specifies a fingerprint for cancelPreview() requests. A fingerprint is a randomly generated value that must be provided in cancelPreview() requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to cancel a preview, this would prevent one of the requests).\n\nThe fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a get() request on the deployment.",
+ "description": "Specifies a fingerprint for `cancelPreview()` requests. A fingerprint is a randomly generated value that must be provided in `cancelPreview()` requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to cancel a preview, this would prevent one of the requests).\n\nThe fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a `get()` request on the deployment.",
"format": "byte",
"type": "string"
}
@@ -1909,7 +1909,7 @@
"id": "DeploymentsStopRequest",
"properties": {
"fingerprint": {
- "description": "Specifies a fingerprint for stop() requests. A fingerprint is a randomly generated value that must be provided in stop() requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to stop an ongoing update request, this would prevent a collision).\n\nThe fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a get() request on the deployment.",
+ "description": "Specifies a fingerprint for `stop()` requests. A fingerprint is a randomly generated value that must be provided in `stop()` requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to stop an ongoing update request, this would prevent a collision).\n\nThe fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a `get()` request on the deployment.",
"format": "byte",
"type": "string"
}
@@ -1932,23 +1932,23 @@
"type": "object"
},
"Expr": {
- "description": "Represents an expression text. Example:\n\ntitle: \"User account presence\" description: \"Determines whether the request has a user account\" expression: \"size(request.user) > 0\"",
+ "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec.\n\nExample (Comparison):\n\ntitle: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\"\n\nExample (Equality):\n\ntitle: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\"\n\nExample (Logic):\n\ntitle: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\"\n\nExample (Data Manipulation):\n\ntitle: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\"\n\nThe exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.",
"id": "Expr",
"properties": {
"description": {
- "description": "An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.",
+ "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.",
"type": "string"
},
"expression": {
- "description": "Textual representation of an expression in Common Expression Language syntax.\n\nThe application context of the containing message determines which well-known feature set of CEL is supported.",
+ "description": "Textual representation of an expression in Common Expression Language syntax.",
"type": "string"
},
"location": {
- "description": "An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.",
+ "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.",
"type": "string"
},
"title": {
- "description": "An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.",
+ "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.",
"type": "string"
}
},
@@ -2049,9 +2049,16 @@
"type": "object"
},
"LogConfigCounterOptions": {
- "description": "Increment a streamz counter with the specified metric and field names.\n\nMetric 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.\n\nField names correspond to IAM request parameters and field values are their respective values.\n\nSupported field names: - \"authority\", which is \"[token]\" if IAMContext.token is present, otherwise the value of IAMContext.authority_selector if present, and otherwise a representation of IAMContext.principal; or - \"iam_principal\", a representation of IAMContext.principal even if a token or authority selector is present; or - \"\" (empty string), resulting in a counter with no fields.\n\nExamples: counter { metric: \"/debug_access_count\" field: \"iam_principal\" } ==> increment counter /iam/policy/backend_debug_access_count {iam_principal=[value of IAMContext.principal]}\n\nAt this time we do not support multiple field names (though this may be supported in the future).",
+ "description": "Increment a streamz counter with the specified metric and field names.\n\nMetric 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.\n\nField names correspond to IAM request parameters and field values are their respective values.\n\nSupported field names: - \"authority\", which is \"[token]\" if IAMContext.token is present, otherwise the value of IAMContext.authority_selector if present, and otherwise a representation of IAMContext.principal; or - \"iam_principal\", a representation of IAMContext.principal even if a token or authority selector is present; or - \"\" (empty string), resulting in a counter with no fields.\n\nExamples: counter { metric: \"/debug_access_count\" field: \"iam_principal\" } ==> increment counter /iam/policy/debug_access_count {iam_principal=[value of IAMContext.principal]}",
"id": "LogConfigCounterOptions",
"properties": {
+ "customFields": {
+ "description": "Custom fields.",
+ "items": {
+ "$ref": "LogConfigCounterOptionsCustomField"
+ },
+ "type": "array"
+ },
"field": {
"description": "The field value to attribute.",
"type": "string"
@@ -2063,12 +2070,27 @@
},
"type": "object"
},
+ "LogConfigCounterOptionsCustomField": {
+ "description": "Custom fields. These can be used to create a counter with arbitrary field/value pairs. See: go/rpcsp-custom-fields.",
+ "id": "LogConfigCounterOptionsCustomField",
+ "properties": {
+ "name": {
+ "description": "Name is the field name.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Value is the field value. It is important that in contrast to the CounterOptions.field, the value here is a constant that is not derived from the IAMContext.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"LogConfigDataAccessOptions": {
"description": "Write a Data Access (Gin) log",
"id": "LogConfigDataAccessOptions",
"properties": {
"logMode": {
- "description": "Whether Gin logging should happen in a fail-closed manner at the caller. This is relevant only in the LocalIAM implementation, for now.\n\nNOTE: Logging to Gin in a fail-closed manner is currently unsupported while work is being done to satisfy the requirements of go/345. Currently, setting LOG_FAIL_CLOSED mode will have no effect, but still exists because there is active work being done to support it (b/115874152).",
+ "description": "",
"type": "string"
}
},
@@ -2135,7 +2157,7 @@
"type": "object"
},
"Operation": {
- "description": "An Operation resource, used to manage asynchronous API requests. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)",
+ "description": "Represents an Operation resource.\n\nGoogle Compute Engine has three Operation resources:\n\n* [Global](/compute/docs/reference/rest/{$api_version}/globalOperations) * [Regional](/compute/docs/reference/rest/{$api_version}/regionOperations) * [Zonal](/compute/docs/reference/rest/{$api_version}/zoneOperations)\n\nYou can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.\n\nOperations can be global, regional or zonal. \n- For global operations, use the `globalOperations` resource. \n- For regional operations, use the `regionOperations` resource. \n- For zonal operations, use the `zonalOperations` resource. \n\nFor more information, read Global, Regional, and Zonal Resources. (== resource_for {$api_version}.globalOperations ==) (== resource_for {$api_version}.regionOperations ==) (== resource_for {$api_version}.zoneOperations ==)",
"id": "Operation",
"properties": {
"clientOperationId": {
@@ -2182,16 +2204,16 @@
"type": "object"
},
"httpErrorMessage": {
- "description": "[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.",
+ "description": "[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.",
"type": "string"
},
"httpErrorStatusCode": {
- "description": "[Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found.",
+ "description": "[Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.",
"format": "int32",
"type": "integer"
},
"id": {
- "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
+ "description": "[Output Only] The unique identifier for the operation. This identifier is defined by the server.",
"format": "uint64",
"type": "string"
},
@@ -2201,15 +2223,15 @@
},
"kind": {
"default": "deploymentmanager#operation",
- "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.",
"type": "string"
},
"name": {
- "description": "[Output Only] Name of the resource.",
+ "description": "[Output Only] Name of the operation.",
"type": "string"
},
"operationType": {
- "description": "[Output Only] The type of operation, such as insert, update, or delete, and so on.",
+ "description": "[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.",
"type": "string"
},
"progress": {
@@ -2218,7 +2240,7 @@
"type": "integer"
},
"region": {
- "description": "[Output Only] The URL of the region where the operation resides. Only available when performing regional operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.",
+ "description": "[Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.",
"type": "string"
},
"selfLink": {
@@ -2230,7 +2252,7 @@
"type": "string"
},
"status": {
- "description": "[Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.",
+ "description": "[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.",
"type": "string"
},
"statusMessage": {
@@ -2247,7 +2269,7 @@
"type": "string"
},
"user": {
- "description": "[Output Only] User who requested the operation, for example: user@example.com.",
+ "description": "[Output Only] User who requested the operation, for example: `user@example.com`.",
"type": "string"
},
"warnings": {
@@ -2285,7 +2307,7 @@
"type": "array"
},
"zone": {
- "description": "[Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.",
+ "description": "[Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.",
"type": "string"
}
},
@@ -2339,7 +2361,7 @@
"type": "object"
},
"Policy": {
- "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**JSON 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\n**YAML Example**\n\nbindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com role: roles/owner - members: - user:sean@example.com role: roles/viewer\n\n\n\nFor a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam/docs).",
+ "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.\n\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n{ \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 }\n\n**YAML example:**\n\nbindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3\n\nFor a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"auditConfigs": {
@@ -2350,14 +2372,14 @@
"type": "array"
},
"bindings": {
- "description": "Associates a list of `members` to a `role`. `bindings` with no members will result in an error.",
+ "description": "Associates a list of `members` to a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one member.",
"items": {
"$ref": "Binding"
},
"type": "array"
},
"etag": {
- "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly.",
+ "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy.\n\n**Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.",
"format": "byte",
"type": "string"
},
@@ -2373,7 +2395,7 @@
"type": "array"
},
"version": {
- "description": "Deprecated.",
+ "description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected.\n\nAny operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
@@ -2443,7 +2465,7 @@
"type": "string"
},
"type": {
- "description": "Output only. The type of the resource, for example compute.v1.instance, or cloudfunctions.v1beta1.function.",
+ "description": "Output only. The type of the resource, for example `compute.v1.instance`, or `cloudfunctions.v1beta1.function`.",
"type": "string"
},
"update": {
@@ -2546,7 +2568,7 @@
"type": "string"
},
"intent": {
- "description": "Output only. The intent of the resource: PREVIEW, UPDATE, or CANCEL.",
+ "description": "Output only. The intent of the resource: `PREVIEW`, `UPDATE`, or `CANCEL`.",
"type": "string"
},
"manifest": {
@@ -2772,7 +2794,7 @@
"type": "string"
},
"labels": {
- "description": "Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?",
+ "description": "Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.",
"items": {
"$ref": "TypeLabelEntry"
},
@@ -2806,7 +2828,7 @@
"type": "string"
},
"kind": {
- "description": "Output only. Type of the output. Always deploymentManager#TypeInfo for TypeInfo.",
+ "description": "Output only. Type of the output. Always `deploymentManager#TypeInfo` for TypeInfo.",
"type": "string"
},
"name": {
@@ -2870,6 +2892,13 @@
"$ref": "Credential",
"description": "Credential used when interacting with this type."
},
+ "customCertificateAuthorityRoots": {
+ "description": "List of up to 2 custom certificate authority roots to use for TLS authentication when making calls on behalf of this type provider. If set, TLS authentication will exclusively use these roots instead of relying on publicly trusted certificate authorities when validating TLS certificate authenticity. The certificates must be in base64-encoded PEM format. The maximum size of each certificate must not exceed 10KB.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"description": {
"description": "An optional textual description of the resource; provided by the client when the resource is created.",
"type": "string"
@@ -2888,14 +2917,14 @@
"type": "string"
},
"labels": {
- "description": "Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?",
+ "description": "Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.",
"items": {
"$ref": "TypeProviderLabelEntry"
},
"type": "array"
},
"name": {
- "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.",
+ "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.",
"type": "string"
},
"operation": {
diff --git a/etc/api/dfareporting/v3.3/dfareporting-api.json b/etc/api/dfareporting/v3.3/dfareporting-api.json
index 9fc3c38014..2565f724b6 100644
--- a/etc/api/dfareporting/v3.3/dfareporting-api.json
+++ b/etc/api/dfareporting/v3.3/dfareporting-api.json
@@ -20,7 +20,7 @@
"description": "Manages your DoubleClick Campaign Manager ad campaigns and reports.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/doubleclick-advertisers/",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/A0StowLCk6_YQOwCP1AS7g6Vp58\"",
+ "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/kUE5ERHBaKgFUVRbuUNbc2vvqsA\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/doubleclick-16.gif",
"x32": "https://www.google.com/images/icons/product/doubleclick-32.gif"
@@ -7972,14 +7972,14 @@
"type": "string"
},
"profileId": {
- "description": "The DFA user profile ID.",
+ "description": "The DFA profile ID.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"reportId": {
- "description": "The ID of the report.",
+ "description": "The ID of the parent report.",
"format": "int64",
"location": "path",
"required": true,
@@ -9399,7 +9399,7 @@
}
}
},
- "revision": "20200326",
+ "revision": "20200514",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Account": {
@@ -14291,7 +14291,8 @@
"id": "File",
"properties": {
"dateRange": {
- "$ref": "DateRange"
+ "$ref": "DateRange",
+ "description": "The date range for which the file has report data. The date range will always be the absolute date range for which the report is run."
},
"etag": {
"description": "Etag of this resource.",
@@ -14303,6 +14304,14 @@
},
"format": {
"description": "The output format of the report. Only available once the file is available.",
+ "enum": [
+ "CSV",
+ "EXCEL"
+ ],
+ "enumDescriptions": [
+ "",
+ ""
+ ],
"type": "string"
},
"id": {
@@ -14327,6 +14336,18 @@
},
"status": {
"description": "The status of the report file.",
+ "enum": [
+ "CANCELLED",
+ "FAILED",
+ "PROCESSING",
+ "REPORT_AVAILABLE"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ ""
+ ],
"type": "string"
},
"urls": {
@@ -14347,6 +14368,7 @@
"type": "object"
},
"FileList": {
+ "description": "List of files for a report.",
"id": "FileList",
"properties": {
"etag": {
@@ -14354,6 +14376,7 @@
"type": "string"
},
"items": {
+ "description": "The files returned in this response.",
"items": {
"$ref": "File"
},
diff --git a/etc/api/dfareporting/v3.4/dfareporting-api.json b/etc/api/dfareporting/v3.4/dfareporting-api.json
index 08e983cae6..0cdc2f37bf 100644
--- a/etc/api/dfareporting/v3.4/dfareporting-api.json
+++ b/etc/api/dfareporting/v3.4/dfareporting-api.json
@@ -20,7 +20,7 @@
"description": "Manages your DoubleClick Campaign Manager ad campaigns and reports.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/doubleclick-advertisers/",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/hEFj7FeiMMK3lgT1AeWxVHm69KU\"",
+ "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/JPGRJEtt4qfB_MWZ27vHQxfqqCY\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/doubleclick-16.gif",
"x32": "https://www.google.com/images/icons/product/doubleclick-32.gif"
@@ -7968,14 +7968,14 @@
"type": "string"
},
"profileId": {
- "description": "The DFA user profile ID.",
+ "description": "The DFA profile ID.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"reportId": {
- "description": "The ID of the report.",
+ "description": "The ID of the parent report.",
"format": "int64",
"location": "path",
"required": true,
@@ -9395,7 +9395,7 @@
}
}
},
- "revision": "20200326",
+ "revision": "20200514",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Account": {
@@ -13288,7 +13288,7 @@
"properties": {
"annotateClickEvent": {
"$ref": "CustomEventClickAnnotation",
- "description": "Annotate an impression. This field is mutually exclusive with insertEvent and annotateImpressionEvent. This or insertEvent and annotateImpressionEvent is a required field."
+ "description": "Annotate a click event. This field is mutually exclusive with insertEvent and annotateImpressionEvent. This or insertEvent and annotateImpressionEvent is a required field."
},
"annotateImpressionEvent": {
"$ref": "CustomEventImpressionAnnotation",
@@ -13322,7 +13322,7 @@
},
"insertEvent": {
"$ref": "CustomEventInsert",
- "description": "Annotate an impression. This field is mutually exclusive with annotateClickEvent and annotateImpressionEvent. This or annotateClickEvent and annotateImpressionEvent is a required field."
+ "description": "Insert custom event. This field is mutually exclusive with annotateClickEvent and annotateImpressionEvent. This or annotateClickEvent and annotateImpressionEvent is a required field."
},
"kind": {
"default": "dfareporting#customEvent",
@@ -14639,7 +14639,8 @@
"id": "File",
"properties": {
"dateRange": {
- "$ref": "DateRange"
+ "$ref": "DateRange",
+ "description": "The date range for which the file has report data. The date range will always be the absolute date range for which the report is run."
},
"etag": {
"description": "Etag of this resource.",
@@ -14651,6 +14652,14 @@
},
"format": {
"description": "The output format of the report. Only available once the file is available.",
+ "enum": [
+ "CSV",
+ "EXCEL"
+ ],
+ "enumDescriptions": [
+ "",
+ ""
+ ],
"type": "string"
},
"id": {
@@ -14675,6 +14684,18 @@
},
"status": {
"description": "The status of the report file.",
+ "enum": [
+ "CANCELLED",
+ "FAILED",
+ "PROCESSING",
+ "REPORT_AVAILABLE"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ ""
+ ],
"type": "string"
},
"urls": {
@@ -14695,6 +14716,7 @@
"type": "object"
},
"FileList": {
+ "description": "List of files for a report.",
"id": "FileList",
"properties": {
"etag": {
@@ -14702,6 +14724,7 @@
"type": "string"
},
"items": {
+ "description": "The files returned in this response.",
"items": {
"$ref": "File"
},
diff --git a/etc/api/dialogflow/v2/dialogflow-api.json b/etc/api/dialogflow/v2/dialogflow-api.json
index 1483e42b11..f16c8333e9 100644
--- a/etc/api/dialogflow/v2/dialogflow-api.json
+++ b/etc/api/dialogflow/v2/dialogflow-api.json
@@ -288,7 +288,7 @@
]
},
"import": {
- "description": "Imports the specified agent from a ZIP file.\n\nUploads new intents and entity types without deleting the existing ones.\nIntents and entity types with the same name are replaced with the new\nversions from ImportAgentRequest.\n\nOperation ",
+ "description": "Imports the specified agent from a ZIP file.\n\nUploads new intents and entity types without deleting the existing ones.\nIntents and entity types with the same name are replaced with the new\nversions from ImportAgentRequest. After the import, the imported draft\nagent will be trained automatically (unless disabled in agent settings).\nHowever, once the import is done, training may not be completed yet. Please\ncall TrainAgent and wait for the operation it returns in order to train\nexplicitly.\n\nOperation \nAn operation which tracks when importing is complete. It only tracks\nwhen the draft agent is updated not when it is done training.",
"flatPath": "v2/projects/{projectsId}/agent:import",
"httpMethod": "POST",
"id": "dialogflow.projects.agent.import",
@@ -317,7 +317,7 @@
]
},
"restore": {
- "description": "Restores the specified agent from a ZIP file.\n\nReplaces the current agent version with a new one. All the intents and\nentity types in the older version are deleted.\n\nOperation ",
+ "description": "Restores the specified agent from a ZIP file.\n\nReplaces the current agent version with a new one. All the intents and\nentity types in the older version are deleted. After the restore, the\nrestored draft agent will be trained automatically (unless disabled in\nagent settings). However, once the restore is done, training may not be\ncompleted yet. Please call TrainAgent and wait for the operation it\nreturns in order to train explicitly.\n\nOperation \nAn operation which tracks when restoring is complete. It only tracks\nwhen the draft agent is updated not when it is done training.",
"flatPath": "v2/projects/{projectsId}/agent:restore",
"httpMethod": "POST",
"id": "dialogflow.projects.agent.restore",
@@ -777,6 +777,45 @@
}
},
"environments": {
+ "methods": {
+ "list": {
+ "description": "Returns the list of all non-draft environments of the specified agent.",
+ "flatPath": "v2/projects/{projectsId}/agent/environments",
+ "httpMethod": "GET",
+ "id": "dialogflow.projects.agent.environments.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "Optional. The maximum number of items to return in a single page. By default 100 and\nat most 1000.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "Optional. The next_page_token value returned from a previous list request.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. The agent to list all environments from.\nFormat: `projects//agent`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/agent$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2/{+parent}/environments",
+ "response": {
+ "$ref": "GoogleCloudDialogflowV2ListEnvironmentsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/dialogflow"
+ ]
+ }
+ },
"resources": {
"users": {
"resources": {
@@ -2010,11 +2049,442 @@
}
}
},
- "revision": "20200408",
+ "revision": "20200706",
"rootUrl": "https://dialogflow.googleapis.com/",
"schemas": {
+ "GoogleCloudDialogflowCxV3beta1ExportAgentResponse": {
+ "description": "The response message for Agents.ExportAgent.",
+ "id": "GoogleCloudDialogflowCxV3beta1ExportAgentResponse",
+ "properties": {
+ "agentContent": {
+ "description": "Uncompressed raw byte content for agent.",
+ "format": "byte",
+ "type": "string"
+ },
+ "agentUri": {
+ "description": "The URI to a file containing the exported agent. This field is populated\nonly if `agent_uri` is specified in ExportAgentRequest.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1PageInfo": {
+ "description": "Represents page information communicated to and from the webhook.",
+ "id": "GoogleCloudDialogflowCxV3beta1PageInfo",
+ "properties": {
+ "currentPage": {
+ "description": "Always present for WebhookRequest. Ignored for WebhookResponse.\nThe unique identifier of the current page.\nFormat: `projects//locations//agents//flows//pages/`.",
+ "type": "string"
+ },
+ "formInfo": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfo",
+ "description": "Optional for both WebhookRequest and WebhookResponse.\nInformation about the form."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1PageInfoFormInfo": {
+ "description": "Represents form information.",
+ "id": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfo",
+ "properties": {
+ "parameterInfo": {
+ "description": "Optional for both WebhookRequest and WebhookResponse.\nThe parameters contained in the form. Note that the webhook cannot add\nor remove any form parameter.",
+ "items": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo": {
+ "description": "Represents parameter information.",
+ "id": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo",
+ "properties": {
+ "displayName": {
+ "description": "Always present for WebhookRequest. Required for\nWebhookResponse.\nThe human-readable name of the parameter, unique within the form. This\nfield cannot be modified by the webhook.",
+ "type": "string"
+ },
+ "justCollected": {
+ "description": "Optional for WebhookRequest. Ignored for WebhookResponse.\nIndicates if the parameter value was just collected on the last\nconversation turn.",
+ "type": "boolean"
+ },
+ "required": {
+ "description": "Optional for both WebhookRequest and WebhookResponse.\nIndicates whether the parameter is required. Optional parameters will\nnot trigger prompts; however, they are filled if the user specifies\nthem. Required parameters must be filled before form filling concludes.",
+ "type": "boolean"
+ },
+ "state": {
+ "description": "Always present for WebhookRequest. Required for\nWebhookResponse. The state of the parameter. This field can be set\nto INVALID by\nthe webhook to invalidate the parameter; other values set by the\nwebhook will be ignored.",
+ "enum": [
+ "PARAMETER_STATE_UNSPECIFIED",
+ "EMPTY",
+ "INVALID",
+ "FILLED"
+ ],
+ "enumDescriptions": [
+ "Not specified. This value should be never used.",
+ "Indicates that the parameter does not have a value.",
+ "Indicates that the parameter value is invalid. This field can be used\nby the webhook to invalidate the parameter and ask the server to\ncollect it from the user again.",
+ "Indicates that the parameter has a value."
+ ],
+ "type": "string"
+ },
+ "value": {
+ "description": "Optional for both WebhookRequest and WebhookResponse.\nThe value of the parameter. This field can be set by the webhook to\nchange the parameter value.",
+ "type": "any"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1ResponseMessage": {
+ "description": "Represents a response message that can be returned by a conversational agent.\n\nResponse messages are also used for output audio synthesis. The approach is\nas follows:\n\n* If at least one OutputAudioText response is present, then all\n OutputAudioText responses are linearly concatenated, and the result is used\n for output audio synthesis.\n* If the OutputAudioText responses are a mixture of text and SSML, then the\n concatenated result is treated as SSML; otherwise, the result is treated as\n either text or SSML as appropriate. The agent designer should ideally use\n either text or SSML consistently throughout the bot design.\n* Otherwise, all Text responses are linearly concatenated, and the result is\n used for output audio synthesis.\n\nThis approach allows for more sophisticated user experience scenarios, where\nthe text displayed to the user may differ from what is heard.",
+ "id": "GoogleCloudDialogflowCxV3beta1ResponseMessage",
+ "properties": {
+ "conversationSuccess": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess",
+ "description": "Indicates that the conversation succeeded."
+ },
+ "endInteraction": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction",
+ "description": "Output only. A signal that indicates the interaction with the Dialogflow agent has\nended.\nThis message is generated by Dialogflow only when the conversation\nreaches `END_SESSION` or `END_PAGE` page. It is not supposed to be\ndefined by the user.\nIt's guaranteed that there is at most one such message in each response."
+ },
+ "humanAgentHandoff": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff",
+ "description": "Hands off conversation to a human agent."
+ },
+ "liveAgentHandoff": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff",
+ "description": "Hands off conversation to a human agent."
+ },
+ "mixedAudio": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio",
+ "description": "Output only. An audio response message composed of both the synthesized Dialogflow\nagent responses and responses defined via\nplay_audio.\nThis message is generated by Dialogflow only and not supposed to be\ndefined by the user."
+ },
+ "outputAudioText": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText",
+ "description": "A text or ssml response that is preferentially used for TTS output audio\nsynthesis, as described in the comment on the ResponseMessage message."
+ },
+ "payload": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "Returns a response containing a custom, platform-specific payload.",
+ "type": "object"
+ },
+ "playAudio": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio",
+ "description": "Signal that the client should play an audio clip hosted at a\nclient-specific URI. Dialogflow uses this to construct\nmixed_audio. However, Dialogflow itself\ndoes not try to read or process the URI in any way."
+ },
+ "text": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageText",
+ "description": "Returns a text response."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess": {
+ "description": "Indicates that the conversation succeeded, i.e., the bot handled the issue\nthat the customer talked to it about.\n\nDialogflow only uses this to determine which conversations should be\ncounted as successful and doesn't process the metadata in this message in\nany way. Note that Dialogflow also considers conversations that get to the\nconversation end page as successful even if they don't return\nConversationSuccess.\n\nYou may set this, for example:\n* In the entry_fulfillment of a Page if\n entering the page indicates that the conversation succeeded.\n* In a webhook response when you determine that you handled the customer\n issue.",
+ "id": "GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess",
+ "properties": {
+ "metadata": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "Custom metadata. Dialogflow doesn't impose any structure on this.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction": {
+ "description": "Indicates that interaction with the Dialogflow agent has ended.\nThis message is generated by Dialogflow only and not supposed to be\ndefined by the user.",
+ "id": "GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff": {
+ "description": "Indicates that the conversation should be handed off to a human agent.\n\nDialogflow only uses this to determine which conversations were handed off\nto a human agent for measurement purposes. What else to do with this signal\nis up to you and your handoff procedures.\n\nYou may set this, for example:\n* In the entry_fulfillment of a Page if\n entering the page indicates something went extremely wrong in the\n conversation.\n* In a webhook response when you determine that the customer issue can only\n be handled by a human.",
+ "id": "GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff",
+ "properties": {
+ "metadata": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "Custom metadata for your handoff procedure. Dialogflow doesn't impose\nany structure on this.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff": {
+ "description": "Indicates that the conversation should be handed off to a live agent.\n\nDialogflow only uses this to determine which conversations were handed off\nto a human agent for measurement purposes. What else to do with this signal\nis up to you and your handoff procedures.\n\nYou may set this, for example:\n* In the entry_fulfillment of a Page if\n entering the page indicates something went extremely wrong in the\n conversation.\n* In a webhook response when you determine that the customer issue can only\n be handled by a human.",
+ "id": "GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff",
+ "properties": {
+ "metadata": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "Custom metadata for your handoff procedure. Dialogflow doesn't impose\nany structure on this.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio": {
+ "description": "Represents an audio message that is composed of both segments\nsynthesized from the Dialogflow agent prompts and ones hosted externally\nat the specified URIs.\nThe external URIs are specified via\nplay_audio.\nThis message is generated by Dialogflow only and not supposed to be\ndefined by the user.",
+ "id": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio",
+ "properties": {
+ "segments": {
+ "description": "Segments this audio response is composed of.",
+ "items": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment": {
+ "description": "Represents one segment of audio.",
+ "id": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment",
+ "properties": {
+ "allowPlaybackInterruption": {
+ "description": "Whether the playback of this segment can be interrupted by the end\nuser's speech and the client should then start the next Dialogflow\nrequest.",
+ "type": "boolean"
+ },
+ "audio": {
+ "description": "Raw audio synthesized from the Dialogflow agent's response using\nthe output config specified in the request.",
+ "format": "byte",
+ "type": "string"
+ },
+ "uri": {
+ "description": "Client-specific URI that points to an audio clip accessible to the\nclient. Dialogflow does not impose any validation on it.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText": {
+ "description": "A text or ssml response that is preferentially used for TTS output audio\nsynthesis, as described in the comment on the ResponseMessage message.",
+ "id": "GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText",
+ "properties": {
+ "ssml": {
+ "description": "The SSML text to be synthesized. For more information, see\n[SSML](/speech/text-to-speech/docs/ssml).",
+ "type": "string"
+ },
+ "text": {
+ "description": "The raw text to be synthesized.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio": {
+ "description": "Specifies an audio clip to be played by the client as part of the response.",
+ "id": "GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio",
+ "properties": {
+ "allowPlaybackInterruption": {
+ "description": "Whether the playback of this message can be interrupted by the end\nuser's speech and the client can then starts the next Dialogflow\nrequest.",
+ "type": "boolean"
+ },
+ "audioUri": {
+ "description": "Required. URI of the audio clip. Dialogflow does not impose any validation on this\nvalue. It is specific to the client that reads it.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1ResponseMessageText": {
+ "description": "The text response message.",
+ "id": "GoogleCloudDialogflowCxV3beta1ResponseMessageText",
+ "properties": {
+ "allowPlaybackInterruption": {
+ "description": "Whether the playback of this message can be interrupted by the end\nuser's speech and the client can then starts the next Dialogflow\nrequest.",
+ "type": "boolean"
+ },
+ "text": {
+ "description": "Required. A collection of text responses.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1SessionInfo": {
+ "description": "Represents session information communicated to and from the webhook.",
+ "id": "GoogleCloudDialogflowCxV3beta1SessionInfo",
+ "properties": {
+ "parameters": {
+ "additionalProperties": {
+ "type": "any"
+ },
+ "description": "Optional for WebhookRequest. Optional for WebhookResponse.\nAll parameters collected from forms and intents during the session.\nParameters can be created, updated, or removed by the webhook. To remove a\nparameter from the session, the webhook should explicitly set the parameter\nvalue to null in WebhookResponse. The map is keyed by parameters'\ndisplay names.",
+ "type": "object"
+ },
+ "session": {
+ "description": "Always present for WebhookRequest. Ignored for WebhookResponse.\nThe unique identifier of the session. This\nfield can be used by the webhook to identify a user.\nFormat: `projects//locations//agents//sessions/`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1WebhookRequest": {
+ "description": "The request message for a webhook call.",
+ "id": "GoogleCloudDialogflowCxV3beta1WebhookRequest",
+ "properties": {
+ "detectIntentResponseId": {
+ "description": "Always present. The unique identifier of the DetectIntentResponse that\nwill be returned to the API caller.",
+ "type": "string"
+ },
+ "fulfillmentInfo": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo",
+ "description": "Always present. Information about the fulfillment that triggered this\nwebhook call."
+ },
+ "intentInfo": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo",
+ "description": "Information about the last matched intent."
+ },
+ "messages": {
+ "description": "The list of rich message responses to present to the user. Webhook can\nchoose to append or replace this list in\nWebhookResponse.fulfillment_response;",
+ "items": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage"
+ },
+ "type": "array"
+ },
+ "pageInfo": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1PageInfo",
+ "description": "Information about page status."
+ },
+ "payload": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "Custom data set in QueryParameters.payload.",
+ "type": "object"
+ },
+ "sessionInfo": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1SessionInfo",
+ "description": "Information about session status."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo": {
+ "description": "Represents fulfillment information communicated to the webhook.",
+ "id": "GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo",
+ "properties": {
+ "tag": {
+ "description": "Always present. The tag used to identify which fulfillment is being\ncalled.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo": {
+ "description": "Represents intent information communicated to the webhook.",
+ "id": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo",
+ "properties": {
+ "lastMatchedIntent": {
+ "description": "Always present. The unique identifier of the last matched\nintent. Format: `projects//locations//agents//intents/`.",
+ "type": "string"
+ },
+ "parameters": {
+ "additionalProperties": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue"
+ },
+ "description": "Parameters identified as a result of intent matching. This is a map of\nthe name of the identified parameter to the value of the parameter\nidentified from the user's utterance. All parameters defined in the\nmatched intent that are identified will be surfaced here.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue": {
+ "description": "Represents a value for an intent parameter.",
+ "id": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue",
+ "properties": {
+ "originalValue": {
+ "description": "Always present. Original text value extracted from user utterance.",
+ "type": "string"
+ },
+ "resolvedValue": {
+ "description": "Always present. Structured value for the parameter extracted from user\nutterance.",
+ "type": "any"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1WebhookResponse": {
+ "description": "The response message for a webhook call.",
+ "id": "GoogleCloudDialogflowCxV3beta1WebhookResponse",
+ "properties": {
+ "fulfillmentResponse": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse",
+ "description": "The fulfillment response to send to the user. This field can be omitted by\nthe webhook if it does not intend to send any response to the user."
+ },
+ "pageInfo": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1PageInfo",
+ "description": "Information about page status. This field can be omitted by the webhook if\nit does not intend to modify page status."
+ },
+ "payload": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "Value to append directly to QueryResult.webhook_payloads.",
+ "type": "object"
+ },
+ "sessionInfo": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1SessionInfo",
+ "description": "Information about session status. This field can be omitted by the webhook\nif it does not intend to modify session status."
+ },
+ "targetFlow": {
+ "description": "The target flow to transition to.\nFormat: `projects//locations//agents//flows/`.",
+ "type": "string"
+ },
+ "targetPage": {
+ "description": "The target page to transition to.\nFormat: `projects//locations//agents//flows//pages/`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse": {
+ "description": "Represents a fulfillment response to the user.",
+ "id": "GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse",
+ "properties": {
+ "mergeBehavior": {
+ "description": "Merge behavior for `messages`.",
+ "enum": [
+ "MERGE_BEHAVIOR_UNSPECIFIED",
+ "APPEND",
+ "REPLACE"
+ ],
+ "enumDescriptions": [
+ "Not specified. `APPEND` will be used.",
+ "`messages` will be appended to the list of messages waiting to be sent\nto the user.",
+ "`messages` will replace the list of messages waiting to be sent to the\nuser."
+ ],
+ "type": "string"
+ },
+ "messages": {
+ "description": "The list of rich message responses to present to the user.",
+ "items": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudDialogflowV2Agent": {
- "description": "Represents a conversational agent.",
+ "description": "A Dialogflow agent is a virtual agent that handles conversations with your\nend-users. It is a natural language understanding module that understands the\nnuances of human language. Dialogflow translates end-user text or audio\nduring a conversation to structured data that your apps and services can\nunderstand. You design and build a Dialogflow agent to handle the types of\nconversations required for your system.\n\nFor more information about agents, see the\n[Agents\ndocumentation](https://cloud.google.com/dialogflow/docs/agents-overview).",
"id": "GoogleCloudDialogflowV2Agent",
"properties": {
"apiVersion": {
@@ -2317,7 +2787,7 @@
"description": "Properties of the object.",
"type": "any"
},
- "description": "Optional. The collection of parameters associated with this context.\n\nDepending on your protocol or client library language, this is a\nmap, associative array, symbol table, dictionary, or JSON object\ncomposed of a collection of (MapKey, MapValue) pairs:\n\n- MapKey type: string\n- MapKey value: parameter name\n- MapValue type:\n - If parameter's entity type is a composite entity: map\n - Else: string\n- MapValue value:\n - If parameter's entity type is a composite entity:\n map from composite entity property names to property values\n - Else: parameter value",
+ "description": "Optional. The collection of parameters associated with this context.\n\nDepending on your protocol or client library language, this is a\nmap, associative array, symbol table, dictionary, or JSON object\ncomposed of a collection of (MapKey, MapValue) pairs:\n\n- MapKey type: string\n- MapKey value: parameter name\n- MapValue type:\n - If parameter's entity type is a composite entity: map\n - Else: string or number, depending on parameter value type\n- MapValue value:\n - If parameter's entity type is a composite entity:\n map from composite entity property names to property values\n - Else: parameter value",
"type": "object"
}
},
@@ -2396,7 +2866,7 @@
"id": "GoogleCloudDialogflowV2DetectIntentResponse",
"properties": {
"outputAudio": {
- "description": "The audio data bytes encoded as specified in the request.\nNote: The output audio is generated based on the values of default platform\ntext responses found in the `query_result.fulfillment_messages` field. If\nmultiple default text responses exist, they will be concatenated when\ngenerating audio. If no default platform text responses exist, the\ngenerated audio content will be empty.",
+ "description": "The audio data bytes encoded as specified in the request.\nNote: The output audio is generated based on the values of default platform\ntext responses found in the `query_result.fulfillment_messages` field. If\nmultiple default text responses exist, they will be concatenated when\ngenerating audio. If no default platform text responses exist, the\ngenerated audio content will be empty.\n\nIn some scenarios, multiple output audio fields may be present in the\nresponse structure. In these cases, only the top-most-level audio output\nhas content.",
"format": "byte",
"type": "string"
},
@@ -2505,6 +2975,46 @@
},
"type": "object"
},
+ "GoogleCloudDialogflowV2Environment": {
+ "description": "Represents an agent environment.",
+ "id": "GoogleCloudDialogflowV2Environment",
+ "properties": {
+ "agentVersion": {
+ "description": "Optional. The agent version loaded into this environment.\nFormat: `projects//agent/versions/`.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Optional. The developer-provided description for this environment.\nThe maximum length is 500 characters. If exceeded, the request is rejected.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Output only. The unique identifier of this agent environment.\nFormat: `projects//agent/environments/`.\nFor Environment ID, \"-\" is reserved for 'draft' environment.",
+ "type": "string"
+ },
+ "state": {
+ "description": "Output only. The state of this environment. This field is read-only, i.e., it cannot be\nset by create and update methods.",
+ "enum": [
+ "STATE_UNSPECIFIED",
+ "STOPPED",
+ "LOADING",
+ "RUNNING"
+ ],
+ "enumDescriptions": [
+ "Not specified. This value is not used.",
+ "Stopped.",
+ "Loading.",
+ "Running."
+ ],
+ "type": "string"
+ },
+ "updateTime": {
+ "description": "Output only. The last update time of this environment. This field is read-only, i.e., it\ncannot be set by create and update methods.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudDialogflowV2EventInput": {
"description": "Events allow for matching intents by event name instead of the natural\nlanguage input. For instance, input `` can trigger a personalized welcome response.\nThe parameter `name` may be used by the agent in the response:\n`\"Hello #welcome_event.name! What can I do for you today?\"`.",
"id": "GoogleCloudDialogflowV2EventInput",
@@ -2522,7 +3032,7 @@
"description": "Properties of the object.",
"type": "any"
},
- "description": "The collection of parameters associated with the event.",
+ "description": "The collection of parameters associated with the event.\n\nDepending on your protocol or client library language, this is a\nmap, associative array, symbol table, dictionary, or JSON object\ncomposed of a collection of (MapKey, MapValue) pairs:\n\n- MapKey type: string\n- MapKey value: parameter name\n- MapValue type:\n - If parameter's entity type is a composite entity: map\n - Else: string or number, depending on parameter value type\n- MapValue value:\n - If parameter's entity type is a composite entity:\n map from composite entity property names to property values\n - Else: parameter value",
"type": "object"
}
},
@@ -2624,7 +3134,7 @@
"type": "object"
},
"uri": {
- "description": "Required. The fulfillment URI for receiving POST requests.",
+ "description": "Required. The fulfillment URI for receiving POST requests.\nIt must use https protocol.",
"type": "string"
},
"username": {
@@ -3580,7 +4090,7 @@
"type": "array"
},
"value": {
- "description": "Optional. The definition of the parameter value. It can be:\n- a constant string,\n- a parameter value defined as `$parameter_name`,\n- an original parameter value defined as `$parameter_name.original`,\n- a parameter value from some context defined as\n `#context_name.parameter_name`.",
+ "description": "Optional. The definition of the parameter value. It can be:\n\n- a constant string,\n- a parameter value defined as `$parameter_name`,\n- an original parameter value defined as `$parameter_name.original`,\n- a parameter value from some context defined as\n `#context_name.parameter_name`.",
"type": "string"
}
},
@@ -3682,6 +4192,24 @@
},
"type": "object"
},
+ "GoogleCloudDialogflowV2ListEnvironmentsResponse": {
+ "description": "The response message for Environments.ListEnvironments.",
+ "id": "GoogleCloudDialogflowV2ListEnvironmentsResponse",
+ "properties": {
+ "environments": {
+ "description": "The list of agent environments. There will be a maximum number of items\nreturned based on the page_size field in the request.",
+ "items": {
+ "$ref": "GoogleCloudDialogflowV2Environment"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "Token to retrieve the next page of results, or empty if there are no\nmore results in the list.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudDialogflowV2ListIntentsResponse": {
"description": "The response message for Intents.ListIntents.",
"id": "GoogleCloudDialogflowV2ListIntentsResponse",
@@ -3959,7 +4487,7 @@
"description": "Properties of the object.",
"type": "any"
},
- "description": "The collection of extracted parameters.",
+ "description": "The collection of extracted parameters.\n\nDepending on your protocol or client library language, this is a\nmap, associative array, symbol table, dictionary, or JSON object\ncomposed of a collection of (MapKey, MapValue) pairs:\n\n- MapKey type: string\n- MapKey value: parameter name\n- MapValue type:\n - If parameter's entity type is a composite entity: map\n - Else: string or number, depending on parameter value type\n- MapValue value:\n - If parameter's entity type is a composite entity:\n map from composite entity property names to property values\n - Else: parameter value",
"type": "object"
},
"queryText": {
@@ -4053,7 +4581,7 @@
"type": "object"
},
"GoogleCloudDialogflowV2SentimentAnalysisResult": {
- "description": "The result of sentiment analysis as configured by\n`sentiment_analysis_request_config`.",
+ "description": "The result of sentiment analysis. Sentiment analysis inspects user input\nand identifies the prevailing subjective opinion, especially to determine a\nuser's attitude as positive, negative, or neutral.\nFor Participants.AnalyzeContent, it needs to be configured in\nDetectIntentRequest.query_params. For\nParticipants.StreamingAnalyzeContent, it needs to be configured in\nStreamingDetectIntentRequest.query_params.\nAnd for Participants.AnalyzeContent and\nParticipants.StreamingAnalyzeContent, it needs to be configured in\nConversationProfile.human_agent_assistant_config",
"id": "GoogleCloudDialogflowV2SentimentAnalysisResult",
"properties": {
"queryTextSentiment": {
@@ -4100,7 +4628,7 @@
"id": "GoogleCloudDialogflowV2SpeechContext",
"properties": {
"boost": {
- "description": "Optional. Boost for this context compared to other contexts:\n* If the boost is positive, Dialogflow will increase the probability that\n the phrases in this context are recognized over similar sounding phrases.\n* If the boost is unspecified or non-positive, Dialogflow will not apply\n any boost.\n\nDialogflow recommends that you use boosts in the range (0, 20] and that you\nfind a value that fits your use case with binary search.",
+ "description": "Optional. Boost for this context compared to other contexts:\n\n* If the boost is positive, Dialogflow will increase the probability that\n the phrases in this context are recognized over similar sounding phrases.\n* If the boost is unspecified or non-positive, Dialogflow will not apply\n any boost.\n\nDialogflow recommends that you use boosts in the range (0, 20] and that you\nfind a value that fits your use case with binary search.",
"format": "float",
"type": "number"
},
@@ -4274,21 +4802,21 @@
"properties": {
"followupEventInput": {
"$ref": "GoogleCloudDialogflowV2EventInput",
- "description": "Optional. Makes the platform immediately invoke another `DetectIntent` call\ninternally with the specified event as input.\nWhen this field is set, Dialogflow ignores the `fulfillment_text`,\n`fulfillment_messages`, and `payload` fields."
+ "description": "Optional. Invokes the supplied events.\nWhen this field is set, Dialogflow ignores the `fulfillment_text`,\n`fulfillment_messages`, and `payload` fields."
},
"fulfillmentMessages": {
- "description": "Optional. The collection of rich messages to present to the user. This\nvalue is passed directly to `QueryResult.fulfillment_messages`.",
+ "description": "Optional. The rich response messages intended for the end-user.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.fulfillment_messages sent to the integration or API caller.",
"items": {
"$ref": "GoogleCloudDialogflowV2IntentMessage"
},
"type": "array"
},
"fulfillmentText": {
- "description": "Optional. The text to be shown on the screen. This value is passed directly\nto `QueryResult.fulfillment_text`.",
+ "description": "Optional. The text response message intended for the end-user.\nIt is recommended to use `fulfillment_messages.text.text[0]` instead.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.fulfillment_text sent to the integration or API caller.",
"type": "string"
},
"outputContexts": {
- "description": "Optional. The collection of output contexts. This value is passed directly\nto `QueryResult.output_contexts`.",
+ "description": "Optional. The collection of output contexts that will overwrite currently\nactive contexts for the session and reset their lifespans.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.output_contexts sent to the integration or API caller.",
"items": {
"$ref": "GoogleCloudDialogflowV2Context"
},
@@ -4299,18 +4827,18 @@
"description": "Properties of the object.",
"type": "any"
},
- "description": "Optional. This field can be used to pass custom data from your webhook to the API\ncaller. Arbitrary JSON objects are supported.\nWhen provided, Dialogflow uses this field to populate\n`QueryResult.webhook_payload` sent to the API caller.\nThis field is also used by the\n[Google Assistant\nintegration](https://cloud.google.com/dialogflow/docs/integrations/aog)\nfor rich response messages.\nSee the format definition at [Google Assistant Dialogflow webhook\nformat](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)",
+ "description": "Optional. This field can be used to pass custom data from your webhook to the\nintegration or API caller. Arbitrary JSON objects are supported.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.webhook_payload sent to the integration or API caller.\nThis field is also used by the\n[Google Assistant\nintegration](https://cloud.google.com/dialogflow/docs/integrations/aog)\nfor rich response messages.\nSee the format definition at [Google Assistant Dialogflow webhook\nformat](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)",
"type": "object"
},
"sessionEntityTypes": {
- "description": "Optional. Additional session entity types to replace or extend developer\nentity types with. The entity synonyms apply to all languages and persist\nfor the session of this query. Setting the session entity types inside\nwebhook overwrites the session entity types that have been set through\n`DetectIntentRequest.query_params.session_entity_types`.",
+ "description": "Optional. Additional session entity types to replace or extend developer\nentity types with. The entity synonyms apply to all languages and persist\nfor the session. Setting this data from a webhook overwrites\nthe session entity types that have been set using `detectIntent`,\n`streamingDetectIntent` or SessionEntityType management methods.",
"items": {
"$ref": "GoogleCloudDialogflowV2SessionEntityType"
},
"type": "array"
},
"source": {
- "description": "Optional. This value is passed directly to `QueryResult.webhook_source`.",
+ "description": "Optional. A custom field used to identify the webhook source.\nArbitrary strings are supported.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.webhook_source sent to the integration or API caller.",
"type": "string"
}
},
@@ -4400,7 +4928,7 @@
"description": "Properties of the object.",
"type": "any"
},
- "description": "Optional. The collection of parameters associated with this context.\n\nDepending on your protocol or client library language, this is a\nmap, associative array, symbol table, dictionary, or JSON object\ncomposed of a collection of (MapKey, MapValue) pairs:\n\n- MapKey type: string\n- MapKey value: parameter name\n- MapValue type:\n - If parameter's entity type is a composite entity: map\n - Else: string\n- MapValue value:\n - If parameter's entity type is a composite entity:\n map from composite entity property names to property values\n - Else: parameter value",
+ "description": "Optional. The collection of parameters associated with this context.\n\nDepending on your protocol or client library language, this is a\nmap, associative array, symbol table, dictionary, or JSON object\ncomposed of a collection of (MapKey, MapValue) pairs:\n\n- MapKey type: string\n- MapKey value: parameter name\n- MapValue type:\n - If parameter's entity type is a composite entity: map\n - Else: string or number, depending on parameter value type\n- MapValue value:\n - If parameter's entity type is a composite entity:\n map from composite entity property names to property values\n - Else: parameter value",
"type": "object"
}
},
@@ -4495,7 +5023,7 @@
"description": "Properties of the object.",
"type": "any"
},
- "description": "The collection of parameters associated with the event.",
+ "description": "The collection of parameters associated with the event.\n\nDepending on your protocol or client library language, this is a\nmap, associative array, symbol table, dictionary, or JSON object\ncomposed of a collection of (MapKey, MapValue) pairs:\n\n- MapKey type: string\n- MapKey value: parameter name\n- MapValue type:\n - If parameter's entity type is a composite entity: map\n - Else: string or number, depending on parameter value type\n- MapValue value:\n - If parameter's entity type is a composite entity:\n map from composite entity property names to property values\n - Else: parameter value",
"type": "object"
}
},
@@ -4574,7 +5102,7 @@
"type": "array"
},
"followupIntentInfo": {
- "description": "Read-only. Information about all followup intents that have this intent as\na direct or indirect parent. We populate this field only in the output.",
+ "description": "Output only. Information about all followup intents that have this intent as\na direct or indirect parent. We populate this field only in the output.",
"items": {
"$ref": "GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo"
},
@@ -4607,7 +5135,7 @@
"type": "boolean"
},
"name": {
- "description": "The unique identifier of this intent.\nRequired for Intents.UpdateIntent and Intents.BatchUpdateIntents\nmethods.\nFormat: `projects//agent/intents/`.",
+ "description": "Optional. The unique identifier of this intent.\nRequired for Intents.UpdateIntent and Intents.BatchUpdateIntents\nmethods.\nFormat: `projects//agent/intents/`.",
"type": "string"
},
"outputContexts": {
@@ -4625,11 +5153,11 @@
"type": "array"
},
"parentFollowupIntentName": {
- "description": "Read-only after creation. The unique identifier of the parent intent in the\nchain of followup intents. You can set this field when creating an intent,\nfor example with CreateIntent or\nBatchUpdateIntents, in order to make this\nintent a followup intent.\n\nIt identifies the parent followup intent.\nFormat: `projects//agent/intents/`.",
+ "description": "Optional. The unique identifier of the parent intent in the\nchain of followup intents. You can set this field when creating an intent,\nfor example with CreateIntent or\nBatchUpdateIntents, in order to make this\nintent a followup intent.\n\nIt identifies the parent followup intent.\nFormat: `projects//agent/intents/`.",
"type": "string"
},
"priority": {
- "description": "The priority of this intent. Higher numbers represent higher\npriorities.\n\n- If the supplied value is unspecified or 0, the service\n translates the value to 500,000, which corresponds to the\n `Normal` priority in the console.\n- If the supplied value is negative, the intent is ignored\n in runtime detect intent requests.",
+ "description": "Optional. The priority of this intent. Higher numbers represent higher\npriorities.\n\n- If the supplied value is unspecified or 0, the service\n translates the value to 500,000, which corresponds to the\n `Normal` priority in the console.\n- If the supplied value is negative, the intent is ignored\n in runtime detect intent requests.",
"format": "int32",
"type": "integer"
},
@@ -4638,7 +5166,7 @@
"type": "boolean"
},
"rootFollowupIntentName": {
- "description": "Read-only. The unique identifier of the root intent in the chain of\nfollowup intents. It identifies the correct followup intents chain for\nthis intent. We populate this field only in the output.\n\nFormat: `projects//agent/intents/`.",
+ "description": "Output only. The unique identifier of the root intent in the chain of\nfollowup intents. It identifies the correct followup intents chain for\nthis intent.\n\nFormat: `projects//agent/intents/`.",
"type": "string"
},
"trainingPhrases": {
@@ -5227,7 +5755,7 @@
"type": "string"
},
"height": {
- "description": "Required for cards with vertical orientation. The height of the media\nwithin a rich card with a vertical layout. (https://goo.gl/NeFCjz).\nFor a standalone card with horizontal layout, height is not\ncustomizable, and this field is ignored.",
+ "description": "Required for cards with vertical orientation. The height of the media\nwithin a rich card with a vertical layout.\nFor a standalone card with horizontal layout, height is not\ncustomizable, and this field is ignored.",
"enum": [
"HEIGHT_UNSPECIFIED",
"SHORT",
@@ -5250,7 +5778,7 @@
"type": "object"
},
"GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard": {
- "description": "Carousel Rich Business Messaging (RBM) rich card.\n\nRich cards allow you to respond to users with more vivid content, e.g.\nwith media and suggestions.\n\nFor more details about RBM rich cards, please see:\nhttps://developers.google.com/rcs-business-messaging/rbm/guides/build/send-messages#rich-cards.\nIf you want to show a single card with more control over the layout,\nplease use RbmStandaloneCard instead.",
+ "description": "Carousel Rich Business Messaging (RBM) rich card.\n\nRich cards allow you to respond to users with more vivid content, e.g.\nwith media and suggestions.\n\nIf you want to show a single card with more control over the layout,\nplease use RbmStandaloneCard instead.",
"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard",
"properties": {
"cardContents": {
@@ -5278,7 +5806,7 @@
"type": "object"
},
"GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard": {
- "description": "Standalone Rich Business Messaging (RBM) rich card.\n\nRich cards allow you to respond to users with more vivid content, e.g.\nwith media and suggestions.\n\nFor more details about RBM rich cards, please see:\nhttps://developers.google.com/rcs-business-messaging/rbm/guides/build/send-messages#rich-cards.\nYou can group multiple rich cards into one using RbmCarouselCard but\ncarousel cards will give you less control over the card layout.",
+ "description": "Standalone Rich Business Messaging (RBM) rich card.\n\nRich cards allow you to respond to users with more vivid content, e.g.\nwith media and suggestions.\n\nYou can group multiple rich cards into one using RbmCarouselCard but\ncarousel cards will give you less control over the card layout.",
"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard",
"properties": {
"cardContent": {
@@ -5344,7 +5872,7 @@
"type": "object"
},
"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial": {
- "description": "Opens the user's default dialer app with the specified phone number\nbut does not dial automatically (https://goo.gl/ergbB2).",
+ "description": "Opens the user's default dialer app with the specified phone number\nbut does not dial automatically.",
"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial",
"properties": {
"phoneNumber": {
@@ -5355,7 +5883,7 @@
"type": "object"
},
"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri": {
- "description": "Opens the user's default web browser app to the specified uri\n(https://goo.gl/6GLJD2). If the user has an app installed that is\nregistered as the default handler for the URL, then this app will be\nopened instead, and its icon will be used in the suggested action UI.",
+ "description": "Opens the user's default web browser app to the specified uri\nIf the user has an app installed that is\nregistered as the default handler for the URL, then this app will be\nopened instead, and its icon will be used in the suggested action UI.",
"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri",
"properties": {
"uri": {
@@ -5366,7 +5894,7 @@
"type": "object"
},
"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation": {
- "description": "Opens the device's location chooser so the user can pick a location\nto send back to the agent (https://goo.gl/GXotJW).",
+ "description": "Opens the device's location chooser so the user can pick a location\nto send back to the agent.",
"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation",
"properties": {},
"type": "object"
@@ -5651,7 +6179,7 @@
"type": "array"
},
"value": {
- "description": "Optional. The definition of the parameter value. It can be:\n- a constant string,\n- a parameter value defined as `$parameter_name`,\n- an original parameter value defined as `$parameter_name.original`,\n- a parameter value from some context defined as\n `#context_name.parameter_name`.",
+ "description": "Optional. The definition of the parameter value. It can be:\n\n- a constant string,\n- a parameter value defined as `$parameter_name`,\n- an original parameter value defined as `$parameter_name.original`,\n- a parameter value from some context defined as\n `#context_name.parameter_name`.",
"type": "string"
}
},
@@ -5776,7 +6304,7 @@
"id": "GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata",
"properties": {
"state": {
- "description": "Required. The current state of this operation.",
+ "description": "Required. Output only. The current state of this operation.",
"enum": [
"STATE_UNSPECIFIED",
"PENDING",
@@ -5888,7 +6416,7 @@
"description": "Properties of the object.",
"type": "any"
},
- "description": "The collection of extracted parameters.",
+ "description": "The collection of extracted parameters.\n\nDepending on your protocol or client library language, this is a\nmap, associative array, symbol table, dictionary, or JSON object\ncomposed of a collection of (MapKey, MapValue) pairs:\n\n- MapKey type: string\n- MapKey value: parameter name\n- MapValue type:\n - If parameter's entity type is a composite entity: map\n - Else: string or number, depending on parameter value type\n- MapValue value:\n - If parameter's entity type is a composite entity:\n map from composite entity property names to property values\n - Else: parameter value",
"type": "object"
},
"queryText": {
@@ -5937,7 +6465,7 @@
"type": "object"
},
"GoogleCloudDialogflowV2beta1SentimentAnalysisResult": {
- "description": "The result of sentiment analysis as configured by\n`sentiment_analysis_request_config`.",
+ "description": "The result of sentiment analysis. Sentiment analysis inspects user input\nand identifies the prevailing subjective opinion, especially to determine a\nuser's attitude as positive, negative, or neutral.\nFor Participants.AnalyzeContent, it needs to be configured in\nDetectIntentRequest.query_params. For\nParticipants.StreamingAnalyzeContent, it needs to be configured in\nStreamingDetectIntentRequest.query_params.\nAnd for Participants.AnalyzeContent and\nParticipants.StreamingAnalyzeContent, it needs to be configured in\nConversationProfile.human_agent_assistant_config",
"id": "GoogleCloudDialogflowV2beta1SentimentAnalysisResult",
"properties": {
"queryTextSentiment": {
@@ -6019,21 +6547,21 @@
},
"followupEventInput": {
"$ref": "GoogleCloudDialogflowV2beta1EventInput",
- "description": "Optional. Makes the platform immediately invoke another `DetectIntent` call\ninternally with the specified event as input.\nWhen this field is set, Dialogflow ignores the `fulfillment_text`,\n`fulfillment_messages`, and `payload` fields."
+ "description": "Optional. Invokes the supplied events.\nWhen this field is set, Dialogflow ignores the `fulfillment_text`,\n`fulfillment_messages`, and `payload` fields."
},
"fulfillmentMessages": {
- "description": "Optional. The collection of rich messages to present to the user. This\nvalue is passed directly to `QueryResult.fulfillment_messages`.",
+ "description": "Optional. The rich response messages intended for the end-user.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.fulfillment_messages sent to the integration or API caller.",
"items": {
"$ref": "GoogleCloudDialogflowV2beta1IntentMessage"
},
"type": "array"
},
"fulfillmentText": {
- "description": "Optional. The text to be shown on the screen. This value is passed directly\nto `QueryResult.fulfillment_text`.",
+ "description": "Optional. The text response message intended for the end-user.\nIt is recommended to use `fulfillment_messages.text.text[0]` instead.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.fulfillment_text sent to the integration or API caller.",
"type": "string"
},
"outputContexts": {
- "description": "Optional. The collection of output contexts. This value is passed directly\nto `QueryResult.output_contexts`.",
+ "description": "Optional. The collection of output contexts that will overwrite currently\nactive contexts for the session and reset their lifespans.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.output_contexts sent to the integration or API caller.",
"items": {
"$ref": "GoogleCloudDialogflowV2beta1Context"
},
@@ -6044,18 +6572,34 @@
"description": "Properties of the object.",
"type": "any"
},
- "description": "Optional. This field can be used to pass custom data from your webhook to the API\ncaller. Arbitrary JSON objects are supported.\nWhen provided, Dialogflow uses this field to populate\n`QueryResult.webhook_payload` sent to the API caller.\nThis field is also used by the\n[Google Assistant\nintegration](https://cloud.google.com/dialogflow/docs/integrations/aog)\nfor rich response messages.\nSee the format definition at [Google Assistant Dialogflow webhook\nformat](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)",
+ "description": "Optional. This field can be used to pass custom data from your webhook to the\nintegration or API caller. Arbitrary JSON objects are supported.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.webhook_payload sent to the integration or API caller.\nThis field is also used by the\n[Google Assistant\nintegration](https://cloud.google.com/dialogflow/docs/integrations/aog)\nfor rich response messages.\nSee the format definition at [Google Assistant Dialogflow webhook\nformat](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)",
"type": "object"
},
"sessionEntityTypes": {
- "description": "Optional. Additional session entity types to replace or extend developer\nentity types with. The entity synonyms apply to all languages and persist\nfor the session of this query. Setting the session entity types inside\nwebhook overwrites the session entity types that have been set through\n`DetectIntentRequest.query_params.session_entity_types`.",
+ "description": "Optional. Additional session entity types to replace or extend developer\nentity types with. The entity synonyms apply to all languages and persist\nfor the session. Setting this data from a webhook overwrites\nthe session entity types that have been set using `detectIntent`,\n`streamingDetectIntent` or SessionEntityType management methods.",
"items": {
"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType"
},
"type": "array"
},
"source": {
- "description": "Optional. This value is passed directly to `QueryResult.webhook_source`.",
+ "description": "Optional. A custom field used to identify the webhook source.\nArbitrary strings are supported.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.webhook_source sent to the integration or API caller.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowV3alpha1ExportAgentResponse": {
+ "description": "The response message for Agents.ExportAgent.",
+ "id": "GoogleCloudDialogflowV3alpha1ExportAgentResponse",
+ "properties": {
+ "agentContent": {
+ "description": "Uncompressed raw byte content for agent.",
+ "format": "byte",
+ "type": "string"
+ },
+ "agentUri": {
+ "description": "The URI to a file containing the exported agent. This field is populated\nonly if `agent_uri` is specified in ExportAgentRequest.",
"type": "string"
}
},
diff --git a/etc/api/dialogflow/v2beta1/dialogflow-api.json b/etc/api/dialogflow/v2beta1/dialogflow-api.json
index 06c3f3c4ec..856406d384 100644
--- a/etc/api/dialogflow/v2beta1/dialogflow-api.json
+++ b/etc/api/dialogflow/v2beta1/dialogflow-api.json
@@ -288,7 +288,7 @@
]
},
"import": {
- "description": "Imports the specified agent from a ZIP file.\n\nUploads new intents and entity types without deleting the existing ones.\nIntents and entity types with the same name are replaced with the new\nversions from ImportAgentRequest.\n\n\nOperation ",
+ "description": "Imports the specified agent from a ZIP file.\n\nUploads new intents and entity types without deleting the existing ones.\nIntents and entity types with the same name are replaced with the new\nversions from ImportAgentRequest. After the import, the imported draft\nagent will be trained automatically (unless disabled in agent settings).\nHowever, once the import is done, training may not be completed yet. Please\ncall TrainAgent and wait for the operation it returns in order to train\nexplicitly.\n\n\nOperation \nAn operation which tracks when importing is complete. It only tracks\nwhen the draft agent is updated not when it is done training.",
"flatPath": "v2beta1/projects/{projectsId}/agent:import",
"httpMethod": "POST",
"id": "dialogflow.projects.agent.import",
@@ -317,7 +317,7 @@
]
},
"restore": {
- "description": "Restores the specified agent from a ZIP file.\n\nReplaces the current agent version with a new one. All the intents and\nentity types in the older version are deleted.\n\n\nOperation ",
+ "description": "Restores the specified agent from a ZIP file.\n\nReplaces the current agent version with a new one. All the intents and\nentity types in the older version are deleted. After the restore, the\nrestored draft agent will be trained automatically (unless disabled in\nagent settings). However, once the restore is done, training may not be\ncompleted yet. Please call TrainAgent and wait for the operation it\nreturns in order to train explicitly.\n\n\nOperation \nAn operation which tracks when restoring is complete. It only tracks\nwhen the draft agent is updated not when it is done training.",
"flatPath": "v2beta1/projects/{projectsId}/agent:restore",
"httpMethod": "POST",
"id": "dialogflow.projects.agent.restore",
@@ -346,7 +346,7 @@
]
},
"search": {
- "description": "Returns the list of agents.\n\nSince there is at most one conversational agent per project, this method is\nuseful primarily for listing all agents across projects the caller has\naccess to. One can achieve that with a wildcard project collection id \"-\".\nRefer to [List\nSub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections).",
+ "description": "Returns the list of agents.\nSince there is at most one conversational agent per project, this method is\nuseful primarily for listing all agents across projects the caller has\naccess to. One can achieve that with a wildcard project collection id \"-\".\nRefer to [List\nSub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections).",
"flatPath": "v2beta1/projects/{projectsId}/agent:search",
"httpMethod": "GET",
"id": "dialogflow.projects.agent.search",
@@ -451,7 +451,7 @@
"entityTypes": {
"methods": {
"batchDelete": {
- "description": "Deletes entity types in the specified agent.\n\nOperation ",
+ "description": "Deletes entity types in the specified agent.\nOperation ",
"flatPath": "v2beta1/projects/{projectsId}/agent/entityTypes:batchDelete",
"httpMethod": "POST",
"id": "dialogflow.projects.agent.entityTypes.batchDelete",
@@ -480,7 +480,7 @@
]
},
"batchUpdate": {
- "description": "Updates/Creates multiple entity types in the specified agent.\n\nOperation ",
+ "description": "Updates/Creates multiple entity types in the specified agent.\nOperation ",
"flatPath": "v2beta1/projects/{projectsId}/agent/entityTypes:batchUpdate",
"httpMethod": "POST",
"id": "dialogflow.projects.agent.entityTypes.batchUpdate",
@@ -777,6 +777,45 @@
}
},
"environments": {
+ "methods": {
+ "list": {
+ "description": "Returns the list of all non-draft environments of the specified agent.",
+ "flatPath": "v2beta1/projects/{projectsId}/agent/environments",
+ "httpMethod": "GET",
+ "id": "dialogflow.projects.agent.environments.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "Optional. The maximum number of items to return in a single page. By default 100 and\nat most 1000.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "Optional. The next_page_token value returned from a previous list request.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. The agent to list all environments from.\nFormat:\n- `projects//agent`\n- `projects//locations//agent",
+ "location": "path",
+ "pattern": "^projects/[^/]+/agent$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2beta1/{+parent}/environments",
+ "response": {
+ "$ref": "GoogleCloudDialogflowV2beta1ListEnvironmentsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/dialogflow"
+ ]
+ }
+ },
"resources": {
"users": {
"resources": {
@@ -1403,7 +1442,7 @@
"type": "string"
},
"name": {
- "description": "The unique identifier of this intent.\nRequired for Intents.UpdateIntent and Intents.BatchUpdateIntents\nmethods.\nFormat: `projects//agent/intents/`.",
+ "description": "Optional. The unique identifier of this intent.\nRequired for Intents.UpdateIntent and Intents.BatchUpdateIntents\nmethods.\nFormat: `projects//agent/intents/`.",
"location": "path",
"pattern": "^projects/[^/]+/agent/intents/[^/]+$",
"required": true,
@@ -1633,7 +1672,7 @@
],
"parameters": {
"name": {
- "description": "The name of the document to delete.\nFormat: `projects//knowledgeBases//documents/`.",
+ "description": "Required. The name of the document to delete.\nFormat: `projects//knowledgeBases//documents/`.",
"location": "path",
"pattern": "^projects/[^/]+/agent/knowledgeBases/[^/]+/documents/[^/]+$",
"required": true,
@@ -1685,13 +1724,13 @@
],
"parameters": {
"pageSize": {
- "description": "Optional. The maximum number of items to return in a single page. By\ndefault 10 and at most 100.",
+ "description": "The maximum number of items to return in a single page. By\ndefault 10 and at most 100.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "Optional. The next_page_token value returned from a previous list request.",
+ "description": "The next_page_token value returned from a previous list request.",
"location": "query",
"type": "string"
},
@@ -1722,7 +1761,7 @@
],
"parameters": {
"name": {
- "description": "The document resource name.\nThe name must be empty when creating a document.\nFormat: `projects//knowledgeBases//documents/`.",
+ "description": "Optional. The document resource name.\nThe name must be empty when creating a document.\nFormat: `projects//knowledgeBases//documents/`.",
"location": "path",
"pattern": "^projects/[^/]+/agent/knowledgeBases/[^/]+/documents/[^/]+$",
"required": true,
@@ -1757,7 +1796,7 @@
],
"parameters": {
"name": {
- "description": "The name of the document to reload.\nFormat: `projects//knowledgeBases//documents/`",
+ "description": "Required. The name of the document to reload.\nFormat: `projects//knowledgeBases//documents/`",
"location": "path",
"pattern": "^projects/[^/]+/agent/knowledgeBases/[^/]+/documents/[^/]+$",
"required": true,
@@ -2360,7 +2399,7 @@
],
"parameters": {
"name": {
- "description": "The name of the document to delete.\nFormat: `projects//knowledgeBases//documents/`.",
+ "description": "Required. The name of the document to delete.\nFormat: `projects//knowledgeBases//documents/`.",
"location": "path",
"pattern": "^projects/[^/]+/knowledgeBases/[^/]+/documents/[^/]+$",
"required": true,
@@ -2412,13 +2451,13 @@
],
"parameters": {
"pageSize": {
- "description": "Optional. The maximum number of items to return in a single page. By\ndefault 10 and at most 100.",
+ "description": "The maximum number of items to return in a single page. By\ndefault 10 and at most 100.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "Optional. The next_page_token value returned from a previous list request.",
+ "description": "The next_page_token value returned from a previous list request.",
"location": "query",
"type": "string"
},
@@ -2449,7 +2488,7 @@
],
"parameters": {
"name": {
- "description": "The document resource name.\nThe name must be empty when creating a document.\nFormat: `projects//knowledgeBases//documents/`.",
+ "description": "Optional. The document resource name.\nThe name must be empty when creating a document.\nFormat: `projects//knowledgeBases//documents/`.",
"location": "path",
"pattern": "^projects/[^/]+/knowledgeBases/[^/]+/documents/[^/]+$",
"required": true,
@@ -2484,7 +2523,7 @@
],
"parameters": {
"name": {
- "description": "The name of the document to reload.\nFormat: `projects//knowledgeBases//documents/`",
+ "description": "Required. The name of the document to reload.\nFormat: `projects//knowledgeBases//documents/`",
"location": "path",
"pattern": "^projects/[^/]+/knowledgeBases/[^/]+/documents/[^/]+$",
"required": true,
@@ -2629,41 +2668,6 @@
"https://www.googleapis.com/auth/dialogflow"
]
},
- "fulfillment": {
- "description": "Updates the fulfillment.",
- "flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/fulfillment",
- "httpMethod": "POST",
- "id": "dialogflow.projects.locations.agent.fulfillment",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "Required. The unique identifier of the fulfillment.\nFormat: `projects//agent/fulfillment`.",
- "location": "path",
- "pattern": "^projects/[^/]+/locations/[^/]+/agent/fulfillment$",
- "required": true,
- "type": "string"
- },
- "updateMask": {
- "description": "Required. The mask to control which fields get updated. If the mask is not\npresent, all fields will be updated.",
- "format": "google-fieldmask",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v2beta1/{+name}",
- "request": {
- "$ref": "GoogleCloudDialogflowV2beta1Fulfillment"
- },
- "response": {
- "$ref": "GoogleCloudDialogflowV2beta1Fulfillment"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/dialogflow"
- ]
- },
"getFulfillment": {
"description": "Retrieves the fulfillment.",
"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/fulfillment",
@@ -2691,7 +2695,7 @@
]
},
"import": {
- "description": "Imports the specified agent from a ZIP file.\n\nUploads new intents and entity types without deleting the existing ones.\nIntents and entity types with the same name are replaced with the new\nversions from ImportAgentRequest.\n\n\nOperation ",
+ "description": "Imports the specified agent from a ZIP file.\n\nUploads new intents and entity types without deleting the existing ones.\nIntents and entity types with the same name are replaced with the new\nversions from ImportAgentRequest. After the import, the imported draft\nagent will be trained automatically (unless disabled in agent settings).\nHowever, once the import is done, training may not be completed yet. Please\ncall TrainAgent and wait for the operation it returns in order to train\nexplicitly.\n\n\nOperation \nAn operation which tracks when importing is complete. It only tracks\nwhen the draft agent is updated not when it is done training.",
"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent:import",
"httpMethod": "POST",
"id": "dialogflow.projects.locations.agent.import",
@@ -2720,7 +2724,7 @@
]
},
"restore": {
- "description": "Restores the specified agent from a ZIP file.\n\nReplaces the current agent version with a new one. All the intents and\nentity types in the older version are deleted.\n\n\nOperation ",
+ "description": "Restores the specified agent from a ZIP file.\n\nReplaces the current agent version with a new one. All the intents and\nentity types in the older version are deleted. After the restore, the\nrestored draft agent will be trained automatically (unless disabled in\nagent settings). However, once the restore is done, training may not be\ncompleted yet. Please call TrainAgent and wait for the operation it\nreturns in order to train explicitly.\n\n\nOperation \nAn operation which tracks when restoring is complete. It only tracks\nwhen the draft agent is updated not when it is done training.",
"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent:restore",
"httpMethod": "POST",
"id": "dialogflow.projects.locations.agent.restore",
@@ -2748,6 +2752,43 @@
"https://www.googleapis.com/auth/dialogflow"
]
},
+ "search": {
+ "description": "Returns the list of agents.\nSince there is at most one conversational agent per project, this method is\nuseful primarily for listing all agents across projects the caller has\naccess to. One can achieve that with a wildcard project collection id \"-\".\nRefer to [List\nSub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections).",
+ "flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent:search",
+ "httpMethod": "GET",
+ "id": "dialogflow.projects.locations.agent.search",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "Optional. The maximum number of items to return in a single page. By\ndefault 100 and at most 1000.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "Optional. The next_page_token value returned from a previous list request.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. The project to list agents from.\nFormat: `projects/`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2beta1/{+parent}/agent:search",
+ "response": {
+ "$ref": "GoogleCloudDialogflowV2beta1SearchAgentsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/dialogflow"
+ ]
+ },
"train": {
"description": "Trains the specified agent.\n\n\nOperation ",
"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent:train",
@@ -2776,13 +2817,48 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/dialogflow"
]
+ },
+ "updateFulfillment": {
+ "description": "Updates the fulfillment.",
+ "flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/fulfillment",
+ "httpMethod": "PATCH",
+ "id": "dialogflow.projects.locations.agent.updateFulfillment",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The unique identifier of the fulfillment.\nFormat: `projects//agent/fulfillment`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/agent/fulfillment$",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Required. The mask to control which fields get updated. If the mask is not\npresent, all fields will be updated.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v2beta1/{+name}",
+ "request": {
+ "$ref": "GoogleCloudDialogflowV2beta1Fulfillment"
+ },
+ "response": {
+ "$ref": "GoogleCloudDialogflowV2beta1Fulfillment"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/dialogflow"
+ ]
}
},
"resources": {
"entityTypes": {
"methods": {
"batchDelete": {
- "description": "Deletes entity types in the specified agent.\n\nOperation ",
+ "description": "Deletes entity types in the specified agent.\nOperation ",
"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/entityTypes:batchDelete",
"httpMethod": "POST",
"id": "dialogflow.projects.locations.agent.entityTypes.batchDelete",
@@ -2811,7 +2887,7 @@
]
},
"batchUpdate": {
- "description": "Updates/Creates multiple entity types in the specified agent.\n\nOperation ",
+ "description": "Updates/Creates multiple entity types in the specified agent.\nOperation ",
"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/entityTypes:batchUpdate",
"httpMethod": "POST",
"id": "dialogflow.projects.locations.agent.entityTypes.batchUpdate",
@@ -3108,6 +3184,45 @@
}
},
"environments": {
+ "methods": {
+ "list": {
+ "description": "Returns the list of all non-draft environments of the specified agent.",
+ "flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/environments",
+ "httpMethod": "GET",
+ "id": "dialogflow.projects.locations.agent.environments.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "Optional. The maximum number of items to return in a single page. By default 100 and\nat most 1000.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "Optional. The next_page_token value returned from a previous list request.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. The agent to list all environments from.\nFormat:\n- `projects//agent`\n- `projects//locations//agent",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/agent$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2beta1/{+parent}/environments",
+ "response": {
+ "$ref": "GoogleCloudDialogflowV2beta1ListEnvironmentsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/dialogflow"
+ ]
+ }
+ },
"resources": {
"users": {
"resources": {
@@ -3734,7 +3849,7 @@
"type": "string"
},
"name": {
- "description": "The unique identifier of this intent.\nRequired for Intents.UpdateIntent and Intents.BatchUpdateIntents\nmethods.\nFormat: `projects//agent/intents/`.",
+ "description": "Optional. The unique identifier of this intent.\nRequired for Intents.UpdateIntent and Intents.BatchUpdateIntents\nmethods.\nFormat: `projects//agent/intents/`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/agent/intents/[^/]+$",
"required": true,
@@ -4339,9 +4454,440 @@
}
}
},
- "revision": "20200408",
+ "revision": "20200706",
"rootUrl": "https://dialogflow.googleapis.com/",
"schemas": {
+ "GoogleCloudDialogflowCxV3beta1ExportAgentResponse": {
+ "description": "The response message for Agents.ExportAgent.",
+ "id": "GoogleCloudDialogflowCxV3beta1ExportAgentResponse",
+ "properties": {
+ "agentContent": {
+ "description": "Uncompressed raw byte content for agent.",
+ "format": "byte",
+ "type": "string"
+ },
+ "agentUri": {
+ "description": "The URI to a file containing the exported agent. This field is populated\nonly if `agent_uri` is specified in ExportAgentRequest.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1PageInfo": {
+ "description": "Represents page information communicated to and from the webhook.",
+ "id": "GoogleCloudDialogflowCxV3beta1PageInfo",
+ "properties": {
+ "currentPage": {
+ "description": "Always present for WebhookRequest. Ignored for WebhookResponse.\nThe unique identifier of the current page.\nFormat: `projects//locations//agents//flows//pages/`.",
+ "type": "string"
+ },
+ "formInfo": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfo",
+ "description": "Optional for both WebhookRequest and WebhookResponse.\nInformation about the form."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1PageInfoFormInfo": {
+ "description": "Represents form information.",
+ "id": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfo",
+ "properties": {
+ "parameterInfo": {
+ "description": "Optional for both WebhookRequest and WebhookResponse.\nThe parameters contained in the form. Note that the webhook cannot add\nor remove any form parameter.",
+ "items": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo": {
+ "description": "Represents parameter information.",
+ "id": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo",
+ "properties": {
+ "displayName": {
+ "description": "Always present for WebhookRequest. Required for\nWebhookResponse.\nThe human-readable name of the parameter, unique within the form. This\nfield cannot be modified by the webhook.",
+ "type": "string"
+ },
+ "justCollected": {
+ "description": "Optional for WebhookRequest. Ignored for WebhookResponse.\nIndicates if the parameter value was just collected on the last\nconversation turn.",
+ "type": "boolean"
+ },
+ "required": {
+ "description": "Optional for both WebhookRequest and WebhookResponse.\nIndicates whether the parameter is required. Optional parameters will\nnot trigger prompts; however, they are filled if the user specifies\nthem. Required parameters must be filled before form filling concludes.",
+ "type": "boolean"
+ },
+ "state": {
+ "description": "Always present for WebhookRequest. Required for\nWebhookResponse. The state of the parameter. This field can be set\nto INVALID by\nthe webhook to invalidate the parameter; other values set by the\nwebhook will be ignored.",
+ "enum": [
+ "PARAMETER_STATE_UNSPECIFIED",
+ "EMPTY",
+ "INVALID",
+ "FILLED"
+ ],
+ "enumDescriptions": [
+ "Not specified. This value should be never used.",
+ "Indicates that the parameter does not have a value.",
+ "Indicates that the parameter value is invalid. This field can be used\nby the webhook to invalidate the parameter and ask the server to\ncollect it from the user again.",
+ "Indicates that the parameter has a value."
+ ],
+ "type": "string"
+ },
+ "value": {
+ "description": "Optional for both WebhookRequest and WebhookResponse.\nThe value of the parameter. This field can be set by the webhook to\nchange the parameter value.",
+ "type": "any"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1ResponseMessage": {
+ "description": "Represents a response message that can be returned by a conversational agent.\n\nResponse messages are also used for output audio synthesis. The approach is\nas follows:\n\n* If at least one OutputAudioText response is present, then all\n OutputAudioText responses are linearly concatenated, and the result is used\n for output audio synthesis.\n* If the OutputAudioText responses are a mixture of text and SSML, then the\n concatenated result is treated as SSML; otherwise, the result is treated as\n either text or SSML as appropriate. The agent designer should ideally use\n either text or SSML consistently throughout the bot design.\n* Otherwise, all Text responses are linearly concatenated, and the result is\n used for output audio synthesis.\n\nThis approach allows for more sophisticated user experience scenarios, where\nthe text displayed to the user may differ from what is heard.",
+ "id": "GoogleCloudDialogflowCxV3beta1ResponseMessage",
+ "properties": {
+ "conversationSuccess": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess",
+ "description": "Indicates that the conversation succeeded."
+ },
+ "endInteraction": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction",
+ "description": "Output only. A signal that indicates the interaction with the Dialogflow agent has\nended.\nThis message is generated by Dialogflow only when the conversation\nreaches `END_SESSION` or `END_PAGE` page. It is not supposed to be\ndefined by the user.\nIt's guaranteed that there is at most one such message in each response."
+ },
+ "humanAgentHandoff": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff",
+ "description": "Hands off conversation to a human agent."
+ },
+ "liveAgentHandoff": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff",
+ "description": "Hands off conversation to a human agent."
+ },
+ "mixedAudio": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio",
+ "description": "Output only. An audio response message composed of both the synthesized Dialogflow\nagent responses and responses defined via\nplay_audio.\nThis message is generated by Dialogflow only and not supposed to be\ndefined by the user."
+ },
+ "outputAudioText": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText",
+ "description": "A text or ssml response that is preferentially used for TTS output audio\nsynthesis, as described in the comment on the ResponseMessage message."
+ },
+ "payload": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "Returns a response containing a custom, platform-specific payload.",
+ "type": "object"
+ },
+ "playAudio": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio",
+ "description": "Signal that the client should play an audio clip hosted at a\nclient-specific URI. Dialogflow uses this to construct\nmixed_audio. However, Dialogflow itself\ndoes not try to read or process the URI in any way."
+ },
+ "text": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageText",
+ "description": "Returns a text response."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess": {
+ "description": "Indicates that the conversation succeeded, i.e., the bot handled the issue\nthat the customer talked to it about.\n\nDialogflow only uses this to determine which conversations should be\ncounted as successful and doesn't process the metadata in this message in\nany way. Note that Dialogflow also considers conversations that get to the\nconversation end page as successful even if they don't return\nConversationSuccess.\n\nYou may set this, for example:\n* In the entry_fulfillment of a Page if\n entering the page indicates that the conversation succeeded.\n* In a webhook response when you determine that you handled the customer\n issue.",
+ "id": "GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess",
+ "properties": {
+ "metadata": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "Custom metadata. Dialogflow doesn't impose any structure on this.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction": {
+ "description": "Indicates that interaction with the Dialogflow agent has ended.\nThis message is generated by Dialogflow only and not supposed to be\ndefined by the user.",
+ "id": "GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff": {
+ "description": "Indicates that the conversation should be handed off to a human agent.\n\nDialogflow only uses this to determine which conversations were handed off\nto a human agent for measurement purposes. What else to do with this signal\nis up to you and your handoff procedures.\n\nYou may set this, for example:\n* In the entry_fulfillment of a Page if\n entering the page indicates something went extremely wrong in the\n conversation.\n* In a webhook response when you determine that the customer issue can only\n be handled by a human.",
+ "id": "GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff",
+ "properties": {
+ "metadata": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "Custom metadata for your handoff procedure. Dialogflow doesn't impose\nany structure on this.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff": {
+ "description": "Indicates that the conversation should be handed off to a live agent.\n\nDialogflow only uses this to determine which conversations were handed off\nto a human agent for measurement purposes. What else to do with this signal\nis up to you and your handoff procedures.\n\nYou may set this, for example:\n* In the entry_fulfillment of a Page if\n entering the page indicates something went extremely wrong in the\n conversation.\n* In a webhook response when you determine that the customer issue can only\n be handled by a human.",
+ "id": "GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff",
+ "properties": {
+ "metadata": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "Custom metadata for your handoff procedure. Dialogflow doesn't impose\nany structure on this.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio": {
+ "description": "Represents an audio message that is composed of both segments\nsynthesized from the Dialogflow agent prompts and ones hosted externally\nat the specified URIs.\nThe external URIs are specified via\nplay_audio.\nThis message is generated by Dialogflow only and not supposed to be\ndefined by the user.",
+ "id": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio",
+ "properties": {
+ "segments": {
+ "description": "Segments this audio response is composed of.",
+ "items": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment": {
+ "description": "Represents one segment of audio.",
+ "id": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment",
+ "properties": {
+ "allowPlaybackInterruption": {
+ "description": "Whether the playback of this segment can be interrupted by the end\nuser's speech and the client should then start the next Dialogflow\nrequest.",
+ "type": "boolean"
+ },
+ "audio": {
+ "description": "Raw audio synthesized from the Dialogflow agent's response using\nthe output config specified in the request.",
+ "format": "byte",
+ "type": "string"
+ },
+ "uri": {
+ "description": "Client-specific URI that points to an audio clip accessible to the\nclient. Dialogflow does not impose any validation on it.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText": {
+ "description": "A text or ssml response that is preferentially used for TTS output audio\nsynthesis, as described in the comment on the ResponseMessage message.",
+ "id": "GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText",
+ "properties": {
+ "ssml": {
+ "description": "The SSML text to be synthesized. For more information, see\n[SSML](/speech/text-to-speech/docs/ssml).",
+ "type": "string"
+ },
+ "text": {
+ "description": "The raw text to be synthesized.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio": {
+ "description": "Specifies an audio clip to be played by the client as part of the response.",
+ "id": "GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio",
+ "properties": {
+ "allowPlaybackInterruption": {
+ "description": "Whether the playback of this message can be interrupted by the end\nuser's speech and the client can then starts the next Dialogflow\nrequest.",
+ "type": "boolean"
+ },
+ "audioUri": {
+ "description": "Required. URI of the audio clip. Dialogflow does not impose any validation on this\nvalue. It is specific to the client that reads it.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1ResponseMessageText": {
+ "description": "The text response message.",
+ "id": "GoogleCloudDialogflowCxV3beta1ResponseMessageText",
+ "properties": {
+ "allowPlaybackInterruption": {
+ "description": "Whether the playback of this message can be interrupted by the end\nuser's speech and the client can then starts the next Dialogflow\nrequest.",
+ "type": "boolean"
+ },
+ "text": {
+ "description": "Required. A collection of text responses.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1SessionInfo": {
+ "description": "Represents session information communicated to and from the webhook.",
+ "id": "GoogleCloudDialogflowCxV3beta1SessionInfo",
+ "properties": {
+ "parameters": {
+ "additionalProperties": {
+ "type": "any"
+ },
+ "description": "Optional for WebhookRequest. Optional for WebhookResponse.\nAll parameters collected from forms and intents during the session.\nParameters can be created, updated, or removed by the webhook. To remove a\nparameter from the session, the webhook should explicitly set the parameter\nvalue to null in WebhookResponse. The map is keyed by parameters'\ndisplay names.",
+ "type": "object"
+ },
+ "session": {
+ "description": "Always present for WebhookRequest. Ignored for WebhookResponse.\nThe unique identifier of the session. This\nfield can be used by the webhook to identify a user.\nFormat: `projects//locations//agents//sessions/`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1WebhookRequest": {
+ "description": "The request message for a webhook call.",
+ "id": "GoogleCloudDialogflowCxV3beta1WebhookRequest",
+ "properties": {
+ "detectIntentResponseId": {
+ "description": "Always present. The unique identifier of the DetectIntentResponse that\nwill be returned to the API caller.",
+ "type": "string"
+ },
+ "fulfillmentInfo": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo",
+ "description": "Always present. Information about the fulfillment that triggered this\nwebhook call."
+ },
+ "intentInfo": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo",
+ "description": "Information about the last matched intent."
+ },
+ "messages": {
+ "description": "The list of rich message responses to present to the user. Webhook can\nchoose to append or replace this list in\nWebhookResponse.fulfillment_response;",
+ "items": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage"
+ },
+ "type": "array"
+ },
+ "pageInfo": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1PageInfo",
+ "description": "Information about page status."
+ },
+ "payload": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "Custom data set in QueryParameters.payload.",
+ "type": "object"
+ },
+ "sessionInfo": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1SessionInfo",
+ "description": "Information about session status."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo": {
+ "description": "Represents fulfillment information communicated to the webhook.",
+ "id": "GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo",
+ "properties": {
+ "tag": {
+ "description": "Always present. The tag used to identify which fulfillment is being\ncalled.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo": {
+ "description": "Represents intent information communicated to the webhook.",
+ "id": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo",
+ "properties": {
+ "lastMatchedIntent": {
+ "description": "Always present. The unique identifier of the last matched\nintent. Format: `projects//locations//agents//intents/`.",
+ "type": "string"
+ },
+ "parameters": {
+ "additionalProperties": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue"
+ },
+ "description": "Parameters identified as a result of intent matching. This is a map of\nthe name of the identified parameter to the value of the parameter\nidentified from the user's utterance. All parameters defined in the\nmatched intent that are identified will be surfaced here.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue": {
+ "description": "Represents a value for an intent parameter.",
+ "id": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue",
+ "properties": {
+ "originalValue": {
+ "description": "Always present. Original text value extracted from user utterance.",
+ "type": "string"
+ },
+ "resolvedValue": {
+ "description": "Always present. Structured value for the parameter extracted from user\nutterance.",
+ "type": "any"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1WebhookResponse": {
+ "description": "The response message for a webhook call.",
+ "id": "GoogleCloudDialogflowCxV3beta1WebhookResponse",
+ "properties": {
+ "fulfillmentResponse": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse",
+ "description": "The fulfillment response to send to the user. This field can be omitted by\nthe webhook if it does not intend to send any response to the user."
+ },
+ "pageInfo": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1PageInfo",
+ "description": "Information about page status. This field can be omitted by the webhook if\nit does not intend to modify page status."
+ },
+ "payload": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "Value to append directly to QueryResult.webhook_payloads.",
+ "type": "object"
+ },
+ "sessionInfo": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1SessionInfo",
+ "description": "Information about session status. This field can be omitted by the webhook\nif it does not intend to modify session status."
+ },
+ "targetFlow": {
+ "description": "The target flow to transition to.\nFormat: `projects//locations//agents//flows/`.",
+ "type": "string"
+ },
+ "targetPage": {
+ "description": "The target page to transition to.\nFormat: `projects//locations//agents//flows//pages/`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse": {
+ "description": "Represents a fulfillment response to the user.",
+ "id": "GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse",
+ "properties": {
+ "mergeBehavior": {
+ "description": "Merge behavior for `messages`.",
+ "enum": [
+ "MERGE_BEHAVIOR_UNSPECIFIED",
+ "APPEND",
+ "REPLACE"
+ ],
+ "enumDescriptions": [
+ "Not specified. `APPEND` will be used.",
+ "`messages` will be appended to the list of messages waiting to be sent\nto the user.",
+ "`messages` will replace the list of messages waiting to be sent to the\nuser."
+ ],
+ "type": "string"
+ },
+ "messages": {
+ "description": "The list of rich message responses to present to the user.",
+ "items": {
+ "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudDialogflowV2AnnotatedMessagePart": {
"description": "Represents a part of a message possibly annotated with an entity. The part\ncan be an entity or purely a part of the message between two entities or\nmessage start/end.",
"id": "GoogleCloudDialogflowV2AnnotatedMessagePart",
@@ -4407,7 +4953,7 @@
"description": "Properties of the object.",
"type": "any"
},
- "description": "Optional. The collection of parameters associated with this context.\n\nDepending on your protocol or client library language, this is a\nmap, associative array, symbol table, dictionary, or JSON object\ncomposed of a collection of (MapKey, MapValue) pairs:\n\n- MapKey type: string\n- MapKey value: parameter name\n- MapValue type:\n - If parameter's entity type is a composite entity: map\n - Else: string\n- MapValue value:\n - If parameter's entity type is a composite entity:\n map from composite entity property names to property values\n - Else: parameter value",
+ "description": "Optional. The collection of parameters associated with this context.\n\nDepending on your protocol or client library language, this is a\nmap, associative array, symbol table, dictionary, or JSON object\ncomposed of a collection of (MapKey, MapValue) pairs:\n\n- MapKey type: string\n- MapKey value: parameter name\n- MapValue type:\n - If parameter's entity type is a composite entity: map\n - Else: string or number, depending on parameter value type\n- MapValue value:\n - If parameter's entity type is a composite entity:\n map from composite entity property names to property values\n - Else: parameter value",
"type": "object"
}
},
@@ -4541,7 +5087,7 @@
"description": "Properties of the object.",
"type": "any"
},
- "description": "The collection of parameters associated with the event.",
+ "description": "The collection of parameters associated with the event.\n\nDepending on your protocol or client library language, this is a\nmap, associative array, symbol table, dictionary, or JSON object\ncomposed of a collection of (MapKey, MapValue) pairs:\n\n- MapKey type: string\n- MapKey value: parameter name\n- MapValue type:\n - If parameter's entity type is a composite entity: map\n - Else: string or number, depending on parameter value type\n- MapValue value:\n - If parameter's entity type is a composite entity:\n map from composite entity property names to property values\n - Else: parameter value",
"type": "object"
}
},
@@ -5397,7 +5943,7 @@
"type": "array"
},
"value": {
- "description": "Optional. The definition of the parameter value. It can be:\n- a constant string,\n- a parameter value defined as `$parameter_name`,\n- an original parameter value defined as `$parameter_name.original`,\n- a parameter value from some context defined as\n `#context_name.parameter_name`.",
+ "description": "Optional. The definition of the parameter value. It can be:\n\n- a constant string,\n- a parameter value defined as `$parameter_name`,\n- an original parameter value defined as `$parameter_name.original`,\n- a parameter value from some context defined as\n `#context_name.parameter_name`.",
"type": "string"
}
},
@@ -5608,7 +6154,7 @@
"description": "Properties of the object.",
"type": "any"
},
- "description": "The collection of extracted parameters.",
+ "description": "The collection of extracted parameters.\n\nDepending on your protocol or client library language, this is a\nmap, associative array, symbol table, dictionary, or JSON object\ncomposed of a collection of (MapKey, MapValue) pairs:\n\n- MapKey type: string\n- MapKey value: parameter name\n- MapValue type:\n - If parameter's entity type is a composite entity: map\n - Else: string or number, depending on parameter value type\n- MapValue value:\n - If parameter's entity type is a composite entity:\n map from composite entity property names to property values\n - Else: parameter value",
"type": "object"
},
"queryText": {
@@ -5657,7 +6203,7 @@
"type": "object"
},
"GoogleCloudDialogflowV2SentimentAnalysisResult": {
- "description": "The result of sentiment analysis as configured by\n`sentiment_analysis_request_config`.",
+ "description": "The result of sentiment analysis. Sentiment analysis inspects user input\nand identifies the prevailing subjective opinion, especially to determine a\nuser's attitude as positive, negative, or neutral.\nFor Participants.AnalyzeContent, it needs to be configured in\nDetectIntentRequest.query_params. For\nParticipants.StreamingAnalyzeContent, it needs to be configured in\nStreamingDetectIntentRequest.query_params.\nAnd for Participants.AnalyzeContent and\nParticipants.StreamingAnalyzeContent, it needs to be configured in\nConversationProfile.human_agent_assistant_config",
"id": "GoogleCloudDialogflowV2SentimentAnalysisResult",
"properties": {
"queryTextSentiment": {
@@ -5728,21 +6274,21 @@
"properties": {
"followupEventInput": {
"$ref": "GoogleCloudDialogflowV2EventInput",
- "description": "Optional. Makes the platform immediately invoke another `DetectIntent` call\ninternally with the specified event as input.\nWhen this field is set, Dialogflow ignores the `fulfillment_text`,\n`fulfillment_messages`, and `payload` fields."
+ "description": "Optional. Invokes the supplied events.\nWhen this field is set, Dialogflow ignores the `fulfillment_text`,\n`fulfillment_messages`, and `payload` fields."
},
"fulfillmentMessages": {
- "description": "Optional. The collection of rich messages to present to the user. This\nvalue is passed directly to `QueryResult.fulfillment_messages`.",
+ "description": "Optional. The rich response messages intended for the end-user.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.fulfillment_messages sent to the integration or API caller.",
"items": {
"$ref": "GoogleCloudDialogflowV2IntentMessage"
},
"type": "array"
},
"fulfillmentText": {
- "description": "Optional. The text to be shown on the screen. This value is passed directly\nto `QueryResult.fulfillment_text`.",
+ "description": "Optional. The text response message intended for the end-user.\nIt is recommended to use `fulfillment_messages.text.text[0]` instead.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.fulfillment_text sent to the integration or API caller.",
"type": "string"
},
"outputContexts": {
- "description": "Optional. The collection of output contexts. This value is passed directly\nto `QueryResult.output_contexts`.",
+ "description": "Optional. The collection of output contexts that will overwrite currently\nactive contexts for the session and reset their lifespans.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.output_contexts sent to the integration or API caller.",
"items": {
"$ref": "GoogleCloudDialogflowV2Context"
},
@@ -5753,18 +6299,18 @@
"description": "Properties of the object.",
"type": "any"
},
- "description": "Optional. This field can be used to pass custom data from your webhook to the API\ncaller. Arbitrary JSON objects are supported.\nWhen provided, Dialogflow uses this field to populate\n`QueryResult.webhook_payload` sent to the API caller.\nThis field is also used by the\n[Google Assistant\nintegration](https://cloud.google.com/dialogflow/docs/integrations/aog)\nfor rich response messages.\nSee the format definition at [Google Assistant Dialogflow webhook\nformat](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)",
+ "description": "Optional. This field can be used to pass custom data from your webhook to the\nintegration or API caller. Arbitrary JSON objects are supported.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.webhook_payload sent to the integration or API caller.\nThis field is also used by the\n[Google Assistant\nintegration](https://cloud.google.com/dialogflow/docs/integrations/aog)\nfor rich response messages.\nSee the format definition at [Google Assistant Dialogflow webhook\nformat](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)",
"type": "object"
},
"sessionEntityTypes": {
- "description": "Optional. Additional session entity types to replace or extend developer\nentity types with. The entity synonyms apply to all languages and persist\nfor the session of this query. Setting the session entity types inside\nwebhook overwrites the session entity types that have been set through\n`DetectIntentRequest.query_params.session_entity_types`.",
+ "description": "Optional. Additional session entity types to replace or extend developer\nentity types with. The entity synonyms apply to all languages and persist\nfor the session. Setting this data from a webhook overwrites\nthe session entity types that have been set using `detectIntent`,\n`streamingDetectIntent` or SessionEntityType management methods.",
"items": {
"$ref": "GoogleCloudDialogflowV2SessionEntityType"
},
"type": "array"
},
"source": {
- "description": "Optional. This value is passed directly to `QueryResult.webhook_source`.",
+ "description": "Optional. A custom field used to identify the webhook source.\nArbitrary strings are supported.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.webhook_source sent to the integration or API caller.",
"type": "string"
}
},
@@ -6094,7 +6640,7 @@
"description": "Properties of the object.",
"type": "any"
},
- "description": "Optional. The collection of parameters associated with this context.\n\nDepending on your protocol or client library language, this is a\nmap, associative array, symbol table, dictionary, or JSON object\ncomposed of a collection of (MapKey, MapValue) pairs:\n\n- MapKey type: string\n- MapKey value: parameter name\n- MapValue type:\n - If parameter's entity type is a composite entity: map\n - Else: string\n- MapValue value:\n - If parameter's entity type is a composite entity:\n map from composite entity property names to property values\n - Else: parameter value",
+ "description": "Optional. The collection of parameters associated with this context.\n\nDepending on your protocol or client library language, this is a\nmap, associative array, symbol table, dictionary, or JSON object\ncomposed of a collection of (MapKey, MapValue) pairs:\n\n- MapKey type: string\n- MapKey value: parameter name\n- MapValue type:\n - If parameter's entity type is a composite entity: map\n - Else: string or number, depending on parameter value type\n- MapValue value:\n - If parameter's entity type is a composite entity:\n map from composite entity property names to property values\n - Else: parameter value",
"type": "object"
}
},
@@ -6141,7 +6687,7 @@
"type": "array"
},
"outputAudio": {
- "description": "The audio data bytes encoded as specified in the request.\nNote: The output audio is generated based on the values of default platform\ntext responses found in the `query_result.fulfillment_messages` field. If\nmultiple default text responses exist, they will be concatenated when\ngenerating audio. If no default platform text responses exist, the\ngenerated audio content will be empty.",
+ "description": "The audio data bytes encoded as specified in the request.\nNote: The output audio is generated based on the values of default platform\ntext responses found in the `query_result.fulfillment_messages` field. If\nmultiple default text responses exist, they will be concatenated when\ngenerating audio. If no default platform text responses exist, the\ngenerated audio content will be empty.\n\nIn some scenarios, multiple output audio fields may be present in the\nresponse structure. In these cases, only the top-most-level audio output\nhas content.",
"format": "byte",
"type": "string"
},
@@ -6180,6 +6726,10 @@
"description": "Required. The display name of the document. The name must be 1024 bytes or\nless; otherwise, the creation request fails.",
"type": "string"
},
+ "enableAutoReload": {
+ "description": "Optional. If true, we try to automatically reload the document every day\n(at a time picked by the system). If false or unspecified, we don't try\nto automatically reload the document.\n\nCurrently you can only enable automatic reload for documents sourced from\na public url, see `source` field for the source types.\n\nReload status can be tracked in `latest_reload_status`. If a reload\nfails, we will keep the document unchanged.\n\nIf a reload fails with internal errors, the system will try to reload the\ndocument on the next day.\nIf a reload fails with non-retriable errors (e.g. PERMISION_DENIED), the\nsystem will not try to reload the document anymore. You need to manually\nreload the document successfully by calling `ReloadDocument` and clear the\nerrors.",
+ "type": "boolean"
+ },
"knowledgeTypes": {
"description": "Required. The knowledge type of document content.",
"enumDescriptions": [
@@ -6197,12 +6747,16 @@
},
"type": "array"
},
+ "latestReloadStatus": {
+ "$ref": "GoogleCloudDialogflowV2beta1DocumentReloadStatus",
+ "description": "Output only. The time and status of the latest reload.\nThis reload may have been triggered automatically or manually\nand may not have succeeded."
+ },
"mimeType": {
"description": "Required. The MIME type of this document.",
"type": "string"
},
"name": {
- "description": "The document resource name.\nThe name must be empty when creating a document.\nFormat: `projects//knowledgeBases//documents/`.",
+ "description": "Optional. The document resource name.\nThe name must be empty when creating a document.\nFormat: `projects//knowledgeBases//documents/`.",
"type": "string"
},
"rawContent": {
@@ -6213,6 +6767,22 @@
},
"type": "object"
},
+ "GoogleCloudDialogflowV2beta1DocumentReloadStatus": {
+ "description": "The status of a reload attempt.",
+ "id": "GoogleCloudDialogflowV2beta1DocumentReloadStatus",
+ "properties": {
+ "status": {
+ "$ref": "GoogleRpcStatus",
+ "description": "Output only. The status of a reload attempt or the initial load."
+ },
+ "time": {
+ "description": "Output only. The time of a reload attempt.\nThis reload may have been triggered automatically or manually and may\nnot have succeeded.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudDialogflowV2beta1EntityType": {
"description": "Represents an entity type.\nEntity types serve as a tool for extracting parameter values from natural\nlanguage queries.",
"id": "GoogleCloudDialogflowV2beta1EntityType",
@@ -6299,6 +6869,46 @@
},
"type": "object"
},
+ "GoogleCloudDialogflowV2beta1Environment": {
+ "description": "Represents an agent environment.",
+ "id": "GoogleCloudDialogflowV2beta1Environment",
+ "properties": {
+ "agentVersion": {
+ "description": "Optional. The agent version loaded into this environment.\nFormat: `projects//agent/versions/`.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Optional. The developer-provided description for this environment.\nThe maximum length is 500 characters. If exceeded, the request is rejected.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Output only. The unique identifier of this agent environment.\nFormat:\n- `projects//agent/environments/`\n- `projects//locations//agent/environments/`",
+ "type": "string"
+ },
+ "state": {
+ "description": "Output only. The state of this environment. This field is read-only, i.e., it cannot be\nset by create and update methods.",
+ "enum": [
+ "STATE_UNSPECIFIED",
+ "STOPPED",
+ "LOADING",
+ "RUNNING"
+ ],
+ "enumDescriptions": [
+ "Not specified. This value is not used.",
+ "Stopped.",
+ "Loading.",
+ "Running."
+ ],
+ "type": "string"
+ },
+ "updateTime": {
+ "description": "Output only. The last update time of this environment. This field is read-only, i.e., it\ncannot be set by create and update methods.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudDialogflowV2beta1EventInput": {
"description": "Events allow for matching intents by event name instead of the natural\nlanguage input. For instance, input `` can trigger a personalized welcome response.\nThe parameter `name` may be used by the agent in the response:\n`\"Hello #welcome_event.name! What can I do for you today?\"`.",
"id": "GoogleCloudDialogflowV2beta1EventInput",
@@ -6316,7 +6926,7 @@
"description": "Properties of the object.",
"type": "any"
},
- "description": "The collection of parameters associated with the event.",
+ "description": "The collection of parameters associated with the event.\n\nDepending on your protocol or client library language, this is a\nmap, associative array, symbol table, dictionary, or JSON object\ncomposed of a collection of (MapKey, MapValue) pairs:\n\n- MapKey type: string\n- MapKey value: parameter name\n- MapValue type:\n - If parameter's entity type is a composite entity: map\n - Else: string or number, depending on parameter value type\n- MapValue value:\n - If parameter's entity type is a composite entity:\n map from composite entity property names to property values\n - Else: parameter value",
"type": "object"
}
},
@@ -6418,7 +7028,7 @@
"type": "object"
},
"uri": {
- "description": "Required. The fulfillment URI for receiving POST requests.",
+ "description": "Required. The fulfillment URI for receiving POST requests.\nIt must use https protocol.",
"type": "string"
},
"username": {
@@ -6594,7 +7204,7 @@
"type": "array"
},
"followupIntentInfo": {
- "description": "Read-only. Information about all followup intents that have this intent as\na direct or indirect parent. We populate this field only in the output.",
+ "description": "Output only. Information about all followup intents that have this intent as\na direct or indirect parent. We populate this field only in the output.",
"items": {
"$ref": "GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo"
},
@@ -6627,7 +7237,7 @@
"type": "boolean"
},
"name": {
- "description": "The unique identifier of this intent.\nRequired for Intents.UpdateIntent and Intents.BatchUpdateIntents\nmethods.\nFormat: `projects//agent/intents/`.",
+ "description": "Optional. The unique identifier of this intent.\nRequired for Intents.UpdateIntent and Intents.BatchUpdateIntents\nmethods.\nFormat: `projects//agent/intents/`.",
"type": "string"
},
"outputContexts": {
@@ -6645,11 +7255,11 @@
"type": "array"
},
"parentFollowupIntentName": {
- "description": "Read-only after creation. The unique identifier of the parent intent in the\nchain of followup intents. You can set this field when creating an intent,\nfor example with CreateIntent or\nBatchUpdateIntents, in order to make this\nintent a followup intent.\n\nIt identifies the parent followup intent.\nFormat: `projects//agent/intents/`.",
+ "description": "Optional. The unique identifier of the parent intent in the\nchain of followup intents. You can set this field when creating an intent,\nfor example with CreateIntent or\nBatchUpdateIntents, in order to make this\nintent a followup intent.\n\nIt identifies the parent followup intent.\nFormat: `projects//agent/intents/`.",
"type": "string"
},
"priority": {
- "description": "The priority of this intent. Higher numbers represent higher\npriorities.\n\n- If the supplied value is unspecified or 0, the service\n translates the value to 500,000, which corresponds to the\n `Normal` priority in the console.\n- If the supplied value is negative, the intent is ignored\n in runtime detect intent requests.",
+ "description": "Optional. The priority of this intent. Higher numbers represent higher\npriorities.\n\n- If the supplied value is unspecified or 0, the service\n translates the value to 500,000, which corresponds to the\n `Normal` priority in the console.\n- If the supplied value is negative, the intent is ignored\n in runtime detect intent requests.",
"format": "int32",
"type": "integer"
},
@@ -6658,7 +7268,7 @@
"type": "boolean"
},
"rootFollowupIntentName": {
- "description": "Read-only. The unique identifier of the root intent in the chain of\nfollowup intents. It identifies the correct followup intents chain for\nthis intent. We populate this field only in the output.\n\nFormat: `projects//agent/intents/`.",
+ "description": "Output only. The unique identifier of the root intent in the chain of\nfollowup intents. It identifies the correct followup intents chain for\nthis intent.\n\nFormat: `projects//agent/intents/`.",
"type": "string"
},
"trainingPhrases": {
@@ -7261,7 +7871,7 @@
"type": "string"
},
"height": {
- "description": "Required for cards with vertical orientation. The height of the media\nwithin a rich card with a vertical layout. (https://goo.gl/NeFCjz).\nFor a standalone card with horizontal layout, height is not\ncustomizable, and this field is ignored.",
+ "description": "Required for cards with vertical orientation. The height of the media\nwithin a rich card with a vertical layout.\nFor a standalone card with horizontal layout, height is not\ncustomizable, and this field is ignored.",
"enum": [
"HEIGHT_UNSPECIFIED",
"SHORT",
@@ -7284,7 +7894,7 @@
"type": "object"
},
"GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard": {
- "description": "Carousel Rich Business Messaging (RBM) rich card.\n\nRich cards allow you to respond to users with more vivid content, e.g.\nwith media and suggestions.\n\nFor more details about RBM rich cards, please see:\nhttps://developers.google.com/rcs-business-messaging/rbm/guides/build/send-messages#rich-cards.\nIf you want to show a single card with more control over the layout,\nplease use RbmStandaloneCard instead.",
+ "description": "Carousel Rich Business Messaging (RBM) rich card.\n\nRich cards allow you to respond to users with more vivid content, e.g.\nwith media and suggestions.\n\nIf you want to show a single card with more control over the layout,\nplease use RbmStandaloneCard instead.",
"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard",
"properties": {
"cardContents": {
@@ -7312,7 +7922,7 @@
"type": "object"
},
"GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard": {
- "description": "Standalone Rich Business Messaging (RBM) rich card.\n\nRich cards allow you to respond to users with more vivid content, e.g.\nwith media and suggestions.\n\nFor more details about RBM rich cards, please see:\nhttps://developers.google.com/rcs-business-messaging/rbm/guides/build/send-messages#rich-cards.\nYou can group multiple rich cards into one using RbmCarouselCard but\ncarousel cards will give you less control over the card layout.",
+ "description": "Standalone Rich Business Messaging (RBM) rich card.\n\nRich cards allow you to respond to users with more vivid content, e.g.\nwith media and suggestions.\n\nYou can group multiple rich cards into one using RbmCarouselCard but\ncarousel cards will give you less control over the card layout.",
"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard",
"properties": {
"cardContent": {
@@ -7378,7 +7988,7 @@
"type": "object"
},
"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial": {
- "description": "Opens the user's default dialer app with the specified phone number\nbut does not dial automatically (https://goo.gl/ergbB2).",
+ "description": "Opens the user's default dialer app with the specified phone number\nbut does not dial automatically.",
"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial",
"properties": {
"phoneNumber": {
@@ -7389,7 +7999,7 @@
"type": "object"
},
"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri": {
- "description": "Opens the user's default web browser app to the specified uri\n(https://goo.gl/6GLJD2). If the user has an app installed that is\nregistered as the default handler for the URL, then this app will be\nopened instead, and its icon will be used in the suggested action UI.",
+ "description": "Opens the user's default web browser app to the specified uri\nIf the user has an app installed that is\nregistered as the default handler for the URL, then this app will be\nopened instead, and its icon will be used in the suggested action UI.",
"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri",
"properties": {
"uri": {
@@ -7400,7 +8010,7 @@
"type": "object"
},
"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation": {
- "description": "Opens the device's location chooser so the user can pick a location\nto send back to the agent (https://goo.gl/GXotJW).",
+ "description": "Opens the device's location chooser so the user can pick a location\nto send back to the agent.",
"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation",
"properties": {},
"type": "object"
@@ -7685,7 +8295,7 @@
"type": "array"
},
"value": {
- "description": "Optional. The definition of the parameter value. It can be:\n- a constant string,\n- a parameter value defined as `$parameter_name`,\n- an original parameter value defined as `$parameter_name.original`,\n- a parameter value from some context defined as\n `#context_name.parameter_name`.",
+ "description": "Optional. The definition of the parameter value. It can be:\n\n- a constant string,\n- a parameter value defined as `$parameter_name`,\n- an original parameter value defined as `$parameter_name.original`,\n- a parameter value from some context defined as\n `#context_name.parameter_name`.",
"type": "string"
}
},
@@ -7829,7 +8439,7 @@
"id": "GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata",
"properties": {
"state": {
- "description": "Required. The current state of this operation.",
+ "description": "Required. Output only. The current state of this operation.",
"enum": [
"STATE_UNSPECIFIED",
"PENDING",
@@ -7912,6 +8522,24 @@
},
"type": "object"
},
+ "GoogleCloudDialogflowV2beta1ListEnvironmentsResponse": {
+ "description": "The response message for Environments.ListEnvironments.",
+ "id": "GoogleCloudDialogflowV2beta1ListEnvironmentsResponse",
+ "properties": {
+ "environments": {
+ "description": "The list of agent environments. There will be a maximum number of items\nreturned based on the page_size field in the request.",
+ "items": {
+ "$ref": "GoogleCloudDialogflowV2beta1Environment"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "Token to retrieve the next page of results, or empty if there are no\nmore results in the list.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudDialogflowV2beta1ListIntentsResponse": {
"description": "The response message for Intents.ListIntents.",
"id": "GoogleCloudDialogflowV2beta1ListIntentsResponse",
@@ -8166,7 +8794,7 @@
"description": "Properties of the object.",
"type": "any"
},
- "description": "The collection of extracted parameters.",
+ "description": "The collection of extracted parameters.\n\nDepending on your protocol or client library language, this is a\nmap, associative array, symbol table, dictionary, or JSON object\ncomposed of a collection of (MapKey, MapValue) pairs:\n\n- MapKey type: string\n- MapKey value: parameter name\n- MapValue type:\n - If parameter's entity type is a composite entity: map\n - Else: string or number, depending on parameter value type\n- MapValue value:\n - If parameter's entity type is a composite entity:\n map from composite entity property names to property values\n - Else: parameter value",
"type": "object"
},
"queryText": {
@@ -8203,7 +8831,7 @@
"properties": {
"gcsSource": {
"$ref": "GoogleCloudDialogflowV2beta1GcsSource",
- "description": "Optional. The path for a Cloud Storage source file for reloading document content.\nIf not provided, the Document's existing source will be reloaded."
+ "description": "The path for a Cloud Storage source file for reloading document content.\nIf not provided, the Document's existing source will be reloaded."
}
},
"type": "object"
@@ -8271,7 +8899,7 @@
"type": "object"
},
"GoogleCloudDialogflowV2beta1SentimentAnalysisResult": {
- "description": "The result of sentiment analysis as configured by\n`sentiment_analysis_request_config`.",
+ "description": "The result of sentiment analysis. Sentiment analysis inspects user input\nand identifies the prevailing subjective opinion, especially to determine a\nuser's attitude as positive, negative, or neutral.\nFor Participants.AnalyzeContent, it needs to be configured in\nDetectIntentRequest.query_params. For\nParticipants.StreamingAnalyzeContent, it needs to be configured in\nStreamingDetectIntentRequest.query_params.\nAnd for Participants.AnalyzeContent and\nParticipants.StreamingAnalyzeContent, it needs to be configured in\nConversationProfile.human_agent_assistant_config",
"id": "GoogleCloudDialogflowV2beta1SentimentAnalysisResult",
"properties": {
"queryTextSentiment": {
@@ -8318,7 +8946,7 @@
"id": "GoogleCloudDialogflowV2beta1SpeechContext",
"properties": {
"boost": {
- "description": "Optional. Boost for this context compared to other contexts:\n* If the boost is positive, Dialogflow will increase the probability that\n the phrases in this context are recognized over similar sounding phrases.\n* If the boost is unspecified or non-positive, Dialogflow will not apply\n any boost.\n\nDialogflow recommends that you use boosts in the range (0, 20] and that you\nfind a value that fits your use case with binary search.",
+ "description": "Optional. Boost for this context compared to other contexts:\n\n* If the boost is positive, Dialogflow will increase the probability that\n the phrases in this context are recognized over similar sounding phrases.\n* If the boost is unspecified or non-positive, Dialogflow will not apply\n any boost.\n\nDialogflow recommends that you use boosts in the range (0, 20] and that you\nfind a value that fits your use case with binary search.",
"format": "float",
"type": "number"
},
@@ -8518,21 +9146,21 @@
},
"followupEventInput": {
"$ref": "GoogleCloudDialogflowV2beta1EventInput",
- "description": "Optional. Makes the platform immediately invoke another `DetectIntent` call\ninternally with the specified event as input.\nWhen this field is set, Dialogflow ignores the `fulfillment_text`,\n`fulfillment_messages`, and `payload` fields."
+ "description": "Optional. Invokes the supplied events.\nWhen this field is set, Dialogflow ignores the `fulfillment_text`,\n`fulfillment_messages`, and `payload` fields."
},
"fulfillmentMessages": {
- "description": "Optional. The collection of rich messages to present to the user. This\nvalue is passed directly to `QueryResult.fulfillment_messages`.",
+ "description": "Optional. The rich response messages intended for the end-user.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.fulfillment_messages sent to the integration or API caller.",
"items": {
"$ref": "GoogleCloudDialogflowV2beta1IntentMessage"
},
"type": "array"
},
"fulfillmentText": {
- "description": "Optional. The text to be shown on the screen. This value is passed directly\nto `QueryResult.fulfillment_text`.",
+ "description": "Optional. The text response message intended for the end-user.\nIt is recommended to use `fulfillment_messages.text.text[0]` instead.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.fulfillment_text sent to the integration or API caller.",
"type": "string"
},
"outputContexts": {
- "description": "Optional. The collection of output contexts. This value is passed directly\nto `QueryResult.output_contexts`.",
+ "description": "Optional. The collection of output contexts that will overwrite currently\nactive contexts for the session and reset their lifespans.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.output_contexts sent to the integration or API caller.",
"items": {
"$ref": "GoogleCloudDialogflowV2beta1Context"
},
@@ -8543,18 +9171,34 @@
"description": "Properties of the object.",
"type": "any"
},
- "description": "Optional. This field can be used to pass custom data from your webhook to the API\ncaller. Arbitrary JSON objects are supported.\nWhen provided, Dialogflow uses this field to populate\n`QueryResult.webhook_payload` sent to the API caller.\nThis field is also used by the\n[Google Assistant\nintegration](https://cloud.google.com/dialogflow/docs/integrations/aog)\nfor rich response messages.\nSee the format definition at [Google Assistant Dialogflow webhook\nformat](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)",
+ "description": "Optional. This field can be used to pass custom data from your webhook to the\nintegration or API caller. Arbitrary JSON objects are supported.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.webhook_payload sent to the integration or API caller.\nThis field is also used by the\n[Google Assistant\nintegration](https://cloud.google.com/dialogflow/docs/integrations/aog)\nfor rich response messages.\nSee the format definition at [Google Assistant Dialogflow webhook\nformat](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)",
"type": "object"
},
"sessionEntityTypes": {
- "description": "Optional. Additional session entity types to replace or extend developer\nentity types with. The entity synonyms apply to all languages and persist\nfor the session of this query. Setting the session entity types inside\nwebhook overwrites the session entity types that have been set through\n`DetectIntentRequest.query_params.session_entity_types`.",
+ "description": "Optional. Additional session entity types to replace or extend developer\nentity types with. The entity synonyms apply to all languages and persist\nfor the session. Setting this data from a webhook overwrites\nthe session entity types that have been set using `detectIntent`,\n`streamingDetectIntent` or SessionEntityType management methods.",
"items": {
"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType"
},
"type": "array"
},
"source": {
- "description": "Optional. This value is passed directly to `QueryResult.webhook_source`.",
+ "description": "Optional. A custom field used to identify the webhook source.\nArbitrary strings are supported.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.webhook_source sent to the integration or API caller.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDialogflowV3alpha1ExportAgentResponse": {
+ "description": "The response message for Agents.ExportAgent.",
+ "id": "GoogleCloudDialogflowV3alpha1ExportAgentResponse",
+ "properties": {
+ "agentContent": {
+ "description": "Uncompressed raw byte content for agent.",
+ "format": "byte",
+ "type": "string"
+ },
+ "agentUri": {
+ "description": "The URI to a file containing the exported agent. This field is populated\nonly if `agent_uri` is specified in ExportAgentRequest.",
"type": "string"
}
},
diff --git a/etc/api/digitalassetlinks/v1/digitalassetlinks-api.json b/etc/api/digitalassetlinks/v1/digitalassetlinks-api.json
index 8997db78a3..8ba9897af2 100644
--- a/etc/api/digitalassetlinks/v1/digitalassetlinks-api.json
+++ b/etc/api/digitalassetlinks/v1/digitalassetlinks-api.json
@@ -184,7 +184,7 @@
}
}
},
- "revision": "20200331",
+ "revision": "20200702",
"rootUrl": "https://digitalassetlinks.googleapis.com/",
"schemas": {
"AndroidAppAsset": {
diff --git a/etc/api/discovery/v1/discovery-api.json b/etc/api/discovery/v1/discovery-api.json
index 517d2a16c8..ea7d8d9dd0 100644
--- a/etc/api/discovery/v1/discovery-api.json
+++ b/etc/api/discovery/v1/discovery-api.json
@@ -5,7 +5,7 @@
"description": "Provides information about other Google APIs, such as what APIs are available, the resource, and method details for each API.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/discovery/",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/9dYEo-wSKRTu3i_EmX4qXGr5keA\"",
+ "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/3tBLUP2-2LOOUkYGKYTP8h3Iv3I\"",
"icons": {
"x16": "http://www.google.com/images/icons/feature/filing_cabinet_search-g16.png",
"x32": "http://www.google.com/images/icons/feature/filing_cabinet_search-g32.png"
@@ -116,7 +116,7 @@
}
}
},
- "revision": "20200402",
+ "revision": "20200701",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"DirectoryList": {
diff --git a/etc/api/displayvideo/v1/displayvideo-api.json b/etc/api/displayvideo/v1/displayvideo-api.json
new file mode 100644
index 0000000000..5a85de95d2
--- /dev/null
+++ b/etc/api/displayvideo/v1/displayvideo-api.json
@@ -0,0 +1,11825 @@
+{
+ "auth": {
+ "oauth2": {
+ "scopes": {
+ "https://www.googleapis.com/auth/display-video": {
+ "description": "Create, see, edit, and permanently delete your Display & Video 360 entities and reports"
+ },
+ "https://www.googleapis.com/auth/doubleclickbidmanager": {
+ "description": "View and manage your reports in DoubleClick Bid Manager"
+ }
+ }
+ }
+ },
+ "basePath": "",
+ "baseUrl": "https://displayvideo.googleapis.com/",
+ "batchPath": "batch",
+ "canonicalName": "Display Video",
+ "description": "Display & Video 360 API allows users to manage and create campaigns and reports.",
+ "discoveryVersion": "v1",
+ "documentationLink": "https://developers.google.com/display-video/",
+ "fullyEncodeReservedExpansion": true,
+ "icons": {
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
+ },
+ "id": "displayvideo:v1",
+ "kind": "discovery#restDescription",
+ "mtlsRootUrl": "https://displayvideo.mtls.googleapis.com/",
+ "name": "displayvideo",
+ "ownerDomain": "google.com",
+ "ownerName": "Google",
+ "parameters": {
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "alt": {
+ "default": "json",
+ "description": "Data format for response.",
+ "enum": [
+ "json",
+ "media",
+ "proto"
+ ],
+ "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",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "key": {
+ "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",
+ "type": "string"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "quotaUser": {
+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "protocol": "rest",
+ "resources": {
+ "advertisers": {
+ "methods": {
+ "bulkEditAdvertiserAssignedTargetingOptions": {
+ "description": "Bulk edits targeting options under a single advertiser.\nThe operation will delete the assigned targeting options provided in\nBulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests and\nthen create the assigned targeting options provided in\nBulkEditAdvertiserAssignedTargetingOptionsRequest.create_requests .",
+ "flatPath": "v1/advertisers/{advertisersId}:bulkEditAdvertiserAssignedTargetingOptions",
+ "httpMethod": "POST",
+ "id": "displayvideo.advertisers.bulkEditAdvertiserAssignedTargetingOptions",
+ "parameterOrder": [
+ "advertiserId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the advertiser.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}:bulkEditAdvertiserAssignedTargetingOptions",
+ "request": {
+ "$ref": "BulkEditAdvertiserAssignedTargetingOptionsRequest"
+ },
+ "response": {
+ "$ref": "BulkEditAdvertiserAssignedTargetingOptionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "bulkListAdvertiserAssignedTargetingOptions": {
+ "description": "Lists assigned targeting options of an advertiser across targeting types.",
+ "flatPath": "v1/advertisers/{advertisersId}:bulkListAdvertiserAssignedTargetingOptions",
+ "httpMethod": "GET",
+ "id": "displayvideo.advertisers.bulkListAdvertiserAssignedTargetingOptions",
+ "parameterOrder": [
+ "advertiserId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the advertiser the line item belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "filter": {
+ "description": "Allows filtering by assigned targeting option properties.\nSupported syntax:\n\n* Filter expressions are made up of one or more restrictions.\n* Restrictions can be combined by the logical operator `OR`..\n* A restriction has the form of `{field} {operator} {value}`.\n* The operator must be `EQUALS (=)`.\n* Supported fields:\n - `targetingType`\n\nExamples:\n\n* targetingType with value TARGETING_TYPE_CHANNEL\n`targetingType=\"TARGETING_TYPE_CHANNEL\"`\n\nThe length of this field should be no more than 500 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Field by which to sort the list.\nAcceptable values are:\n\n* `targetingType` (default)\n\nThe default sorting order is ascending. To specify descending order for\na field, a suffix \"desc\" should be added to the field name. Example:\n`targetingType desc`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size.\nThe size must be an integer between `1` and `5000`. If unspecified,\nthe default is '5000'. Returns error code `INVALID_ARGUMENT` if an invalid\nvalue is specified.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A token that lets the client fetch the next page of results.\nTypically, this is the value of\nnext_page_token\nreturned from the previous call to\n`BulkListAdvertiserAssignedTargetingOptions` method.\nIf not specified, the first page of results will be returned.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}:bulkListAdvertiserAssignedTargetingOptions",
+ "response": {
+ "$ref": "BulkListAdvertiserAssignedTargetingOptionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "create": {
+ "description": "Creates a new advertiser.\nReturns the newly created advertiser if successful.\nThis method can take up to 180 seconds to complete.",
+ "flatPath": "v1/advertisers",
+ "httpMethod": "POST",
+ "id": "displayvideo.advertisers.create",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/advertisers",
+ "request": {
+ "$ref": "Advertiser"
+ },
+ "response": {
+ "$ref": "Advertiser"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "delete": {
+ "description": "Deletes an advertiser.\nDeleting an advertiser will delete all of its child resources, for example,\ncampaigns, insertion orders and line items.\nA deleted advertiser cannot be recovered.",
+ "flatPath": "v1/advertisers/{advertisersId}",
+ "httpMethod": "DELETE",
+ "id": "displayvideo.advertisers.delete",
+ "parameterOrder": [
+ "advertiserId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser we need to delete.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "get": {
+ "description": "Gets an advertiser.",
+ "flatPath": "v1/advertisers/{advertisersId}",
+ "httpMethod": "GET",
+ "id": "displayvideo.advertisers.get",
+ "parameterOrder": [
+ "advertiserId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the advertiser to fetch.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}",
+ "response": {
+ "$ref": "Advertiser"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "list": {
+ "description": "Lists advertisers that are accessible to the current user.\n\nThe order is defined by the order_by\nparameter.\n\nA single partner_id is required.\nCross-partner listing is not supported.",
+ "flatPath": "v1/advertisers",
+ "httpMethod": "GET",
+ "id": "displayvideo.advertisers.list",
+ "parameterOrder": [],
+ "parameters": {
+ "filter": {
+ "description": "Allows filtering by advertiser properties.\n\nSupported syntax:\n\n* Filter expressions are made up of one or more restrictions.\n* Restrictions can be combined by `AND` or `OR` logical operators. A\nsequence of restrictions implicitly uses `AND`.\n* A restriction has the form of `{field} {operator} {value}`.\n* The operator must be `EQUALS (=)`.\n* Supported fields:\n - `entityStatus`\n\nExamples:\n\n* All active advertisers under a partner:\n`entityStatus=\"ENTITY_STATUS_ACTIVE\"`\n\nThe length of this field should be no more than 500 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Field by which to sort the list.\nAcceptable values are:\n\n* `displayName` (default)\n* `entityStatus`\n\nThe default sorting order is ascending. To specify descending order for\na field, a suffix \"desc\" should be added to the field name. For example,\n`displayName desc`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Must be between `1` and `100`. If unspecified will\ndefault to `100`.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nnext_page_token\nreturned from the previous call to `ListAdvertisers` method.\nIf not specified, the first page of results will be returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "Required. The ID of the partner that the fetched advertisers should all belong to.\nThe system only supports listing advertisers for one partner at a time.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers",
+ "response": {
+ "$ref": "ListAdvertisersResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "patch": {
+ "description": "Updates an existing advertiser.\nReturns the updated advertiser if successful.",
+ "flatPath": "v1/advertisers/{advertisersId}",
+ "httpMethod": "PATCH",
+ "id": "displayvideo.advertisers.patch",
+ "parameterOrder": [
+ "advertiserId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Output only. The unique ID of the advertiser. Assigned by the system.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Required. The mask to control which fields to update.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}",
+ "request": {
+ "$ref": "Advertiser"
+ },
+ "response": {
+ "$ref": "Advertiser"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ }
+ },
+ "resources": {
+ "assets": {
+ "methods": {
+ "upload": {
+ "description": "Uploads an asset.\nReturns the ID of the newly uploaded asset if successful.\nThe asset file size should be no more than 10 MB for images, 200 MB for\nZIP files, and 1 GB for videos.",
+ "flatPath": "v1/advertisers/{advertisersId}/assets",
+ "httpMethod": "POST",
+ "id": "displayvideo.advertisers.assets.upload",
+ "mediaUpload": {
+ "accept": [
+ "*/*"
+ ],
+ "protocols": {
+ "simple": {
+ "multipart": true,
+ "path": "/upload/v1/advertisers/{+advertiserId}/assets"
+ }
+ }
+ },
+ "parameterOrder": [
+ "advertiserId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the advertiser this asset belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/assets",
+ "request": {
+ "$ref": "CreateAssetRequest"
+ },
+ "response": {
+ "$ref": "CreateAssetResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ],
+ "supportsMediaUpload": true
+ }
+ }
+ },
+ "campaigns": {
+ "methods": {
+ "create": {
+ "description": "Creates a new campaign.\nReturns the newly created campaign if successful.",
+ "flatPath": "v1/advertisers/{advertisersId}/campaigns",
+ "httpMethod": "POST",
+ "id": "displayvideo.advertisers.campaigns.create",
+ "parameterOrder": [
+ "advertiserId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Output only. The unique ID of the advertiser the campaign belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/campaigns",
+ "request": {
+ "$ref": "Campaign"
+ },
+ "response": {
+ "$ref": "Campaign"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "delete": {
+ "description": "Permanently deletes a campaign. A deleted campaign cannot be recovered.\nThe campaign should be archived first, i.e. set\nentity_status to `ENTITY_STATUS_ARCHIVED`, to be\nable to delete it.",
+ "flatPath": "v1/advertisers/{advertisersId}/campaigns/{campaignsId}",
+ "httpMethod": "DELETE",
+ "id": "displayvideo.advertisers.campaigns.delete",
+ "parameterOrder": [
+ "advertiserId",
+ "campaignId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser this campaign belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "campaignId": {
+ "description": "The ID of the campaign we need to delete.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/campaigns/{+campaignId}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "get": {
+ "description": "Gets a campaign.",
+ "flatPath": "v1/advertisers/{advertisersId}/campaigns/{campaignsId}",
+ "httpMethod": "GET",
+ "id": "displayvideo.advertisers.campaigns.get",
+ "parameterOrder": [
+ "advertiserId",
+ "campaignId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the advertiser this campaign belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "campaignId": {
+ "description": "Required. The ID of the campaign to fetch.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/campaigns/{+campaignId}",
+ "response": {
+ "$ref": "Campaign"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "list": {
+ "description": "Lists campaigns in an advertiser.\n\nThe order is defined by the order_by\nparameter.\nIf a filter by\nentity_status is not specified, campaigns with\n`ENTITY_STATUS_ARCHIVED` will not be included in the results.",
+ "flatPath": "v1/advertisers/{advertisersId}/campaigns",
+ "httpMethod": "GET",
+ "id": "displayvideo.advertisers.campaigns.list",
+ "parameterOrder": [
+ "advertiserId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser to list campaigns for.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "filter": {
+ "description": "Allows filtering by campaign properties.\n\nSupported syntax:\n\n* Filter expressions are made up of one or more restrictions.\n* Restrictions can be combined by `AND` or `OR` logical operators. A\nsequence of restrictions implicitly uses `AND`.\n* A restriction has the form of `{field} {operator} {value}`.\n* The operator must be `EQUALS (=)`.\n* Supported fields:\n - `entityStatus`\n\nExamples:\n\n* All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` campaigns under an\nadvertiser:\n`(entityStatus=\"ENTITY_STATUS_ACTIVE\" OR\nentityStatus=\"ENTITY_STATUS_PAUSED\")`\n\nThe length of this field should be no more than 500 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Field by which to sort the list.\nAcceptable values are:\n\n* `displayName` (default)\n* `entityStatus`\n\nThe default sorting order is ascending. To specify descending order for\na field, a suffix \"desc\" should be added to the field name. Example:\n`displayName desc`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Must be between `1` and `100`. If unspecified will\ndefault to `100`.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nnext_page_token returned from the\nprevious call to `ListCampaigns` method. If not specified, the first page\nof results will be returned.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/campaigns",
+ "response": {
+ "$ref": "ListCampaignsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "patch": {
+ "description": "Updates an existing campaign.\nReturns the updated campaign if successful.",
+ "flatPath": "v1/advertisers/{advertisersId}/campaigns/{campaignsId}",
+ "httpMethod": "PATCH",
+ "id": "displayvideo.advertisers.campaigns.patch",
+ "parameterOrder": [
+ "advertiserId",
+ "campaignId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Output only. The unique ID of the advertiser the campaign belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "campaignId": {
+ "description": "Output only. The unique ID of the campaign. Assigned by the system.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Required. The mask to control which fields to update.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/campaigns/{+campaignId}",
+ "request": {
+ "$ref": "Campaign"
+ },
+ "response": {
+ "$ref": "Campaign"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ }
+ }
+ },
+ "channels": {
+ "methods": {
+ "create": {
+ "description": "Creates a new channel. Returns the newly created channel if successful.",
+ "flatPath": "v1/advertisers/{advertisersId}/channels",
+ "httpMethod": "POST",
+ "id": "displayvideo.advertisers.channels.create",
+ "parameterOrder": [
+ "advertiserId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that owns the created channel.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that owns the created channel.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/channels",
+ "request": {
+ "$ref": "Channel"
+ },
+ "response": {
+ "$ref": "Channel"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "get": {
+ "description": "Gets a channel for a partner or advertiser.",
+ "flatPath": "v1/advertisers/{advertisersId}/channels/{channelsId}",
+ "httpMethod": "GET",
+ "id": "displayvideo.advertisers.channels.get",
+ "parameterOrder": [
+ "advertiserId",
+ "channelId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that owns the fetched channel.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "channelId": {
+ "description": "Required. The ID of the channel to fetch.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that owns the fetched channel.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/channels/{+channelId}",
+ "response": {
+ "$ref": "Channel"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "list": {
+ "description": "Lists channels for a partner or advertiser.",
+ "flatPath": "v1/advertisers/{advertisersId}/channels",
+ "httpMethod": "GET",
+ "id": "displayvideo.advertisers.channels.list",
+ "parameterOrder": [
+ "advertiserId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that owns the channels.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "filter": {
+ "description": "Allows filtering by channel fields.\n\nSupported syntax:\n\n* Filter expressions for channel currently can only contain at most one\n* restriction.\n* A restriction has the form of `{field} {operator} {value}`.\n* The operator must be `CONTAINS (:)`.\n* Supported fields:\n - `displayName`\n\nExamples:\n\n* All channels for which the display name contains \"google\":\n`displayName : \"google\"`.\n\nThe length of this field should be no more than 500 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Field by which to sort the list.\nAcceptable values are:\n\n* `displayName` (default)\n* `channelId`\n\nThe default sorting order is ascending. To specify descending order for a\nfield, a suffix \" desc\" should be added to the field name. Example:\n`displayName desc`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Must be between `1` and `100`. If unspecified will\ndefault to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value\nis specified.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nnext_page_token returned from the\nprevious call to `ListChannels` method. If not specified, the first page\nof results will be returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that owns the channels.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/channels",
+ "response": {
+ "$ref": "ListChannelsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "patch": {
+ "description": "Updates a channel. Returns the updated channel if successful.",
+ "flatPath": "v1/advertisers/{advertisersId}/channels/{channelId}",
+ "httpMethod": "PATCH",
+ "id": "displayvideo.advertisers.channels.patch",
+ "parameterOrder": [
+ "advertiserId",
+ "channelId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that owns the created channel.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "channelId": {
+ "description": "Output only. The unique ID of the channel. Assigned by the system.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that owns the created channel.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Required. The mask to control which fields to update.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/channels/{channelId}",
+ "request": {
+ "$ref": "Channel"
+ },
+ "response": {
+ "$ref": "Channel"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ }
+ },
+ "resources": {
+ "sites": {
+ "methods": {
+ "bulkEdit": {
+ "description": "Bulk edits sites under a single channel.\n\nThe operation will delete the sites provided in\nBulkEditSitesRequest.deleted_sites and then create the sites\nprovided in BulkEditSitesRequest.created_sites.",
+ "flatPath": "v1/advertisers/{advertiserId}/channels/{channelsId}/sites:bulkEdit",
+ "httpMethod": "POST",
+ "id": "displayvideo.advertisers.channels.sites.bulkEdit",
+ "parameterOrder": [
+ "advertiserId",
+ "channelId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that owns the parent channel.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "channelId": {
+ "description": "Required. The ID of the parent channel to which the sites belong.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{advertiserId}/channels/{+channelId}/sites:bulkEdit",
+ "request": {
+ "$ref": "BulkEditSitesRequest"
+ },
+ "response": {
+ "$ref": "BulkEditSitesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "create": {
+ "description": "Creates a site in a channel.",
+ "flatPath": "v1/advertisers/{advertiserId}/channels/{channelsId}/sites",
+ "httpMethod": "POST",
+ "id": "displayvideo.advertisers.channels.sites.create",
+ "parameterOrder": [
+ "advertiserId",
+ "channelId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that owns the parent channel.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "channelId": {
+ "description": "Required. The ID of the parent channel in which the site will be created.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that owns the parent channel.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{advertiserId}/channels/{+channelId}/sites",
+ "request": {
+ "$ref": "Site"
+ },
+ "response": {
+ "$ref": "Site"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "delete": {
+ "description": "Deletes a site from a channel.",
+ "flatPath": "v1/advertisers/{advertiserId}/channels/{channelsId}/sites/{sitesId}",
+ "httpMethod": "DELETE",
+ "id": "displayvideo.advertisers.channels.sites.delete",
+ "parameterOrder": [
+ "advertiserId",
+ "channelId",
+ "urlOrAppId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that owns the parent channel.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "channelId": {
+ "description": "Required. The ID of the parent channel to which the site belongs.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that owns the parent channel.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "urlOrAppId": {
+ "description": "Required. The URL or app ID of the site to delete.",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{advertiserId}/channels/{+channelId}/sites/{+urlOrAppId}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "list": {
+ "description": "Lists sites in a channel.",
+ "flatPath": "v1/advertisers/{advertisersId}/channels/{channelsId}/sites",
+ "httpMethod": "GET",
+ "id": "displayvideo.advertisers.channels.sites.list",
+ "parameterOrder": [
+ "advertiserId",
+ "channelId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that owns the parent channel.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "channelId": {
+ "description": "Required. The ID of the parent channel to which the requested sites belong.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "filter": {
+ "description": "Allows filtering by site fields.\n\nSupported syntax:\n\n* Filter expressions for site currently can only contain at most one\n* restriction.\n* A restriction has the form of `{field} {operator} {value}`.\n* The operator must be `CONTAINS (:)`.\n* Supported fields:\n - `urlOrAppId`\n\nExamples:\n\n* All sites for which the URL or app ID contains \"google\":\n`urlOrAppId : \"google\"`",
+ "location": "query",
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Field by which to sort the list.\nAcceptable values are:\n\n* `urlOrAppId` (default)\n\nThe default sorting order is ascending. To specify descending order for a\nfield, a suffix \" desc\" should be added to the field name. Example:\n`urlOrAppId desc`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Must be between `1` and `100`. If unspecified will\ndefault to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value\nis specified.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\n\nTypically, this is the value of\nnext_page_token returned from the\nprevious call to `ListSites` method. If not specified, the first page\nof results will be returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that owns the parent channel.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/channels/{+channelId}/sites",
+ "response": {
+ "$ref": "ListSitesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "creatives": {
+ "methods": {
+ "create": {
+ "description": "Creates a new creative.\nReturns the newly created creative if successful.",
+ "flatPath": "v1/advertisers/{advertisersId}/creatives",
+ "httpMethod": "POST",
+ "id": "displayvideo.advertisers.creatives.create",
+ "parameterOrder": [
+ "advertiserId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Output only. The unique ID of the advertiser the creative belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/creatives",
+ "request": {
+ "$ref": "Creative"
+ },
+ "response": {
+ "$ref": "Creative"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "delete": {
+ "description": "Deletes a creative.\nReturns error code `NOT_FOUND` if the creative does not exist.\nThe creative should be archived first, i.e. set\nentity_status to `ENTITY_STATUS_ARCHIVED`, before\nit can be deleted.",
+ "flatPath": "v1/advertisers/{advertisersId}/creatives/{creativesId}",
+ "httpMethod": "DELETE",
+ "id": "displayvideo.advertisers.creatives.delete",
+ "parameterOrder": [
+ "advertiserId",
+ "creativeId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser this creative belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "creativeId": {
+ "description": "The ID of the creative to be deleted.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/creatives/{+creativeId}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "get": {
+ "description": "Gets a creative.",
+ "flatPath": "v1/advertisers/{advertisersId}/creatives/{creativesId}",
+ "httpMethod": "GET",
+ "id": "displayvideo.advertisers.creatives.get",
+ "parameterOrder": [
+ "advertiserId",
+ "creativeId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the advertiser this creative belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "creativeId": {
+ "description": "Required. The ID of the creative to fetch.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/creatives/{+creativeId}",
+ "response": {
+ "$ref": "Creative"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "list": {
+ "description": "Lists creatives in an advertiser.\n\nThe order is defined by the order_by\nparameter.\nIf a filter by\nentity_status is not specified, creatives with\n`ENTITY_STATUS_ARCHIVED` will not be included in the results.",
+ "flatPath": "v1/advertisers/{advertisersId}/creatives",
+ "httpMethod": "GET",
+ "id": "displayvideo.advertisers.creatives.list",
+ "parameterOrder": [
+ "advertiserId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the advertiser to list creatives for.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "filter": {
+ "description": "Allows filtering by creative properties.\n\nSupported syntax:\n\n* Filter expressions are made up of one or more restrictions.\n* Restriction for the same field must be combined by `OR`.\n* Restriction for different fields must be combined by `AND`.\n* Between `(` and `)` there can only be restrictions combined by `OR`\nfor the same field.\n* A restriction has the form of `{field} {operator} {value}`.\n* The operator must be `EQUALS (=)` for the following fields:\n - `entityStatus`\n - `creativeType`.\n - `dimensions`\n - `minDuration`\n - `maxDuration`\n - `approvalStatus`\n - `exchangeReviewStatus`\n - `dynamic`\n - `creativeId`\n* The operator must be `HAS (:)` for the following fields:\n - `lineItemIds`\n* For `entityStatus`, `minDuration`, `maxDuration`, and `dynamic` there may\nbe at most one restriction.\n* For `dimensions`, the value is in the form of `\"{width}x{height}\"`.\n* For `exchangeReviewStatus`, the value is in the form of\n`{exchange}-{reviewStatus}`.\n* For `minDuration` and `maxDuration`, the value is in the form of\n`\"{duration}s\"`. Only seconds are supported with millisecond granularity.\n* There may be multiple `lineItemIds` restrictions in order to search\nagainst multiple possible line item IDs.\n* There may be multiple `creativeId` restrictions in order to search\nagainst multiple possible creative IDs.\n\nExamples:\n\n* All native creatives: `creativeType=\"CREATIVE_TYPE_NATIVE\"`\n* All active creatives with 300x400 or 50x100 dimensions:\n`entityStatus=\"ENTITY_STATUS_ACTIVE\" AND (dimensions=\"300x400\"\nOR dimensions=\"50x100\")`\n* All dynamic creatives that are approved by AdX or\nAppNexus, with a minimum duration of 5 seconds and 200ms.\n`dynamic=\"true\" AND minDuration=\"5.2s\" AND\n(exchangeReviewStatus=\"EXCHANGE_GOOGLE_AD_MANAGER-REVIEW_STATUS_APPROVED\"\nOR exchangeReviewStatus=\"EXCHANGE_APPNEXUS-REVIEW_STATUS_APPROVED\")`\n* All video creatives that are associated with line item ID 1 or 2:\n`creativeType=\"CREATIVE_TYPE_VIDEO\" AND (lineItemIds:1 OR lineItemIds:2)`\n* Find creatives by multiple creative IDs:\n`creativeId=1 OR creativeId=2`\n\nThe length of this field should be no more than 500 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Field by which to sort the list.\nAcceptable values are:\n\n* `creativeId` (default)\n* `createTime`\n* `mediaDuration`\n* `dimensions` (sorts by width first, then by height)\n\nThe default sorting order is ascending. To specify descending order for\na field, a suffix \"desc\" should be added to the field name.\nExample: `createTime desc`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Must be between `1` and `100`. If unspecified will\ndefault to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value\nis specified.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nnext_page_token\nreturned from the previous call to `ListCreatives` method.\nIf not specified, the first page of results will be returned.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/creatives",
+ "response": {
+ "$ref": "ListCreativesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "patch": {
+ "description": "Updates an existing creative.\nReturns the updated creative if successful.",
+ "flatPath": "v1/advertisers/{advertisersId}/creatives/{creativesId}",
+ "httpMethod": "PATCH",
+ "id": "displayvideo.advertisers.creatives.patch",
+ "parameterOrder": [
+ "advertiserId",
+ "creativeId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Output only. The unique ID of the advertiser the creative belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "creativeId": {
+ "description": "Output only. The unique ID of the creative. Assigned by the system.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Required. The mask to control which fields to update.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/creatives/{+creativeId}",
+ "request": {
+ "$ref": "Creative"
+ },
+ "response": {
+ "$ref": "Creative"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ }
+ }
+ },
+ "insertionOrders": {
+ "methods": {
+ "create": {
+ "description": "Creates a new insertion order.\nReturns the newly created insertion order if successful.",
+ "flatPath": "v1/advertisers/{advertisersId}/insertionOrders",
+ "httpMethod": "POST",
+ "id": "displayvideo.advertisers.insertionOrders.create",
+ "parameterOrder": [
+ "advertiserId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Output only. The unique ID of the advertiser the insertion order belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/insertionOrders",
+ "request": {
+ "$ref": "InsertionOrder"
+ },
+ "response": {
+ "$ref": "InsertionOrder"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "delete": {
+ "description": "Deletes an insertion order.\nReturns error code `NOT_FOUND` if the insertion order does not exist.\nThe insertion order should be archived first, i.e. set\nentity_status to `ENTITY_STATUS_ARCHIVED`,\nto be able to delete it.",
+ "flatPath": "v1/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}",
+ "httpMethod": "DELETE",
+ "id": "displayvideo.advertisers.insertionOrders.delete",
+ "parameterOrder": [
+ "advertiserId",
+ "insertionOrderId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser this insertion order belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "insertionOrderId": {
+ "description": "The ID of the insertion order we need to delete.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "get": {
+ "description": "Gets an insertion order.\nReturns error code `NOT_FOUND` if the insertion order does not exist.",
+ "flatPath": "v1/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}",
+ "httpMethod": "GET",
+ "id": "displayvideo.advertisers.insertionOrders.get",
+ "parameterOrder": [
+ "advertiserId",
+ "insertionOrderId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the advertiser this insertion order belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "insertionOrderId": {
+ "description": "Required. The ID of the insertion order to fetch.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}",
+ "response": {
+ "$ref": "InsertionOrder"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "list": {
+ "description": "Lists insertion orders in an advertiser.\n\nThe order is defined by the order_by\nparameter.\nIf a filter by\nentity_status is not specified, insertion\norders with `ENTITY_STATUS_ARCHIVED` will not be included in the results.",
+ "flatPath": "v1/advertisers/{advertisersId}/insertionOrders",
+ "httpMethod": "GET",
+ "id": "displayvideo.advertisers.insertionOrders.list",
+ "parameterOrder": [
+ "advertiserId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the advertiser to list insertion orders for.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "filter": {
+ "description": "Allows filtering by insertion order properties.\n\nSupported syntax:\n\n* Filter expressions are made up of one or more restrictions.\n* Restrictions can be combined by `AND` or `OR` logical operators. A\nsequence of restrictions implicitly uses `AND`.\n* A restriction has the form of `{field} {operator} {value}`.\n* The operator must be `EQUALS (=)`.\n* Supported fields:\n - `campaignId`\n - `entityStatus`\n\nExamples:\n\n* All insertion orders under a campaign: `campaignId=\"1234\"`\n* All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` insertion orders\nunder an advertiser:\n`(entityStatus=\"ENTITY_STATUS_ACTIVE\" OR\nentityStatus=\"ENTITY_STATUS_PAUSED\")`\n\nThe length of this field should be no more than 500 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Field by which to sort the list.\nAcceptable values are:\n\n* \"displayName\" (default)\n* \"entityStatus\"\n\nThe default sorting order is ascending. To specify descending order for\na field, a suffix \"desc\" should be added to the field name. Example:\n`displayName desc`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Must be between `1` and `100`. If unspecified will\ndefault to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value\nis specified.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nnext_page_token returned\nfrom the previous call to `ListInsertionOrders` method. If not specified,\nthe first page of results will be returned.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/insertionOrders",
+ "response": {
+ "$ref": "ListInsertionOrdersResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "patch": {
+ "description": "Updates an existing insertion order.\nReturns the updated insertion order if successful.",
+ "flatPath": "v1/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}",
+ "httpMethod": "PATCH",
+ "id": "displayvideo.advertisers.insertionOrders.patch",
+ "parameterOrder": [
+ "advertiserId",
+ "insertionOrderId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Output only. The unique ID of the advertiser the insertion order belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "insertionOrderId": {
+ "description": "Output only. The unique ID of the insertion order. Assigned by the system.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Required. The mask to control which fields to update.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}",
+ "request": {
+ "$ref": "InsertionOrder"
+ },
+ "response": {
+ "$ref": "InsertionOrder"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ }
+ }
+ },
+ "lineItems": {
+ "methods": {
+ "bulkEditLineItemAssignedTargetingOptions": {
+ "description": "Bulk edits targeting options under a single line item.\nThe operation will delete the assigned targeting options provided in\nBulkEditLineItemAssignedTargetingOptionsRequest.delete_requests and\nthen create the assigned targeting options provided in\nBulkEditLineItemAssignedTargetingOptionsRequest.create_requests .",
+ "flatPath": "v1/advertisers/{advertisersId}/lineItems/{lineItemsId}:bulkEditLineItemAssignedTargetingOptions",
+ "httpMethod": "POST",
+ "id": "displayvideo.advertisers.lineItems.bulkEditLineItemAssignedTargetingOptions",
+ "parameterOrder": [
+ "advertiserId",
+ "lineItemId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the advertiser the line item belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "lineItemId": {
+ "description": "Required. The ID of the line item the assigned targeting option will belong to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}:bulkEditLineItemAssignedTargetingOptions",
+ "request": {
+ "$ref": "BulkEditLineItemAssignedTargetingOptionsRequest"
+ },
+ "response": {
+ "$ref": "BulkEditLineItemAssignedTargetingOptionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "bulkListLineItemAssignedTargetingOptions": {
+ "description": "Lists assigned targeting options of a line item across targeting types.",
+ "flatPath": "v1/advertisers/{advertisersId}/lineItems/{lineItemsId}:bulkListLineItemAssignedTargetingOptions",
+ "httpMethod": "GET",
+ "id": "displayvideo.advertisers.lineItems.bulkListLineItemAssignedTargetingOptions",
+ "parameterOrder": [
+ "advertiserId",
+ "lineItemId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the advertiser the line item belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "filter": {
+ "description": "Allows filtering by assigned targeting option properties.\nSupported syntax:\n\n* Filter expressions are made up of one or more restrictions.\n* Restrictions can be combined by the logical operator `OR` on the same\nfield.\n* A restriction has the form of `{field} {operator} {value}`.\n* The operator must be `EQUALS (=)`.\n* Supported fields:\n - `targetingType`\n - `inheritance`\n\nExamples:\n\n* AssignedTargetingOptions of targeting type\nTARGETING_TYPE_PROXIMITY_LOCATION_LIST or TARGETING_TYPE_CHANNEL\n`targetingType=\"TARGETING_TYPE_PROXIMITY_LOCATION_LIST\" OR\ntargetingType=\"TARGETING_TYPE_CHANNEL\"`\n* AssignedTargetingOptions with inheritance status of NOT_INHERITED or\n INHERITED_FROM_PARTNER\n`inheritance=\"NOT_INHERITED\" OR inheritance=\"INHERITED_FROM_PARTNER\"`\n\nThe length of this field should be no more than 500 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "lineItemId": {
+ "description": "Required. The ID of the line item to list assigned targeting options for.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Field by which to sort the list.\nAcceptable values are:\n\n* `targetingType` (default)\n\nThe default sorting order is ascending. To specify descending order for\na field, a suffix \"desc\" should be added to the field name. Example:\n`targetingType desc`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size.\nThe size must be an integer between `1` and `5000`. If unspecified,\nthe default is '5000'. Returns error code `INVALID_ARGUMENT` if an invalid\nvalue is specified.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A token that lets the client fetch the next page of results.\nTypically, this is the value of\nnext_page_token\nreturned from the previous call to\n`BulkListLineItemAssignedTargetingOptions` method.\nIf not specified, the first page of results will be returned.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}:bulkListLineItemAssignedTargetingOptions",
+ "response": {
+ "$ref": "BulkListLineItemAssignedTargetingOptionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "create": {
+ "description": "Creates a new line item.\nReturns the newly created line item if successful.",
+ "flatPath": "v1/advertisers/{advertisersId}/lineItems",
+ "httpMethod": "POST",
+ "id": "displayvideo.advertisers.lineItems.create",
+ "parameterOrder": [
+ "advertiserId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Output only. The unique ID of the advertiser the line item belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/lineItems",
+ "request": {
+ "$ref": "LineItem"
+ },
+ "response": {
+ "$ref": "LineItem"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "delete": {
+ "description": "Deletes a line item.\nReturns error code `NOT_FOUND` if the line item does not exist.\nThe line item should be archived first, i.e. set\nentity_status to `ENTITY_STATUS_ARCHIVED`, to be\nable to delete it.",
+ "flatPath": "v1/advertisers/{advertisersId}/lineItems/{lineItemsId}",
+ "httpMethod": "DELETE",
+ "id": "displayvideo.advertisers.lineItems.delete",
+ "parameterOrder": [
+ "advertiserId",
+ "lineItemId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser this line item belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "lineItemId": {
+ "description": "The ID of the line item we need to fetch.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "get": {
+ "description": "Gets a line item.",
+ "flatPath": "v1/advertisers/{advertisersId}/lineItems/{lineItemsId}",
+ "httpMethod": "GET",
+ "id": "displayvideo.advertisers.lineItems.get",
+ "parameterOrder": [
+ "advertiserId",
+ "lineItemId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the advertiser this line item belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "lineItemId": {
+ "description": "Required. The ID of the line item to fetch.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}",
+ "response": {
+ "$ref": "LineItem"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "list": {
+ "description": "Lists line items in an advertiser.\n\nThe order is defined by the order_by\nparameter.\nIf a filter by\nentity_status is not specified, line items with\n`ENTITY_STATUS_ARCHIVED` will not be included in the results.",
+ "flatPath": "v1/advertisers/{advertisersId}/lineItems",
+ "httpMethod": "GET",
+ "id": "displayvideo.advertisers.lineItems.list",
+ "parameterOrder": [
+ "advertiserId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the advertiser to list line items for.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "filter": {
+ "description": "Allows filtering by line item properties.\n\nSupported syntax:\n\n* Filter expressions are made up of one or more restrictions.\n* Restrictions can be combined by `AND` or `OR` logical operators. A\nsequence of restrictions implicitly uses `AND`.\n* A restriction has the form of `{field} {operator} {value}`.\n* The operator must be `EQUALS (=)`.\n* Supported fields:\n - `campaignId`\n - `insertionOrderId`\n - `entityStatus`\n - `lineItemType`.\n\nExamples:\n\n* All line items under an insertion order: `insertionOrderId=\"1234\"`\n* All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED`\nand `LINE_ITEM_TYPE_DISPLAY_DEFAULT` line items under an advertiser:\n`(entityStatus=\"ENTITY_STATUS_ACTIVE\" OR\nentityStatus=\"ENTITY_STATUS_PAUSED\") AND\nlineItemType=\"LINE_ITEM_TYPE_DISPLAY_DEFAULT\"`\n\nThe length of this field should be no more than 500 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Field by which to sort the list.\nAcceptable values are:\n\n* \"displayName\" (default)\n* \"entityStatus\"\n\nThe default sorting order is ascending. To specify descending order for\na field, a suffix \"desc\" should be added to the field name. Example:\n`displayName desc`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Must be between `1` and `100`. If unspecified will\ndefault to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value\nis specified.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nnext_page_token\nreturned from the previous call to `ListLineItems` method.\nIf not specified, the first page of results will be returned.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/lineItems",
+ "response": {
+ "$ref": "ListLineItemsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "patch": {
+ "description": "Updates an existing line item.\nReturns the updated line item if successful.",
+ "flatPath": "v1/advertisers/{advertisersId}/lineItems/{lineItemsId}",
+ "httpMethod": "PATCH",
+ "id": "displayvideo.advertisers.lineItems.patch",
+ "parameterOrder": [
+ "advertiserId",
+ "lineItemId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Output only. The unique ID of the advertiser the line item belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "lineItemId": {
+ "description": "Output only. The unique ID of the line item. Assigned by the system.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Required. The mask to control which fields to update.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}",
+ "request": {
+ "$ref": "LineItem"
+ },
+ "response": {
+ "$ref": "LineItem"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ }
+ },
+ "resources": {
+ "targetingTypes": {
+ "resources": {
+ "assignedTargetingOptions": {
+ "methods": {
+ "create": {
+ "description": "Assigns a targeting option to a line item.\nReturns the assigned targeting option if successful.",
+ "flatPath": "v1/advertisers/{advertisersId}/lineItems/{lineItemsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions",
+ "httpMethod": "POST",
+ "id": "displayvideo.advertisers.lineItems.targetingTypes.assignedTargetingOptions.create",
+ "parameterOrder": [
+ "advertiserId",
+ "lineItemId",
+ "targetingType"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the advertiser the line item belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "lineItemId": {
+ "description": "Required. The ID of the line item the assigned targeting option will belong to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "targetingType": {
+ "description": "Required. Identifies the type of this assigned targeting option.",
+ "enum": [
+ "TARGETING_TYPE_UNSPECIFIED",
+ "TARGETING_TYPE_CHANNEL",
+ "TARGETING_TYPE_APP_CATEGORY",
+ "TARGETING_TYPE_APP",
+ "TARGETING_TYPE_URL",
+ "TARGETING_TYPE_DAY_AND_TIME",
+ "TARGETING_TYPE_AGE_RANGE",
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
+ "TARGETING_TYPE_GENDER",
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
+ "TARGETING_TYPE_PARENTAL_STATUS",
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
+ "TARGETING_TYPE_DEVICE_TYPE",
+ "TARGETING_TYPE_AUDIENCE_GROUP",
+ "TARGETING_TYPE_BROWSER",
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
+ "TARGETING_TYPE_ENVIRONMENT",
+ "TARGETING_TYPE_CARRIER_AND_ISP",
+ "TARGETING_TYPE_OPERATING_SYSTEM",
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
+ "TARGETING_TYPE_KEYWORD",
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
+ "TARGETING_TYPE_VIEWABILITY",
+ "TARGETING_TYPE_CATEGORY",
+ "TARGETING_TYPE_INVENTORY_SOURCE",
+ "TARGETING_TYPE_LANGUAGE",
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
+ "TARGETING_TYPE_GEO_REGION",
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
+ "TARGETING_TYPE_EXCHANGE",
+ "TARGETING_TYPE_SUB_EXCHANGE"
+ ],
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions",
+ "request": {
+ "$ref": "AssignedTargetingOption"
+ },
+ "response": {
+ "$ref": "AssignedTargetingOption"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "delete": {
+ "description": "Deletes an assigned targeting option from a line item.",
+ "flatPath": "v1/advertisers/{advertisersId}/lineItems/{lineItemsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}",
+ "httpMethod": "DELETE",
+ "id": "displayvideo.advertisers.lineItems.targetingTypes.assignedTargetingOptions.delete",
+ "parameterOrder": [
+ "advertiserId",
+ "lineItemId",
+ "targetingType",
+ "assignedTargetingOptionId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the advertiser the line item belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "assignedTargetingOptionId": {
+ "description": "Required. The ID of the assigned targeting option to delete.",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "lineItemId": {
+ "description": "Required. The ID of the line item the assigned targeting option belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "targetingType": {
+ "description": "Required. Identifies the type of this assigned targeting option.",
+ "enum": [
+ "TARGETING_TYPE_UNSPECIFIED",
+ "TARGETING_TYPE_CHANNEL",
+ "TARGETING_TYPE_APP_CATEGORY",
+ "TARGETING_TYPE_APP",
+ "TARGETING_TYPE_URL",
+ "TARGETING_TYPE_DAY_AND_TIME",
+ "TARGETING_TYPE_AGE_RANGE",
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
+ "TARGETING_TYPE_GENDER",
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
+ "TARGETING_TYPE_PARENTAL_STATUS",
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
+ "TARGETING_TYPE_DEVICE_TYPE",
+ "TARGETING_TYPE_AUDIENCE_GROUP",
+ "TARGETING_TYPE_BROWSER",
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
+ "TARGETING_TYPE_ENVIRONMENT",
+ "TARGETING_TYPE_CARRIER_AND_ISP",
+ "TARGETING_TYPE_OPERATING_SYSTEM",
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
+ "TARGETING_TYPE_KEYWORD",
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
+ "TARGETING_TYPE_VIEWABILITY",
+ "TARGETING_TYPE_CATEGORY",
+ "TARGETING_TYPE_INVENTORY_SOURCE",
+ "TARGETING_TYPE_LANGUAGE",
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
+ "TARGETING_TYPE_GEO_REGION",
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
+ "TARGETING_TYPE_EXCHANGE",
+ "TARGETING_TYPE_SUB_EXCHANGE"
+ ],
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "get": {
+ "description": "Gets a single targeting option assigned to a line item.",
+ "flatPath": "v1/advertisers/{advertisersId}/lineItems/{lineItemsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}",
+ "httpMethod": "GET",
+ "id": "displayvideo.advertisers.lineItems.targetingTypes.assignedTargetingOptions.get",
+ "parameterOrder": [
+ "advertiserId",
+ "lineItemId",
+ "targetingType",
+ "assignedTargetingOptionId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the advertiser the line item belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "assignedTargetingOptionId": {
+ "description": "Required. An identifier unique to the targeting type in this line item that\nidentifies the assigned targeting option being requested.",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "lineItemId": {
+ "description": "Required. The ID of the line item the assigned targeting option belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "targetingType": {
+ "description": "Required. Identifies the type of this assigned targeting option.",
+ "enum": [
+ "TARGETING_TYPE_UNSPECIFIED",
+ "TARGETING_TYPE_CHANNEL",
+ "TARGETING_TYPE_APP_CATEGORY",
+ "TARGETING_TYPE_APP",
+ "TARGETING_TYPE_URL",
+ "TARGETING_TYPE_DAY_AND_TIME",
+ "TARGETING_TYPE_AGE_RANGE",
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
+ "TARGETING_TYPE_GENDER",
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
+ "TARGETING_TYPE_PARENTAL_STATUS",
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
+ "TARGETING_TYPE_DEVICE_TYPE",
+ "TARGETING_TYPE_AUDIENCE_GROUP",
+ "TARGETING_TYPE_BROWSER",
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
+ "TARGETING_TYPE_ENVIRONMENT",
+ "TARGETING_TYPE_CARRIER_AND_ISP",
+ "TARGETING_TYPE_OPERATING_SYSTEM",
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
+ "TARGETING_TYPE_KEYWORD",
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
+ "TARGETING_TYPE_VIEWABILITY",
+ "TARGETING_TYPE_CATEGORY",
+ "TARGETING_TYPE_INVENTORY_SOURCE",
+ "TARGETING_TYPE_LANGUAGE",
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
+ "TARGETING_TYPE_GEO_REGION",
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
+ "TARGETING_TYPE_EXCHANGE",
+ "TARGETING_TYPE_SUB_EXCHANGE"
+ ],
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}",
+ "response": {
+ "$ref": "AssignedTargetingOption"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "list": {
+ "description": "Lists the targeting options assigned to a line item.",
+ "flatPath": "v1/advertisers/{advertisersId}/lineItems/{lineItemsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions",
+ "httpMethod": "GET",
+ "id": "displayvideo.advertisers.lineItems.targetingTypes.assignedTargetingOptions.list",
+ "parameterOrder": [
+ "advertiserId",
+ "lineItemId",
+ "targetingType"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the advertiser the line item belongs to.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "filter": {
+ "description": "Allows filtering by assigned targeting option properties.\n\nSupported syntax:\n\n* Filter expressions are made up of one or more restrictions.\n* Restrictions can be combined by the logical operator `OR`.\n* A restriction has the form of `{field} {operator} {value}`.\n* The operator must be `EQUALS (=)`.\n* Supported fields:\n - `assignedTargetingOptionId`\n - `inheritance`\n\nExamples:\n\n* AssignedTargetingOptions with ID 1 or 2\n`assignedTargetingOptionId=\"1\" OR assignedTargetingOptionId=\"2\"`\n* AssignedTargetingOptions with inheritance status of NOT_INHERITED or\n INHERITED_FROM_PARTNER\n`inheritance=\"NOT_INHERITED\" OR inheritance=\"INHERITED_FROM_PARTNER\"`\n\nThe length of this field should be no more than 500 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "lineItemId": {
+ "description": "Required. The ID of the line item to list assigned targeting options for.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Field by which to sort the list.\nAcceptable values are:\n\n* `assignedTargetingOptionId` (default)\n\nThe default sorting order is ascending. To specify descending order for\na field, a suffix \"desc\" should be added to the field name. Example:\n`assignedTargetingOptionId desc`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Must be between `1` and `100`. If unspecified will\ndefault to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value\nis specified.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nnext_page_token\nreturned from the previous call to `ListLineItemAssignedTargetingOptions`\nmethod. If not specified, the first page of results will be returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "targetingType": {
+ "description": "Required. Identifies the type of assigned targeting options to list.",
+ "enum": [
+ "TARGETING_TYPE_UNSPECIFIED",
+ "TARGETING_TYPE_CHANNEL",
+ "TARGETING_TYPE_APP_CATEGORY",
+ "TARGETING_TYPE_APP",
+ "TARGETING_TYPE_URL",
+ "TARGETING_TYPE_DAY_AND_TIME",
+ "TARGETING_TYPE_AGE_RANGE",
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
+ "TARGETING_TYPE_GENDER",
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
+ "TARGETING_TYPE_PARENTAL_STATUS",
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
+ "TARGETING_TYPE_DEVICE_TYPE",
+ "TARGETING_TYPE_AUDIENCE_GROUP",
+ "TARGETING_TYPE_BROWSER",
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
+ "TARGETING_TYPE_ENVIRONMENT",
+ "TARGETING_TYPE_CARRIER_AND_ISP",
+ "TARGETING_TYPE_OPERATING_SYSTEM",
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
+ "TARGETING_TYPE_KEYWORD",
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
+ "TARGETING_TYPE_VIEWABILITY",
+ "TARGETING_TYPE_CATEGORY",
+ "TARGETING_TYPE_INVENTORY_SOURCE",
+ "TARGETING_TYPE_LANGUAGE",
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
+ "TARGETING_TYPE_GEO_REGION",
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
+ "TARGETING_TYPE_EXCHANGE",
+ "TARGETING_TYPE_SUB_EXCHANGE"
+ ],
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions",
+ "response": {
+ "$ref": "ListLineItemAssignedTargetingOptionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "locationLists": {
+ "methods": {
+ "create": {
+ "description": "Creates a new location list. Returns the newly created location list if\nsuccessful.",
+ "flatPath": "v1/advertisers/{advertisersId}/locationLists",
+ "httpMethod": "POST",
+ "id": "displayvideo.advertisers.locationLists.create",
+ "parameterOrder": [
+ "advertiserId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the DV360 advertiser to which the location list belongs.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/locationLists",
+ "request": {
+ "$ref": "LocationList"
+ },
+ "response": {
+ "$ref": "LocationList"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "get": {
+ "description": "Gets a location list.",
+ "flatPath": "v1/advertisers/{advertisersId}/locationLists/{locationListsId}",
+ "httpMethod": "GET",
+ "id": "displayvideo.advertisers.locationLists.get",
+ "parameterOrder": [
+ "advertiserId",
+ "locationListId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the DV360 advertiser to which the fetched location list belongs.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "locationListId": {
+ "description": "Required. The ID of the location list to fetch.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/locationLists/{+locationListId}",
+ "response": {
+ "$ref": "LocationList"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "list": {
+ "description": "Lists location lists based on a given advertiser id.",
+ "flatPath": "v1/advertisers/{advertisersId}/locationLists",
+ "httpMethod": "GET",
+ "id": "displayvideo.advertisers.locationLists.list",
+ "parameterOrder": [
+ "advertiserId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the DV360 advertiser to which the fetched location lists belong.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "filter": {
+ "description": "Allows filtering by location list fields.\n\nSupported syntax:\n\n* Filter expressions are made up of one or more restrictions.\n* Restrictions can be combined by `AND` or `OR` logical operators. A\nsequence of restrictions implicitly uses `AND`.\n* A restriction has the form of `{field} {operator} {value}`.\n* The operator must be `EQUALS (=)`.\n* Supported fields:\n - `locationType`\n\nExamples:\n\n* All regional location list:\n`locationType=\"TARGETING_LOCATION_TYPE_REGIONAL\"`\n* All proximity location list:\n`locationType=\"TARGETING_LOCATION_TYPE_PROXIMITY\"`",
+ "location": "query",
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Field by which to sort the list.\nAcceptable values are:\n\n* `locationListId` (default)\n* `displayName`\n\nThe default sorting order is ascending. To specify descending order for\na field, a suffix \"desc\" should be added to the field name. Example:\n`displayName desc`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Must be between `1` and `100`.\nDefaults to `100` if not set. Returns error code `INVALID_ARGUMENT` if an\ninvalid value is specified.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\n\nTypically, this is the value of\nnext_page_token\nreturned from the previous call to `ListLocationLists` method.\nIf not specified, the first page of results will be returned.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/locationLists",
+ "response": {
+ "$ref": "ListLocationListsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "patch": {
+ "description": "Updates a location list. Returns the updated location list if successful.",
+ "flatPath": "v1/advertisers/{advertisersId}/locationLists/{locationListId}",
+ "httpMethod": "PATCH",
+ "id": "displayvideo.advertisers.locationLists.patch",
+ "parameterOrder": [
+ "advertiserId",
+ "locationListId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the DV360 advertiser to which the location lists belongs.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "locationListId": {
+ "description": "Output only. The unique ID of the location list. Assigned by the system.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Required. The mask to control which fields to update.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/locationLists/{locationListId}",
+ "request": {
+ "$ref": "LocationList"
+ },
+ "response": {
+ "$ref": "LocationList"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ }
+ },
+ "resources": {
+ "assignedLocations": {
+ "methods": {
+ "bulkEdit": {
+ "description": "Bulk edits multiple assignments between locations and a single location\nlist.\n\nThe operation will delete the assigned locations provided in\nBulkEditAssignedLocationsRequest.deleted_assigned_locations and then\ncreate the assigned locations provided in\nBulkEditAssignedLocationsRequest.created_assigned_locations.",
+ "flatPath": "v1/advertisers/{advertiserId}/locationLists/{locationListsId}/assignedLocations:bulkEdit",
+ "httpMethod": "POST",
+ "id": "displayvideo.advertisers.locationLists.assignedLocations.bulkEdit",
+ "parameterOrder": [
+ "advertiserId",
+ "locationListId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the DV360 advertiser to which the location list belongs.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "locationListId": {
+ "description": "Required. The ID of the location list to which these assignments are assigned.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{advertiserId}/locationLists/{+locationListId}/assignedLocations:bulkEdit",
+ "request": {
+ "$ref": "BulkEditAssignedLocationsRequest"
+ },
+ "response": {
+ "$ref": "BulkEditAssignedLocationsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "create": {
+ "description": "Creates an assignment between a location and a location list.",
+ "flatPath": "v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations",
+ "httpMethod": "POST",
+ "id": "displayvideo.advertisers.locationLists.assignedLocations.create",
+ "parameterOrder": [
+ "advertiserId",
+ "locationListId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the DV360 advertiser to which the location list belongs.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "locationListId": {
+ "description": "Required. The ID of the location list for which the assignment will be created.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations",
+ "request": {
+ "$ref": "AssignedLocation"
+ },
+ "response": {
+ "$ref": "AssignedLocation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "delete": {
+ "description": "Deletes the assignment between a location and a location list.",
+ "flatPath": "v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations/{assignedLocationsId}",
+ "httpMethod": "DELETE",
+ "id": "displayvideo.advertisers.locationLists.assignedLocations.delete",
+ "parameterOrder": [
+ "advertiserId",
+ "locationListId",
+ "assignedLocationId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the DV360 advertiser to which the location list belongs.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "assignedLocationId": {
+ "description": "Required. The ID of the assigned location to delete.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "locationListId": {
+ "description": "Required. The ID of the location list to which this assignment is assigned.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations/{+assignedLocationId}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "list": {
+ "description": "Lists locations assigned to a location list.",
+ "flatPath": "v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations",
+ "httpMethod": "GET",
+ "id": "displayvideo.advertisers.locationLists.assignedLocations.list",
+ "parameterOrder": [
+ "advertiserId",
+ "locationListId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the DV360 advertiser to which the location list belongs.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "filter": {
+ "description": "Allows filtering by location list assignment fields.\n\nSupported syntax:\n\n* Filter expressions are made up of one or more restrictions.\n* Restrictions can be combined by the logical operator `OR`.\n* A restriction has the form of `{field} {operator} {value}`.\n* The operator must be `EQUALS (=)`.\n* Supported fields:\n - `assignedLocationId`\n\nThe length of this field should be no more than 500 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "locationListId": {
+ "description": "Required. The ID of the location list to which these assignments are assigned.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Field by which to sort the list.\nAcceptable values are:\n\n* `assignedLocationId` (default)\n\nThe default sorting order is ascending. To specify descending order for a\nfield, a suffix \" desc\" should be added to the field name. Example:\n`assignedLocationId desc`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Must be between `1` and `100`. If unspecified will\ndefault to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value\nis specified.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\n\nTypically, this is the value of\nnext_page_token\nreturned from the previous call to `ListAssignedLocations`\nmethod. If not specified, the first page of results will be returned.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations",
+ "response": {
+ "$ref": "ListAssignedLocationsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "negativeKeywordLists": {
+ "methods": {
+ "create": {
+ "description": "Creates a new negative keyword list. Returns the newly created negative\nkeyword list if successful.",
+ "flatPath": "v1/advertisers/{advertisersId}/negativeKeywordLists",
+ "httpMethod": "POST",
+ "id": "displayvideo.advertisers.negativeKeywordLists.create",
+ "parameterOrder": [
+ "advertiserId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the DV360 advertiser to which the negative keyword list will\nbelong.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/negativeKeywordLists",
+ "request": {
+ "$ref": "NegativeKeywordList"
+ },
+ "response": {
+ "$ref": "NegativeKeywordList"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "delete": {
+ "description": "Deletes a negative keyword list given an advertiser ID and a negative\nkeyword list ID.",
+ "flatPath": "v1/advertisers/{advertisersId}/negativeKeywordLists/{negativeKeywordListsId}",
+ "httpMethod": "DELETE",
+ "id": "displayvideo.advertisers.negativeKeywordLists.delete",
+ "parameterOrder": [
+ "advertiserId",
+ "negativeKeywordListId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the DV360 advertiser to which the negative keyword list belongs.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "negativeKeywordListId": {
+ "description": "Required. The ID of the negative keyword list to delete.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "get": {
+ "description": "Gets a negative keyword list given an advertiser ID and a negative keyword\nlist ID.",
+ "flatPath": "v1/advertisers/{advertisersId}/negativeKeywordLists/{negativeKeywordListsId}",
+ "httpMethod": "GET",
+ "id": "displayvideo.advertisers.negativeKeywordLists.get",
+ "parameterOrder": [
+ "advertiserId",
+ "negativeKeywordListId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the DV360 advertiser to which the fetched negative keyword list\nbelongs.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "negativeKeywordListId": {
+ "description": "Required. The ID of the negative keyword list to fetch.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}",
+ "response": {
+ "$ref": "NegativeKeywordList"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "list": {
+ "description": "Lists negative keyword lists based on a given advertiser id.",
+ "flatPath": "v1/advertisers/{advertisersId}/negativeKeywordLists",
+ "httpMethod": "GET",
+ "id": "displayvideo.advertisers.negativeKeywordLists.list",
+ "parameterOrder": [
+ "advertiserId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the DV360 advertiser to which the fetched negative keyword lists\nbelong.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Must be between `1` and `100`.\nDefaults to `100` if not set. Returns error code `INVALID_ARGUMENT` if an\ninvalid value is specified.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\n\nTypically, this is the value of\nnext_page_token\nreturned from the previous call to `ListNegativeKeywordLists` method.\nIf not specified, the first page of results will be returned.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/negativeKeywordLists",
+ "response": {
+ "$ref": "ListNegativeKeywordListsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "patch": {
+ "description": "Updates a negative keyword list. Returns the updated negative keyword list\nif successful.",
+ "flatPath": "v1/advertisers/{advertisersId}/negativeKeywordLists/{negativeKeywordListId}",
+ "httpMethod": "PATCH",
+ "id": "displayvideo.advertisers.negativeKeywordLists.patch",
+ "parameterOrder": [
+ "advertiserId",
+ "negativeKeywordListId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the DV360 advertiser to which the negative keyword list belongs.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "negativeKeywordListId": {
+ "description": "Output only. The unique ID of the negative keyword list. Assigned by the system.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Required. The mask to control which fields to update.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/negativeKeywordLists/{negativeKeywordListId}",
+ "request": {
+ "$ref": "NegativeKeywordList"
+ },
+ "response": {
+ "$ref": "NegativeKeywordList"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ }
+ },
+ "resources": {
+ "negativeKeywords": {
+ "methods": {
+ "bulkEdit": {
+ "description": "Bulk edits negative keywords in a single negative keyword list.\n\nThe operation will delete the negative keywords provided in\nBulkEditNegativeKeywordsRequest.deleted_negative_keywords and then\ncreate the negative keywords provided in\nBulkEditNegativeKeywordsRequest.created_negative_keywords.\n\nThis operation is guaranteed to be atomic and will never result in a\npartial success or partial failure.",
+ "flatPath": "v1/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListsId}/negativeKeywords:bulkEdit",
+ "httpMethod": "POST",
+ "id": "displayvideo.advertisers.negativeKeywordLists.negativeKeywords.bulkEdit",
+ "parameterOrder": [
+ "advertiserId",
+ "negativeKeywordListId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the DV360 advertiser to which the parent negative keyword list\nbelongs.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "negativeKeywordListId": {
+ "description": "Required. The ID of the parent negative keyword list to which the negative keywords\nbelong.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords:bulkEdit",
+ "request": {
+ "$ref": "BulkEditNegativeKeywordsRequest"
+ },
+ "response": {
+ "$ref": "BulkEditNegativeKeywordsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "create": {
+ "description": "Creates a negative keyword in a negative keyword list.",
+ "flatPath": "v1/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListsId}/negativeKeywords",
+ "httpMethod": "POST",
+ "id": "displayvideo.advertisers.negativeKeywordLists.negativeKeywords.create",
+ "parameterOrder": [
+ "advertiserId",
+ "negativeKeywordListId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the DV360 advertiser to which the parent negative keyword list\nbelongs.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "negativeKeywordListId": {
+ "description": "Required. The ID of the parent negative keyword list in which the negative keyword\nwill be created.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords",
+ "request": {
+ "$ref": "NegativeKeyword"
+ },
+ "response": {
+ "$ref": "NegativeKeyword"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "delete": {
+ "description": "Deletes a negative keyword from a negative keyword list.",
+ "flatPath": "v1/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListsId}/negativeKeywords/{negativeKeywordsId}",
+ "httpMethod": "DELETE",
+ "id": "displayvideo.advertisers.negativeKeywordLists.negativeKeywords.delete",
+ "parameterOrder": [
+ "advertiserId",
+ "negativeKeywordListId",
+ "keywordValue"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the DV360 advertiser to which the parent negative keyword list\nbelongs.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "keywordValue": {
+ "description": "Required. The keyword value of the negative keyword to delete.",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "negativeKeywordListId": {
+ "description": "Required. The ID of the parent negative keyword list to which the negative keyword\nbelongs.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords/{+keywordValue}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "list": {
+ "description": "Lists negative keywords in a negative keyword list.",
+ "flatPath": "v1/advertisers/{advertisersId}/negativeKeywordLists/{negativeKeywordListsId}/negativeKeywords",
+ "httpMethod": "GET",
+ "id": "displayvideo.advertisers.negativeKeywordLists.negativeKeywords.list",
+ "parameterOrder": [
+ "advertiserId",
+ "negativeKeywordListId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the DV360 advertiser to which the parent negative keyword list\nbelongs.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "filter": {
+ "description": "Allows filtering by negative keyword fields.\n\nSupported syntax:\n\n* Filter expressions for negative keyword currently can only contain at\nmost one\n* restriction.\n* A restriction has the form of `{field} {operator} {value}`.\n* The operator must be `CONTAINS (:)`.\n* Supported fields:\n - `keywordValue`\n\nExamples:\n\n* All negative keywords for which the keyword value contains \"google\":\n`keywordValue : \"google\"`",
+ "location": "query",
+ "type": "string"
+ },
+ "negativeKeywordListId": {
+ "description": "Required. The ID of the parent negative keyword list to which the requested negative\nkeywords belong.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Field by which to sort the list.\nAcceptable values are:\n\n* `keywordValue` (default)\n\nThe default sorting order is ascending. To specify descending order for a\nfield, a suffix \" desc\" should be added to the field name. Example:\n`keywordValue desc`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Must be between `1` and `100`. If unspecified will\ndefault to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value\nis specified.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\n\nTypically, this is the value of\nnext_page_token returned\nfrom the previous call to `ListNegativeKeywords` method. If not specified,\nthe first page of results will be returned.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords",
+ "response": {
+ "$ref": "ListNegativeKeywordsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "targetingTypes": {
+ "resources": {
+ "assignedTargetingOptions": {
+ "methods": {
+ "create": {
+ "description": "Assigns a targeting option to an advertiser.\nReturns the assigned targeting option if successful.",
+ "flatPath": "v1/advertisers/{advertisersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions",
+ "httpMethod": "POST",
+ "id": "displayvideo.advertisers.targetingTypes.assignedTargetingOptions.create",
+ "parameterOrder": [
+ "advertiserId",
+ "targetingType"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the advertiser.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "targetingType": {
+ "description": "Required. Identifies the type of this assigned targeting option.",
+ "enum": [
+ "TARGETING_TYPE_UNSPECIFIED",
+ "TARGETING_TYPE_CHANNEL",
+ "TARGETING_TYPE_APP_CATEGORY",
+ "TARGETING_TYPE_APP",
+ "TARGETING_TYPE_URL",
+ "TARGETING_TYPE_DAY_AND_TIME",
+ "TARGETING_TYPE_AGE_RANGE",
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
+ "TARGETING_TYPE_GENDER",
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
+ "TARGETING_TYPE_PARENTAL_STATUS",
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
+ "TARGETING_TYPE_DEVICE_TYPE",
+ "TARGETING_TYPE_AUDIENCE_GROUP",
+ "TARGETING_TYPE_BROWSER",
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
+ "TARGETING_TYPE_ENVIRONMENT",
+ "TARGETING_TYPE_CARRIER_AND_ISP",
+ "TARGETING_TYPE_OPERATING_SYSTEM",
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
+ "TARGETING_TYPE_KEYWORD",
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
+ "TARGETING_TYPE_VIEWABILITY",
+ "TARGETING_TYPE_CATEGORY",
+ "TARGETING_TYPE_INVENTORY_SOURCE",
+ "TARGETING_TYPE_LANGUAGE",
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
+ "TARGETING_TYPE_GEO_REGION",
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
+ "TARGETING_TYPE_EXCHANGE",
+ "TARGETING_TYPE_SUB_EXCHANGE"
+ ],
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions",
+ "request": {
+ "$ref": "AssignedTargetingOption"
+ },
+ "response": {
+ "$ref": "AssignedTargetingOption"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "delete": {
+ "description": "Deletes an assigned targeting option from an advertiser.",
+ "flatPath": "v1/advertisers/{advertisersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}",
+ "httpMethod": "DELETE",
+ "id": "displayvideo.advertisers.targetingTypes.assignedTargetingOptions.delete",
+ "parameterOrder": [
+ "advertiserId",
+ "targetingType",
+ "assignedTargetingOptionId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the advertiser.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "assignedTargetingOptionId": {
+ "description": "Required. The ID of the assigned targeting option to delete.",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "targetingType": {
+ "description": "Required. Identifies the type of this assigned targeting option.",
+ "enum": [
+ "TARGETING_TYPE_UNSPECIFIED",
+ "TARGETING_TYPE_CHANNEL",
+ "TARGETING_TYPE_APP_CATEGORY",
+ "TARGETING_TYPE_APP",
+ "TARGETING_TYPE_URL",
+ "TARGETING_TYPE_DAY_AND_TIME",
+ "TARGETING_TYPE_AGE_RANGE",
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
+ "TARGETING_TYPE_GENDER",
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
+ "TARGETING_TYPE_PARENTAL_STATUS",
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
+ "TARGETING_TYPE_DEVICE_TYPE",
+ "TARGETING_TYPE_AUDIENCE_GROUP",
+ "TARGETING_TYPE_BROWSER",
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
+ "TARGETING_TYPE_ENVIRONMENT",
+ "TARGETING_TYPE_CARRIER_AND_ISP",
+ "TARGETING_TYPE_OPERATING_SYSTEM",
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
+ "TARGETING_TYPE_KEYWORD",
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
+ "TARGETING_TYPE_VIEWABILITY",
+ "TARGETING_TYPE_CATEGORY",
+ "TARGETING_TYPE_INVENTORY_SOURCE",
+ "TARGETING_TYPE_LANGUAGE",
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
+ "TARGETING_TYPE_GEO_REGION",
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
+ "TARGETING_TYPE_EXCHANGE",
+ "TARGETING_TYPE_SUB_EXCHANGE"
+ ],
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "get": {
+ "description": "Gets a single targeting option assigned to an advertiser.",
+ "flatPath": "v1/advertisers/{advertisersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}",
+ "httpMethod": "GET",
+ "id": "displayvideo.advertisers.targetingTypes.assignedTargetingOptions.get",
+ "parameterOrder": [
+ "advertiserId",
+ "targetingType",
+ "assignedTargetingOptionId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the advertiser.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "assignedTargetingOptionId": {
+ "description": "Required. An identifier unique to the targeting type in this advertiser that\nidentifies the assigned targeting option being requested.",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "targetingType": {
+ "description": "Required. Identifies the type of this assigned targeting option.",
+ "enum": [
+ "TARGETING_TYPE_UNSPECIFIED",
+ "TARGETING_TYPE_CHANNEL",
+ "TARGETING_TYPE_APP_CATEGORY",
+ "TARGETING_TYPE_APP",
+ "TARGETING_TYPE_URL",
+ "TARGETING_TYPE_DAY_AND_TIME",
+ "TARGETING_TYPE_AGE_RANGE",
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
+ "TARGETING_TYPE_GENDER",
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
+ "TARGETING_TYPE_PARENTAL_STATUS",
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
+ "TARGETING_TYPE_DEVICE_TYPE",
+ "TARGETING_TYPE_AUDIENCE_GROUP",
+ "TARGETING_TYPE_BROWSER",
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
+ "TARGETING_TYPE_ENVIRONMENT",
+ "TARGETING_TYPE_CARRIER_AND_ISP",
+ "TARGETING_TYPE_OPERATING_SYSTEM",
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
+ "TARGETING_TYPE_KEYWORD",
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
+ "TARGETING_TYPE_VIEWABILITY",
+ "TARGETING_TYPE_CATEGORY",
+ "TARGETING_TYPE_INVENTORY_SOURCE",
+ "TARGETING_TYPE_LANGUAGE",
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
+ "TARGETING_TYPE_GEO_REGION",
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
+ "TARGETING_TYPE_EXCHANGE",
+ "TARGETING_TYPE_SUB_EXCHANGE"
+ ],
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}",
+ "response": {
+ "$ref": "AssignedTargetingOption"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "list": {
+ "description": "Lists the targeting options assigned to an advertiser.",
+ "flatPath": "v1/advertisers/{advertisersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions",
+ "httpMethod": "GET",
+ "id": "displayvideo.advertisers.targetingTypes.assignedTargetingOptions.list",
+ "parameterOrder": [
+ "advertiserId",
+ "targetingType"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The ID of the advertiser.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "filter": {
+ "description": "Allows filtering by assigned targeting option properties.\n\nSupported syntax:\n\n* Filter expressions are made up of one or more restrictions.\n* Restrictions can be combined by the logical operator `OR`.\n* A restriction has the form of `{field} {operator} {value}`.\n* The operator must be `EQUALS (=)`.\n* Supported fields:\n - `assignedTargetingOptionId`\n\nExamples:\n\n* AssignedTargetingOption with ID 123456\n`assignedTargetingOptionId=\"123456\"`\n\nThe length of this field should be no more than 500 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Field by which to sort the list.\nAcceptable values are:\n\n* `assignedTargetingOptionId` (default)\n\nThe default sorting order is ascending. To specify descending order for\na field, a suffix \"desc\" should be added to the field name. Example:\n`assignedTargetingOptionId desc`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Must be between `1` and `100`. If unspecified will\ndefault to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value\nis specified.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nnext_page_token\nreturned from the previous call to `ListAdvertiserAssignedTargetingOptions`\nmethod. If not specified, the first page of results will be returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "targetingType": {
+ "description": "Required. Identifies the type of assigned targeting options to list.",
+ "enum": [
+ "TARGETING_TYPE_UNSPECIFIED",
+ "TARGETING_TYPE_CHANNEL",
+ "TARGETING_TYPE_APP_CATEGORY",
+ "TARGETING_TYPE_APP",
+ "TARGETING_TYPE_URL",
+ "TARGETING_TYPE_DAY_AND_TIME",
+ "TARGETING_TYPE_AGE_RANGE",
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
+ "TARGETING_TYPE_GENDER",
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
+ "TARGETING_TYPE_PARENTAL_STATUS",
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
+ "TARGETING_TYPE_DEVICE_TYPE",
+ "TARGETING_TYPE_AUDIENCE_GROUP",
+ "TARGETING_TYPE_BROWSER",
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
+ "TARGETING_TYPE_ENVIRONMENT",
+ "TARGETING_TYPE_CARRIER_AND_ISP",
+ "TARGETING_TYPE_OPERATING_SYSTEM",
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
+ "TARGETING_TYPE_KEYWORD",
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
+ "TARGETING_TYPE_VIEWABILITY",
+ "TARGETING_TYPE_CATEGORY",
+ "TARGETING_TYPE_INVENTORY_SOURCE",
+ "TARGETING_TYPE_LANGUAGE",
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
+ "TARGETING_TYPE_GEO_REGION",
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
+ "TARGETING_TYPE_EXCHANGE",
+ "TARGETING_TYPE_SUB_EXCHANGE"
+ ],
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions",
+ "response": {
+ "$ref": "ListAdvertiserAssignedTargetingOptionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "combinedAudiences": {
+ "methods": {
+ "get": {
+ "description": "Gets a combined audience.",
+ "flatPath": "v1/combinedAudiences/{combinedAudiencesId}",
+ "httpMethod": "GET",
+ "id": "displayvideo.combinedAudiences.get",
+ "parameterOrder": [
+ "combinedAudienceId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that has access to the fetched combined\naudience.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "combinedAudienceId": {
+ "description": "Required. The ID of the combined audience to fetch.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that has access to the fetched combined audience.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/combinedAudiences/{+combinedAudienceId}",
+ "response": {
+ "$ref": "CombinedAudience"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "list": {
+ "description": "Lists combined audiences.\n\nThe order is defined by the\norder_by parameter.",
+ "flatPath": "v1/combinedAudiences",
+ "httpMethod": "GET",
+ "id": "displayvideo.combinedAudiences.list",
+ "parameterOrder": [],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that has access to the fetched combined\naudiences.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "filter": {
+ "description": "Allows filtering by combined audience fields.\n\nSupported syntax:\n\n* Filter expressions for combined audiences currently can only contain at\nmost one restriction.\n* A restriction has the form of `{field} {operator} {value}`.\n* The operator must be `CONTAINS (:)`.\n* Supported fields:\n - `displayName`\n\nExamples:\n\n* All combined audiences for which the display name contains \"Google\":\n`displayName : \"Google\"`.\n\nThe length of this field should be no more than 500 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Field by which to sort the list.\nAcceptable values are:\n\n* `combinedAudienceId` (default)\n* `displayName`\n\nThe default sorting order is ascending. To specify descending order for\na field, a suffix \"desc\" should be added to the field name. Example:\n`displayName desc`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Must be between `1` and `100`. If unspecified will\ndefault to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value\nis specified.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nnext_page_token\nreturned from the previous call to `ListCombinedAudiences` method.\nIf not specified, the first page of results will be returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that has access to the fetched combined audiences.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/combinedAudiences",
+ "response": {
+ "$ref": "ListCombinedAudiencesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ }
+ }
+ },
+ "customLists": {
+ "methods": {
+ "get": {
+ "description": "Gets a custom list.",
+ "flatPath": "v1/customLists/{customListsId}",
+ "httpMethod": "GET",
+ "id": "displayvideo.customLists.get",
+ "parameterOrder": [
+ "customListId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the DV360 advertiser that has access to the fetched custom\nlists.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "customListId": {
+ "description": "Required. The ID of the custom list to fetch.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/customLists/{+customListId}",
+ "response": {
+ "$ref": "CustomList"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "list": {
+ "description": "Lists custom lists.\n\nThe order is defined by the order_by\nparameter.",
+ "flatPath": "v1/customLists",
+ "httpMethod": "GET",
+ "id": "displayvideo.customLists.list",
+ "parameterOrder": [],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the DV360 advertiser that has access to the fetched custom\nlists.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "filter": {
+ "description": "Allows filtering by custom list fields.\n\nSupported syntax:\n\n* Filter expressions for custom lists currently can only contain at\nmost one restriction.\n* A restriction has the form of `{field} {operator} {value}`.\n* The operator must be `CONTAINS (:)`.\n* Supported fields:\n - `displayName`\n\nExamples:\n\n* All custom lists for which the display name contains \"Google\":\n`displayName : \"Google\"`.\n\nThe length of this field should be no more than 500 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Field by which to sort the list.\nAcceptable values are:\n\n* `customListId` (default)\n* `displayName`\n\nThe default sorting order is ascending. To specify descending order for\na field, a suffix \"desc\" should be added to the field name. Example:\n`displayName desc`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Must be between `1` and `100`. If unspecified will\ndefault to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value\nis specified.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nnext_page_token\nreturned from the previous call to `ListCustomLists` method.\nIf not specified, the first page of results will be returned.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/customLists",
+ "response": {
+ "$ref": "ListCustomListsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ }
+ }
+ },
+ "firstAndThirdPartyAudiences": {
+ "methods": {
+ "get": {
+ "description": "Gets a first and third party audience.",
+ "flatPath": "v1/firstAndThirdPartyAudiences/{firstAndThirdPartyAudiencesId}",
+ "httpMethod": "GET",
+ "id": "displayvideo.firstAndThirdPartyAudiences.get",
+ "parameterOrder": [
+ "firstAndThirdPartyAudienceId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that has access to the fetched first and\nthird party audience.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "firstAndThirdPartyAudienceId": {
+ "description": "Required. The ID of the first and third party audience to fetch.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that has access to the fetched first and\nthird party audience.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/firstAndThirdPartyAudiences/{+firstAndThirdPartyAudienceId}",
+ "response": {
+ "$ref": "FirstAndThirdPartyAudience"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "list": {
+ "description": "Lists first and third party audiences.\n\nThe order is defined by the\norder_by parameter.",
+ "flatPath": "v1/firstAndThirdPartyAudiences",
+ "httpMethod": "GET",
+ "id": "displayvideo.firstAndThirdPartyAudiences.list",
+ "parameterOrder": [],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that has access to the fetched first and\nthird party audiences.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "filter": {
+ "description": "Allows filtering by first and third party audience fields.\n\nSupported syntax:\n\n* Filter expressions for first and third party audiences currently can\nonly contain at most one restriction.\n* A restriction has the form of `{field} {operator} {value}`.\n* The operator must be `CONTAINS (:)`.\n* Supported fields:\n - `displayName`\n\nExamples:\n\n* All first and third party audiences for which the display name contains\n\"Google\": `displayName : \"Google\"`.\n\nThe length of this field should be no more than 500 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Field by which to sort the list.\nAcceptable values are:\n\n* `firstAndThirdPartyAudienceId` (default)\n* `displayName`\n\nThe default sorting order is ascending. To specify descending order for\na field, a suffix \"desc\" should be added to the field name. Example:\n`displayName desc`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Must be between `1` and `100`. If unspecified will\ndefault to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value\nis specified.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nnext_page_token\nreturned from the previous call to `ListFirstAndThirdPartyAudiences`\nmethod. If not specified, the first page of results will be returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that has access to the fetched first and\nthird party audiences.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/firstAndThirdPartyAudiences",
+ "response": {
+ "$ref": "ListFirstAndThirdPartyAudiencesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ }
+ }
+ },
+ "floodlightGroups": {
+ "methods": {
+ "get": {
+ "description": "Gets a Floodlight group.",
+ "flatPath": "v1/floodlightGroups/{floodlightGroupsId}",
+ "httpMethod": "GET",
+ "id": "displayvideo.floodlightGroups.get",
+ "parameterOrder": [
+ "floodlightGroupId"
+ ],
+ "parameters": {
+ "floodlightGroupId": {
+ "description": "Required. The ID of the Floodlight group to fetch.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "Required. The partner context by which the Floodlight group is being accessed.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/floodlightGroups/{+floodlightGroupId}",
+ "response": {
+ "$ref": "FloodlightGroup"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "patch": {
+ "description": "Updates an existing Floodlight group.\nReturns the updated Floodlight group if successful.",
+ "flatPath": "v1/floodlightGroups/{floodlightGroupId}",
+ "httpMethod": "PATCH",
+ "id": "displayvideo.floodlightGroups.patch",
+ "parameterOrder": [
+ "floodlightGroupId"
+ ],
+ "parameters": {
+ "floodlightGroupId": {
+ "description": "Output only. The unique ID of the Floodlight group. Assigned by the system.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "Required. The partner context by which the Floodlight group is being accessed.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Required. The mask to control which fields to update.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/floodlightGroups/{floodlightGroupId}",
+ "request": {
+ "$ref": "FloodlightGroup"
+ },
+ "response": {
+ "$ref": "FloodlightGroup"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ }
+ }
+ },
+ "googleAudiences": {
+ "methods": {
+ "get": {
+ "description": "Gets a Google audience.",
+ "flatPath": "v1/googleAudiences/{googleAudiencesId}",
+ "httpMethod": "GET",
+ "id": "displayvideo.googleAudiences.get",
+ "parameterOrder": [
+ "googleAudienceId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that has access to the fetched Google audience.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "googleAudienceId": {
+ "description": "Required. The ID of the Google audience to fetch.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that has access to the fetched Google audience.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/googleAudiences/{+googleAudienceId}",
+ "response": {
+ "$ref": "GoogleAudience"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "list": {
+ "description": "Lists Google audiences.\n\nThe order is defined by the order_by\nparameter.",
+ "flatPath": "v1/googleAudiences",
+ "httpMethod": "GET",
+ "id": "displayvideo.googleAudiences.list",
+ "parameterOrder": [],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that has access to the fetched Google audiences.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "filter": {
+ "description": "Allows filtering by Google audience fields.\n\nSupported syntax:\n\n* Filter expressions for Google audiences currently can only contain at\nmost one restriction.\n* A restriction has the form of `{field} {operator} {value}`.\n* The operator must be `CONTAINS (:)`.\n* Supported fields:\n - `displayName`\n\nExamples:\n\n* All Google audiences for which the display name contains \"Google\":\n`displayName : \"Google\"`.\n\nThe length of this field should be no more than 500 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Field by which to sort the list.\nAcceptable values are:\n\n* `googleAudienceId` (default)\n* `displayName`\n\nThe default sorting order is ascending. To specify descending order for\na field, a suffix \"desc\" should be added to the field name. Example:\n`displayName desc`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Must be between `1` and `100`. If unspecified will\ndefault to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value\nis specified.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nnext_page_token\nreturned from the previous call to `ListGoogleAudiences` method.\nIf not specified, the first page of results will be returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that has access to the fetched Google audiences.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/googleAudiences",
+ "response": {
+ "$ref": "ListGoogleAudiencesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ }
+ }
+ },
+ "inventorySourceGroups": {
+ "methods": {
+ "create": {
+ "description": "Creates a new inventory source group. Returns the newly created inventory\nsource group if successful.",
+ "flatPath": "v1/inventorySourceGroups",
+ "httpMethod": "POST",
+ "id": "displayvideo.inventorySourceGroups.create",
+ "parameterOrder": [],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that owns the inventory source group.\n\nThe parent partner will not have access to this group.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that owns the inventory source group.\n\nOnly this partner will have write access to this group. Only advertisers\nto which this group is explicitly shared will have read access to this\ngroup.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/inventorySourceGroups",
+ "request": {
+ "$ref": "InventorySourceGroup"
+ },
+ "response": {
+ "$ref": "InventorySourceGroup"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "delete": {
+ "description": "Deletes an inventory source group.",
+ "flatPath": "v1/inventorySourceGroups/{inventorySourceGroupsId}",
+ "httpMethod": "DELETE",
+ "id": "displayvideo.inventorySourceGroups.delete",
+ "parameterOrder": [
+ "inventorySourceGroupId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that owns the inventory source group.\n\nThe parent partner does not have access to this group.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "inventorySourceGroupId": {
+ "description": "Required. The ID of the inventory source group to delete.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that owns the inventory source group.\n\nOnly this partner has write access to this group.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/inventorySourceGroups/{+inventorySourceGroupId}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "get": {
+ "description": "Gets an inventory source group.",
+ "flatPath": "v1/inventorySourceGroups/{inventorySourceGroupsId}",
+ "httpMethod": "GET",
+ "id": "displayvideo.inventorySourceGroups.get",
+ "parameterOrder": [
+ "inventorySourceGroupId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that has access to the inventory source group.\n\nIf an inventory source group is partner-owned, only advertisers to which\nthe group is explicitly shared can access the group.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "inventorySourceGroupId": {
+ "description": "Required. The ID of the inventory source group to fetch.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that has access to the inventory source group.\n\nA partner cannot access an advertiser-owned inventory source group.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/inventorySourceGroups/{+inventorySourceGroupId}",
+ "response": {
+ "$ref": "InventorySourceGroup"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "list": {
+ "description": "Lists inventory source groups that are accessible to the current user.\n\nThe order is defined by the\norder_by parameter.",
+ "flatPath": "v1/inventorySourceGroups",
+ "httpMethod": "GET",
+ "id": "displayvideo.inventorySourceGroups.list",
+ "parameterOrder": [],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that has access to the inventory source group.\n\nIf an inventory source group is partner-owned, only advertisers to which\nthe group is explicitly shared can access the group.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "filter": {
+ "description": "Allows filtering by inventory source group properties.\n\nSupported syntax:\n\n* Filter expressions are made up of one or more restrictions.\n* Restrictions can be combined by the logical operator `OR`.\n* A restriction has the form of `{field} {operator} {value}`.\n* The operator must be `EQUALS (=)`.\n* Supported fields:\n - `inventorySourceGroupId`\n\nThe length of this field should be no more than 500 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Field by which to sort the list.\nAcceptable values are:\n\n* `displayName` (default)\n* `inventorySourceGroupId`\n\nThe default sorting order is ascending. To specify descending order for\na field, a suffix \"desc\" should be added to the field name. For example,\n`displayName desc`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Must be between `1` and `100`. If unspecified will\ndefault to `100`.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nnext_page_token\nreturned from the previous call to `ListInventorySources` method.\nIf not specified, the first page of results will be returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that has access to the inventory source group.\n\nA partner cannot access advertiser-owned inventory source groups.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/inventorySourceGroups",
+ "response": {
+ "$ref": "ListInventorySourceGroupsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "patch": {
+ "description": "Updates an inventory source group. Returns the updated inventory source\ngroup if successful.",
+ "flatPath": "v1/inventorySourceGroups/{inventorySourceGroupId}",
+ "httpMethod": "PATCH",
+ "id": "displayvideo.inventorySourceGroups.patch",
+ "parameterOrder": [
+ "inventorySourceGroupId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that owns the inventory source group.\n\nThe parent partner does not have access to this group.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "inventorySourceGroupId": {
+ "description": "Output only. The unique ID of the inventory source group. Assigned by the system.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that owns the inventory source group.\n\nOnly this partner has write access to this group.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Required. The mask to control which fields to update.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/inventorySourceGroups/{inventorySourceGroupId}",
+ "request": {
+ "$ref": "InventorySourceGroup"
+ },
+ "response": {
+ "$ref": "InventorySourceGroup"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ }
+ },
+ "resources": {
+ "assignedInventorySources": {
+ "methods": {
+ "bulkEdit": {
+ "description": "Bulk edits multiple assignments between inventory sources and a single\ninventory source group.\n\nThe operation will delete the assigned inventory sources provided in\nBulkEditAssignedInventorySourcesRequest.deleted_assigned_inventory_sources\nand then create the assigned inventory sources provided in\nBulkEditAssignedInventorySourcesRequest.created_assigned_inventory_sources.",
+ "flatPath": "v1/inventorySourceGroups/{inventorySourceGroupsId}/assignedInventorySources:bulkEdit",
+ "httpMethod": "POST",
+ "id": "displayvideo.inventorySourceGroups.assignedInventorySources.bulkEdit",
+ "parameterOrder": [
+ "inventorySourceGroupId"
+ ],
+ "parameters": {
+ "inventorySourceGroupId": {
+ "description": "Required. The ID of the inventory source group to which the assignments are\nassigned.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources:bulkEdit",
+ "request": {
+ "$ref": "BulkEditAssignedInventorySourcesRequest"
+ },
+ "response": {
+ "$ref": "BulkEditAssignedInventorySourcesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "create": {
+ "description": "Creates an assignment between an inventory source and an inventory source\ngroup.",
+ "flatPath": "v1/inventorySourceGroups/{inventorySourceGroupsId}/assignedInventorySources",
+ "httpMethod": "POST",
+ "id": "displayvideo.inventorySourceGroups.assignedInventorySources.create",
+ "parameterOrder": [
+ "inventorySourceGroupId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that owns the parent inventory source group.\n\nThe parent partner will not have access to this assigned inventory\nsource.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "inventorySourceGroupId": {
+ "description": "Required. The ID of the inventory source group to which the assignment will be\nassigned.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that owns the parent inventory source group.\n\nOnly this partner will have write access to this assigned inventory\nsource.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources",
+ "request": {
+ "$ref": "AssignedInventorySource"
+ },
+ "response": {
+ "$ref": "AssignedInventorySource"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "delete": {
+ "description": "Deletes the assignment between an inventory source and an inventory source\ngroup.",
+ "flatPath": "v1/inventorySourceGroups/{inventorySourceGroupsId}/assignedInventorySources/{assignedInventorySourcesId}",
+ "httpMethod": "DELETE",
+ "id": "displayvideo.inventorySourceGroups.assignedInventorySources.delete",
+ "parameterOrder": [
+ "inventorySourceGroupId",
+ "assignedInventorySourceId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that owns the parent inventory source group.\n\nThe parent partner does not have access to this assigned inventory\nsource.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "assignedInventorySourceId": {
+ "description": "Required. The ID of the assigned inventory source to delete.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "inventorySourceGroupId": {
+ "description": "Required. The ID of the inventory source group to which this assignment is assigned.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that owns the parent inventory source group.\n\nOnly this partner has write access to this assigned inventory source.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources/{+assignedInventorySourceId}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "list": {
+ "description": "Lists inventory sources assigned to an inventory source group.",
+ "flatPath": "v1/inventorySourceGroups/{inventorySourceGroupsId}/assignedInventorySources",
+ "httpMethod": "GET",
+ "id": "displayvideo.inventorySourceGroups.assignedInventorySources.list",
+ "parameterOrder": [
+ "inventorySourceGroupId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that has access to the assignment.\n\nIf the parent inventory source group is partner-owned, only advertisers\nto which the parent group is explicitly shared can access the assigned\ninventory source.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "filter": {
+ "description": "Allows filtering by assigned inventory source fields.\n\nSupported syntax:\n\n* Filter expressions are made up of one or more restrictions.\n* Restrictions can be combined by the logical operator `OR`.\n* A restriction has the form of `{field} {operator} {value}`.\n* The operator must be `EQUALS (=)`.\n* Supported fields:\n - `assignedInventorySourceId`\n\nThe length of this field should be no more than 500 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "inventorySourceGroupId": {
+ "description": "Required. The ID of the inventory source group to which these assignments are\nassigned.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Field by which to sort the list.\nAcceptable values are:\n\n* `assignedInventorySourceId` (default)\n\nThe default sorting order is ascending. To specify descending order for a\nfield, a suffix \" desc\" should be added to the field name. Example:\n`assignedInventorySourceId desc`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Must be between `1` and `100`. If unspecified will\ndefault to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value\nis specified.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\n\nTypically, this is the value of\nnext_page_token\nreturned from the previous call to `ListAssignedInventorySources`\nmethod. If not specified, the first page of results will be returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that has access to the assignment.\n\nIf the parent inventory source group is advertiser-owned, the assignment\ncannot be accessed via a partner.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources",
+ "response": {
+ "$ref": "ListAssignedInventorySourcesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "inventorySources": {
+ "methods": {
+ "get": {
+ "description": "Gets an inventory source.",
+ "flatPath": "v1/inventorySources/{inventorySourcesId}",
+ "httpMethod": "GET",
+ "id": "displayvideo.inventorySources.get",
+ "parameterOrder": [
+ "inventorySourceId"
+ ],
+ "parameters": {
+ "inventorySourceId": {
+ "description": "Required. The ID of the inventory source to fetch.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "Required. The ID of the DV360 partner to which the fetched inventory source\nis permissioned.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/inventorySources/{+inventorySourceId}",
+ "response": {
+ "$ref": "InventorySource"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "list": {
+ "description": "Lists inventory sources that are accessible to the current user.\n\nThe order is defined by the\norder_by parameter.\nIf a filter by\nentity_status is not\nspecified, inventory sources with entity status `ENTITY_STATUS_ARCHIVED`\nwill not be included in the results.",
+ "flatPath": "v1/inventorySources",
+ "httpMethod": "GET",
+ "id": "displayvideo.inventorySources.list",
+ "parameterOrder": [],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that has access to the inventory source.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "filter": {
+ "description": "Allows filtering by inventory source properties.\n\nSupported syntax:\n\n* Filter expressions are made up of one or more restrictions.\n* Restrictions can be combined by `AND` or `OR` logical operators. A\nsequence of restrictions implicitly uses `AND`.\n* A restriction has the form of `{field} {operator} {value}`.\n* The operator must be `EQUALS (=)`.\n* Supported fields:\n - `status.entityStatus`\n - `commitment`\n - `deliveryMethod`\n - `rateDetails.rateType`\n - `exchange`\n\nExamples:\n\n* All active inventory sources:\n`status.entityStatus=\"ENTITY_STATUS_ACTIVE\"`\n* Inventory sources belonging to Google Ad Manager or Rubicon exchanges:\n`exchange=\"EXCHANGE_GOOGLE_AD_MANAGER\" OR exchange=\"EXCHANGE_RUBICON\"`\n\nThe length of this field should be no more than 500 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Field by which to sort the list.\nAcceptable values are:\n\n* `displayName` (default)\n\nThe default sorting order is ascending. To specify descending order for\na field, a suffix \"desc\" should be added to the field name. For example,\n`displayName desc`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Must be between `1` and `100`. If unspecified will\ndefault to `100`.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nnext_page_token\nreturned from the previous call to `ListInventorySources` method.\nIf not specified, the first page of results will be returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that has access to the inventory source.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/inventorySources",
+ "response": {
+ "$ref": "ListInventorySourcesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ }
+ }
+ },
+ "media": {
+ "methods": {
+ "download": {
+ "description": "Downloads media. Download is supported on the URI `/download/{resource_name=**}?alt=media.`\n\n**Note**: Download requests will not be successful without including `alt=media` query string.",
+ "flatPath": "download/{downloadId}",
+ "httpMethod": "GET",
+ "id": "displayvideo.media.download",
+ "parameterOrder": [
+ "resourceName"
+ ],
+ "parameters": {
+ "resourceName": {
+ "description": "Name of the media that is being downloaded. See\nReadRequest.resource_name.",
+ "location": "path",
+ "pattern": "^.*$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "download/{+resourceName}",
+ "response": {
+ "$ref": "GoogleBytestreamMedia"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video",
+ "https://www.googleapis.com/auth/doubleclickbidmanager"
+ ],
+ "supportsMediaDownload": true
+ }
+ }
+ },
+ "partners": {
+ "resources": {
+ "channels": {
+ "methods": {
+ "create": {
+ "description": "Creates a new channel. Returns the newly created channel if successful.",
+ "flatPath": "v1/partners/{partnersId}/channels",
+ "httpMethod": "POST",
+ "id": "displayvideo.partners.channels.create",
+ "parameterOrder": [
+ "partnerId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that owns the created channel.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that owns the created channel.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/partners/{+partnerId}/channels",
+ "request": {
+ "$ref": "Channel"
+ },
+ "response": {
+ "$ref": "Channel"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "get": {
+ "description": "Gets a channel for a partner or advertiser.",
+ "flatPath": "v1/partners/{partnersId}/channels/{channelsId}",
+ "httpMethod": "GET",
+ "id": "displayvideo.partners.channels.get",
+ "parameterOrder": [
+ "partnerId",
+ "channelId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that owns the fetched channel.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "channelId": {
+ "description": "Required. The ID of the channel to fetch.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that owns the fetched channel.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/partners/{+partnerId}/channels/{+channelId}",
+ "response": {
+ "$ref": "Channel"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "list": {
+ "description": "Lists channels for a partner or advertiser.",
+ "flatPath": "v1/partners/{partnersId}/channels",
+ "httpMethod": "GET",
+ "id": "displayvideo.partners.channels.list",
+ "parameterOrder": [
+ "partnerId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that owns the channels.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "filter": {
+ "description": "Allows filtering by channel fields.\n\nSupported syntax:\n\n* Filter expressions for channel currently can only contain at most one\n* restriction.\n* A restriction has the form of `{field} {operator} {value}`.\n* The operator must be `CONTAINS (:)`.\n* Supported fields:\n - `displayName`\n\nExamples:\n\n* All channels for which the display name contains \"google\":\n`displayName : \"google\"`.\n\nThe length of this field should be no more than 500 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Field by which to sort the list.\nAcceptable values are:\n\n* `displayName` (default)\n* `channelId`\n\nThe default sorting order is ascending. To specify descending order for a\nfield, a suffix \" desc\" should be added to the field name. Example:\n`displayName desc`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Must be between `1` and `100`. If unspecified will\ndefault to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value\nis specified.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nnext_page_token returned from the\nprevious call to `ListChannels` method. If not specified, the first page\nof results will be returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that owns the channels.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/partners/{+partnerId}/channels",
+ "response": {
+ "$ref": "ListChannelsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "patch": {
+ "description": "Updates a channel. Returns the updated channel if successful.",
+ "flatPath": "v1/partners/{partnersId}/channels/{channelId}",
+ "httpMethod": "PATCH",
+ "id": "displayvideo.partners.channels.patch",
+ "parameterOrder": [
+ "partnerId",
+ "channelId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that owns the created channel.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "channelId": {
+ "description": "Output only. The unique ID of the channel. Assigned by the system.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that owns the created channel.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Required. The mask to control which fields to update.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/partners/{+partnerId}/channels/{channelId}",
+ "request": {
+ "$ref": "Channel"
+ },
+ "response": {
+ "$ref": "Channel"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ }
+ },
+ "resources": {
+ "sites": {
+ "methods": {
+ "bulkEdit": {
+ "description": "Bulk edits sites under a single channel.\n\nThe operation will delete the sites provided in\nBulkEditSitesRequest.deleted_sites and then create the sites\nprovided in BulkEditSitesRequest.created_sites.",
+ "flatPath": "v1/partners/{partnerId}/channels/{channelsId}/sites:bulkEdit",
+ "httpMethod": "POST",
+ "id": "displayvideo.partners.channels.sites.bulkEdit",
+ "parameterOrder": [
+ "partnerId",
+ "channelId"
+ ],
+ "parameters": {
+ "channelId": {
+ "description": "Required. The ID of the parent channel to which the sites belong.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that owns the parent channel.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/partners/{partnerId}/channels/{+channelId}/sites:bulkEdit",
+ "request": {
+ "$ref": "BulkEditSitesRequest"
+ },
+ "response": {
+ "$ref": "BulkEditSitesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "create": {
+ "description": "Creates a site in a channel.",
+ "flatPath": "v1/partners/{partnerId}/channels/{channelsId}/sites",
+ "httpMethod": "POST",
+ "id": "displayvideo.partners.channels.sites.create",
+ "parameterOrder": [
+ "partnerId",
+ "channelId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that owns the parent channel.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "channelId": {
+ "description": "Required. The ID of the parent channel in which the site will be created.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that owns the parent channel.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/partners/{partnerId}/channels/{+channelId}/sites",
+ "request": {
+ "$ref": "Site"
+ },
+ "response": {
+ "$ref": "Site"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "delete": {
+ "description": "Deletes a site from a channel.",
+ "flatPath": "v1/partners/{partnerId}/channels/{channelsId}/sites/{sitesId}",
+ "httpMethod": "DELETE",
+ "id": "displayvideo.partners.channels.sites.delete",
+ "parameterOrder": [
+ "partnerId",
+ "channelId",
+ "urlOrAppId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that owns the parent channel.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "channelId": {
+ "description": "Required. The ID of the parent channel to which the site belongs.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that owns the parent channel.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "urlOrAppId": {
+ "description": "Required. The URL or app ID of the site to delete.",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/partners/{partnerId}/channels/{+channelId}/sites/{+urlOrAppId}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "list": {
+ "description": "Lists sites in a channel.",
+ "flatPath": "v1/partners/{partnersId}/channels/{channelsId}/sites",
+ "httpMethod": "GET",
+ "id": "displayvideo.partners.channels.sites.list",
+ "parameterOrder": [
+ "partnerId",
+ "channelId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that owns the parent channel.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "channelId": {
+ "description": "Required. The ID of the parent channel to which the requested sites belong.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "filter": {
+ "description": "Allows filtering by site fields.\n\nSupported syntax:\n\n* Filter expressions for site currently can only contain at most one\n* restriction.\n* A restriction has the form of `{field} {operator} {value}`.\n* The operator must be `CONTAINS (:)`.\n* Supported fields:\n - `urlOrAppId`\n\nExamples:\n\n* All sites for which the URL or app ID contains \"google\":\n`urlOrAppId : \"google\"`",
+ "location": "query",
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Field by which to sort the list.\nAcceptable values are:\n\n* `urlOrAppId` (default)\n\nThe default sorting order is ascending. To specify descending order for a\nfield, a suffix \" desc\" should be added to the field name. Example:\n`urlOrAppId desc`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Must be between `1` and `100`. If unspecified will\ndefault to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value\nis specified.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\n\nTypically, this is the value of\nnext_page_token returned from the\nprevious call to `ListSites` method. If not specified, the first page\nof results will be returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that owns the parent channel.",
+ "format": "int64",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/partners/{+partnerId}/channels/{+channelId}/sites",
+ "response": {
+ "$ref": "ListSitesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "sdfdownloadtasks": {
+ "methods": {
+ "create": {
+ "description": "Creates an SDF Download Task. Returns an\nOperation.\n\nAn SDF Download Task is a long-running, asynchronous operation. The\nmetadata type of this operation is\nSdfDownloadTaskMetadata. If the request is successful, the\nresponse type of the operation is\nSdfDownloadTask. The response will not include the download files,\nwhich must be retrieved with\nmedia.download. The state of\noperation can be retrieved with\nsdfdownloadtask.operations.get.\n\nAny errors can be found in the\nerror.message. Note\nthat error.details is expected to be\nempty.",
+ "flatPath": "v1/sdfdownloadtasks",
+ "httpMethod": "POST",
+ "id": "displayvideo.sdfdownloadtasks.create",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/sdfdownloadtasks",
+ "request": {
+ "$ref": "CreateSdfDownloadTaskRequest"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ }
+ },
+ "resources": {
+ "operations": {
+ "methods": {
+ "get": {
+ "description": "Gets the latest state of an asynchronous SDF download task operation. Clients should poll this method at intervals of 30 seconds.",
+ "flatPath": "v1/sdfdownloadtasks/operations/{operationsId}",
+ "httpMethod": "GET",
+ "id": "displayvideo.sdfdownloadtasks.operations.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource.",
+ "location": "path",
+ "pattern": "^sdfdownloadtasks/operations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video",
+ "https://www.googleapis.com/auth/doubleclickbidmanager"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "targetingTypes": {
+ "resources": {
+ "targetingOptions": {
+ "methods": {
+ "get": {
+ "description": "Gets a single targeting option.",
+ "flatPath": "v1/targetingTypes/{targetingTypesId}/targetingOptions/{targetingOptionsId}",
+ "httpMethod": "GET",
+ "id": "displayvideo.targetingTypes.targetingOptions.get",
+ "parameterOrder": [
+ "targetingType",
+ "targetingOptionId"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The Advertiser this request is being made in the context of.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "targetingOptionId": {
+ "description": "Required. The ID of the of targeting option to retrieve.",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "targetingType": {
+ "description": "Required. The type of targeting option to retrieve.",
+ "enum": [
+ "TARGETING_TYPE_UNSPECIFIED",
+ "TARGETING_TYPE_CHANNEL",
+ "TARGETING_TYPE_APP_CATEGORY",
+ "TARGETING_TYPE_APP",
+ "TARGETING_TYPE_URL",
+ "TARGETING_TYPE_DAY_AND_TIME",
+ "TARGETING_TYPE_AGE_RANGE",
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
+ "TARGETING_TYPE_GENDER",
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
+ "TARGETING_TYPE_PARENTAL_STATUS",
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
+ "TARGETING_TYPE_DEVICE_TYPE",
+ "TARGETING_TYPE_AUDIENCE_GROUP",
+ "TARGETING_TYPE_BROWSER",
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
+ "TARGETING_TYPE_ENVIRONMENT",
+ "TARGETING_TYPE_CARRIER_AND_ISP",
+ "TARGETING_TYPE_OPERATING_SYSTEM",
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
+ "TARGETING_TYPE_KEYWORD",
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
+ "TARGETING_TYPE_VIEWABILITY",
+ "TARGETING_TYPE_CATEGORY",
+ "TARGETING_TYPE_INVENTORY_SOURCE",
+ "TARGETING_TYPE_LANGUAGE",
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
+ "TARGETING_TYPE_GEO_REGION",
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
+ "TARGETING_TYPE_EXCHANGE",
+ "TARGETING_TYPE_SUB_EXCHANGE"
+ ],
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/targetingTypes/{+targetingType}/targetingOptions/{+targetingOptionId}",
+ "response": {
+ "$ref": "TargetingOption"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ },
+ "list": {
+ "description": "Lists targeting options of a given type.",
+ "flatPath": "v1/targetingTypes/{targetingTypesId}/targetingOptions",
+ "httpMethod": "GET",
+ "id": "displayvideo.targetingTypes.targetingOptions.list",
+ "parameterOrder": [
+ "targetingType"
+ ],
+ "parameters": {
+ "advertiserId": {
+ "description": "Required. The Advertiser this request is being made in the context of.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "filter": {
+ "description": "Allows filtering by targeting option properties.\n\nSupported syntax:\n\n* Filter expressions are made up of one or more restrictions.\n* Restrictions can be combined by `OR` logical operators.\n* A restriction has the form of `{field} {operator} {value}`.\n* The operator must be \"=\" (equal sign).\n* Supported fields:\n - `targetingOptionId`\n\nThe length of this field should be no more than 500 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Field by which to sort the list.\nAcceptable values are:\n\n* `targetingOptionId` (default)\n\nThe default sorting order is ascending. To specify descending order for\na field, a suffix \"desc\" should be added to the field name.\nExample: `targetingOptionId desc`.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Must be between `1` and `100`. If unspecified will\ndefault to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value\nis specified.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nnext_page_token\nreturned from the previous call to `ListTargetingOptions` method.\nIf not specified, the first page of results will be returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "targetingType": {
+ "description": "Required. The type of targeting option to be listed.",
+ "enum": [
+ "TARGETING_TYPE_UNSPECIFIED",
+ "TARGETING_TYPE_CHANNEL",
+ "TARGETING_TYPE_APP_CATEGORY",
+ "TARGETING_TYPE_APP",
+ "TARGETING_TYPE_URL",
+ "TARGETING_TYPE_DAY_AND_TIME",
+ "TARGETING_TYPE_AGE_RANGE",
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
+ "TARGETING_TYPE_GENDER",
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
+ "TARGETING_TYPE_PARENTAL_STATUS",
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
+ "TARGETING_TYPE_DEVICE_TYPE",
+ "TARGETING_TYPE_AUDIENCE_GROUP",
+ "TARGETING_TYPE_BROWSER",
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
+ "TARGETING_TYPE_ENVIRONMENT",
+ "TARGETING_TYPE_CARRIER_AND_ISP",
+ "TARGETING_TYPE_OPERATING_SYSTEM",
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
+ "TARGETING_TYPE_KEYWORD",
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
+ "TARGETING_TYPE_VIEWABILITY",
+ "TARGETING_TYPE_CATEGORY",
+ "TARGETING_TYPE_INVENTORY_SOURCE",
+ "TARGETING_TYPE_LANGUAGE",
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
+ "TARGETING_TYPE_GEO_REGION",
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
+ "TARGETING_TYPE_EXCHANGE",
+ "TARGETING_TYPE_SUB_EXCHANGE"
+ ],
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/targetingTypes/{+targetingType}/targetingOptions",
+ "response": {
+ "$ref": "ListTargetingOptionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/display-video"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "revision": "20200707",
+ "rootUrl": "https://displayvideo.googleapis.com/",
+ "schemas": {
+ "ActiveViewVideoViewabilityMetricConfig": {
+ "description": "Configuration for custom Active View video viewability metrics.",
+ "id": "ActiveViewVideoViewabilityMetricConfig",
+ "properties": {
+ "displayName": {
+ "description": "Required. The display name of the custom metric.",
+ "type": "string"
+ },
+ "minimumDuration": {
+ "description": "The minimum visible video duration required (in seconds) in order for an\nimpression to be recorded.\n\nYou must specify\nminimum_duration,\nminimum_quartile\nor both. If both are specified, an impression meets the metric criteria if\neither requirement is met (whichever happens first).",
+ "enum": [
+ "VIDEO_DURATION_UNSPECIFIED",
+ "VIDEO_DURATION_SECONDS_NONE",
+ "VIDEO_DURATION_SECONDS_0",
+ "VIDEO_DURATION_SECONDS_1",
+ "VIDEO_DURATION_SECONDS_2",
+ "VIDEO_DURATION_SECONDS_3",
+ "VIDEO_DURATION_SECONDS_4",
+ "VIDEO_DURATION_SECONDS_5",
+ "VIDEO_DURATION_SECONDS_6",
+ "VIDEO_DURATION_SECONDS_7",
+ "VIDEO_DURATION_SECONDS_8",
+ "VIDEO_DURATION_SECONDS_9",
+ "VIDEO_DURATION_SECONDS_10",
+ "VIDEO_DURATION_SECONDS_11",
+ "VIDEO_DURATION_SECONDS_12",
+ "VIDEO_DURATION_SECONDS_13",
+ "VIDEO_DURATION_SECONDS_14",
+ "VIDEO_DURATION_SECONDS_15",
+ "VIDEO_DURATION_SECONDS_30",
+ "VIDEO_DURATION_SECONDS_45",
+ "VIDEO_DURATION_SECONDS_60"
+ ],
+ "enumDescriptions": [
+ "Value is not specified or is unknown in this version.",
+ "No duration value.",
+ "0 seconds.",
+ "1 second.",
+ "2 seconds.",
+ "3 seconds.",
+ "4 seconds.",
+ "5 seconds.",
+ "6 seconds.",
+ "7 seconds.",
+ "8 seconds.",
+ "9 seconds.",
+ "10 seconds.",
+ "11 seconds.",
+ "12 seconds.",
+ "13 seconds.",
+ "14 seconds.",
+ "15 seconds.",
+ "30 seconds.",
+ "45 seconds.",
+ "60 seconds."
+ ],
+ "type": "string"
+ },
+ "minimumQuartile": {
+ "description": "The minimum visible video duration required, based on the video quartiles,\nin order for an impression to be recorded.\n\nYou must specify\nminimum_duration,\nminimum_quartile\nor both. If both are specified, an impression meets the metric criteria if\neither requirement is met (whichever happens first).",
+ "enum": [
+ "VIDEO_DURATION_QUARTILE_UNSPECIFIED",
+ "VIDEO_DURATION_QUARTILE_NONE",
+ "VIDEO_DURATION_QUARTILE_FIRST",
+ "VIDEO_DURATION_QUARTILE_SECOND",
+ "VIDEO_DURATION_QUARTILE_THIRD",
+ "VIDEO_DURATION_QUARTILE_FOURTH"
+ ],
+ "enumDescriptions": [
+ "Value is not specified or is unknown in this version.",
+ "No quartile value.",
+ "First quartile.",
+ "Second quartile (midpoint).",
+ "Third quartile.",
+ "Fourth quartile (completion)."
+ ],
+ "type": "string"
+ },
+ "minimumViewability": {
+ "description": "Required. The minimum percentage of the video ad's pixels visible on the screen in\norder for an impression to be recorded.",
+ "enum": [
+ "VIEWABILITY_PERCENT_UNSPECIFIED",
+ "VIEWABILITY_PERCENT_0",
+ "VIEWABILITY_PERCENT_25",
+ "VIEWABILITY_PERCENT_50",
+ "VIEWABILITY_PERCENT_75",
+ "VIEWABILITY_PERCENT_100"
+ ],
+ "enumDescriptions": [
+ "Value is not specified or is unknown in this version.",
+ "0% viewable.",
+ "25% viewable.",
+ "50% viewable.",
+ "75% viewable.",
+ "100% viewable."
+ ],
+ "type": "string"
+ },
+ "minimumVolume": {
+ "description": "Required. The minimum percentage of the video ad's volume required in order for an\nimpression to be recorded.",
+ "enum": [
+ "VIDEO_VOLUME_PERCENT_UNSPECIFIED",
+ "VIDEO_VOLUME_PERCENT_0",
+ "VIDEO_VOLUME_PERCENT_10"
+ ],
+ "enumDescriptions": [
+ "Value is not specified or is unknown in this version.",
+ "0% volume.",
+ "10% volume."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Adloox": {
+ "description": "Details of Adloox settings.",
+ "id": "Adloox",
+ "properties": {
+ "excludedAdlooxCategories": {
+ "description": "Adloox's brand safety settings.",
+ "enumDescriptions": [
+ "This enum is only a placeholder and it doesn't specify any Adloox option.",
+ "Adult content (hard).",
+ "Adult content (soft).",
+ "Illegal content.",
+ "Borderline content.",
+ "Discriminatory content.",
+ "Violent content & weapons.",
+ "Low viewability domains.",
+ "Fraud."
+ ],
+ "items": {
+ "enum": [
+ "ADLOOX_UNSPECIFIED",
+ "ADULT_CONTENT_HARD",
+ "ADULT_CONTENT_SOFT",
+ "ILLEGAL_CONTENT",
+ "BORDERLINE_CONTENT",
+ "DISCRIMINATORY_CONTENT",
+ "VIOLENT_CONTENT_WEAPONS",
+ "LOW_VIEWABILITY_DOMAINS",
+ "FRAUD"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Advertiser": {
+ "description": "A single advertiser in Display & Video 360 (DV360).",
+ "id": "Advertiser",
+ "properties": {
+ "adServerConfig": {
+ "$ref": "AdvertiserAdServerConfig",
+ "description": "Required. Immutable. Ad server related settings of the advertiser."
+ },
+ "advertiserId": {
+ "description": "Output only. The unique ID of the advertiser. Assigned by the system.",
+ "format": "int64",
+ "type": "string"
+ },
+ "creativeConfig": {
+ "$ref": "AdvertiserCreativeConfig",
+ "description": "Required. Creative related settings of the advertiser."
+ },
+ "dataAccessConfig": {
+ "$ref": "AdvertiserDataAccessConfig",
+ "description": "Settings that control how advertiser data may be accessed."
+ },
+ "displayName": {
+ "description": "Required. The display name of the advertiser.\n\nMust be UTF-8 encoded with a maximum size of 240 bytes.",
+ "type": "string"
+ },
+ "entityStatus": {
+ "description": "Required. Controls whether or not insertion orders and line items of the\nadvertiser can spend their budgets and bid on inventory.\n\n* Accepted values are `ENTITY_STATUS_ACTIVE` and\n`ENTITY_STATUS_SCHEDULED_FOR_DELETION`.\n* If set to\n`ENTITY_STATUS_SCHEDULED_FOR_DELETION`, the advertiser will be deleted 30\ndays from when it was first scheduled for deletion.",
+ "enum": [
+ "ENTITY_STATUS_UNSPECIFIED",
+ "ENTITY_STATUS_ACTIVE",
+ "ENTITY_STATUS_ARCHIVED",
+ "ENTITY_STATUS_DRAFT",
+ "ENTITY_STATUS_PAUSED",
+ "ENTITY_STATUS_SCHEDULED_FOR_DELETION"
+ ],
+ "enumDescriptions": [
+ "Default value when status is not specified or is unknown in this version.",
+ "The entity is enabled to bid and spend budget.",
+ "The entity is archived. Bidding and budget spending are disabled. An\nentity can be deleted after archived. Deleted entities cannot be retrieved.",
+ "The entity is under draft. Bidding and budget spending are disabled.",
+ "Bidding and budget spending are paused for the entity.",
+ "The entity is scheduled for deletion."
+ ],
+ "type": "string"
+ },
+ "generalConfig": {
+ "$ref": "AdvertiserGeneralConfig",
+ "description": "Required. General settings of the advertiser."
+ },
+ "integrationDetails": {
+ "$ref": "IntegrationDetails",
+ "description": "Integration details of the advertiser.\nOnly integrationCode is currently\napplicable to advertiser. Other fields of IntegrationDetails are not\nsupported and will be ignored if provided."
+ },
+ "name": {
+ "description": "Output only. The resource name of the advertiser.",
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "Required. Immutable. The unique ID of the partner that the advertiser belongs to.",
+ "format": "int64",
+ "type": "string"
+ },
+ "servingConfig": {
+ "$ref": "AdvertiserTargetingConfig",
+ "description": "Targeting settings related to ad serving of the advertiser."
+ },
+ "updateTime": {
+ "description": "Output only. The timestamp when the advertiser was last updated. Assigned by the system.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AdvertiserAdServerConfig": {
+ "description": "Ad server related settings of an advertiser.",
+ "id": "AdvertiserAdServerConfig",
+ "properties": {
+ "cmHybridConfig": {
+ "$ref": "CmHybridConfig",
+ "description": "The configuration for advertisers that use both Campaign Manager (CM) and\nthird-party ad servers."
+ },
+ "thirdPartyOnlyConfig": {
+ "$ref": "ThirdPartyOnlyConfig",
+ "description": "The configuration for advertisers that use third-party ad servers\nonly."
+ }
+ },
+ "type": "object"
+ },
+ "AdvertiserCreativeConfig": {
+ "description": "Creatives related settings of an advertiser.",
+ "id": "AdvertiserCreativeConfig",
+ "properties": {
+ "dynamicCreativeEnabled": {
+ "description": "Whether or not the advertiser is enabled for dynamic creatives.",
+ "type": "boolean"
+ },
+ "iasClientId": {
+ "description": "An ID for configuring campaign monitoring provided by Integral Ad Service\n(IAS). The DV360 system will append an IAS \"Campaign Monitor\" tag\ncontaining this ID to the creative tag.",
+ "format": "int64",
+ "type": "string"
+ },
+ "obaComplianceDisabled": {
+ "description": "Whether or not to use DV360's Online Behavioral Advertising (OBA)\ncompliance.\n\nWarning: Changing OBA settings may cause the audit status of your creatives\nto be reset by some ad exchanges, making them ineligible to serve until\nthey are re-approved.",
+ "type": "boolean"
+ },
+ "videoCreativeDataSharingAuthorized": {
+ "description": "By setting this field to `true`, you, on behalf of your company,\nauthorize Google to use video creatives associated with this Display &\nVideo 360 advertiser to provide reporting and features related to the\nadvertiser's television campaigns.\n\nApplicable only when the advertiser has a\nCM hybrid ad server\nconfiguration.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "AdvertiserDataAccessConfig": {
+ "description": "Settings that control how advertiser related data may be accessed.",
+ "id": "AdvertiserDataAccessConfig",
+ "properties": {
+ "sdfConfig": {
+ "$ref": "AdvertiserSdfConfig",
+ "description": "Structured Data Files (SDF) settings for the advertiser.\n\nIf not specified, the SDF settings of the parent partner are used."
+ }
+ },
+ "type": "object"
+ },
+ "AdvertiserGeneralConfig": {
+ "description": "General settings of an advertiser.",
+ "id": "AdvertiserGeneralConfig",
+ "properties": {
+ "currencyCode": {
+ "description": "Required. Immutable. Advertiser's currency in ISO 4217 format.\n\nAccepted codes and the currencies they represent are:\n\nCurrency Code : Currency Name\n\n* `ARS` : Argentine Peso\n* `AUD` : Australian Dollar\n* `BRL` : Brazilian Real\n* `CAD` : Canadian Dollar\n* `CHF` : Swiss Franc\n* `CLP` : Chilean Peso\n* `CNY` : Chinese Yuan\n* `COP` : Colombian Peso\n* `CZK` : Czech Koruna\n* `DKK` : Danish Krone\n* `EGP` : Egyption Pound\n* `EUR` : Euro\n* `GBP` : British Pound\n* `HKD` : Hong Kong Dollar\n* `HUF` : Hungarian Forint\n* `IDR` : Indonesian Rupiah\n* `ILS` : Israeli Shekel\n* `INR` : Indian Rupee\n* `JPY` : Japanese Yen\n* `KRW` : South Korean Won\n* `MXN` : Mexican Pesos\n* `MYR` : Malaysian Ringgit\n* `NGN` : Nigerian Naira\n* `NOK` : Norwegian Krone\n* `NZD` : New Zealand Dollar\n* `PEN` : Peruvian Nuevo Sol\n* `PLN` : Polish Zloty\n* `RON` : New Romanian Leu\n* `RUB` : Russian Ruble\n* `SEK` : Swedish Krona\n* `TRY` : Turkish Lira\n* `TWD` : New Taiwan Dollar\n* `USD` : US Dollar\n* `ZAR` : South African Rand",
+ "type": "string"
+ },
+ "domainUrl": {
+ "description": "Required. The domain URL of the advertiser's primary website.\nThe system will send this information to publishers that require website\nURL to associate a campaign with an advertiser.\n\nProvide a URL with no path or query string, beginning with `http:` or\n`https:`.\nFor example, http://www.example.com",
+ "type": "string"
+ },
+ "timeZone": {
+ "description": "Output only. The standard TZ database name of the advertiser's time zone.\nFor example, `America/New_York`.\n\nSee more at:\nhttps://en.wikipedia.org/wiki/List_of_tz_database_time_zones\n\nFor CM hybrid advertisers, the time zone is the same as that of the\nassociated CM account; for third-party only advertisers, the time zone is\nthe same as that of the parent partner.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AdvertiserSdfConfig": {
+ "description": "Structured Data Files (SDF) settings of an advertiser.",
+ "id": "AdvertiserSdfConfig",
+ "properties": {
+ "overridePartnerSdfConfig": {
+ "description": "Whether or not this advertiser overrides the SDF configuration of its\nparent partner.\n\nBy default, an advertiser inherits the SDF configuration from the parent\npartner. To override the partner configuration, set this field to `true`\nand provide the new configuration in\nsdfConfig.",
+ "type": "boolean"
+ },
+ "sdfConfig": {
+ "$ref": "SdfConfig",
+ "description": "The SDF configuration for the advertiser.\n\n* Required when\noverridePartnerSdfConfig\nis `true`.\n* Output only when\noverridePartnerSdfConfig\nis `false`."
+ }
+ },
+ "type": "object"
+ },
+ "AdvertiserTargetingConfig": {
+ "description": "Targeting settings related to ad serving of an advertiser.",
+ "id": "AdvertiserTargetingConfig",
+ "properties": {
+ "exemptTvFromViewabilityTargeting": {
+ "description": "Whether or not connected TV devices are exempt from viewability targeting\nfor all video line items under the advertiser.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "AgeRangeAssignedTargetingOptionDetails": {
+ "description": "Represents a targetable age range. This will be populated in the details\nfield of an AssignedTargetingOption when\ntargeting_type is\n`TARGETING_TYPE_AGE_RANGE`.",
+ "id": "AgeRangeAssignedTargetingOptionDetails",
+ "properties": {
+ "ageRange": {
+ "description": "Output only. The age range of an audience. We only support targeting a continuous age\nrange of an audience. Thus, the age range represented in this field can be\n1) targeted solely, or, 2) part of a larger continuous age range. The reach\nof a continuous age range targeting can be expanded by also targeting an\naudience of an unknown age.",
+ "enum": [
+ "AGE_RANGE_UNSPECIFIED",
+ "AGE_RANGE_18_24",
+ "AGE_RANGE_25_34",
+ "AGE_RANGE_35_44",
+ "AGE_RANGE_45_54",
+ "AGE_RANGE_55_64",
+ "AGE_RANGE_65_PLUS",
+ "AGE_RANGE_UNKNOWN"
+ ],
+ "enumDescriptions": [
+ "Default value when age range is not specified in this version. This enum is\na placeholder for default value and does not represent a real age range\noption.",
+ "The age range of the audience is 18 to 24.",
+ "The age range of the audience is 25 to 34.",
+ "The age range of the audience is 35 to 44.",
+ "The age range of the audience is 45 to 54.",
+ "The age range of the audience is 55 to 64.",
+ "The age range of the audience is 65 and up.",
+ "The age range of the audience is unknown."
+ ],
+ "type": "string"
+ },
+ "targetingOptionId": {
+ "description": "Required. The targeting_option_id of a\nTargetingOption of type `TARGETING_TYPE_AGE_RANGE`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AgeRangeTargetingOptionDetails": {
+ "description": "Represents a targetable age range. This will be populated in the\nage_range_details field when\ntargeting_type is\n`TARGETING_TYPE_AGE_RANGE`.",
+ "id": "AgeRangeTargetingOptionDetails",
+ "properties": {
+ "ageRange": {
+ "description": "Output only. The age range of an audience.",
+ "enum": [
+ "AGE_RANGE_UNSPECIFIED",
+ "AGE_RANGE_18_24",
+ "AGE_RANGE_25_34",
+ "AGE_RANGE_35_44",
+ "AGE_RANGE_45_54",
+ "AGE_RANGE_55_64",
+ "AGE_RANGE_65_PLUS",
+ "AGE_RANGE_UNKNOWN"
+ ],
+ "enumDescriptions": [
+ "Default value when age range is not specified in this version. This enum is\na placeholder for default value and does not represent a real age range\noption.",
+ "The age range of the audience is 18 to 24.",
+ "The age range of the audience is 25 to 34.",
+ "The age range of the audience is 35 to 44.",
+ "The age range of the audience is 45 to 54.",
+ "The age range of the audience is 55 to 64.",
+ "The age range of the audience is 65 and up.",
+ "The age range of the audience is unknown."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AppAssignedTargetingOptionDetails": {
+ "description": "Details for assigned app targeting option. This will be populated in the\ndetails field of an AssignedTargetingOption when\ntargeting_type is\n`TARGETING_TYPE_APP`.",
+ "id": "AppAssignedTargetingOptionDetails",
+ "properties": {
+ "appId": {
+ "description": "Required. The ID of the app.\n\nAndroid's Play store app uses bundle ID, for example\n`com.google.android.gm`. Apple's App store app ID uses 9 digit string, for\nexample `422689480`.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Output only. The display name of the app.",
+ "type": "string"
+ },
+ "negative": {
+ "description": "Indicates if this option is being negatively targeted.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "AppCategoryAssignedTargetingOptionDetails": {
+ "description": "Details for assigned app category targeting option. This will be\npopulated in the\napp_category_details field of\nan AssignedTargetingOption when\ntargeting_type\nis `TARGETING_TYPE_APP_CATEGORY`.",
+ "id": "AppCategoryAssignedTargetingOptionDetails",
+ "properties": {
+ "displayName": {
+ "description": "Output only. The display name of the app category.",
+ "type": "string"
+ },
+ "negative": {
+ "description": "Indicates if this option is being negatively targeted.",
+ "type": "boolean"
+ },
+ "targetingOptionId": {
+ "description": "Required. The targeting_option_id field when\ntargeting_type is\n`TARGETING_TYPE_APP_CATEGORY`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AppCategoryTargetingOptionDetails": {
+ "description": "Represents a targetable collection of apps. A collection lets you target\ndynamic groups of related apps that are maintained by the platform, for\nexample `All Apps/Google Play/Games`. This will be populated in the\napp_category_details field when\ntargeting_type is\n`TARGETING_TYPE_APP_CATEGORY`.",
+ "id": "AppCategoryTargetingOptionDetails",
+ "properties": {
+ "displayName": {
+ "description": "Output only. The name of the app collection.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Asset": {
+ "description": "A single asset.",
+ "id": "Asset",
+ "properties": {
+ "content": {
+ "description": "The asset content.\nFor uploaded assets, the content is the serving path.",
+ "type": "string"
+ },
+ "mediaId": {
+ "description": "Media ID of the uploaded asset. This is a unique identifier for the asset.\nThis ID can be passed to other API calls, e.g.\nCreateCreative to associate\nthe asset with a creative.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AssetAssociation": {
+ "description": "Asset association for the creative.",
+ "id": "AssetAssociation",
+ "properties": {
+ "asset": {
+ "$ref": "Asset",
+ "description": "The associated asset."
+ },
+ "role": {
+ "description": "The role of this asset for the creative.",
+ "enum": [
+ "ASSET_ROLE_UNSPECIFIED",
+ "ASSET_ROLE_MAIN",
+ "ASSET_ROLE_BACKUP",
+ "ASSET_ROLE_POLITE_LOAD",
+ "ASSET_ROLE_HEADLINE",
+ "ASSET_ROLE_LONG_HEADLINE",
+ "ASSET_ROLE_BODY",
+ "ASSET_ROLE_LONG_BODY",
+ "ASSET_ROLE_CAPTION_URL",
+ "ASSET_ROLE_CALL_TO_ACTION",
+ "ASSET_ROLE_ADVERTISER_NAME",
+ "ASSET_ROLE_PRICE",
+ "ASSET_ROLE_ANDROID_APP_ID",
+ "ASSET_ROLE_IOS_APP_ID",
+ "ASSET_ROLE_RATING",
+ "ASSET_ROLE_ICON",
+ "ASSET_ROLE_COVER_IMAGE"
+ ],
+ "enumDescriptions": [
+ "Asset role is not specified or is unknown in this version.",
+ "The asset is the main asset of the creative.",
+ "The asset is a backup asset of the creative.",
+ "The asset is a polite load asset of the creative.",
+ "Headline of a native creative.\n\nThe content must be UTF-8 encoded with a length of no more\nthan 25 characters.\n\nThis role is only supported in following\ncreative_type:\n\n* `CREATIVE_TYPE_NATIVE`\n* `CREATIVE_TYPE_NATIVE_SITE_SQUARE`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`\n* `CREATIVE_TYPE_NATIVE_VIDEO`",
+ "Long headline of a native creative.\n\nThe content must be UTF-8 encoded with a length of no more\nthan 50 characters.\n\nThis role is only supported in following\ncreative_type:\n\n* `CREATIVE_TYPE_NATIVE`\n* `CREATIVE_TYPE_NATIVE_SITE_SQUARE`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`\n* `CREATIVE_TYPE_NATIVE_VIDEO`",
+ "Body text of a native creative.\n\nThe content must be UTF-8 encoded with a length of no more\nthan 90 characters.\n\nThis role is only supported in following\ncreative_type:\n\n* `CREATIVE_TYPE_NATIVE`\n* `CREATIVE_TYPE_NATIVE_SITE_SQUARE`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`\n* `CREATIVE_TYPE_NATIVE_VIDEO`",
+ "Long body text of a native creative.\n\nThe content must be UTF-8 encoded with a length of no more\nthan 150 characters.\n\nThis role is only supported in following\ncreative_type:\n\n* `CREATIVE_TYPE_NATIVE`\n* `CREATIVE_TYPE_NATIVE_SITE_SQUARE`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`\n* `CREATIVE_TYPE_NATIVE_VIDEO`",
+ "A short, friendly version of the landing page URL to show in the creative.\nThis URL gives people an idea of where they'll arrive after they click on\nthe creative.\n\nThe content must be UTF-8 encoded with a length of no more\nthan 30 characters.\n\nFor example, if the landing page URL is 'http://www.example.com/page',\nthe caption URL can be 'example.com'.\nThe protocol (http://) is optional, but the URL can't contain spaces or\nspecial characters.\n\nThis role is only supported in following\ncreative_type:\n\n* `CREATIVE_TYPE_NATIVE`\n* `CREATIVE_TYPE_NATIVE_SITE_SQUARE`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`\n* `CREATIVE_TYPE_NATIVE_VIDEO`",
+ "The text to use on the call-to-action button of a native creative.\n\nThe content must be UTF-8 encoded with a length of no more\nthan 15 characters.\n\nThis role is only supported in following\ncreative_type:\n\n* `CREATIVE_TYPE_NATIVE`\n* `CREATIVE_TYPE_NATIVE_SITE_SQUARE`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`\n* `CREATIVE_TYPE_NATIVE_VIDEO`",
+ "The text that identifies the advertiser or brand name.\n\nThe content must be UTF-8 encoded with a length of no more\nthan 25 characters.\n\nThis role is only supported in following\ncreative_type:\n\n* `CREATIVE_TYPE_NATIVE`\n* `CREATIVE_TYPE_NATIVE_SITE_SQUARE`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`\n* `CREATIVE_TYPE_NATIVE_VIDEO`",
+ "The purchase price of your app in the Google play store or iOS app store\n(for example, $5.99).\n\nNote that this value is not automatically synced with the actual value\nlisted in the store. It will always be the one provided when save the\ncreative.\n\nThe content must be UTF-8 encoded with a length of no more\nthan 15 characters.\n\nThis role is only supported in following\ncreative_type:\n\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`",
+ "The ID of an Android app in the Google play store.\n\nYou can find this ID in the App\u2019s Google Play Store URL after \u2018id\u2019. For\nexample, in\nhttps://play.google.com/store/apps/details?id=com.company.appname the\nidentifier is com.company.appname.\n\nThis role is only supported in following\ncreative_type:\n\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`",
+ "The ID of an iOS app in the Apple app store.\n\nThis ID number can be found in the Apple App Store URL as the string of\nnumbers directly after \"id\". For example, in\nhttps://apps.apple.com/us/app/gmail-email-by-google/id422689480 the ID is\n422689480.\n\nThis role is only supported in following\ncreative_type:\n\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`",
+ "The rating of an app in the Google play store or iOS app store.\n\nNote that this value is not automatically synced with the actual rating\nin the store. It will always be the one provided when save the creative.\n\nThis role is only supported in following\ncreative_type:\n\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`",
+ "The icon of a creative.\n\nThis role is only supported and required in following\ncreative_type:\n\n* `CREATIVE_TYPE_NATIVE`\n* `CREATIVE_TYPE_NATIVE_SITE_SQUARE`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`",
+ "The cover image of a native video creative.\n\nThis role is only supported and required in following\ncreative_type:\n\n* `CREATIVE_TYPE_VIDEO`"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AssignedInventorySource": {
+ "description": "An assignment between a targetable inventory source and an inventory source\ngroup.",
+ "id": "AssignedInventorySource",
+ "properties": {
+ "assignedInventorySourceId": {
+ "description": "Output only. The unique ID of the assigned inventory source. The ID is only\nunique within a given inventory source group. It may be reused in other\ncontexts.",
+ "format": "int64",
+ "type": "string"
+ },
+ "inventorySourceId": {
+ "description": "Required. The ID of the inventory source entity being targeted.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Output only. The resource name of the assigned inventory source.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AssignedLocation": {
+ "description": "An assignment between a location list and a relevant targeting option.\nCurrently, geo region targeting options are the only supported option for\nassignment.",
+ "id": "AssignedLocation",
+ "properties": {
+ "assignedLocationId": {
+ "description": "Output only. The unique ID of the assigned location. The ID is only unique within a\nlocation list. It may be reused in other contexts.",
+ "format": "int64",
+ "type": "string"
+ },
+ "name": {
+ "description": "Output only. The resource name of the assigned location.",
+ "type": "string"
+ },
+ "targetingOptionId": {
+ "description": "Required. The ID of the targeting option assigned to the location list. Must be of\ntype TARGETING_TYPE_GEO_REGION.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AssignedTargetingOption": {
+ "description": "A single assigned targeting option, which defines the state of a targeting\noption for an entity with targeting settings.",
+ "id": "AssignedTargetingOption",
+ "properties": {
+ "ageRangeDetails": {
+ "$ref": "AgeRangeAssignedTargetingOptionDetails",
+ "description": "Age range details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_AGE_RANGE`."
+ },
+ "appCategoryDetails": {
+ "$ref": "AppCategoryAssignedTargetingOptionDetails",
+ "description": "App category details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_APP_CATEGORY`."
+ },
+ "appDetails": {
+ "$ref": "AppAssignedTargetingOptionDetails",
+ "description": "App details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_APP`."
+ },
+ "assignedTargetingOptionId": {
+ "description": "Output only. The unique ID of the assigned targeting option. The ID is only unique\nwithin a given line item and targeting type. It may be reused in other\ncontexts.",
+ "type": "string"
+ },
+ "audienceGroupDetails": {
+ "$ref": "AudienceGroupAssignedTargetingOptionDetails",
+ "description": "Audience targeting details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_AUDIENCE_GROUP`.\nYou can only target one audience group option per line item."
+ },
+ "authorizedSellerStatusDetails": {
+ "$ref": "AuthorizedSellerStatusAssignedTargetingOptionDetails",
+ "description": "Authorized seller status details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`.\n\nYou can only target one authorized seller status option per line item.\n\nIf a line item doesn't have an authorized seller status option, all\nauthorized sellers indicated as DIRECT or RESELLER in the ads.txt file\nare targeted by default."
+ },
+ "browserDetails": {
+ "$ref": "BrowserAssignedTargetingOptionDetails",
+ "description": "Browser details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_BROWSER`."
+ },
+ "carrierAndIspDetails": {
+ "$ref": "CarrierAndIspAssignedTargetingOptionDetails",
+ "description": "Carrier and ISP details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_CARRIER_AND_ISP`."
+ },
+ "categoryDetails": {
+ "$ref": "CategoryAssignedTargetingOptionDetails",
+ "description": "Category details. This field will be populated when the TargetingType is\n`TARGETING_TYPE_CATEGORY`.\n\nTargeting a category will also target its subcategories. If a category is\nexcluded from targeting and a subcategory is included, the exclusion will\ntake precedence."
+ },
+ "channelDetails": {
+ "$ref": "ChannelAssignedTargetingOptionDetails",
+ "description": "Channel details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_CHANNEL`."
+ },
+ "contentInstreamPositionDetails": {
+ "$ref": "ContentInstreamPositionAssignedTargetingOptionDetails",
+ "description": "Content instream position details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`."
+ },
+ "contentOutstreamPositionDetails": {
+ "$ref": "ContentOutstreamPositionAssignedTargetingOptionDetails",
+ "description": "Content outstream position details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`."
+ },
+ "dayAndTimeDetails": {
+ "$ref": "DayAndTimeAssignedTargetingOptionDetails",
+ "description": "Day and time details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_DAY_AND_TIME`."
+ },
+ "deviceMakeModelDetails": {
+ "$ref": "DeviceMakeModelAssignedTargetingOptionDetails",
+ "description": "Device make and model details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_DEVICE_MAKE_MODEL`."
+ },
+ "deviceTypeDetails": {
+ "$ref": "DeviceTypeAssignedTargetingOptionDetails",
+ "description": "Device Type details. This field will be populated when the\nTargetingType is\n`TARGETING_TYPE_DEVICE_TYPE`."
+ },
+ "digitalContentLabelExclusionDetails": {
+ "$ref": "DigitalContentLabelAssignedTargetingOptionDetails",
+ "description": "Digital content label details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION`.\n\nDigital content labels are targeting exclusions. Advertiser level digital\ncontent label exclusions, if set, are always applied in serving (even\nthough they aren't visible in line item settings). Line item settings can\nexclude content labels in addition to advertiser exclusions, but can't\noverride them. A line item won't serve if all the digital content labels\nare excluded."
+ },
+ "environmentDetails": {
+ "$ref": "EnvironmentAssignedTargetingOptionDetails",
+ "description": "Environment details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_ENVIRONMENT`."
+ },
+ "exchangeDetails": {
+ "$ref": "ExchangeAssignedTargetingOptionDetails",
+ "description": "Exchange details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_EXCHANGE`."
+ },
+ "genderDetails": {
+ "$ref": "GenderAssignedTargetingOptionDetails",
+ "description": "Gender details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_GENDER`."
+ },
+ "geoRegionDetails": {
+ "$ref": "GeoRegionAssignedTargetingOptionDetails",
+ "description": "Geographic region details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_GEO_REGION`."
+ },
+ "householdIncomeDetails": {
+ "$ref": "HouseholdIncomeAssignedTargetingOptionDetails",
+ "description": "Household income details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_HOUSEHOLD_INCOME`."
+ },
+ "inheritance": {
+ "description": "Output only. The inheritance status of the assigned targeting option.",
+ "enum": [
+ "INHERITANCE_UNSPECIFIED",
+ "NOT_INHERITED",
+ "INHERITED_FROM_PARTNER",
+ "INHERITED_FROM_ADVERTISER"
+ ],
+ "enumDescriptions": [
+ "The inheritance is unspecified or unknown.",
+ "The assigned targeting option is not inherited from higher level entity.",
+ "The assigned targeting option is inherited from partner targeting\nsettings.",
+ "The assigned targeting option is inherited from advertiser targeting\nsettings."
+ ],
+ "type": "string"
+ },
+ "inventorySourceDetails": {
+ "$ref": "InventorySourceAssignedTargetingOptionDetails",
+ "description": "Inventory source details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_INVENTORY_SOURCE`."
+ },
+ "inventorySourceGroupDetails": {
+ "$ref": "InventorySourceGroupAssignedTargetingOptionDetails",
+ "description": "Inventory source group details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_INVENTORY_SOURCE_GROUP`."
+ },
+ "keywordDetails": {
+ "$ref": "KeywordAssignedTargetingOptionDetails",
+ "description": "Keyword details. This field will be populated when the TargetingType is\n`TARGETING_TYPE_KEYWORD`.\n\nA maximum of 5000 direct negative keywords can be assigned to a\nline item. No limit on number of positive keywords that can be assigned."
+ },
+ "languageDetails": {
+ "$ref": "LanguageAssignedTargetingOptionDetails",
+ "description": "Language details. This field will be populated when the TargetingType is\n`TARGETING_TYPE_LANGUAGE`."
+ },
+ "name": {
+ "description": "Output only. The resource name for this assigned targeting option.",
+ "type": "string"
+ },
+ "negativeKeywordListDetails": {
+ "$ref": "NegativeKeywordListAssignedTargetingOptionDetails",
+ "description": "Keyword details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST`.\n\nA maximum of 4 negative keyword lists can be assigned to a line item."
+ },
+ "onScreenPositionDetails": {
+ "$ref": "OnScreenPositionAssignedTargetingOptionDetails",
+ "description": "On screen position details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_ON_SCREEN_POSITION`."
+ },
+ "operatingSystemDetails": {
+ "$ref": "OperatingSystemAssignedTargetingOptionDetails",
+ "description": "Operating system details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_OPERATING_SYSTEM`."
+ },
+ "parentalStatusDetails": {
+ "$ref": "ParentalStatusAssignedTargetingOptionDetails",
+ "description": "Parental status details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_PARENTAL_STATUS`."
+ },
+ "proximityLocationListDetails": {
+ "$ref": "ProximityLocationListAssignedTargetingOptionDetails",
+ "description": "Proximity location list details. This field will be populated when the\nTargetingType is\n`TARGETING_TYPE_PROXIMITY_LOCATION_LIST`."
+ },
+ "regionalLocationListDetails": {
+ "$ref": "RegionalLocationListAssignedTargetingOptionDetails",
+ "description": "Regional location list details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_REGIONAL_LOCATION_LIST`."
+ },
+ "sensitiveCategoryExclusionDetails": {
+ "$ref": "SensitiveCategoryAssignedTargetingOptionDetails",
+ "description": "Sensitive category details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`.\n\nSensitive categories are targeting exclusions. Advertiser level sensitive\ncategory exclusions, if set, are always applied in serving (even though\nthey aren't visible in line item settings). Line item settings can\nexclude sensitive categories in addition to advertiser exclusions, but\ncan't override them."
+ },
+ "subExchangeDetails": {
+ "$ref": "SubExchangeAssignedTargetingOptionDetails",
+ "description": "Sub-exchange details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_SUB_EXCHANGE`."
+ },
+ "targetingType": {
+ "description": "Output only. Identifies the type of this assigned targeting option.",
+ "enum": [
+ "TARGETING_TYPE_UNSPECIFIED",
+ "TARGETING_TYPE_CHANNEL",
+ "TARGETING_TYPE_APP_CATEGORY",
+ "TARGETING_TYPE_APP",
+ "TARGETING_TYPE_URL",
+ "TARGETING_TYPE_DAY_AND_TIME",
+ "TARGETING_TYPE_AGE_RANGE",
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
+ "TARGETING_TYPE_GENDER",
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
+ "TARGETING_TYPE_PARENTAL_STATUS",
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
+ "TARGETING_TYPE_DEVICE_TYPE",
+ "TARGETING_TYPE_AUDIENCE_GROUP",
+ "TARGETING_TYPE_BROWSER",
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
+ "TARGETING_TYPE_ENVIRONMENT",
+ "TARGETING_TYPE_CARRIER_AND_ISP",
+ "TARGETING_TYPE_OPERATING_SYSTEM",
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
+ "TARGETING_TYPE_KEYWORD",
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
+ "TARGETING_TYPE_VIEWABILITY",
+ "TARGETING_TYPE_CATEGORY",
+ "TARGETING_TYPE_INVENTORY_SOURCE",
+ "TARGETING_TYPE_LANGUAGE",
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
+ "TARGETING_TYPE_GEO_REGION",
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
+ "TARGETING_TYPE_EXCHANGE",
+ "TARGETING_TYPE_SUB_EXCHANGE"
+ ],
+ "enumDescriptions": [
+ "Default value when type is not specified or is unknown in this version.",
+ "Target a channel (a custom group of related websites or apps).",
+ "Target an app category (for example, education or puzzle games).",
+ "Target a specific app (for example, Angry Birds).",
+ "Target a specific url (for example, quora.com).",
+ "Target ads during a chosen time period on a specific day.",
+ "Target ads to a specific age range (for example, 18-24).",
+ "Target ads to the specified regions on a regional location list.",
+ "Target ads to the specified points of interest on a proximity location\nlist.",
+ "Target ads to a specific gender (for example, female or male).",
+ "Target a specific video player size for video ads.",
+ "Target user rewarded content for video ads.",
+ "Target ads to a specific parental status (for example, parent or not a\nparent).",
+ "Target video or audio ads in a specific content instream position (for\nexample, pre-roll, mid-roll, or post-roll).",
+ "Target ads in a specific content outstream position.",
+ "Target ads to a specific device type (for example, tablet or connected TV).",
+ "Target ads to an audience or groups of audiences.\nSingleton field, at most one can exist on a single Lineitem at a time.",
+ "Target ads to specific web browsers (for example, Chrome).",
+ "Target ads to a specific household income range (for example, top 10%).",
+ "Target ads in a specific on screen position.",
+ "Filter web sites through third party verification (for example, IAS or\nDoubleVerify).",
+ "Filter web sites by specific digital content label ratings (for example,\nDL-MA: suitable only for mature audiences).",
+ "Filter website content by sensitive categories (for example, adult).",
+ "Target ads to a specific environment (for example, web or app).",
+ "Target ads to a specific network carrier or internet service provider\n(ISP) (for example, Comcast or Orange).",
+ "Target ads to a specific operating system (for example, macOS).",
+ "Target ads to a specific device make or model (for example, Roku or\nSamsung).",
+ "Target ads to a specific keyword (for example, dog or retriever).",
+ "Target ads to a specific negative keyword list.",
+ "Target ads to a specific viewability (for example, 80% viewable).",
+ "Target ads to a specific content category (for example, arts &\nentertainment).",
+ "Purchase impressions from specific deals and auction packages.",
+ "Target ads to a specific language (for example, English or Japanese).",
+ "Target ads to ads.txt authorized sellers.",
+ "Target ads to a specific regional location (for example, a city or state).",
+ "Purchase impressions from a group of deals and auction packages.",
+ "Purchase impressions from specific exchanges.",
+ "Purchase impressions from specific sub-exchanges."
+ ],
+ "type": "string"
+ },
+ "thirdPartyVerifierDetails": {
+ "$ref": "ThirdPartyVerifierAssignedTargetingOptionDetails",
+ "description": "Third party verification details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_THIRD_PARTY_VERIFIER`."
+ },
+ "urlDetails": {
+ "$ref": "UrlAssignedTargetingOptionDetails",
+ "description": "URL details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_URL`."
+ },
+ "userRewardedContentDetails": {
+ "$ref": "UserRewardedContentAssignedTargetingOptionDetails",
+ "description": "User rewarded content details. This field will be populated when the\nTargetingType is\n`TARGETING_TYPE_USER_REWARDED_CONTENT`."
+ },
+ "videoPlayerSizeDetails": {
+ "$ref": "VideoPlayerSizeAssignedTargetingOptionDetails",
+ "description": "Video player size details. This field will be populated when the\nTargetingType is `TARGETING_TYPE_VIDEO_PLAYER_SIZE`."
+ },
+ "viewabilityDetails": {
+ "$ref": "ViewabilityAssignedTargetingOptionDetails",
+ "description": "Viewability details. This field will be populated when the TargetingType\nis `TARGETING_TYPE_VIEWABILITY`.\n\nYou can only target one viewability option per line item."
+ }
+ },
+ "type": "object"
+ },
+ "AudienceGroupAssignedTargetingOptionDetails": {
+ "description": "Assigned audience group targeting option details. This will be populated in\nthe details field of an AssignedTargetingOption when\ntargeting_type is\n`TARGETING_TYPE_AUDIENCE_GROUP`.\nThe relation between each group is UNION, except for\nexcluded_first_and_third_party_audience_group and\nexcluded_google_audience_group, of which COMPLEMENT is UNION'ed with other\ngroups.",
+ "id": "AudienceGroupAssignedTargetingOptionDetails",
+ "properties": {
+ "excludedFirstAndThirdPartyAudienceGroup": {
+ "$ref": "FirstAndThirdPartyAudienceGroup",
+ "description": "The first and third party audience ids and recencies of the excluded\nfirst and third party audience group. Used for negative targeting. Its\nCOMPLEMENT is used to UNION other audience groups."
+ },
+ "excludedGoogleAudienceGroup": {
+ "$ref": "GoogleAudienceGroup",
+ "description": "The Google audience ids of the excluded Google audience group.\nUsed for negative targeting. It's COMPLEMENT is used to UNION other\naudience groups.\nOnly contains Affinity, In-market and Installed-apps type Google audiences.\nAll items are logically \u2018OR\u2019 of each other."
+ },
+ "includedCombinedAudienceGroup": {
+ "$ref": "CombinedAudienceGroup",
+ "description": "The combined audience ids of the included combined audience group.\nContains combined audience ids only."
+ },
+ "includedCustomListGroup": {
+ "$ref": "CustomListGroup",
+ "description": "The custom list ids of the included custom list group.\nContains custom list ids only."
+ },
+ "includedFirstAndThirdPartyAudienceGroups": {
+ "description": "The first and third party audience ids and recencies of included first\nand third party audience groups. Each first and third party audience group\ncontains first and third party audience ids only.\nThe relation between each first and third party audience group is\nINTERSECTION, and the result is UNION'ed with other audience groups.\nRepeated groups with same settings will be ignored.",
+ "items": {
+ "$ref": "FirstAndThirdPartyAudienceGroup"
+ },
+ "type": "array"
+ },
+ "includedGoogleAudienceGroup": {
+ "$ref": "GoogleAudienceGroup",
+ "description": "The Google audience ids of the included Google audience group.\nContains Google audience ids only."
+ }
+ },
+ "type": "object"
+ },
+ "AudioVideoOffset": {
+ "description": "The length an audio or a video has been played.",
+ "id": "AudioVideoOffset",
+ "properties": {
+ "percentage": {
+ "description": "The offset in percentage of the audio or video duration.",
+ "format": "int64",
+ "type": "string"
+ },
+ "seconds": {
+ "description": "The offset in seconds from the start of the audio or video.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AuthorizedSellerStatusAssignedTargetingOptionDetails": {
+ "description": "Represents an assigned authorized seller status. This will be populated in\nthe details field of an AssignedTargetingOption when\ntargeting_type is\n`TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`.",
+ "id": "AuthorizedSellerStatusAssignedTargetingOptionDetails",
+ "properties": {
+ "authorizedSellerStatus": {
+ "description": "Output only. The authorized seller status to target.",
+ "enum": [
+ "AUTHORIZED_SELLER_STATUS_UNSPECIFIED",
+ "AUTHORIZED_SELLER_STATUS_AUTHORIZED_DIRECT_SELLERS_ONLY",
+ "AUTHORIZED_SELLER_STATUS_AUTHORIZED_AND_NON_PARTICIPATING_PUBLISHERS"
+ ],
+ "enumDescriptions": [
+ "Default value when authorized seller status is not specified in this\nversion. This enum is a placeholder for default value and does not\nrepresent a real authorized seller status option.",
+ "Only authorized sellers that directly own the inventory being monetized, as\nindicated by a DIRECT declaration in the ads.txt file.",
+ "All authorized sellers, including publishers that have not posted an\nads.txt file. Display & Video 360 automatically disallows unauthorized\nsellers."
+ ],
+ "type": "string"
+ },
+ "targetingOptionId": {
+ "description": "Required. The targeting_option_id of a\nTargetingOption of type `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AuthorizedSellerStatusTargetingOptionDetails": {
+ "description": "Represents a targetable authorized seller status. This will be populated in\nthe\nauthorized_seller_status_details\nfield when targeting_type is\n`TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`.",
+ "id": "AuthorizedSellerStatusTargetingOptionDetails",
+ "properties": {
+ "authorizedSellerStatus": {
+ "description": "Output only. The authorized seller status.",
+ "enum": [
+ "AUTHORIZED_SELLER_STATUS_UNSPECIFIED",
+ "AUTHORIZED_SELLER_STATUS_AUTHORIZED_DIRECT_SELLERS_ONLY",
+ "AUTHORIZED_SELLER_STATUS_AUTHORIZED_AND_NON_PARTICIPATING_PUBLISHERS"
+ ],
+ "enumDescriptions": [
+ "Default value when authorized seller status is not specified in this\nversion. This enum is a placeholder for default value and does not\nrepresent a real authorized seller status option.",
+ "Only authorized sellers that directly own the inventory being monetized, as\nindicated by a DIRECT declaration in the ads.txt file.",
+ "All authorized sellers, including publishers that have not posted an\nads.txt file. Display & Video 360 automatically disallows unauthorized\nsellers."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "BiddingStrategy": {
+ "description": "Settings that control the bid strategy.\nBid strategy determines the bid price.",
+ "id": "BiddingStrategy",
+ "properties": {
+ "fixedBid": {
+ "$ref": "FixedBidStrategy",
+ "description": "A strategy that uses a fixed bid price."
+ },
+ "maximizeSpendAutoBid": {
+ "$ref": "MaximizeSpendBidStrategy",
+ "description": "A strategy that automatically adjusts the bid to optimize to your\nperformance goal while spending the full budget.\n\nAt insertion order level, the\nmarkup_type of line items\ncannot be set to `PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM`. In addition,\nwhen\nperformance_goal_type\nis one of:\n\n* `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA`\n* `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC`\n* `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED` ,\n\nthe line_item_type\nof the insertion order line items must be either:\n\n* `LINE_ITEM_TYPE_DISPLAY_DEFAULT`\n* `LINE_ITEM_TYPE_VIDEO_DEFAULT` ,\n\nand when\nperformance_goal_type\nis either:\n\n* `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA`\n* `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN`\n\nthe line_item_type\nof the insertion order line items must be `LINE_ITEM_TYPE_VIDEO_DEFAULT`."
+ },
+ "performanceGoalAutoBid": {
+ "$ref": "PerformanceGoalBidStrategy",
+ "description": "A strategy that automatically adjusts the bid to meet or beat a specified\nperformance goal. It is to be used only for a line item entity."
+ }
+ },
+ "type": "object"
+ },
+ "BrowserAssignedTargetingOptionDetails": {
+ "description": "Details for assigned browser targeting option. This will be populated in\nthe details field of an AssignedTargetingOption when\ntargeting_type is\n`TARGETING_TYPE_BROWSER`.",
+ "id": "BrowserAssignedTargetingOptionDetails",
+ "properties": {
+ "displayName": {
+ "description": "Output only. The display name of the browser.",
+ "type": "string"
+ },
+ "negative": {
+ "description": "Indicates if this option is being negatively targeted. All assigned browser\ntargeting options on the same line item must have the same value for this\nfield.",
+ "type": "boolean"
+ },
+ "targetingOptionId": {
+ "description": "Required. The targeting_option_id of a\nTargetingOption of type `TARGETING_TYPE_BROWSER`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "BrowserTargetingOptionDetails": {
+ "description": "Represents a targetable browser. This will be populated in the\nbrowser_details field when\ntargeting_type is\n`TARGETING_TYPE_BROWSER`.",
+ "id": "BrowserTargetingOptionDetails",
+ "properties": {
+ "displayName": {
+ "description": "Output only. The display name of the browser.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "BulkEditAdvertiserAssignedTargetingOptionsRequest": {
+ "description": "Request message for\nBulkEditAdvertiserAssignedTargetingOptions.",
+ "id": "BulkEditAdvertiserAssignedTargetingOptionsRequest",
+ "properties": {
+ "createRequests": {
+ "description": "The assigned targeting options to create in batch, specified as a list of\n`CreateAssignedTargetingOptionsRequest`.",
+ "items": {
+ "$ref": "CreateAssignedTargetingOptionsRequest"
+ },
+ "type": "array"
+ },
+ "deleteRequests": {
+ "description": "The assigned targeting options to delete in batch, specified as a list of\n`DeleteAssignedTargetingOptionsRequest`.",
+ "items": {
+ "$ref": "DeleteAssignedTargetingOptionsRequest"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "BulkEditAdvertiserAssignedTargetingOptionsResponse": {
+ "id": "BulkEditAdvertiserAssignedTargetingOptionsResponse",
+ "properties": {
+ "createdAssignedTargetingOptions": {
+ "description": "The list of assigned targeting options that have been successfully created.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "AssignedTargetingOption"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "BulkEditAssignedInventorySourcesRequest": {
+ "description": "Request message for AssignedInventorySourceService.BulkEdit.",
+ "id": "BulkEditAssignedInventorySourcesRequest",
+ "properties": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that owns the parent inventory source group.\n\nThe parent partner does not have access to these assigned inventory\nsources.",
+ "format": "int64",
+ "type": "string"
+ },
+ "createdAssignedInventorySources": {
+ "description": "The assigned inventory sources to create in bulk, specified as a list of\nAssignedInventorySources.",
+ "items": {
+ "$ref": "AssignedInventorySource"
+ },
+ "type": "array"
+ },
+ "deletedAssignedInventorySources": {
+ "description": "The IDs of the assigned inventory sources to delete in bulk, specified as a\nlist of\nassigned_inventory_source_ids.",
+ "items": {
+ "format": "int64",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that owns the inventory source group.\n\nOnly this partner has write access to these assigned inventory sources.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "BulkEditAssignedInventorySourcesResponse": {
+ "description": "Response message for AssignedInventorySourceService.BulkEdit.",
+ "id": "BulkEditAssignedInventorySourcesResponse",
+ "properties": {
+ "assignedInventorySources": {
+ "description": "The list of assigned inventory sources that have been successfully created.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "AssignedInventorySource"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "BulkEditAssignedLocationsRequest": {
+ "description": "Request message for AssignedLocationService.BulkEditAssignedLocations.",
+ "id": "BulkEditAssignedLocationsRequest",
+ "properties": {
+ "createdAssignedLocations": {
+ "description": "The assigned locations to create in bulk, specified as a list of\nAssignedLocations.",
+ "items": {
+ "$ref": "AssignedLocation"
+ },
+ "type": "array"
+ },
+ "deletedAssignedLocations": {
+ "description": "The IDs of the assigned locations to delete in bulk, specified as a list of\nassigned_location_ids.",
+ "items": {
+ "format": "int64",
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "BulkEditAssignedLocationsResponse": {
+ "description": "Response message for AssignedLocationService.BulkEditAssignedLocations.",
+ "id": "BulkEditAssignedLocationsResponse",
+ "properties": {
+ "assignedLocations": {
+ "description": "The list of assigned locations that have been successfully created.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "AssignedLocation"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "BulkEditLineItemAssignedTargetingOptionsRequest": {
+ "description": "Request message for\nBulkEditLineItemAssignedTargetingOptions.",
+ "id": "BulkEditLineItemAssignedTargetingOptionsRequest",
+ "properties": {
+ "createRequests": {
+ "description": "The assigned targeting options to create in batch, specified as a list of\n`CreateAssignedTargetingOptionsRequest`.",
+ "items": {
+ "$ref": "CreateAssignedTargetingOptionsRequest"
+ },
+ "type": "array"
+ },
+ "deleteRequests": {
+ "description": "The assigned targeting options to delete in batch, specified as a list of\n`DeleteAssignedTargetingOptionsRequest`.",
+ "items": {
+ "$ref": "DeleteAssignedTargetingOptionsRequest"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "BulkEditLineItemAssignedTargetingOptionsResponse": {
+ "id": "BulkEditLineItemAssignedTargetingOptionsResponse",
+ "properties": {
+ "createdAssignedTargetingOptions": {
+ "description": "The list of assigned targeting options that have been successfully created.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "AssignedTargetingOption"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "BulkEditNegativeKeywordsRequest": {
+ "description": "Request message for NegativeKeywordService.BulkEditNegativeKeywords.",
+ "id": "BulkEditNegativeKeywordsRequest",
+ "properties": {
+ "createdNegativeKeywords": {
+ "description": "The negative keywords to create in batch, specified as a list of\nNegativeKeywords.",
+ "items": {
+ "$ref": "NegativeKeyword"
+ },
+ "type": "array"
+ },
+ "deletedNegativeKeywords": {
+ "description": "The negative keywords to delete in batch, specified as a list of\nkeyword_values.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "BulkEditNegativeKeywordsResponse": {
+ "description": "Response message for NegativeKeywordService.BulkEditNegativeKeywords.",
+ "id": "BulkEditNegativeKeywordsResponse",
+ "properties": {
+ "negativeKeywords": {
+ "description": "The list of negative keywords that have been successfully created.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "NegativeKeyword"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "BulkEditSitesRequest": {
+ "description": "Request message for SiteService.BulkEditSites.",
+ "id": "BulkEditSitesRequest",
+ "properties": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that owns the parent channel.",
+ "format": "int64",
+ "type": "string"
+ },
+ "createdSites": {
+ "description": "The sites to create in batch, specified as a list of Sites.",
+ "items": {
+ "$ref": "Site"
+ },
+ "type": "array"
+ },
+ "deletedSites": {
+ "description": "The sites to delete in batch, specified as a list of site\nurl_or_app_ids.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that owns the parent channel.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "BulkEditSitesResponse": {
+ "description": "Response message for SiteService.BulkEditSites.",
+ "id": "BulkEditSitesResponse",
+ "properties": {
+ "sites": {
+ "description": "The list of sites that have been successfully created.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "Site"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "BulkListAdvertiserAssignedTargetingOptionsResponse": {
+ "id": "BulkListAdvertiserAssignedTargetingOptionsResponse",
+ "properties": {
+ "assignedTargetingOptions": {
+ "description": "The list of assigned targeting options.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "AssignedTargetingOption"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A token identifying the next page of results. This value should be\nspecified as the\npageToken\nin a subsequent BulkListAdvertiserAssignedTargetingOptionsRequest to\nfetch the next page of results. This token will be absent if there are no\nmore\nassigned_targeting_options\nto return.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "BulkListLineItemAssignedTargetingOptionsResponse": {
+ "id": "BulkListLineItemAssignedTargetingOptionsResponse",
+ "properties": {
+ "assignedTargetingOptions": {
+ "description": "The list of assigned targeting options.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "AssignedTargetingOption"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A token identifying the next page of results. This value should be\nspecified as the\npageToken in\na subsequent BulkListLineItemAssignedTargetingOptionsRequest to fetch\nthe next page of results. This token will be absent if there are no more\nassigned_targeting_options\nto return.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Campaign": {
+ "description": "A single campaign.",
+ "id": "Campaign",
+ "properties": {
+ "advertiserId": {
+ "description": "Output only. The unique ID of the advertiser the campaign belongs to.",
+ "format": "int64",
+ "type": "string"
+ },
+ "campaignFlight": {
+ "$ref": "CampaignFlight",
+ "description": "Required. The planned spend and duration of the campaign."
+ },
+ "campaignGoal": {
+ "$ref": "CampaignGoal",
+ "description": "Required. The goal of the campaign."
+ },
+ "campaignId": {
+ "description": "Output only. The unique ID of the campaign. Assigned by the system.",
+ "format": "int64",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Required. The display name of the campaign.\n\nMust be UTF-8 encoded with a maximum size of 240 bytes.",
+ "type": "string"
+ },
+ "entityStatus": {
+ "description": "Required. Controls whether or not the insertion orders under this campaign\ncan spend their budgets and bid on inventory.\n\n* Accepted values are `ENTITY_STATUS_ACTIVE`, `ENTITY_STATUS_ARCHIVED`, and\n`ENTITY_STATUS_PAUSED`.\n* For\nCreateCampaign method,\n`ENTITY_STATUS_ARCHIVED` is not allowed.",
+ "enum": [
+ "ENTITY_STATUS_UNSPECIFIED",
+ "ENTITY_STATUS_ACTIVE",
+ "ENTITY_STATUS_ARCHIVED",
+ "ENTITY_STATUS_DRAFT",
+ "ENTITY_STATUS_PAUSED",
+ "ENTITY_STATUS_SCHEDULED_FOR_DELETION"
+ ],
+ "enumDescriptions": [
+ "Default value when status is not specified or is unknown in this version.",
+ "The entity is enabled to bid and spend budget.",
+ "The entity is archived. Bidding and budget spending are disabled. An\nentity can be deleted after archived. Deleted entities cannot be retrieved.",
+ "The entity is under draft. Bidding and budget spending are disabled.",
+ "Bidding and budget spending are paused for the entity.",
+ "The entity is scheduled for deletion."
+ ],
+ "type": "string"
+ },
+ "frequencyCap": {
+ "$ref": "FrequencyCap",
+ "description": "Required. The frequency cap setting of the campaign."
+ },
+ "name": {
+ "description": "Output only. The resource name of the campaign.",
+ "type": "string"
+ },
+ "updateTime": {
+ "description": "Output only. The timestamp when the campaign was last updated. Assigned by the system.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CampaignFlight": {
+ "description": "Settings that track the planned spend and duration of a campaign.",
+ "id": "CampaignFlight",
+ "properties": {
+ "plannedDates": {
+ "$ref": "DateRange",
+ "description": "Required. The dates that the campaign is expected to run. They are resolved\nrelative to the parent advertiser's time zone.\n\n* The dates specified here will not affect serving. They are used to\ngenerate alerts and warnings. For example, if the flight date of any child\ninsertion order is outside the range of these dates, the user interface\nwill show a warning.\n* `start_date` is required and must be the current date or later.\n* `end_date` is optional. If specified, it must be the `start_date` or\nlater.\n* Any specified date must be before the year 2037."
+ },
+ "plannedSpendAmountMicros": {
+ "description": "The amount the campaign is expected to spend for its given\nplanned_dates. This will not limit serving,\nbut will be used for tracking spend in the DV360 UI.\n\nThe amount is in micros. Must be greater than or equal to 0. For example,\n500000000 represents 500 standard units of the currency.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CampaignGoal": {
+ "description": "Settings that control the goal of a campaign.",
+ "id": "CampaignGoal",
+ "properties": {
+ "campaignGoalType": {
+ "description": "Required. The type of the campaign goal.",
+ "enum": [
+ "CAMPAIGN_GOAL_TYPE_UNSPECIFIED",
+ "CAMPAIGN_GOAL_TYPE_APP_INSTALL",
+ "CAMPAIGN_GOAL_TYPE_BRAND_AWARENESS",
+ "CAMPAIGN_GOAL_TYPE_OFFLINE_ACTION",
+ "CAMPAIGN_GOAL_TYPE_ONLINE_ACTION"
+ ],
+ "enumDescriptions": [
+ "Goal value is not specified or unknown in this version.",
+ "Drive app installs or engagements.",
+ "Raise awareness of a brand or product.",
+ "Drive offline or in-store sales.",
+ "Drive online action or visits."
+ ],
+ "type": "string"
+ },
+ "performanceGoal": {
+ "$ref": "PerformanceGoal",
+ "description": "Required. The performance goal of the campaign.\n\nAcceptable values for\nperformance_goal_type are:\n\n* `PERFORMANCE_GOAL_TYPE_CPM`\n* `PERFORMANCE_GOAL_TYPE_CPC`\n* `PERFORMANCE_GOAL_TYPE_CPA`\n* `PERFORMANCE_GOAL_TYPE_CPIAVC`\n* `PERFORMANCE_GOAL_TYPE_CTR`\n* `PERFORMANCE_GOAL_TYPE_VIEWABILITY`\n* `PERFORMANCE_GOAL_TYPE_OTHER`"
+ }
+ },
+ "type": "object"
+ },
+ "CarrierAndIspAssignedTargetingOptionDetails": {
+ "description": "Details for assigned carrier and ISP targeting option. This will be populated\nin the details field of an AssignedTargetingOption when\ntargeting_type is\n`TARGETING_TYPE_CARRIER_AND_ISP`.",
+ "id": "CarrierAndIspAssignedTargetingOptionDetails",
+ "properties": {
+ "displayName": {
+ "description": "Output only. The display name of the carrier or ISP.",
+ "type": "string"
+ },
+ "negative": {
+ "description": "Indicates if this option is being negatively targeted. All assigned carrier\nand ISP targeting options on the same line item must have the same value\nfor this field.",
+ "type": "boolean"
+ },
+ "targetingOptionId": {
+ "description": "Required. The targeting_option_id of a\nTargetingOption of type `TARGETING_TYPE_CARRIER_AND_ISP`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CarrierAndIspTargetingOptionDetails": {
+ "description": "Represents a targetable carrier or ISP. This will be populated in the\ncarrier_and_isp_details field of\na TargetingOption when\ntargeting_type is\n`TARGETING_TYPE_CARRIER_AND_ISP`.",
+ "id": "CarrierAndIspTargetingOptionDetails",
+ "properties": {
+ "displayName": {
+ "description": "Output only. The display name of the carrier or ISP.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Output only. The type indicating if it's carrier or ISP.",
+ "enum": [
+ "CARRIER_AND_ISP_TYPE_UNSPECIFIED",
+ "CARRIER_AND_ISP_TYPE_ISP",
+ "CARRIER_AND_ISP_TYPE_CARRIER"
+ ],
+ "enumDescriptions": [
+ "Default value when type is not specified or is unknown in this version.",
+ "Indicates this targeting resource refers to an ISP.",
+ "Indicates this targeting resource refers to a mobile carrier."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CategoryAssignedTargetingOptionDetails": {
+ "description": "Assigned category targeting option details. This will be populated in the\ncategory_details field when\ntargeting_type is\n`TARGETING_TYPE_CATEGORY`.",
+ "id": "CategoryAssignedTargetingOptionDetails",
+ "properties": {
+ "displayName": {
+ "description": "Output only. The display name of the category.",
+ "type": "string"
+ },
+ "negative": {
+ "description": "Indicates if this option is being negatively targeted.",
+ "type": "boolean"
+ },
+ "targetingOptionId": {
+ "description": "Required. The targeting_option_id field when\ntargeting_type is\n`TARGETING_TYPE_CATEGORY`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CategoryTargetingOptionDetails": {
+ "description": "Represents a targetable category. This will be populated in the\ncategory_details field of a\nTargetingOption when targeting_type is\n`TARGETING_TYPE_CATEGORY`.",
+ "id": "CategoryTargetingOptionDetails",
+ "properties": {
+ "displayName": {
+ "description": "Output only. The display name of the category.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Channel": {
+ "description": "A single channel. Channels are custom groups of related websites and apps.",
+ "id": "Channel",
+ "properties": {
+ "advertiserId": {
+ "description": "The ID of the advertiser that owns the channel.",
+ "format": "int64",
+ "type": "string"
+ },
+ "channelId": {
+ "description": "Output only. The unique ID of the channel. Assigned by the system.",
+ "format": "int64",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Required. The display name of the channel.\nMust be UTF-8 encoded with a maximum length of 240 bytes.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Output only. The resource name of the channel.",
+ "type": "string"
+ },
+ "partnerId": {
+ "description": "The ID of the partner that owns the channel.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ChannelAssignedTargetingOptionDetails": {
+ "description": "Details for assigned channel targeting option. This will be populated in\nthe details field of an AssignedTargetingOption when\ntargeting_type is\n`TARGETING_TYPE_CHANNEL`.",
+ "id": "ChannelAssignedTargetingOptionDetails",
+ "properties": {
+ "channelId": {
+ "description": "Required. ID of the channel. Should refer to the channel ID\nfield on a\n[Partner-owned channel](partners.channels#Channel.FIELDS.channel_id) or\n[advertiser-owned channel](advertisers.channels#Channel.FIELDS.channel_id)\nresource.",
+ "format": "int64",
+ "type": "string"
+ },
+ "negative": {
+ "description": "Indicates if this option is being negatively targeted. For advertiser\nlevel assigned targeting option, this field must be true.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "CmHybridConfig": {
+ "description": "Settings for advertisers that use both Campaign Manager (CM) and third-party\nad servers.",
+ "id": "CmHybridConfig",
+ "properties": {
+ "cmAccountId": {
+ "description": "Required. Immutable. Account ID of the CM Floodlight configuration linked with the DV360\nadvertiser.",
+ "format": "int64",
+ "type": "string"
+ },
+ "cmFloodlightConfigId": {
+ "description": "Required. Immutable. ID of the CM Floodlight configuration linked with the DV360 advertiser.",
+ "format": "int64",
+ "type": "string"
+ },
+ "cmFloodlightLinkingAuthorized": {
+ "description": "Required. Immutable. By setting this field to `true`, you, on behalf of your company,\nauthorize the sharing of information from the given Floodlight\nconfiguration to this Display & Video 360 advertiser.",
+ "type": "boolean"
+ },
+ "cmSyncableSiteIds": {
+ "description": "A list of CM sites whose placements will be synced to DV360 as creatives.\n\nIf absent or empty in\nCreateAdvertiser method, the system\nwill automatically create a CM site.\n\nRemoving sites from this list may cause DV360 creatives synced from CM to\nbe deleted. At least one site must be specified.",
+ "items": {
+ "format": "int64",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "dv360ToCmCostReportingEnabled": {
+ "description": "Whether or not to report DV360 cost to CM.",
+ "type": "boolean"
+ },
+ "dv360ToCmDataSharingEnabled": {
+ "description": "Whether or not to include DV360 data in CM data transfer reports.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "CmTrackingAd": {
+ "description": "A Campaign Manager tracking ad.",
+ "id": "CmTrackingAd",
+ "properties": {
+ "cmAdId": {
+ "description": "The ad ID of the campaign manager tracking Ad.",
+ "format": "int64",
+ "type": "string"
+ },
+ "cmCreativeId": {
+ "description": "The creative ID of the campaign manager tracking Ad.",
+ "format": "int64",
+ "type": "string"
+ },
+ "cmPlacementId": {
+ "description": "The placement ID of the campaign manager tracking Ad.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CombinedAudience": {
+ "description": "Describes a combined audience resource.",
+ "id": "CombinedAudience",
+ "properties": {
+ "combinedAudienceId": {
+ "description": "Output only. The unique ID of the combined audience. Assigned by the system.",
+ "format": "int64",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Output only. The display name of the combined audience.\n.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Output only. The resource name of the combined audience.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CombinedAudienceGroup": {
+ "description": "Details of combined audience group.\nAll combined audience targeting settings are logically \u2018OR\u2019 of each other.",
+ "id": "CombinedAudienceGroup",
+ "properties": {
+ "settings": {
+ "description": "Required. All combined audience targeting settings in combined audience group.\nRepeated settings with same id will be ignored.\nThe number of combined audience settings should be no more than five, error\nwill be thrown otherwise.",
+ "items": {
+ "$ref": "CombinedAudienceTargetingSetting"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "CombinedAudienceTargetingSetting": {
+ "description": "Details of combined audience targeting setting.",
+ "id": "CombinedAudienceTargetingSetting",
+ "properties": {
+ "combinedAudienceId": {
+ "description": "Required. Combined audience id of combined audience targeting setting.\nThis id is combined_audience_id.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ContentInstreamPositionAssignedTargetingOptionDetails": {
+ "description": "Assigned content instream position targeting option details. This will be\npopulated in the\ncontent_instream_position_details\nfield when\ntargeting_type is\n`TARGETING_TYPE_CONTENT_INSTREAM_POSITION`.",
+ "id": "ContentInstreamPositionAssignedTargetingOptionDetails",
+ "properties": {
+ "contentInstreamPosition": {
+ "description": "Output only. The content instream position for video or audio ads.",
+ "enum": [
+ "CONTENT_INSTREAM_POSITION_UNSPECIFIED",
+ "CONTENT_INSTREAM_POSITION_PRE_ROLL",
+ "CONTENT_INSTREAM_POSITION_MID_ROLL",
+ "CONTENT_INSTREAM_POSITION_POST_ROLL"
+ ],
+ "enumDescriptions": [
+ "Content instream position is not specified in this version. This enum is a\nplace holder for a default value and does not represent a real in stream ad\nposition.",
+ "Ads that play before streaming content.",
+ "Ads that play between the beginning and end of streaming content.",
+ "Ads that play at the end of streaming content."
+ ],
+ "type": "string"
+ },
+ "targetingOptionId": {
+ "description": "Required. The targeting_option_id field when\ntargeting_type is\n`TARGETING_TYPE_CONTENT_INSTREAM_POSITION`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ContentInstreamPositionTargetingOptionDetails": {
+ "description": "Represents a targetable content instream position, which could be used by\nvideo and audio ads. This will be populated in the\ncontent_instream_position_details\nfield when targeting_type is\n`TARGETING_TYPE_CONTENT_INSTREAM_POSITION`.",
+ "id": "ContentInstreamPositionTargetingOptionDetails",
+ "properties": {
+ "contentInstreamPosition": {
+ "description": "Output only. The content instream position.",
+ "enum": [
+ "CONTENT_INSTREAM_POSITION_UNSPECIFIED",
+ "CONTENT_INSTREAM_POSITION_PRE_ROLL",
+ "CONTENT_INSTREAM_POSITION_MID_ROLL",
+ "CONTENT_INSTREAM_POSITION_POST_ROLL"
+ ],
+ "enumDescriptions": [
+ "Content instream position is not specified in this version. This enum is a\nplace holder for a default value and does not represent a real in stream ad\nposition.",
+ "Ads that play before streaming content.",
+ "Ads that play between the beginning and end of streaming content.",
+ "Ads that play at the end of streaming content."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ContentOutstreamPositionAssignedTargetingOptionDetails": {
+ "description": "Assigned content outstream position targeting option details. This will be\npopulated in the\ncontent_outstream_position_details\nfield when\ntargeting_type is\n`TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`.",
+ "id": "ContentOutstreamPositionAssignedTargetingOptionDetails",
+ "properties": {
+ "contentOutstreamPosition": {
+ "description": "Output only. The content outstream position.",
+ "enum": [
+ "CONTENT_OUTSTREAM_POSITION_UNSPECIFIED",
+ "CONTENT_OUTSTREAM_POSITION_UNKNOWN",
+ "CONTENT_OUTSTREAM_POSITION_IN_ARTICLE",
+ "CONTENT_OUTSTREAM_POSITION_IN_BANNER",
+ "CONTENT_OUTSTREAM_POSITION_IN_FEED",
+ "CONTENT_OUTSTREAM_POSITION_INTERSTITIAL"
+ ],
+ "enumDescriptions": [
+ "Content outstream position is not specified in this version. This enum is a\nplace holder for a default value and does not represent a real content\noutstream position.",
+ "The ad position is unknown in the content outstream.",
+ "Ads that appear between the paragraphs of your pages.",
+ "Ads that display on the top and the sides of a page.",
+ "Ads that appear in a scrollable stream of content. A feed is typically\neditorial (e.g. a list of articles or news) or listings (e.g. a list of\nproducts or services).",
+ "Ads shown before or between content loads."
+ ],
+ "type": "string"
+ },
+ "targetingOptionId": {
+ "description": "Required. The targeting_option_id field when\ntargeting_type is\n`TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ContentOutstreamPositionTargetingOptionDetails": {
+ "description": "Represents a targetable content outstream position, which could be used by\ndisplay and video ads. This will be populated in the\ncontent_outstream_position_details\nfield when targeting_type is\n`TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`.",
+ "id": "ContentOutstreamPositionTargetingOptionDetails",
+ "properties": {
+ "contentOutstreamPosition": {
+ "description": "Output only. The content outstream position.",
+ "enum": [
+ "CONTENT_OUTSTREAM_POSITION_UNSPECIFIED",
+ "CONTENT_OUTSTREAM_POSITION_UNKNOWN",
+ "CONTENT_OUTSTREAM_POSITION_IN_ARTICLE",
+ "CONTENT_OUTSTREAM_POSITION_IN_BANNER",
+ "CONTENT_OUTSTREAM_POSITION_IN_FEED",
+ "CONTENT_OUTSTREAM_POSITION_INTERSTITIAL"
+ ],
+ "enumDescriptions": [
+ "Content outstream position is not specified in this version. This enum is a\nplace holder for a default value and does not represent a real content\noutstream position.",
+ "The ad position is unknown in the content outstream.",
+ "Ads that appear between the paragraphs of your pages.",
+ "Ads that display on the top and the sides of a page.",
+ "Ads that appear in a scrollable stream of content. A feed is typically\neditorial (e.g. a list of articles or news) or listings (e.g. a list of\nproducts or services).",
+ "Ads shown before or between content loads."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ConversionCountingConfig": {
+ "description": "Settings that control how conversions are counted.\n\nAll post-click conversions will be counted. A percentage value can be set\nfor post-view conversions counting.",
+ "id": "ConversionCountingConfig",
+ "properties": {
+ "floodlightActivityConfigs": {
+ "description": "The Floodlight activity configs used to track conversions.\n\nThe number of conversions counted is the sum of all of the conversions\ncounted by all of the Floodlight activity IDs specified in this field.",
+ "items": {
+ "$ref": "TrackingFloodlightActivityConfig"
+ },
+ "type": "array"
+ },
+ "postViewCountPercentageMillis": {
+ "description": "The percentage of post-view conversions to count, in millis (1/1000 of a\npercent). Must be between 0 and 100000 inclusive.\n\nFor example, to track 50% of the post-click conversions, set a value of\n50000.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CounterEvent": {
+ "description": "Counter event of the creative.",
+ "id": "CounterEvent",
+ "properties": {
+ "name": {
+ "description": "Required. The name of the counter event.",
+ "type": "string"
+ },
+ "reportingName": {
+ "description": "Required. The name used to identify this counter event in reports.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CreateAssetRequest": {
+ "description": "A request message for CreateAsset.",
+ "id": "CreateAssetRequest",
+ "properties": {
+ "filename": {
+ "description": "Required. The filename of the asset, including the file extension.\n\nThe filename must be UTF-8 encoded with a maximum size of 240 bytes.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CreateAssetResponse": {
+ "description": "A response message for CreateAsset.",
+ "id": "CreateAssetResponse",
+ "properties": {
+ "asset": {
+ "$ref": "Asset",
+ "description": "The uploaded asset, if successful."
+ }
+ },
+ "type": "object"
+ },
+ "CreateAssignedTargetingOptionsRequest": {
+ "description": "A request listing which assigned targeting options of a given targeting type\nshould be created and added.",
+ "id": "CreateAssignedTargetingOptionsRequest",
+ "properties": {
+ "assignedTargetingOptions": {
+ "description": "Required. The assigned targeting options to create and add.",
+ "items": {
+ "$ref": "AssignedTargetingOption"
+ },
+ "type": "array"
+ },
+ "targetingType": {
+ "description": "Required. Identifies the type of this assigned targeting option.",
+ "enum": [
+ "TARGETING_TYPE_UNSPECIFIED",
+ "TARGETING_TYPE_CHANNEL",
+ "TARGETING_TYPE_APP_CATEGORY",
+ "TARGETING_TYPE_APP",
+ "TARGETING_TYPE_URL",
+ "TARGETING_TYPE_DAY_AND_TIME",
+ "TARGETING_TYPE_AGE_RANGE",
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
+ "TARGETING_TYPE_GENDER",
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
+ "TARGETING_TYPE_PARENTAL_STATUS",
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
+ "TARGETING_TYPE_DEVICE_TYPE",
+ "TARGETING_TYPE_AUDIENCE_GROUP",
+ "TARGETING_TYPE_BROWSER",
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
+ "TARGETING_TYPE_ENVIRONMENT",
+ "TARGETING_TYPE_CARRIER_AND_ISP",
+ "TARGETING_TYPE_OPERATING_SYSTEM",
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
+ "TARGETING_TYPE_KEYWORD",
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
+ "TARGETING_TYPE_VIEWABILITY",
+ "TARGETING_TYPE_CATEGORY",
+ "TARGETING_TYPE_INVENTORY_SOURCE",
+ "TARGETING_TYPE_LANGUAGE",
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
+ "TARGETING_TYPE_GEO_REGION",
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
+ "TARGETING_TYPE_EXCHANGE",
+ "TARGETING_TYPE_SUB_EXCHANGE"
+ ],
+ "enumDescriptions": [
+ "Default value when type is not specified or is unknown in this version.",
+ "Target a channel (a custom group of related websites or apps).",
+ "Target an app category (for example, education or puzzle games).",
+ "Target a specific app (for example, Angry Birds).",
+ "Target a specific url (for example, quora.com).",
+ "Target ads during a chosen time period on a specific day.",
+ "Target ads to a specific age range (for example, 18-24).",
+ "Target ads to the specified regions on a regional location list.",
+ "Target ads to the specified points of interest on a proximity location\nlist.",
+ "Target ads to a specific gender (for example, female or male).",
+ "Target a specific video player size for video ads.",
+ "Target user rewarded content for video ads.",
+ "Target ads to a specific parental status (for example, parent or not a\nparent).",
+ "Target video or audio ads in a specific content instream position (for\nexample, pre-roll, mid-roll, or post-roll).",
+ "Target ads in a specific content outstream position.",
+ "Target ads to a specific device type (for example, tablet or connected TV).",
+ "Target ads to an audience or groups of audiences.\nSingleton field, at most one can exist on a single Lineitem at a time.",
+ "Target ads to specific web browsers (for example, Chrome).",
+ "Target ads to a specific household income range (for example, top 10%).",
+ "Target ads in a specific on screen position.",
+ "Filter web sites through third party verification (for example, IAS or\nDoubleVerify).",
+ "Filter web sites by specific digital content label ratings (for example,\nDL-MA: suitable only for mature audiences).",
+ "Filter website content by sensitive categories (for example, adult).",
+ "Target ads to a specific environment (for example, web or app).",
+ "Target ads to a specific network carrier or internet service provider\n(ISP) (for example, Comcast or Orange).",
+ "Target ads to a specific operating system (for example, macOS).",
+ "Target ads to a specific device make or model (for example, Roku or\nSamsung).",
+ "Target ads to a specific keyword (for example, dog or retriever).",
+ "Target ads to a specific negative keyword list.",
+ "Target ads to a specific viewability (for example, 80% viewable).",
+ "Target ads to a specific content category (for example, arts &\nentertainment).",
+ "Purchase impressions from specific deals and auction packages.",
+ "Target ads to a specific language (for example, English or Japanese).",
+ "Target ads to ads.txt authorized sellers.",
+ "Target ads to a specific regional location (for example, a city or state).",
+ "Purchase impressions from a group of deals and auction packages.",
+ "Purchase impressions from specific exchanges.",
+ "Purchase impressions from specific sub-exchanges."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CreateSdfDownloadTaskRequest": {
+ "description": "Request message for [SdfDownloadTaskService.CreateSdfDownloadTask].",
+ "id": "CreateSdfDownloadTaskRequest",
+ "properties": {
+ "advertiserId": {
+ "description": "The ID of the advertiser to download SDF for.",
+ "format": "int64",
+ "type": "string"
+ },
+ "idFilter": {
+ "$ref": "IdFilter",
+ "description": "Filters on entities by their entity IDs."
+ },
+ "inventorySourceFilter": {
+ "$ref": "InventorySourceFilter",
+ "description": "Filters on Inventory Sources by their IDs."
+ },
+ "parentEntityFilter": {
+ "$ref": "ParentEntityFilter",
+ "description": "Filters on selected file types. The entities in each file are filtered\n by a chosen set of filter entities. The filter entities must be the same\n type as, or a parent type of, the selected file types."
+ },
+ "partnerId": {
+ "description": "The ID of the partner to download SDF for.",
+ "format": "int64",
+ "type": "string"
+ },
+ "version": {
+ "description": "Required. The SDF version of the downloaded file. If set to\n`SDF_VERSION_UNSPECIFIED`, this will default to the version specified by\nthe advertiser or partner identified by `root_id`. An advertiser inherits\nits SDF version from its partner unless configured otherwise.",
+ "enum": [
+ "SDF_VERSION_UNSPECIFIED",
+ "SDF_VERSION_3_1",
+ "SDF_VERSION_4",
+ "SDF_VERSION_4_1",
+ "SDF_VERSION_4_2",
+ "SDF_VERSION_5",
+ "SDF_VERSION_5_1",
+ "SDF_VERSION_5_2"
+ ],
+ "enumDescriptions": [
+ "SDF version value is not specified or is unknown in this version.",
+ "SDF version 3.1",
+ "SDF version 4",
+ "SDF version 4.1",
+ "SDF version 4.2",
+ "SDF version 5.",
+ "SDF version 5.1",
+ "SDF version 5.2;"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Creative": {
+ "description": "A single Creative.",
+ "id": "Creative",
+ "properties": {
+ "additionalDimensions": {
+ "description": "Additional dimensions.\nApplicable when creative_type is one of:\n\n* `CREATIVE_TYPE_STANDARD`\n* `CREATIVE_TYPE_EXPANDABLE`\n* `CREATIVE_TYPE_NATIVE`\n* `CREATIVE_TYPE_TEMPLATED_APP_INSTALL`\n* `CREATIVE_TYPE_NATIVE_SITE_SQUARE`\n* `CREATIVE_TYPE_LIGHTBOX`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`\n* `CREATIVE_TYPE_PUBLISHER_HOSTED`\n\nIf this field is specified, width_pixels and\nheight_pixels are both required and must be\ngreater than or equal to 0.",
+ "items": {
+ "$ref": "Dimensions"
+ },
+ "type": "array"
+ },
+ "advertiserId": {
+ "description": "Output only. The unique ID of the advertiser the creative belongs to.",
+ "format": "int64",
+ "type": "string"
+ },
+ "appendedTag": {
+ "description": "Third-party HTML tracking tag to be appended to the creative tag.",
+ "type": "string"
+ },
+ "assets": {
+ "description": "Required. Assets associated to this creative.\nAssets can be associated to the creative in one of following roles:\n\n* `ASSET_ROLE_UNSPECIFIED`\n* `ASSET_ROLE_MAIN`\n* `ASSET_ROLE_BACKUP`\n* `ASSET_ROLE_POLITE_LOAD`",
+ "items": {
+ "$ref": "AssetAssociation"
+ },
+ "type": "array"
+ },
+ "cmPlacementId": {
+ "description": "Output only. The unique ID of the Campaign Manager placement associated with the\ncreative.\nThis field is only applicable for creatives that are synced from Campaign\nManager.",
+ "format": "int64",
+ "type": "string"
+ },
+ "cmTrackingAd": {
+ "$ref": "CmTrackingAd",
+ "description": "The Campaign Manager tracking ad associated with the creative.\n\nOptional for the following creative_type when\ncreated by an advertiser that uses both Campaign Manager and third-party ad\nserving:\n\n* `CREATIVE_TYPE_NATIVE`\n* `CREATIVE_TYPE_NATIVE_SITE_SQUARE`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`\n\nOutput only for other cases."
+ },
+ "companionCreativeIds": {
+ "description": "The IDs of companion creatives for a video creative.\n\nYou can assign existing display creatives (with image or HTML5 assets)\nto serve surrounding the publisher's video player. Companions display\naround the video player while the video is playing and remain after the\nvideo has completed.\n\nCreatives contain additional dimensions\ncan not be companion creatives.\n\nThis field is only supported for following\ncreative_type:\n\n* `CREATIVE_TYPE_AUDIO`\n* `CREATIVE_TYPE_VIDEO`",
+ "items": {
+ "format": "int64",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "counterEvents": {
+ "description": "Counter events for a rich media creative.\nCounters track the number of times that a user interacts with any part of a\nrich media creative in a specified way (mouse-overs, mouse-outs, clicks,\ntaps, data loading, keyboard entries, etc.).\nAny event that can be captured in the creative can be recorded as a\ncounter.\nLeave it empty or unset for creatives containing image assets only.",
+ "items": {
+ "$ref": "CounterEvent"
+ },
+ "type": "array"
+ },
+ "createTime": {
+ "description": "Output only. The timestamp when the creative was created. Assigned by\nthe system.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "creativeAttributes": {
+ "description": "Output only. A list of attributes of the creative that is generated by the system.",
+ "enumDescriptions": [
+ "The creative attribute is not specified or is unknown in this version.",
+ "The creative is a VAST creative.",
+ "The creative is a linear VPAID creative.",
+ "The creative is a non-linear VPAID creative."
+ ],
+ "items": {
+ "enum": [
+ "CREATIVE_ATTRIBUTE_UNSPECIFIED",
+ "CREATIVE_ATTRIBUTE_VAST",
+ "CREATIVE_ATTRIBUTE_VPAID_LINEAR",
+ "CREATIVE_ATTRIBUTE_VPAID_NON_LINEAR"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "creativeId": {
+ "description": "Output only. The unique ID of the creative. Assigned by the system.",
+ "format": "int64",
+ "type": "string"
+ },
+ "creativeType": {
+ "description": "Required. Immutable. The type of the creative.",
+ "enum": [
+ "CREATIVE_TYPE_UNSPECIFIED",
+ "CREATIVE_TYPE_STANDARD",
+ "CREATIVE_TYPE_EXPANDABLE",
+ "CREATIVE_TYPE_VIDEO",
+ "CREATIVE_TYPE_NATIVE",
+ "CREATIVE_TYPE_TEMPLATED_APP_INSTALL",
+ "CREATIVE_TYPE_NATIVE_SITE_SQUARE",
+ "CREATIVE_TYPE_TEMPLATED_APP_INSTALL_INTERSTITIAL",
+ "CREATIVE_TYPE_LIGHTBOX",
+ "CREATIVE_TYPE_NATIVE_APP_INSTALL",
+ "CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE",
+ "CREATIVE_TYPE_AUDIO",
+ "CREATIVE_TYPE_PUBLISHER_HOSTED",
+ "CREATIVE_TYPE_NATIVE_VIDEO",
+ "CREATIVE_TYPE_TEMPLATED_APP_INSTALL_VIDEO"
+ ],
+ "enumDescriptions": [
+ "Type value is not specified or is unknown in this version.",
+ "Standard display creative.\n\nCreate and update methods are supported for this creative type if the\nhosting_source is one of the following:\n\n* `HOSTING_SOURCE_HOSTED`\n* `HOSTING_SOURCE_THIRD_PARTY`",
+ "Expandable creative.\n\nCreate and update methods are supported for this creative type if the\nhosting_source is `HOSTING_SOURCE_THIRD_PARTY`",
+ "Video creative.\n\nCreate and update methods are supported for this creative type if the\nhosting_source is one of the following:\n\n* `HOSTING_SOURCE_HOSTED`\n* `HOSTING_SOURCE_THIRD_PARTY`",
+ "Native creative rendered by publishers with assets from advertiser.\n\nCreate and update methods are supported for this creative type if the\nhosting_source is `HOSTING_SOURCE_HOSTED`",
+ "Templated app install mobile creative (banner).\n\nCreate and update methods are **not** supported for this creative type.",
+ "Square native creative.\n\nCreate and update methods are supported for this creative type if the\nhosting_source is `HOSTING_SOURCE_HOSTED`",
+ "Interstitial creative including both display and video.\n\nCreate and update methods are **not** supported for this creative type.",
+ "Responsive and expandable Lightbox creative.\n\nCreate and update methods are **not** supported for this creative type.",
+ "Native app install creative.\n\nCreate and update methods are supported for this creative type if the\nhosting_source is `HOSTING_SOURCE_HOSTED`",
+ "Square native app install creative.\n\nCreate and update methods are supported for this creative type if the\nhosting_source is `HOSTING_SOURCE_HOSTED`",
+ "Audio creative.\n\nCreate and update methods are supported for this creative type if the\nhosting_source is `HOSTING_SOURCE_HOSTED`",
+ "Publisher hosted creative.\n\nCreate and update methods are **not** supported for this creative type.",
+ "Native video creative.\n\nCreate and update methods are supported for this creative type if the\nhosting_source is `HOSTING_SOURCE_HOSTED`",
+ "Templated app install mobile video creative.\n\nCreate and update methods are **not** supported for this creative type."
+ ],
+ "type": "string"
+ },
+ "dimensions": {
+ "$ref": "Dimensions",
+ "description": "Required. Primary dimensions of the creative.\nApplicable to all creative types. The value of\nwidth_pixels and\nheight_pixels defaults to `0`\nwhen creative_type is one of:\n\n* `CREATIVE_TYPE_VIDEO`\n* `CREATIVE_TYPE_TEMPLATED_APP_INSTALL_INTERSTITIAL`\n* `CREATIVE_TYPE_AUDIO`\n* `CREATIVE_TYPE_NATIVE_VIDEO`\n* `CREATIVE_TYPE_TEMPLATED_APP_INSTALL_VIDEO`"
+ },
+ "displayName": {
+ "description": "Required. The display name of the creative.\n\nMust be UTF-8 encoded with a maximum size of 240 bytes.",
+ "type": "string"
+ },
+ "dynamic": {
+ "description": "Output only. Indicates whether the creative is dynamic.",
+ "type": "boolean"
+ },
+ "entityStatus": {
+ "description": "Required. Controls whether or not the creative can serve.\n\nAccepted values are:\n\n* `ENTITY_STATUS_ACTIVE`\n* `ENTITY_STATUS_ARCHIVED`\n* `ENTITY_STATUS_PAUSED`",
+ "enum": [
+ "ENTITY_STATUS_UNSPECIFIED",
+ "ENTITY_STATUS_ACTIVE",
+ "ENTITY_STATUS_ARCHIVED",
+ "ENTITY_STATUS_DRAFT",
+ "ENTITY_STATUS_PAUSED",
+ "ENTITY_STATUS_SCHEDULED_FOR_DELETION"
+ ],
+ "enumDescriptions": [
+ "Default value when status is not specified or is unknown in this version.",
+ "The entity is enabled to bid and spend budget.",
+ "The entity is archived. Bidding and budget spending are disabled. An\nentity can be deleted after archived. Deleted entities cannot be retrieved.",
+ "The entity is under draft. Bidding and budget spending are disabled.",
+ "Bidding and budget spending are paused for the entity.",
+ "The entity is scheduled for deletion."
+ ],
+ "type": "string"
+ },
+ "exitEvents": {
+ "description": "Required. Exit events for this creative.\nAn exit (also known as a click tag) is any area in your creative that\nsomeone can click or tap to open an advertiser's landing page.\nEvery creative must include at least one exit.\nYou can add an exit to your creative in any of the following ways:\n\n* Use Google Web Designer's tap area.\n* Define a JavaScript variable called \"clickTag\".\n* Use the Enabler (Enabler.exit()) to track exits in rich media formats.",
+ "items": {
+ "$ref": "ExitEvent"
+ },
+ "type": "array"
+ },
+ "expandOnHover": {
+ "description": "Optional. Indicates the creative will automatically expand on hover.\n\nOptional and only valid for third-party expandable creatives.\nThird-party expandable creatives are creatives with following hosting\nsource:\n\n* `HOSTING_SOURCE_THIRD_PARTY`\n\ncombined with following creative_type:\n\n* `CREATIVE_TYPE_EXPANDABLE`",
+ "type": "boolean"
+ },
+ "expandingDirection": {
+ "description": "Optional. Specifies the expanding direction of the creative.\n\nRequired and only valid for third-party expandable creatives.\n\nThird-party expandable creatives are creatives with following hosting\nsource:\n\n* `HOSTING_SOURCE_THIRD_PARTY`\n\ncombined with following creative_type:\n\n* `CREATIVE_TYPE_EXPANDABLE`",
+ "enum": [
+ "EXPANDING_DIRECTION_UNSPECIFIED",
+ "EXPANDING_DIRECTION_NONE",
+ "EXPANDING_DIRECTION_UP",
+ "EXPANDING_DIRECTION_DOWN",
+ "EXPANDING_DIRECTION_LEFT",
+ "EXPANDING_DIRECTION_RIGHT",
+ "EXPANDING_DIRECTION_UP_AND_LEFT",
+ "EXPANDING_DIRECTION_UP_AND_RIGHT",
+ "EXPANDING_DIRECTION_DOWN_AND_LEFT",
+ "EXPANDING_DIRECTION_DOWN_AND_RIGHT",
+ "EXPANDING_DIRECTION_UP_OR_DOWN",
+ "EXPANDING_DIRECTION_LEFT_OR_RIGHT",
+ "EXPANDING_DIRECTION_ANY_DIAGONAL"
+ ],
+ "enumDescriptions": [
+ "The expanding direction is not specified.",
+ "Does not expand in any direction.",
+ "Expands up.",
+ "Expands down.",
+ "Expands left.",
+ "Expands right.",
+ "Expands up and to the left side.",
+ "Expands up and to the right side.",
+ "Expands down and to the left side.",
+ "Expands down and to the right side.",
+ "Expands either up or down.",
+ "Expands to either the left or the right side.",
+ "Can expand in any diagonal direction."
+ ],
+ "type": "string"
+ },
+ "hostingSource": {
+ "description": "Required. Indicates where the creative is hosted.",
+ "enum": [
+ "HOSTING_SOURCE_UNSPECIFIED",
+ "HOSTING_SOURCE_CM",
+ "HOSTING_SOURCE_THIRD_PARTY",
+ "HOSTING_SOURCE_HOSTED",
+ "HOSTING_SOURCE_RICH_MEDIA"
+ ],
+ "enumDescriptions": [
+ "Hosting source is not specified or is unknown in this version.",
+ "A creative synced from Campaign Manager.\n\nCreate and update methods are **not** supported for this hosting type.",
+ "A creative hosted by a third-party ad server (3PAS).\n\nCreate and update methods are supported for this hosting type if the\ncreative_type is one of the following:\n\n* `CREATIVE_TYPE_EXPANDABLE`\n* `CREATIVE_TYPE_STANDARD`\n* `CREATIVE_TYPE_VIDEO`",
+ "A creative created in DV360 and hosted by Campaign Manager.\n\nCreate and update methods are supported for this hosting type if the\ncreative_type is one of the following:\n\n* `CREATIVE_TYPE_AUDIO`\n* `CREATIVE_TYPE_NATIVE`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`\n* `CREATIVE_TYPE_NATIVE_SITE_SQUARE`\n* `CREATIVE_TYPE_NATIVE_VIDEO`\n* `CREATIVE_TYPE_STANDARD`\n* `CREATIVE_TYPE_VIDEO`",
+ "A rich media creative created in Studio and hosted by Campaign Manager.\n\nCreate and update methods are **not** supported for this hosting type."
+ ],
+ "type": "string"
+ },
+ "html5Video": {
+ "description": "Output only. Indicates the third-party VAST tag creative requires HTML5 Video support.\n\nOutput only and only valid for third-party VAST tag creatives.\n\nThird-party VAST tag creatives are creatives with following\nhosting_source:\n\n* `HOSTING_SOURCE_THIRD_PARTY`\n\ncombined with following creative_type:\n\n* `CREATIVE_TYPE_VIDEO`",
+ "type": "boolean"
+ },
+ "iasCampaignMonitoring": {
+ "description": "Indicates whether Integral Ad Science (IAS) campaign monitoring is enabled.\nTo enable this for the creative, make sure the\nAdvertiser.creative_config.ias_client_id\nhas been set to your IAS client ID.",
+ "type": "boolean"
+ },
+ "integrationCode": {
+ "description": "ID information used to link this creative to an external system.\nMust be UTF-8 encoded with a length of no more than 10,000 characters.",
+ "type": "string"
+ },
+ "jsTrackerUrl": {
+ "description": "JavaScript measurement URL from supported third-party verification\nproviders (ComScore, DoubleVerify, IAS, Moat). HTML script tags are not\nsupported.\n\nThis field is only supported in following\ncreative_type:\n\n* `CREATIVE_TYPE_NATIVE`\n* `CREATIVE_TYPE_NATIVE_SITE_SQUARE`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`\n* `CREATIVE_TYPE_NATIVE_VIDEO`",
+ "type": "string"
+ },
+ "lineItemIds": {
+ "description": "Output only. The IDs of the line items this creative is associated with.\n\nTo associate a creative to a line item, use\nLineItem.creative_ids instead.",
+ "items": {
+ "format": "int64",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "mediaDuration": {
+ "description": "Output only. Media duration of the creative.\nApplicable when creative_type\nis one of:\n\n* `CREATIVE_TYPE_VIDEO`\n* `CREATIVE_TYPE_AUDIO`\n* `CREATIVE_TYPE_NATIVE_VIDEO`\n* `CREATIVE_TYPE_PUBLISHER_HOSTED`",
+ "format": "google-duration",
+ "type": "string"
+ },
+ "name": {
+ "description": "Output only. The resource name of the creative.",
+ "type": "string"
+ },
+ "notes": {
+ "description": "User notes for this creative.\nMust be UTF-8 encoded with a length of no more than 20,000 characters.",
+ "type": "string"
+ },
+ "obaIcon": {
+ "$ref": "ObaIcon",
+ "description": "Specifies the OBA icon for a video creative.\n\nThis field is only supported in following\ncreative_type:\n\n* `CREATIVE_TYPE_VIDEO`"
+ },
+ "progressOffset": {
+ "$ref": "AudioVideoOffset",
+ "description": "Amount of time to play the video before counting a view.\n\nThis field is required when skippable is true.\n\nThis field is only supported for the following\ncreative_type:\n\n* `CREATIVE_TYPE_VIDEO`"
+ },
+ "requireHtml5": {
+ "description": "Optional. Indicates that the creative relies on HTML5 to render properly.\n\nOptional and only valid for third-party tag creatives.\nThird-party tag creatives are creatives with following\nhosting_source:\n\n* `HOSTING_SOURCE_THIRD_PARTY`\n\ncombined with following creative_type:\n\n* `CREATIVE_TYPE_STANDARD`\n* `CREATIVE_TYPE_EXPANDABLE`",
+ "type": "boolean"
+ },
+ "requireMraid": {
+ "description": "Optional. Indicates that the creative requires MRAID (Mobile Rich Media Ad Interface\nDefinitions system).\n\nSet this if the creative relies on mobile gestures for interactivity, such\nas swiping or tapping.\n\nOptional and only valid for third-party tag creatives.\n\nThird-party tag creatives are creatives with following\nhosting_source:\n\n* `HOSTING_SOURCE_THIRD_PARTY`\n\ncombined with following creative_type:\n\n* `CREATIVE_TYPE_STANDARD`\n* `CREATIVE_TYPE_EXPANDABLE`",
+ "type": "boolean"
+ },
+ "requirePingForAttribution": {
+ "description": "Optional. Indicates that the creative will wait for a return ping for attribution.\n\nOnly valid when using a Campaign Manager tracking ad with a third-party ad\nserver parameter and the ${DC_DBM_TOKEN} macro.\n\nOptional and only valid for third-party tag creatives or third-party VAST\ntag creatives.\n\nThird-party tag creatives are creatives with following\nhosting_source:\n\n* `HOSTING_SOURCE_THIRD_PARTY`\n\ncombined with following creative_type:\n\n* `CREATIVE_TYPE_STANDARD`\n* `CREATIVE_TYPE_EXPANDABLE`\n\nThird-party VAST tag creatives are creatives with following\nhosting_source:\n\n* `HOSTING_SOURCE_THIRD_PARTY`\n\ncombined with following creative_type:\n\n* `CREATIVE_TYPE_VIDEO`",
+ "type": "boolean"
+ },
+ "reviewStatus": {
+ "$ref": "ReviewStatusInfo",
+ "description": "Output only. The current status of the creative review process."
+ },
+ "skipOffset": {
+ "$ref": "AudioVideoOffset",
+ "description": "Amount of time to play the video before the skip button appears.\n\nThis field is required when skippable is true.\n\nThis field is only supported for the following\ncreative_type:\n\n* `CREATIVE_TYPE_VIDEO`"
+ },
+ "skippable": {
+ "description": "Whether the user can choose to skip a video creative.\n\nThis field is only supported for the following\ncreative_type:\n\n* `CREATIVE_TYPE_VIDEO`",
+ "type": "boolean"
+ },
+ "thirdPartyTag": {
+ "description": "Optional. The original third-party tag used for the creative.\n\nRequired and only valid for third-party tag creatives.\n\nThird-party tag creatives are creatives with following\nhosting_source:\n\n* `HOSTING_SOURCE_THIRD_PARTY`\n\ncombined with following creative_type:\n\n* `CREATIVE_TYPE_STANDARD`\n* `CREATIVE_TYPE_EXPANDABLE`",
+ "type": "string"
+ },
+ "thirdPartyUrls": {
+ "description": "Tracking URLs from third parties to track interactions with a video\ncreative.\n\nThis field is only supported for the following\ncreative_type:\n\n* `CREATIVE_TYPE_AUDIO`\n* `CREATIVE_TYPE_VIDEO`\n* `CREATIVE_TYPE_NATIVE_VIDEO`",
+ "items": {
+ "$ref": "ThirdPartyUrl"
+ },
+ "type": "array"
+ },
+ "timerEvents": {
+ "description": "Timer custom events for a rich media creative.\nTimers track the time during which a user views and interacts with a\nspecified part of a rich media creative.\nA creative can have multiple timer events, each timed independently.\nLeave it empty or unset for creatives containing image assets only.",
+ "items": {
+ "$ref": "TimerEvent"
+ },
+ "type": "array"
+ },
+ "trackerUrls": {
+ "description": "Tracking URLs for analytics providers or third-party ad technology vendors.\n\nThe URLs must start with https (except on inventory that doesn't require\nSSL compliance).\nIf using macros in your URL, use only macros supported by Display & Video\n360.\n\nStandard URLs only, no IMG or SCRIPT tags.\n\nThis field is only supported in following\ncreative_type:\n\n* `CREATIVE_TYPE_NATIVE`\n* `CREATIVE_TYPE_NATIVE_SITE_SQUARE`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL`\n* `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`\n* `CREATIVE_TYPE_NATIVE_VIDEO`",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "transcodes": {
+ "description": "Output only. Audio/Video transcodes.\n\nDisplay & Video 360 transcodes the main asset into a number of alternative\nversions that use different file formats or have different properties\n(resolution, audio bit rate, and video bit rate), each designed for\nspecific video players or bandwidths.\n\nThese transcodes give a publisher's system more options to choose from for\neach impression on your video and ensures that the appropriate file serves\nbased on the viewer\u2019s connection and screen size.\n\nThis field is only supported in following\ncreative_type:\n\n* `CREATIVE_TYPE_VIDEO`\n* `CREATIVE_TYPE_NATIVE_VIDEO`\n* `CREATIVE_TYPE_AUDIO`",
+ "items": {
+ "$ref": "Transcode"
+ },
+ "type": "array"
+ },
+ "universalAdId": {
+ "$ref": "UniversalAdId",
+ "description": "Optional. An optional creative identifier provided by a registry that is unique\nacross all platforms.\n\nUniversal Ad ID is part of the VAST 4.0 standard. It can be modified after\nthe creative is created.\n\nThis field is only supported for the following\ncreative_type:\n\n* `CREATIVE_TYPE_VIDEO`"
+ },
+ "updateTime": {
+ "description": "Output only. The timestamp when the creative was last updated. Assigned by\nthe system.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "vastTagUrl": {
+ "description": "Optional. The URL of the VAST tag for a third-party VAST tag creative.\n\nRequired and only valid for third-party VAST tag creatives.\n\nThird-party VAST tag creatives are creatives with following\nhosting_source:\n\n* `HOSTING_SOURCE_THIRD_PARTY`\n\ncombined with following creative_type:\n\n* `CREATIVE_TYPE_VIDEO`",
+ "type": "string"
+ },
+ "vpaid": {
+ "description": "Output only. Indicates the third-party VAST tag creative requires VPAID (Digital Video\nPlayer-Ad Interface).\n\nOutput only and only valid for third-party VAST tag creatives.\n\nThird-party VAST tag creatives are creatives with following\nhosting_source:\n\n* `HOSTING_SOURCE_THIRD_PARTY`\n\ncombined with following creative_type:\n\n* `CREATIVE_TYPE_VIDEO`",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "CreativeConfig": {
+ "description": "Creative requirements configuration for the inventory source.",
+ "id": "CreativeConfig",
+ "properties": {
+ "creativeType": {
+ "description": "The type of creative that can be assigned to the inventory source.",
+ "enum": [
+ "CREATIVE_TYPE_UNSPECIFIED",
+ "CREATIVE_TYPE_STANDARD",
+ "CREATIVE_TYPE_EXPANDABLE",
+ "CREATIVE_TYPE_VIDEO",
+ "CREATIVE_TYPE_NATIVE",
+ "CREATIVE_TYPE_TEMPLATED_APP_INSTALL",
+ "CREATIVE_TYPE_NATIVE_SITE_SQUARE",
+ "CREATIVE_TYPE_TEMPLATED_APP_INSTALL_INTERSTITIAL",
+ "CREATIVE_TYPE_LIGHTBOX",
+ "CREATIVE_TYPE_NATIVE_APP_INSTALL",
+ "CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE",
+ "CREATIVE_TYPE_AUDIO",
+ "CREATIVE_TYPE_PUBLISHER_HOSTED",
+ "CREATIVE_TYPE_NATIVE_VIDEO",
+ "CREATIVE_TYPE_TEMPLATED_APP_INSTALL_VIDEO"
+ ],
+ "enumDescriptions": [
+ "Type value is not specified or is unknown in this version.",
+ "Standard display creative.\n\nCreate and update methods are supported for this creative type if the\nhosting_source is one of the following:\n\n* `HOSTING_SOURCE_HOSTED`\n* `HOSTING_SOURCE_THIRD_PARTY`",
+ "Expandable creative.\n\nCreate and update methods are supported for this creative type if the\nhosting_source is `HOSTING_SOURCE_THIRD_PARTY`",
+ "Video creative.\n\nCreate and update methods are supported for this creative type if the\nhosting_source is one of the following:\n\n* `HOSTING_SOURCE_HOSTED`\n* `HOSTING_SOURCE_THIRD_PARTY`",
+ "Native creative rendered by publishers with assets from advertiser.\n\nCreate and update methods are supported for this creative type if the\nhosting_source is `HOSTING_SOURCE_HOSTED`",
+ "Templated app install mobile creative (banner).\n\nCreate and update methods are **not** supported for this creative type.",
+ "Square native creative.\n\nCreate and update methods are supported for this creative type if the\nhosting_source is `HOSTING_SOURCE_HOSTED`",
+ "Interstitial creative including both display and video.\n\nCreate and update methods are **not** supported for this creative type.",
+ "Responsive and expandable Lightbox creative.\n\nCreate and update methods are **not** supported for this creative type.",
+ "Native app install creative.\n\nCreate and update methods are supported for this creative type if the\nhosting_source is `HOSTING_SOURCE_HOSTED`",
+ "Square native app install creative.\n\nCreate and update methods are supported for this creative type if the\nhosting_source is `HOSTING_SOURCE_HOSTED`",
+ "Audio creative.\n\nCreate and update methods are supported for this creative type if the\nhosting_source is `HOSTING_SOURCE_HOSTED`",
+ "Publisher hosted creative.\n\nCreate and update methods are **not** supported for this creative type.",
+ "Native video creative.\n\nCreate and update methods are supported for this creative type if the\nhosting_source is `HOSTING_SOURCE_HOSTED`",
+ "Templated app install mobile video creative.\n\nCreate and update methods are **not** supported for this creative type."
+ ],
+ "type": "string"
+ },
+ "displayCreativeConfig": {
+ "$ref": "InventorySourceDisplayCreativeConfig",
+ "description": "The configuration for display creatives.\nApplicable when creative_type is\n`CREATIVE_TYPE_STANDARD`."
+ },
+ "videoCreativeConfig": {
+ "$ref": "InventorySourceVideoCreativeConfig",
+ "description": "The configuration for video creatives.\nApplicable when creative_type is\n`CREATIVE_TYPE_VIDEO`."
+ }
+ },
+ "type": "object"
+ },
+ "CustomList": {
+ "description": "Describes a custom list entity, such as a custom affinity or custom intent\naudience list.",
+ "id": "CustomList",
+ "properties": {
+ "customListId": {
+ "description": "Output only. The unique ID of the custom list. Assigned by the system.",
+ "format": "int64",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Output only. The display name of the custom list.\n.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Output only. The resource name of the custom list.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CustomListGroup": {
+ "description": "Details of custom list group.\nAll custom list targeting settings are logically \u2018OR\u2019 of each other.",
+ "id": "CustomListGroup",
+ "properties": {
+ "settings": {
+ "description": "Required. All custom list targeting settings in custom list group.\nRepeated settings with same id will be ignored.",
+ "items": {
+ "$ref": "CustomListTargetingSetting"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "CustomListTargetingSetting": {
+ "description": "Details of custom list targeting setting.",
+ "id": "CustomListTargetingSetting",
+ "properties": {
+ "customListId": {
+ "description": "Required. Custom id of custom list targeting setting.\nThis id is custom_list_id.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Date": {
+ "description": "Represents a whole or partial calendar date, e.g. a birthday. The time of day\nand time zone are either specified elsewhere or are not significant. The date\nis relative to the Proleptic Gregorian Calendar. This can represent:\n\n* A full date, with non-zero year, month and day values\n* A month and day value, with a zero year, e.g. an anniversary\n* A year on its own, with zero month and day values\n* A year and month value, with a zero day, e.g. a credit card expiration date\n\nRelated types are google.type.TimeOfDay and `google.protobuf.Timestamp`.",
+ "id": "Date",
+ "properties": {
+ "day": {
+ "description": "Day of month. Must be from 1 to 31 and valid for the year and month, or 0\nif specifying a year by itself or a year and month where the day is not\nsignificant.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "month": {
+ "description": "Month of year. Must be from 1 to 12, or 0 if specifying a year without a\nmonth and day.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "year": {
+ "description": "Year of date. Must be from 1 to 9999, or 0 if specifying a date without\na year.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "DateRange": {
+ "description": "A date range.",
+ "id": "DateRange",
+ "properties": {
+ "endDate": {
+ "$ref": "Date",
+ "description": "The upper bound of the date range, inclusive. Must specify a positive value\nfor `year`, `month`, and `day`."
+ },
+ "startDate": {
+ "$ref": "Date",
+ "description": "The lower bound of the date range, inclusive. Must specify a positive value\nfor `year`, `month`, and `day`."
+ }
+ },
+ "type": "object"
+ },
+ "DayAndTimeAssignedTargetingOptionDetails": {
+ "description": "Representation of a segment of time defined on a specific day of the week and\nwith a start and end time.\nThe time represented by `start_hour` must be before the time represented by\n`end_hour`.",
+ "id": "DayAndTimeAssignedTargetingOptionDetails",
+ "properties": {
+ "dayOfWeek": {
+ "description": "Required. The day of the week for this day and time targeting setting.",
+ "enum": [
+ "DAY_OF_WEEK_UNSPECIFIED",
+ "MONDAY",
+ "TUESDAY",
+ "WEDNESDAY",
+ "THURSDAY",
+ "FRIDAY",
+ "SATURDAY",
+ "SUNDAY"
+ ],
+ "enumDescriptions": [
+ "The day of the week is unspecified.",
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday",
+ "Sunday"
+ ],
+ "type": "string"
+ },
+ "endHour": {
+ "description": "Required. The end hour for day and time targeting. Must be between 1 (1 hour after\nstart of day) and 24 (end of day).",
+ "format": "int32",
+ "type": "integer"
+ },
+ "startHour": {
+ "description": "Required. The start hour for day and time targeting. Must be between 0 (start of day)\nand 23 (1 hour before end of day).",
+ "format": "int32",
+ "type": "integer"
+ },
+ "timeZoneResolution": {
+ "description": "Required. The mechanism used to determine which timezone to use for this day and time\ntargeting setting.",
+ "enum": [
+ "TIME_ZONE_RESOLUTION_UNSPECIFIED",
+ "TIME_ZONE_RESOLUTION_END_USER",
+ "TIME_ZONE_RESOLUTION_ADVERTISER"
+ ],
+ "enumDescriptions": [
+ "Time zone resolution is either unspecific or unknown.",
+ "Times are resolved in the time zone of the user that saw the ad.",
+ "Times are resolved in the time zone of the advertiser that served the ad."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "DeleteAssignedTargetingOptionsRequest": {
+ "description": "A request listing which assigned targeting options of a given targeting type\nshould be deleted.",
+ "id": "DeleteAssignedTargetingOptionsRequest",
+ "properties": {
+ "assignedTargetingOptionIds": {
+ "description": "Required. The assigned targeting option IDs to delete.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "targetingType": {
+ "description": "Required. Identifies the type of this assigned targeting option.",
+ "enum": [
+ "TARGETING_TYPE_UNSPECIFIED",
+ "TARGETING_TYPE_CHANNEL",
+ "TARGETING_TYPE_APP_CATEGORY",
+ "TARGETING_TYPE_APP",
+ "TARGETING_TYPE_URL",
+ "TARGETING_TYPE_DAY_AND_TIME",
+ "TARGETING_TYPE_AGE_RANGE",
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
+ "TARGETING_TYPE_GENDER",
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
+ "TARGETING_TYPE_PARENTAL_STATUS",
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
+ "TARGETING_TYPE_DEVICE_TYPE",
+ "TARGETING_TYPE_AUDIENCE_GROUP",
+ "TARGETING_TYPE_BROWSER",
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
+ "TARGETING_TYPE_ENVIRONMENT",
+ "TARGETING_TYPE_CARRIER_AND_ISP",
+ "TARGETING_TYPE_OPERATING_SYSTEM",
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
+ "TARGETING_TYPE_KEYWORD",
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
+ "TARGETING_TYPE_VIEWABILITY",
+ "TARGETING_TYPE_CATEGORY",
+ "TARGETING_TYPE_INVENTORY_SOURCE",
+ "TARGETING_TYPE_LANGUAGE",
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
+ "TARGETING_TYPE_GEO_REGION",
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
+ "TARGETING_TYPE_EXCHANGE",
+ "TARGETING_TYPE_SUB_EXCHANGE"
+ ],
+ "enumDescriptions": [
+ "Default value when type is not specified or is unknown in this version.",
+ "Target a channel (a custom group of related websites or apps).",
+ "Target an app category (for example, education or puzzle games).",
+ "Target a specific app (for example, Angry Birds).",
+ "Target a specific url (for example, quora.com).",
+ "Target ads during a chosen time period on a specific day.",
+ "Target ads to a specific age range (for example, 18-24).",
+ "Target ads to the specified regions on a regional location list.",
+ "Target ads to the specified points of interest on a proximity location\nlist.",
+ "Target ads to a specific gender (for example, female or male).",
+ "Target a specific video player size for video ads.",
+ "Target user rewarded content for video ads.",
+ "Target ads to a specific parental status (for example, parent or not a\nparent).",
+ "Target video or audio ads in a specific content instream position (for\nexample, pre-roll, mid-roll, or post-roll).",
+ "Target ads in a specific content outstream position.",
+ "Target ads to a specific device type (for example, tablet or connected TV).",
+ "Target ads to an audience or groups of audiences.\nSingleton field, at most one can exist on a single Lineitem at a time.",
+ "Target ads to specific web browsers (for example, Chrome).",
+ "Target ads to a specific household income range (for example, top 10%).",
+ "Target ads in a specific on screen position.",
+ "Filter web sites through third party verification (for example, IAS or\nDoubleVerify).",
+ "Filter web sites by specific digital content label ratings (for example,\nDL-MA: suitable only for mature audiences).",
+ "Filter website content by sensitive categories (for example, adult).",
+ "Target ads to a specific environment (for example, web or app).",
+ "Target ads to a specific network carrier or internet service provider\n(ISP) (for example, Comcast or Orange).",
+ "Target ads to a specific operating system (for example, macOS).",
+ "Target ads to a specific device make or model (for example, Roku or\nSamsung).",
+ "Target ads to a specific keyword (for example, dog or retriever).",
+ "Target ads to a specific negative keyword list.",
+ "Target ads to a specific viewability (for example, 80% viewable).",
+ "Target ads to a specific content category (for example, arts &\nentertainment).",
+ "Purchase impressions from specific deals and auction packages.",
+ "Target ads to a specific language (for example, English or Japanese).",
+ "Target ads to ads.txt authorized sellers.",
+ "Target ads to a specific regional location (for example, a city or state).",
+ "Purchase impressions from a group of deals and auction packages.",
+ "Purchase impressions from specific exchanges.",
+ "Purchase impressions from specific sub-exchanges."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "DeviceMakeModelAssignedTargetingOptionDetails": {
+ "description": "Assigned device make and model targeting option details. This will be\npopulated in the\ndevice_make_model_details\nfield when\ntargeting_type is\n`TARGETING_TYPE_DEVICE_MAKE_MODEL`.",
+ "id": "DeviceMakeModelAssignedTargetingOptionDetails",
+ "properties": {
+ "displayName": {
+ "description": "Output only. The display name of the device make and model.",
+ "type": "string"
+ },
+ "negative": {
+ "description": "Indicates if this option is being negatively targeted.",
+ "type": "boolean"
+ },
+ "targetingOptionId": {
+ "description": "Required. The targeting_option_id field when\ntargeting_type is\n`TARGETING_TYPE_DEVICE_MAKE_MODEL`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "DeviceMakeModelTargetingOptionDetails": {
+ "description": "Represents a targetable device make and model. This will be populated in the\ndevice_make_model_details\nfield of a TargetingOption when\ntargeting_type is\n`TARGETING_TYPE_DEVICE_MAKE_MODEL`.",
+ "id": "DeviceMakeModelTargetingOptionDetails",
+ "properties": {
+ "displayName": {
+ "description": "Output only. The display name of the device make and model.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "DeviceTypeAssignedTargetingOptionDetails": {
+ "description": "Targeting details for device type. This will be\npopulated in the details field of an AssignedTargetingOption when\ntargeting_type is\n`TARGETING_TYPE_DEVICE_TYPE`.",
+ "id": "DeviceTypeAssignedTargetingOptionDetails",
+ "properties": {
+ "deviceType": {
+ "description": "Output only. The display name of the device type.",
+ "enum": [
+ "DEVICE_TYPE_UNSPECIFIED",
+ "DEVICE_TYPE_COMPUTER",
+ "DEVICE_TYPE_CONNECTED_TV",
+ "DEVICE_TYPE_SMART_PHONE",
+ "DEVICE_TYPE_TABLET"
+ ],
+ "enumDescriptions": [
+ "Default value when device type is not specified in this version. This\nenum is a placeholder for default value and does not represent a real\ndevice type option.",
+ "The device type is computer.",
+ "The device type is connected TV.",
+ "The device type is smart phone..",
+ "The device type is tablet."
+ ],
+ "type": "string"
+ },
+ "targetingOptionId": {
+ "description": "Required. ID of the device type.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "DeviceTypeTargetingOptionDetails": {
+ "description": "Represents a targetable device type. This will be populated in the\ndevice_type_details field of a\nTargetingOption when targeting_type is\n`TARGETING_TYPE_DEVICE_TYPE`.",
+ "id": "DeviceTypeTargetingOptionDetails",
+ "properties": {
+ "deviceType": {
+ "description": "Output only. The device type that is used to be targeted.",
+ "enum": [
+ "DEVICE_TYPE_UNSPECIFIED",
+ "DEVICE_TYPE_COMPUTER",
+ "DEVICE_TYPE_CONNECTED_TV",
+ "DEVICE_TYPE_SMART_PHONE",
+ "DEVICE_TYPE_TABLET"
+ ],
+ "enumDescriptions": [
+ "Default value when device type is not specified in this version. This\nenum is a placeholder for default value and does not represent a real\ndevice type option.",
+ "The device type is computer.",
+ "The device type is connected TV.",
+ "The device type is smart phone..",
+ "The device type is tablet."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "DigitalContentLabelAssignedTargetingOptionDetails": {
+ "description": "Targeting details for digital content label. This will be\npopulated in the details field of an AssignedTargetingOption when\ntargeting_type is\n`TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION`.",
+ "id": "DigitalContentLabelAssignedTargetingOptionDetails",
+ "properties": {
+ "contentRatingTier": {
+ "description": "Output only. The display name of the digital content label rating tier.",
+ "enum": [
+ "CONTENT_RATING_TIER_UNSPECIFIED",
+ "CONTENT_RATING_TIER_UNRATED",
+ "CONTENT_RATING_TIER_GENERAL",
+ "CONTENT_RATING_TIER_PARENTAL_GUIDANCE",
+ "CONTENT_RATING_TIER_TEENS",
+ "CONTENT_RATING_TIER_MATURE"
+ ],
+ "enumDescriptions": [
+ "Content label is not specified in this version. This enum is a place\nholder for a default value and does not represent a real content rating.",
+ "Content that has not been labeled.",
+ "Content suitable for general audiences.",
+ "Content suitable for most audiences with parental guidance.",
+ "Content suitable for teen and older audiences.",
+ "Content suitable only for mature audiences."
+ ],
+ "type": "string"
+ },
+ "excludedTargetingOptionId": {
+ "description": "Required. ID of the digital content label to be EXCLUDED.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "DigitalContentLabelTargetingOptionDetails": {
+ "description": "Represents a targetable digital content label rating tier. This will be\npopulated in the\ndigital_content_label_details\nfield of the TargetingOption when\ntargeting_type is\n`TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION`.",
+ "id": "DigitalContentLabelTargetingOptionDetails",
+ "properties": {
+ "contentRatingTier": {
+ "description": "Output only. An enum for the content label brand safety tiers.",
+ "enum": [
+ "CONTENT_RATING_TIER_UNSPECIFIED",
+ "CONTENT_RATING_TIER_UNRATED",
+ "CONTENT_RATING_TIER_GENERAL",
+ "CONTENT_RATING_TIER_PARENTAL_GUIDANCE",
+ "CONTENT_RATING_TIER_TEENS",
+ "CONTENT_RATING_TIER_MATURE"
+ ],
+ "enumDescriptions": [
+ "Content label is not specified in this version. This enum is a place\nholder for a default value and does not represent a real content rating.",
+ "Content that has not been labeled.",
+ "Content suitable for general audiences.",
+ "Content suitable for most audiences with parental guidance.",
+ "Content suitable for teen and older audiences.",
+ "Content suitable only for mature audiences."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Dimensions": {
+ "description": "Dimensions.",
+ "id": "Dimensions",
+ "properties": {
+ "heightPixels": {
+ "description": "The height in pixels.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "widthPixels": {
+ "description": "The width in pixels.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "DoubleVerify": {
+ "description": "Details of DoubleVerify settings.",
+ "id": "DoubleVerify",
+ "properties": {
+ "appStarRating": {
+ "$ref": "DoubleVerifyAppStarRating",
+ "description": "Avoid bidding on apps with the star ratings."
+ },
+ "avoidedAgeRatings": {
+ "description": "Avoid bidding on apps with the age rating.",
+ "enumDescriptions": [
+ "This enum is only a placeholder and it doesn't specify any age rating\noptions.",
+ "Apps with unknown age rating.",
+ "Apps rated for Everyone (4+).",
+ "Apps rated for Everyone (9+).",
+ "Apps rated for Teens (12+).",
+ "Apps rated for Mature (17+).",
+ "Apps rated for Adults Only (18+)."
+ ],
+ "items": {
+ "enum": [
+ "AGE_RATING_UNSPECIFIED",
+ "APP_AGE_RATE_UNKNOWN",
+ "APP_AGE_RATE_4_PLUS",
+ "APP_AGE_RATE_9_PLUS",
+ "APP_AGE_RATE_12_PLUS",
+ "APP_AGE_RATE_17_PLUS",
+ "APP_AGE_RATE_18_PLUS"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "brandSafetyCategories": {
+ "$ref": "DoubleVerifyBrandSafetyCategories",
+ "description": "DV Brand Safety Controls."
+ },
+ "displayViewability": {
+ "$ref": "DoubleVerifyDisplayViewability",
+ "description": "Display viewability settings (applicable to display line items only)."
+ },
+ "fraudInvalidTraffic": {
+ "$ref": "DoubleVerifyFraudInvalidTraffic",
+ "description": "Avoid Sites and Apps with historical Fraud & IVT Rates."
+ },
+ "videoViewability": {
+ "$ref": "DoubleVerifyVideoViewability",
+ "description": "Video viewability settings (applicable to video line items only)."
+ }
+ },
+ "type": "object"
+ },
+ "DoubleVerifyAppStarRating": {
+ "description": "Details of DoubleVerify star ratings settings.",
+ "id": "DoubleVerifyAppStarRating",
+ "properties": {
+ "avoidInsufficientStarRating": {
+ "description": "Avoid bidding on apps with insufficient star ratings.",
+ "type": "boolean"
+ },
+ "avoidedStarRating": {
+ "description": "Avoid bidding on apps with the star ratings.",
+ "enum": [
+ "APP_STAR_RATE_UNSPECIFIED",
+ "APP_STAR_RATE_1_POINT_5_LESS",
+ "APP_STAR_RATE_2_LESS",
+ "APP_STAR_RATE_2_POINT_5_LESS",
+ "APP_STAR_RATE_3_LESS",
+ "APP_STAR_RATE_3_POINT_5_LESS",
+ "APP_STAR_RATE_4_LESS",
+ "APP_STAR_RATE_4_POINT_5_LESS"
+ ],
+ "enumDescriptions": [
+ "This enum is only a placeholder and it doesn't specify any app star\nrating options.",
+ "Official Apps with rating < 1.5 Stars.",
+ "Official Apps with rating < 2 Stars.",
+ "Official Apps with rating < 2.5 Stars.",
+ "Official Apps with rating < 3 Stars.",
+ "Official Apps with rating < 3.5 Stars.",
+ "Official Apps with rating < 4 Stars.",
+ "Official Apps with rating < 4.5 Stars."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "DoubleVerifyBrandSafetyCategories": {
+ "description": "Settings for brand safety controls.",
+ "id": "DoubleVerifyBrandSafetyCategories",
+ "properties": {
+ "avoidUnknownBrandSafetyCategory": {
+ "description": "Unknown or unrateable.",
+ "type": "boolean"
+ },
+ "avoidedHighSeverityCategories": {
+ "description": "Brand safety high severity avoidance categories.",
+ "enumDescriptions": [
+ "This enum is only a placeholder and it doesn't specify any high\nseverity categories.",
+ "Adult Content: Pornography, Mature Topics & Nudity.",
+ "Copyright Infringement.",
+ "Drugs/Alcohol/Controlled Substances: Substance Abuse.",
+ "Extreme Graphic/Explicit Violence/Weapons.",
+ "Hate/Profanity.",
+ "Illegal Activities: Criminal Skills.",
+ "Incentivized/Malware/Clutter."
+ ],
+ "items": {
+ "enum": [
+ "HIGHER_SEVERITY_UNSPECIFIED",
+ "ADULT_CONTENT_PORNOGRAPHY",
+ "COPYRIGHT_INFRINGEMENT",
+ "SUBSTANCE_ABUSE",
+ "GRAPHIC_VIOLENCE_WEAPONS",
+ "HATE_PROFANITY",
+ "CRIMINAL_SKILLS",
+ "NUISANCE_INCENTIVIZED_MALWARE_CLUTTER"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "avoidedMediumSeverityCategories": {
+ "description": "Brand safety medium severity avoidance categories.",
+ "enumDescriptions": [
+ "This enum is only a placeholder and it doesn't specify any medium\nseverity categories.",
+ "Ad Servers.",
+ "Adult Content: Swimsuit.",
+ "Controversial Subjects: Alternative Lifestyles.",
+ "Controversial Subjects: Celebrity Gossip.",
+ "Controversial Subjects: Gambling.",
+ "Controversial Subjects: Occult.",
+ "Controversial Subjects: Sex Education.",
+ "Disaster: Aviation.",
+ "Disaster: Man-made.",
+ "Disaster: Natural.",
+ "Disaster: Terrorist Events.",
+ "Disaster: Vehicle.",
+ "Drugs/Alcohol/Controlled Substances: Alcohol.",
+ "Drugs/Alcohol/Controlled Substances: Smoking.",
+ "Negative News: Financial.",
+ "Non-Std Content: Non-English.",
+ "Non-Std Content: Parking Page.",
+ "Unmoderated UGC: Forums, Images & Video.",
+ "Controversial Subjects: Inflammatory Politics and News.",
+ "Negative News: Pharmaceutical."
+ ],
+ "items": {
+ "enum": [
+ "MEDIUM_SEVERITY_UNSPECIFIED",
+ "AD_SERVERS",
+ "ADULT_CONTENT_SWIMSUIT",
+ "ALTERNATIVE_LIFESTYLES",
+ "CELEBRITY_GOSSIP",
+ "GAMBLING",
+ "OCCULT",
+ "SEX_EDUCATION",
+ "DISASTER_AVIATION",
+ "DISASTER_MAN_MADE",
+ "DISASTER_NATURAL",
+ "DISASTER_TERRORIST_EVENTS",
+ "DISASTER_VEHICLE",
+ "ALCOHOL",
+ "SMOKING",
+ "NEGATIVE_NEWS_FINANCIAL",
+ "NON_ENGLISH",
+ "PARKING_PAGE",
+ "UNMODERATED_UGC",
+ "INFLAMMATORY_POLITICS_AND_NEWS",
+ "NEGATIVE_NEWS_PHARMACEUTICAL"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "DoubleVerifyDisplayViewability": {
+ "description": "Details of DoubleVerify display viewability settings.",
+ "id": "DoubleVerifyDisplayViewability",
+ "properties": {
+ "iab": {
+ "description": "Target web and app inventory to maximize IAB viewable rate.",
+ "enum": [
+ "IAB_VIEWED_RATE_UNSPECIFIED",
+ "IAB_VIEWED_RATE_80_PERCENT_HIGHER",
+ "IAB_VIEWED_RATE_75_PERCENT_HIGHER",
+ "IAB_VIEWED_RATE_70_PERCENT_HIGHER",
+ "IAB_VIEWED_RATE_65_PERCENT_HIGHER",
+ "IAB_VIEWED_RATE_60_PERCENT_HIGHER",
+ "IAB_VIEWED_RATE_55_PERCENT_HIGHER",
+ "IAB_VIEWED_RATE_50_PERCENT_HIGHER",
+ "IAB_VIEWED_RATE_40_PERCENT_HIGHER",
+ "IAB_VIEWED_RATE_30_PERCENT_HIGHER"
+ ],
+ "enumDescriptions": [
+ "This enum is only a placeholder and it doesn't specify any IAB viewed\nrate options.",
+ "Target web and app inventory to maximize IAB viewable rate 80% or\nhigher.",
+ "Target web and app inventory to maximize IAB viewable rate 75% or\nhigher.",
+ "Target web and app inventory to maximize IAB viewable rate 70% or\nhigher.",
+ "Target web and app inventory to maximize IAB viewable rate 65% or\nhigher.",
+ "Target web and app inventory to maximize IAB viewable rate 60% or\nhigher.",
+ "Target web and app inventory to maximize IAB viewable rate 55% or\nhigher.",
+ "Target web and app inventory to maximize IAB viewable rate 50% or\nhigher.",
+ "Target web and app inventory to maximize IAB viewable rate 40% or\nhigher.",
+ "Target web and app inventory to maximize IAB viewable rate 30% or\nhigher."
+ ],
+ "type": "string"
+ },
+ "viewableDuring": {
+ "description": "Target web and app inventory to maximize 100% viewable duration.",
+ "enum": [
+ "AVERAGE_VIEW_DURATION_UNSPECIFIED",
+ "AVERAGE_VIEW_DURATION_5_SEC",
+ "AVERAGE_VIEW_DURATION_10_SEC",
+ "AVERAGE_VIEW_DURATION_15_SEC"
+ ],
+ "enumDescriptions": [
+ "This enum is only a placeholder and it doesn't specify any average view\nduration options.",
+ "Target web and app inventory to maximize 100% viewable duration 5\nseconds or more.",
+ "Target web and app inventory to maximize 100% viewable duration 10\nseconds or more.",
+ "Target web and app inventory to maximize 100% viewable duration 15\nseconds or more."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "DoubleVerifyFraudInvalidTraffic": {
+ "description": "DoubleVerify Fraud & Invalid Traffic settings.",
+ "id": "DoubleVerifyFraudInvalidTraffic",
+ "properties": {
+ "avoidInsufficientOption": {
+ "description": "Insufficient Historical Fraud & IVT Stats.",
+ "type": "boolean"
+ },
+ "avoidedFraudOption": {
+ "description": "Avoid Sites and Apps with historical Fraud & IVT.",
+ "enum": [
+ "FRAUD_UNSPECIFIED",
+ "AD_IMPRESSION_FRAUD_100",
+ "AD_IMPRESSION_FRAUD_50",
+ "AD_IMPRESSION_FRAUD_25",
+ "AD_IMPRESSION_FRAUD_10",
+ "AD_IMPRESSION_FRAUD_8",
+ "AD_IMPRESSION_FRAUD_6",
+ "AD_IMPRESSION_FRAUD_4",
+ "AD_IMPRESSION_FRAUD_2"
+ ],
+ "enumDescriptions": [
+ "This enum is only a placeholder and it doesn't specify any fraud and\ninvalid traffic options.",
+ "100% Fraud & IVT.",
+ "50% or Higher Fraud & IVT.",
+ "25% or Higher Fraud & IVT.",
+ "10% or Higher Fraud & IVT.",
+ "8% or Higher Fraud & IVT.",
+ "6% or Higher Fraud & IVT.",
+ "4% or Higher Fraud & IVT.",
+ "2% or Higher Fraud & IVT."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "DoubleVerifyVideoViewability": {
+ "description": "Details of DoubleVerify video viewability settings.",
+ "id": "DoubleVerifyVideoViewability",
+ "properties": {
+ "playerImpressionRate": {
+ "description": "Target inventory to maximize impressions with 400x300 or greater player\nsize.",
+ "enum": [
+ "PLAYER_SIZE_400X300_UNSPECIFIED",
+ "PLAYER_SIZE_400X300_95",
+ "PLAYER_SIZE_400X300_70",
+ "PLAYER_SIZE_400X300_25",
+ "PLAYER_SIZE_400X300_5"
+ ],
+ "enumDescriptions": [
+ "This enum is only a placeholder and it doesn't specify any impressions\noptions.",
+ "Sites with 95%+ of impressions.",
+ "Sites with 70%+ of impressions.",
+ "Sites with 25%+ of impressions.",
+ "Sites with 5%+ of impressions."
+ ],
+ "type": "string"
+ },
+ "videoIab": {
+ "description": "Target web inventory to maximize IAB viewable rate.",
+ "enum": [
+ "VIDEO_IAB_UNSPECIFIED",
+ "IAB_VIEWABILITY_80_PERCENT_HIGHER",
+ "IAB_VIEWABILITY_75_PERCENT_HIGHER",
+ "IAB_VIEWABILITY_70_PERCENT_HIGHER",
+ "IAB_VIEWABILITY_65_PERCENT_HIHGER",
+ "IAB_VIEWABILITY_60_PERCENT_HIGHER",
+ "IAB_VIEWABILITY_55_PERCENT_HIHGER",
+ "IAB_VIEWABILITY_50_PERCENT_HIGHER",
+ "IAB_VIEWABILITY_40_PERCENT_HIHGER",
+ "IAB_VIEWABILITY_30_PERCENT_HIHGER"
+ ],
+ "enumDescriptions": [
+ "This enum is only a placeholder and it doesn't specify any video IAB\nviewable rate options.",
+ "Target web and app inventory to maximize IAB viewable rate 80% or\nhigher.",
+ "Target web and app inventory to maximize IAB viewable rate 75% or\nhigher.",
+ "Target web and app inventory to maximize IAB viewable rate 70% or\nhigher.",
+ "Target web and app inventory to maximize IAB viewable rate 65% or\nhigher.",
+ "Target web and app inventory to maximize IAB viewable rate 60% or\nhigher.",
+ "Target web and app inventory to maximize IAB viewable rate 55% or\nhigher.",
+ "Target web and app inventory to maximize IAB viewable rate 50% or\nhigher.",
+ "Target web and app inventory to maximize IAB viewable rate 40% or\nhigher.",
+ "Target web and app inventory to maximize IAB viewable rate 30% or\nhigher."
+ ],
+ "type": "string"
+ },
+ "videoViewableRate": {
+ "description": "Target web inventory to maximize fully viewable rate.",
+ "enum": [
+ "VIDEO_VIEWABLE_RATE_UNSPECIFIED",
+ "VIEWED_PERFORMANCE_40_PERCENT_HIGHER",
+ "VIEWED_PERFORMANCE_35_PERCENT_HIGHER",
+ "VIEWED_PERFORMANCE_30_PERCENT_HIGHER",
+ "VIEWED_PERFORMANCE_25_PERCENT_HIGHER",
+ "VIEWED_PERFORMANCE_20_PERCENT_HIGHER",
+ "VIEWED_PERFORMANCE_10_PERCENT_HIGHER"
+ ],
+ "enumDescriptions": [
+ "This enum is only a placeholder and it doesn't specify any video\nviewable rate options.",
+ "Target web inventory to maximize fully viewable rate 40% or higher.",
+ "Target web inventory to maximize fully viewable rate 35% or higher.",
+ "Target web inventory to maximize fully viewable rate 30% or higher.",
+ "Target web inventory to maximize fully viewable rate 25% or higher.",
+ "Target web inventory to maximize fully viewable rate 20% or higher.",
+ "Target web inventory to maximize fully viewable rate 10% or higher."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Empty": {
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
+ },
+ "EnvironmentAssignedTargetingOptionDetails": {
+ "description": "Assigned environment targeting option details. This will be populated\nin the details field of an AssignedTargetingOption when\ntargeting_type is\n`TARGETING_TYPE_ENVIRONMENT`.",
+ "id": "EnvironmentAssignedTargetingOptionDetails",
+ "properties": {
+ "environment": {
+ "description": "Output only. The serving environment.",
+ "enum": [
+ "ENVIRONMENT_UNSPECIFIED",
+ "ENVIRONMENT_WEB_OPTIMIZED",
+ "ENVIRONMENT_WEB_NOT_OPTIMIZED",
+ "ENVIRONMENT_APP"
+ ],
+ "enumDescriptions": [
+ "Default value when environment is not specified in this version. This enum\nis a placeholder for default value and does not represent a real\nenvironment option.",
+ "Target inventory displayed in browsers. This includes inventory that was\ndesigned for the device it was viewed on, such as mobile websites viewed on\na mobile device. ENVIRONMENT_WEB_NOT_OPTIMIZED, if targeted, should be\ndeleted prior to the deletion of this targeting option.",
+ "Target inventory displayed in browsers. This includes inventory that was\nnot designed for the device but viewed on it, such as websites optimized\nfor desktop but viewed on a mobile device. ENVIRONMENT_WEB_OPTIMIZED should\nbe targeted prior to the addition of this targeting option.",
+ "Target inventory displayed in apps."
+ ],
+ "type": "string"
+ },
+ "targetingOptionId": {
+ "description": "Required. The targeting_option_id of a\nTargetingOption of type `TARGETING_TYPE_ENVIRONMENT` (e.g., \"508010\"\nfor targeting the `ENVIRONMENT_WEB_OPTIMIZED` option).",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "EnvironmentTargetingOptionDetails": {
+ "description": "Represents a targetable environment. This will be populated in the\nenvironment_details field of a\nTargetingOption when targeting_type is\n`TARGETING_TYPE_ENVIRONMENT`.",
+ "id": "EnvironmentTargetingOptionDetails",
+ "properties": {
+ "environment": {
+ "description": "Output only. The serving environment.",
+ "enum": [
+ "ENVIRONMENT_UNSPECIFIED",
+ "ENVIRONMENT_WEB_OPTIMIZED",
+ "ENVIRONMENT_WEB_NOT_OPTIMIZED",
+ "ENVIRONMENT_APP"
+ ],
+ "enumDescriptions": [
+ "Default value when environment is not specified in this version. This enum\nis a placeholder for default value and does not represent a real\nenvironment option.",
+ "Target inventory displayed in browsers. This includes inventory that was\ndesigned for the device it was viewed on, such as mobile websites viewed on\na mobile device. ENVIRONMENT_WEB_NOT_OPTIMIZED, if targeted, should be\ndeleted prior to the deletion of this targeting option.",
+ "Target inventory displayed in browsers. This includes inventory that was\nnot designed for the device but viewed on it, such as websites optimized\nfor desktop but viewed on a mobile device. ENVIRONMENT_WEB_OPTIMIZED should\nbe targeted prior to the addition of this targeting option.",
+ "Target inventory displayed in apps."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ExchangeAssignedTargetingOptionDetails": {
+ "description": "Details for assigned exchange targeting option. This will be populated in\nthe details field of an AssignedTargetingOption when\ntargeting_type is\n`TARGETING_TYPE_EXCHANGE`.",
+ "id": "ExchangeAssignedTargetingOptionDetails",
+ "properties": {
+ "targetingOptionId": {
+ "description": "Required. The targeting_option_id of a\nTargetingOption of type `TARGETING_TYPE_EXCHANGE`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ExchangeReviewStatus": {
+ "description": "Exchange review status for the creative.",
+ "id": "ExchangeReviewStatus",
+ "properties": {
+ "exchange": {
+ "description": "The exchange reviewing the creative.",
+ "enum": [
+ "EXCHANGE_UNSPECIFIED",
+ "EXCHANGE_GOOGLE_AD_MANAGER",
+ "EXCHANGE_APPNEXUS",
+ "EXCHANGE_BRIGHTROLL",
+ "EXCHANGE_ADFORM",
+ "EXCHANGE_ADMETA",
+ "EXCHANGE_ADMIXER",
+ "EXCHANGE_ADSMOGO",
+ "EXCHANGE_ADSWIZZ",
+ "EXCHANGE_BIDSWITCH",
+ "EXCHANGE_BRIGHTROLL_DISPLAY",
+ "EXCHANGE_CADREON",
+ "EXCHANGE_DAILYMOTION",
+ "EXCHANGE_FIVE",
+ "EXCHANGE_FLUCT",
+ "EXCHANGE_FREEWHEEL",
+ "EXCHANGE_GENIEE",
+ "EXCHANGE_GUMGUM",
+ "EXCHANGE_IMOBILE",
+ "EXCHANGE_IBILLBOARD",
+ "EXCHANGE_IMPROVE_DIGITAL",
+ "EXCHANGE_INDEX",
+ "EXCHANGE_KARGO",
+ "EXCHANGE_MICROAD",
+ "EXCHANGE_MOPUB",
+ "EXCHANGE_NEND",
+ "EXCHANGE_ONE_BY_AOL_DISPLAY",
+ "EXCHANGE_ONE_BY_AOL_MOBILE",
+ "EXCHANGE_ONE_BY_AOL_VIDEO",
+ "EXCHANGE_OOYALA",
+ "EXCHANGE_OPENX",
+ "EXCHANGE_PERMODO",
+ "EXCHANGE_PLATFORMONE",
+ "EXCHANGE_PLATFORMID",
+ "EXCHANGE_PUBMATIC",
+ "EXCHANGE_PULSEPOINT",
+ "EXCHANGE_REVENUEMAX",
+ "EXCHANGE_RUBICON",
+ "EXCHANGE_SMARTCLIP",
+ "EXCHANGE_SMARTRTB",
+ "EXCHANGE_SMARTSTREAMTV",
+ "EXCHANGE_SOVRN",
+ "EXCHANGE_SPOTXCHANGE",
+ "EXCHANGE_STROER",
+ "EXCHANGE_TEADSTV",
+ "EXCHANGE_TELARIA",
+ "EXCHANGE_TVN",
+ "EXCHANGE_UNITED",
+ "EXCHANGE_YIELDLAB",
+ "EXCHANGE_YIELDMO",
+ "EXCHANGE_UNRULYX",
+ "EXCHANGE_OPEN8",
+ "EXCHANGE_TRITON",
+ "EXCHANGE_TRIPLELIFT",
+ "EXCHANGE_TABOOLA",
+ "EXCHANGE_INMOBI",
+ "EXCHANGE_SMAATO",
+ "EXCHANGE_AJA",
+ "EXCHANGE_NEXSTAR_DIGITAL",
+ "EXCHANGE_WAZE"
+ ],
+ "enumDescriptions": [
+ "Exchange is not specified or is unknown in this version.",
+ "Google Ad Manager.",
+ "AppNexus.",
+ "BrightRoll Exchange for Video from Yahoo!.",
+ "Adform.",
+ "Admeta.",
+ "Admixer.",
+ "AdsMogo.",
+ "AdsWizz.",
+ "BidSwitch.",
+ "BrightRoll Exchange for Display from Yahoo!.",
+ "Cadreon.",
+ "Dailymotion.",
+ "Five.",
+ "Fluct.",
+ "FreeWheel SSP.",
+ "Geniee.",
+ "GumGum.",
+ "i-mobile.",
+ "iBILLBOARD.",
+ "Improve Digital.",
+ "Index Exchange.",
+ "Kargo.",
+ "MicroAd.",
+ "MoPub.",
+ "Nend.",
+ "ONE by AOL: Display Market Place.",
+ "ONE by AOL: Mobile.",
+ "ONE by AOL: Video.",
+ "Ooyala.",
+ "OpenX.",
+ "Permodo.",
+ "Platform One.",
+ "PlatformId.",
+ "PubMatic.",
+ "PulsePoint.",
+ "RevenueMax.",
+ "Rubicon.",
+ "SmartClip.",
+ "SmartRTB+.",
+ "SmartstreamTv.",
+ "Sovrn.",
+ "SpotXchange.",
+ "Str\u00f6er SSP.",
+ "TeadsTv.",
+ "Telaria.",
+ "TVN.",
+ "United.",
+ "Yieldlab.",
+ "Yieldmo.",
+ "UnrulyX",
+ "Open8",
+ "Triton.",
+ "TripleLift",
+ "Taboola",
+ "InMobi.",
+ "Smaato",
+ "Aja.",
+ "Nexstar Digital.",
+ "Waze."
+ ],
+ "type": "string"
+ },
+ "status": {
+ "description": "Status of the exchange review.",
+ "enum": [
+ "REVIEW_STATUS_UNSPECIFIED",
+ "REVIEW_STATUS_APPROVED",
+ "REVIEW_STATUS_REJECTED",
+ "REVIEW_STATUS_PENDING"
+ ],
+ "enumDescriptions": [
+ "Type value is not specified or is unknown in this version.",
+ "The creative is approved.",
+ "The creative is rejected.",
+ "The creative is pending review."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ExchangeTargetingOptionDetails": {
+ "description": "Represents a targetable exchange. This will be populated in the\nexchange_details field\nof a TargetingOption when\ntargeting_type is\n`TARGETING_TYPE_EXCHANGE`.",
+ "id": "ExchangeTargetingOptionDetails",
+ "properties": {
+ "exchange": {
+ "description": "Output only. The type of exchange.",
+ "enum": [
+ "EXCHANGE_UNSPECIFIED",
+ "EXCHANGE_GOOGLE_AD_MANAGER",
+ "EXCHANGE_APPNEXUS",
+ "EXCHANGE_BRIGHTROLL",
+ "EXCHANGE_ADFORM",
+ "EXCHANGE_ADMETA",
+ "EXCHANGE_ADMIXER",
+ "EXCHANGE_ADSMOGO",
+ "EXCHANGE_ADSWIZZ",
+ "EXCHANGE_BIDSWITCH",
+ "EXCHANGE_BRIGHTROLL_DISPLAY",
+ "EXCHANGE_CADREON",
+ "EXCHANGE_DAILYMOTION",
+ "EXCHANGE_FIVE",
+ "EXCHANGE_FLUCT",
+ "EXCHANGE_FREEWHEEL",
+ "EXCHANGE_GENIEE",
+ "EXCHANGE_GUMGUM",
+ "EXCHANGE_IMOBILE",
+ "EXCHANGE_IBILLBOARD",
+ "EXCHANGE_IMPROVE_DIGITAL",
+ "EXCHANGE_INDEX",
+ "EXCHANGE_KARGO",
+ "EXCHANGE_MICROAD",
+ "EXCHANGE_MOPUB",
+ "EXCHANGE_NEND",
+ "EXCHANGE_ONE_BY_AOL_DISPLAY",
+ "EXCHANGE_ONE_BY_AOL_MOBILE",
+ "EXCHANGE_ONE_BY_AOL_VIDEO",
+ "EXCHANGE_OOYALA",
+ "EXCHANGE_OPENX",
+ "EXCHANGE_PERMODO",
+ "EXCHANGE_PLATFORMONE",
+ "EXCHANGE_PLATFORMID",
+ "EXCHANGE_PUBMATIC",
+ "EXCHANGE_PULSEPOINT",
+ "EXCHANGE_REVENUEMAX",
+ "EXCHANGE_RUBICON",
+ "EXCHANGE_SMARTCLIP",
+ "EXCHANGE_SMARTRTB",
+ "EXCHANGE_SMARTSTREAMTV",
+ "EXCHANGE_SOVRN",
+ "EXCHANGE_SPOTXCHANGE",
+ "EXCHANGE_STROER",
+ "EXCHANGE_TEADSTV",
+ "EXCHANGE_TELARIA",
+ "EXCHANGE_TVN",
+ "EXCHANGE_UNITED",
+ "EXCHANGE_YIELDLAB",
+ "EXCHANGE_YIELDMO",
+ "EXCHANGE_UNRULYX",
+ "EXCHANGE_OPEN8",
+ "EXCHANGE_TRITON",
+ "EXCHANGE_TRIPLELIFT",
+ "EXCHANGE_TABOOLA",
+ "EXCHANGE_INMOBI",
+ "EXCHANGE_SMAATO",
+ "EXCHANGE_AJA",
+ "EXCHANGE_NEXSTAR_DIGITAL",
+ "EXCHANGE_WAZE"
+ ],
+ "enumDescriptions": [
+ "Exchange is not specified or is unknown in this version.",
+ "Google Ad Manager.",
+ "AppNexus.",
+ "BrightRoll Exchange for Video from Yahoo!.",
+ "Adform.",
+ "Admeta.",
+ "Admixer.",
+ "AdsMogo.",
+ "AdsWizz.",
+ "BidSwitch.",
+ "BrightRoll Exchange for Display from Yahoo!.",
+ "Cadreon.",
+ "Dailymotion.",
+ "Five.",
+ "Fluct.",
+ "FreeWheel SSP.",
+ "Geniee.",
+ "GumGum.",
+ "i-mobile.",
+ "iBILLBOARD.",
+ "Improve Digital.",
+ "Index Exchange.",
+ "Kargo.",
+ "MicroAd.",
+ "MoPub.",
+ "Nend.",
+ "ONE by AOL: Display Market Place.",
+ "ONE by AOL: Mobile.",
+ "ONE by AOL: Video.",
+ "Ooyala.",
+ "OpenX.",
+ "Permodo.",
+ "Platform One.",
+ "PlatformId.",
+ "PubMatic.",
+ "PulsePoint.",
+ "RevenueMax.",
+ "Rubicon.",
+ "SmartClip.",
+ "SmartRTB+.",
+ "SmartstreamTv.",
+ "Sovrn.",
+ "SpotXchange.",
+ "Str\u00f6er SSP.",
+ "TeadsTv.",
+ "Telaria.",
+ "TVN.",
+ "United.",
+ "Yieldlab.",
+ "Yieldmo.",
+ "UnrulyX",
+ "Open8",
+ "Triton.",
+ "TripleLift",
+ "Taboola",
+ "InMobi.",
+ "Smaato",
+ "Aja.",
+ "Nexstar Digital.",
+ "Waze."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ExitEvent": {
+ "description": "Exit event of the creative.",
+ "id": "ExitEvent",
+ "properties": {
+ "name": {
+ "description": "The name of the click tag of the exit event.\n\nThe name must be unique within one creative.\n\nLeave it empty or unset for creatives containing image assets only.",
+ "type": "string"
+ },
+ "reportingName": {
+ "description": "The name used to identify this event in reports.\nLeave it empty or unset for creatives containing image assets only.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Required. The type of the exit event.",
+ "enum": [
+ "EXIT_EVENT_TYPE_UNSPECIFIED",
+ "EXIT_EVENT_TYPE_DEFAULT",
+ "EXIT_EVENT_TYPE_BACKUP"
+ ],
+ "enumDescriptions": [
+ "Exit event type is not specified or is unknown in this version.",
+ "The exit event is the default one.",
+ "The exit event is a backup exit event.\nThere could be multiple backup exit events in a creative."
+ ],
+ "type": "string"
+ },
+ "url": {
+ "description": "Required. The click through URL of the exit event.\nThis is required when type is:\n\n* `EXIT_EVENT_TYPE_DEFAULT`\n* `EXIT_EVENT_TYPE_BACKUP`",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "FirstAndThirdPartyAudience": {
+ "description": "Describes a first or third party audience list used for targeting.\nFirst party audiences are created via usage of client data.\nThird party audiences are provided by Third Party data providers and can only\nbe licensed to customers.",
+ "id": "FirstAndThirdPartyAudience",
+ "properties": {
+ "activeDisplayAudienceSize": {
+ "description": "Output only. The estimated audience size for the Display network in the past month.\n\nIf the size is less than 1000, the number will be hidden and 0 will be\nreturned due to privacy reasons. Otherwise, the number will be rounded off\nto two significant digits.\n\nOnly returned in GET request.",
+ "format": "int64",
+ "type": "string"
+ },
+ "audienceSource": {
+ "description": "Output only. The source of the audience.",
+ "enum": [
+ "AUDIENCE_SOURCE_UNSPECIFIED",
+ "DISPLAY_VIDEO_360",
+ "CAMPAIGN_MANAGER",
+ "AD_MANAGER",
+ "SEARCH_ADS_360",
+ "YOUTUBE",
+ "ADS_DATA_HUB"
+ ],
+ "enumDescriptions": [
+ "Default value when audience source is not specified or is unknown.",
+ "Originated from Display & Video 360.",
+ "Originated from Campaign Manager.",
+ "Originated from Google Ad Manager.",
+ "Originated from Search Ads 360.",
+ "Originated from Youtube.",
+ "Originated from Ads Data Hub."
+ ],
+ "type": "string"
+ },
+ "audienceType": {
+ "description": "Output only. The type of the audience.",
+ "enum": [
+ "AUDIENCE_TYPE_UNSPECIFIED",
+ "CUSTOMER_MATCH_CONTACT_INFO",
+ "CUSTOMER_MATCH_DEVICE_ID",
+ "CUSTOMER_MATCH_USER_ID",
+ "ACTIVITY_BASED",
+ "FREQUENCY_CAP",
+ "TAG_BASED",
+ "YOUTUBE_USERS",
+ "LICENSED"
+ ],
+ "enumDescriptions": [
+ "Default value when type is not specified or is unknown.",
+ "Audience was generated through matching customers to known contact\ninformation.",
+ "Audience was generated through matching customers to known Mobile device\nIDs.",
+ "Audience was generated through matching customers to known User IDs.",
+ "Audience was created based on campaign activity.",
+ "Audience was created based on excluding the number of impressions they\nwere served.",
+ "Audience was created based on custom variables attached to pixel.",
+ "Audience was created based on past interactions with videos, TrueView\nads, or YouTube channel.",
+ "Subtype of third party audience type."
+ ],
+ "type": "string"
+ },
+ "description": {
+ "description": "The user-provided description of the audience.\n\nOnly applicable to first party audiences.",
+ "type": "string"
+ },
+ "displayAudienceSize": {
+ "description": "Output only. The estimated audience size for the Display network.\n\nIf the size is less than 1000, the number will be hidden and 0 will be\nreturned due to privacy reasons. Otherwise, the number will be rounded off\nto two significant digits.\n\nOnly returned in GET request.",
+ "format": "int64",
+ "type": "string"
+ },
+ "displayDesktopAudienceSize": {
+ "description": "Output only. The estimated desktop audience size in Display network.\n\nIf the size is less than 1000, the number will be hidden and 0 will be\nreturned due to privacy reasons. Otherwise, the number will be rounded off\nto two significant digits.\n\nOnly applicable to first party audiences.\n\nOnly returned in GET request.",
+ "format": "int64",
+ "type": "string"
+ },
+ "displayMobileAppAudienceSize": {
+ "description": "Output only. The estimated mobile app audience size in Display network.\n\nIf the size is less than 1000, the number will be hidden and 0 will be\nreturned due to privacy reasons. Otherwise, the number will be rounded off\nto two significant digits.\n\nOnly applicable to first party audiences.\n\nOnly returned in GET request.",
+ "format": "int64",
+ "type": "string"
+ },
+ "displayMobileWebAudienceSize": {
+ "description": "Output only. The estimated mobile web audience size in Display network.\n\nIf the size is less than 1000, the number will be hidden and 0 will be\nreturned due to privacy reasons. Otherwise, the number will be rounded off\nto two significant digits.\n\nOnly applicable to first party audiences.\n\nOnly returned in GET request.",
+ "format": "int64",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "The display name of the first and third party audience.",
+ "type": "string"
+ },
+ "firstAndThirdPartyAudienceId": {
+ "description": "Output only. The unique ID of the first and third party audience. Assigned by the\nsystem.",
+ "format": "int64",
+ "type": "string"
+ },
+ "firstAndThirdPartyAudienceType": {
+ "description": "Output only. Whether the audience is a first or third party audience.",
+ "enum": [
+ "FIRST_AND_THIRD_PARTY_AUDIENCE_TYPE_UNSPECIFIED",
+ "FIRST_AND_THIRD_PARTY_AUDIENCE_TYPE_FIRST_PARTY",
+ "FIRST_AND_THIRD_PARTY_AUDIENCE_TYPE_THIRD_PARTY"
+ ],
+ "enumDescriptions": [
+ "Default value when type is not specified or is unknown.",
+ "Audience that is created via usage of client data.",
+ "Audience that is provided by Third Party data providers."
+ ],
+ "type": "string"
+ },
+ "gmailAudienceSize": {
+ "description": "Output only. The estimated audience size for Gmail network.\n\nIf the size is less than 1000, the number will be hidden and 0 will be\nreturned due to privacy reasons. Otherwise, the number will be rounded off\nto two significant digits.\n\nOnly applicable to first party audiences.\n\nOnly returned in GET request.",
+ "format": "int64",
+ "type": "string"
+ },
+ "membershipDurationDays": {
+ "description": "The duration in days that an entry remains in the audience after the\nqualifying event.\n\nOnly applicable to first party audiences.",
+ "format": "int64",
+ "type": "string"
+ },
+ "name": {
+ "description": "Output only. The resource name of the first and third party audience.",
+ "type": "string"
+ },
+ "youtubeAudienceSize": {
+ "description": "Output only. The estimated audience size for YouTube network.\n\nIf the size is less than 1000, the number will be hidden and 0 will be\nreturned due to privacy reasons. Otherwise, the number will be rounded off\nto two significant digits.\n\nOnly applicable to first party audiences.\n\nOnly returned in GET request.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "FirstAndThirdPartyAudienceGroup": {
+ "description": "Details of first and third party audience group.\nAll first and third party audience targeting settings are logically \u2018OR\u2019 of\neach other.",
+ "id": "FirstAndThirdPartyAudienceGroup",
+ "properties": {
+ "settings": {
+ "description": "Required. All first and third party audience targeting settings in first and\nthird party audience group.\nRepeated settings with same id are not allowed.",
+ "items": {
+ "$ref": "FirstAndThirdPartyAudienceTargetingSetting"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "FirstAndThirdPartyAudienceTargetingSetting": {
+ "description": "Details of first and third party audience targeting setting.",
+ "id": "FirstAndThirdPartyAudienceTargetingSetting",
+ "properties": {
+ "firstAndThirdPartyAudienceId": {
+ "description": "Required. First and third party audience id of the first and third party audience\ntargeting setting. This id is\nfirst_and_third_party_audience_id.",
+ "format": "int64",
+ "type": "string"
+ },
+ "recency": {
+ "description": "The recency of the first and third party audience targeting setting.\nOnly applicable to first party audiences, otherwise\nwill be ignored. For more info, refer to\nhttps://support.google.com/displayvideo/answer/2949947#recency\nWhen unspecified, no recency limit will be used.",
+ "enum": [
+ "RECENCY_NO_LIMIT",
+ "RECENCY_1_MINUTE",
+ "RECENCY_5_MINUTES",
+ "RECENCY_10_MINUTES",
+ "RECENCY_15_MINUTES",
+ "RECENCY_30_MINUTES",
+ "RECENCY_1_HOUR",
+ "RECENCY_2_HOURS",
+ "RECENCY_3_HOURS",
+ "RECENCY_6_HOURS",
+ "RECENCY_12_HOURS",
+ "RECENCY_1_DAY",
+ "RECENCY_2_DAYS",
+ "RECENCY_3_DAYS",
+ "RECENCY_5_DAYS",
+ "RECENCY_7_DAYS",
+ "RECENCY_10_DAYS",
+ "RECENCY_14_DAYS",
+ "RECENCY_15_DAYS",
+ "RECENCY_21_DAYS",
+ "RECENCY_28_DAYS",
+ "RECENCY_30_DAYS",
+ "RECENCY_40_DAYS",
+ "RECENCY_60_DAYS",
+ "RECENCY_90_DAYS",
+ "RECENCY_120_DAYS",
+ "RECENCY_180_DAYS",
+ "RECENCY_270_DAYS",
+ "RECENCY_365_DAYS"
+ ],
+ "enumDescriptions": [
+ "No limit of recency.",
+ "Recency is 1 minute.",
+ "Recency is 5 minutes.",
+ "Recency is 10 minutes.",
+ "Recency is 15 minutes.",
+ "Recency is 30 minutes.",
+ "Recency is 1 hour.",
+ "Recency is 2 hours.",
+ "Recency is 3 hours.",
+ "Recency is 6 hours.",
+ "Recency is 12 hours.",
+ "Recency is 1 day.",
+ "Recency is 2 days.",
+ "Recency is 3 days.",
+ "Recency is 5 days.",
+ "Recency is 7 days.",
+ "Recency is 10 days.",
+ "Recency is 14 days.",
+ "Recency is 15 days.",
+ "Recency is 21 days.",
+ "Recency is 28 days.",
+ "Recency is 30 days.",
+ "Recency is 40 days.",
+ "Recency is 60 days.",
+ "Recency is 90 days.",
+ "Recency is 120 days.",
+ "Recency is 180 days.",
+ "Recency is 270 days.",
+ "Recency is 365 days."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "FixedBidStrategy": {
+ "description": "A strategy that uses a fixed bidding price.",
+ "id": "FixedBidStrategy",
+ "properties": {
+ "bidAmountMicros": {
+ "description": "The fixed bid amount, in micros of the advertiser's currency.\nFor insertion order entity,\nbid_amount_micros should be set as 0.\nFor line item entity,\nbid_amount_micros must be greater\nthan or equal to billable unit of the given currency and smaller than or\nequal to the upper limit 1000000000.\n\nFor example, 1500000 represents 1.5 standard units of the currency.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "FloodlightGroup": {
+ "description": "A single Floodlight group.",
+ "id": "FloodlightGroup",
+ "properties": {
+ "activeViewConfig": {
+ "$ref": "ActiveViewVideoViewabilityMetricConfig",
+ "description": "The Active View video viewability metric configuration for the Floodlight\ngroup."
+ },
+ "customVariables": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "User-defined custom variables owned by the Floodlight group.\nUse custom Floodlight variables to create reporting data that is tailored\nto your unique business needs. Custom Floodlight variables use the keys\n`U1=`, `U2=`, and so on, and can take any values that you choose to pass to\nthem. You can use them to track virtually any type of data that you collect\nabout your customers, such as the genre of movie that a customer purchases,\nthe country to which the item is shipped, and so on.\n\nCustom Floodlight variables may not be used to pass any data that could be\nused or recognized as personally identifiable information (PII).\n\nExample:\n`custom_variables {\n fields {\n \"U1\": value { number_value: 123.4 },\n \"U2\": value { string_value: \"MyVariable2\" },\n \"U3\": value { string_value: \"MyVariable3\" }\n }\n}`\n\nAcceptable values for keys are \"U1\" through \"U100\", inclusive. String\nvalues must be less than 64 characters long, and cannot contain the\nfollowing characters: `\"<>`.",
+ "type": "object"
+ },
+ "displayName": {
+ "description": "Required. The display name of the Floodlight group.",
+ "type": "string"
+ },
+ "floodlightGroupId": {
+ "description": "Output only. The unique ID of the Floodlight group. Assigned by the system.",
+ "format": "int64",
+ "type": "string"
+ },
+ "lookbackWindow": {
+ "$ref": "LookbackWindow",
+ "description": "Required. The lookback window for the Floodlight group.\nBoth click_days and\nimpression_days are required. Acceptable\nvalues for both are `0` to `90`, inclusive."
+ },
+ "name": {
+ "description": "Output only. The resource name of the Floodlight group.",
+ "type": "string"
+ },
+ "webTagType": {
+ "description": "Required. The web tag type enabled for the Floodlight group.",
+ "enum": [
+ "WEB_TAG_TYPE_UNSPECIFIED",
+ "WEB_TAG_TYPE_NONE",
+ "WEB_TAG_TYPE_IMAGE",
+ "WEB_TAG_TYPE_DYNAMIC"
+ ],
+ "enumDescriptions": [
+ "Type value is not specified or is unknown in this version.",
+ "No tag type.",
+ "Image tag.",
+ "Dynamic tag."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "FrequencyCap": {
+ "description": "Settings that control the number of times a user may be shown with the same\nad during a given time period.",
+ "id": "FrequencyCap",
+ "properties": {
+ "maxImpressions": {
+ "description": "The maximum number of times a user may be shown with the same ad\nduring this period. Must be greater than 0.\n\nApplicable when unlimited is `false`.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "timeUnit": {
+ "description": "The time unit in which the frequency cap will be applied.\n\nApplicable when unlimited is `false`.",
+ "enum": [
+ "TIME_UNIT_UNSPECIFIED",
+ "TIME_UNIT_LIFETIME",
+ "TIME_UNIT_MONTHS",
+ "TIME_UNIT_WEEKS",
+ "TIME_UNIT_DAYS",
+ "TIME_UNIT_HOURS",
+ "TIME_UNIT_MINUTES"
+ ],
+ "enumDescriptions": [
+ "Time unit value is not specified or is unknown in this version.",
+ "The frequency cap will be applied to the whole life time of the line\nitem.",
+ "The frequency cap will be applied to a number of months.",
+ "The frequency cap will be applied to a number of weeks.",
+ "The frequency cap will be applied to a number of days.",
+ "The frequency cap will be applied to a number of hours.",
+ "The frequency cap will be applied to a number of minutes."
+ ],
+ "type": "string"
+ },
+ "timeUnitCount": {
+ "description": "The number of time_unit the frequency cap will\nlast.\n\nApplicable when unlimited is `false`.\nThe following restrictions apply based on the value of\ntime_unit:\n\n* `TIME_UNIT_LIFETIME` - this field is output only and will\ndefault to 1\n* `TIME_UNIT_MONTHS` - must be between 1 and 2\n* `TIME_UNIT_WEEKS` - must be between 1 and 4\n* `TIME_UNIT_DAYS` - must be between 1 and 6\n* `TIME_UNIT_HOURS` - must be between 1 and 23\n* `TIME_UNIT_MINUTES` - must be between 1 and 59",
+ "format": "int32",
+ "type": "integer"
+ },
+ "unlimited": {
+ "description": "Whether unlimited frequency capping is applied. When this field is set to\n`true`, the remaining frequency cap fields are not applicable.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "GenderAssignedTargetingOptionDetails": {
+ "description": "Details for assigned gender targeting option. This will be populated in\nthe details field of an AssignedTargetingOption when\ntargeting_type is\n`TARTGETING_TYPE_GENDER`.",
+ "id": "GenderAssignedTargetingOptionDetails",
+ "properties": {
+ "gender": {
+ "description": "Output only. The gender of the audience.",
+ "enum": [
+ "GENDER_UNSPECIFIED",
+ "GENDER_MALE",
+ "GENDER_FEMALE",
+ "GENDER_UNKNOWN"
+ ],
+ "enumDescriptions": [
+ "Default value when gender is not specified in this version. This enum is a\nplace holder for default value and does not represent a real gender option.",
+ "The audience gender is male.",
+ "The audience gender is female.",
+ "The audience gender is unknown."
+ ],
+ "type": "string"
+ },
+ "targetingOptionId": {
+ "description": "Required. The targeting_option_id of a\nTargetingOption of type `TARGETING_TYPE_GENDER`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GenderTargetingOptionDetails": {
+ "description": "Represents a targetable gender. This will be populated in the\ngender_details field of a TargetingOption\nwhen targeting_type is\n`TARGETING_TYPE_GENDER`.",
+ "id": "GenderTargetingOptionDetails",
+ "properties": {
+ "gender": {
+ "description": "Output only. The gender of an audience.",
+ "enum": [
+ "GENDER_UNSPECIFIED",
+ "GENDER_MALE",
+ "GENDER_FEMALE",
+ "GENDER_UNKNOWN"
+ ],
+ "enumDescriptions": [
+ "Default value when gender is not specified in this version. This enum is a\nplace holder for default value and does not represent a real gender option.",
+ "The audience gender is male.",
+ "The audience gender is female.",
+ "The audience gender is unknown."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GeoRegionAssignedTargetingOptionDetails": {
+ "description": "Details for assigned geographic region targeting option. This will be\npopulated in the details field of an AssignedTargetingOption when\ntargeting_type is\n`TARGETING_TYPE_GEO_REGION`.",
+ "id": "GeoRegionAssignedTargetingOptionDetails",
+ "properties": {
+ "displayName": {
+ "description": "Output only. The display name of the geographic region (e.g., \"Ontario, Canada\").",
+ "type": "string"
+ },
+ "geoRegionType": {
+ "description": "Output only. The type of geographic region targeting.",
+ "enum": [
+ "GEO_REGION_TYPE_UNKNOWN",
+ "GEO_REGION_TYPE_OTHER",
+ "GEO_REGION_TYPE_COUNTRY",
+ "GEO_REGION_TYPE_REGION",
+ "GEO_REGION_TYPE_TERRITORY",
+ "GEO_REGION_TYPE_PROVINCE",
+ "GEO_REGION_TYPE_STATE",
+ "GEO_REGION_TYPE_PREFECTURE",
+ "GEO_REGION_TYPE_GOVERNORATE",
+ "GEO_REGION_TYPE_CANTON",
+ "GEO_REGION_TYPE_UNION_TERRITORY",
+ "GEO_REGION_TYPE_AUTONOMOUS_COMMUNITY",
+ "GEO_REGION_TYPE_DMA_REGION",
+ "GEO_REGION_TYPE_METRO",
+ "GEO_REGION_TYPE_CONGRESSIONAL_DISTRICT",
+ "GEO_REGION_TYPE_COUNTY",
+ "GEO_REGION_TYPE_MUNICIPALITY",
+ "GEO_REGION_TYPE_CITY",
+ "GEO_REGION_TYPE_POSTAL_CODE",
+ "GEO_REGION_TYPE_DEPARTMENT",
+ "GEO_REGION_TYPE_AIRPORT",
+ "GEO_REGION_TYPE_TV_REGION",
+ "GEO_REGION_TYPE_OKRUG",
+ "GEO_REGION_TYPE_BOROUGH",
+ "GEO_REGION_TYPE_CITY_REGION",
+ "GEO_REGION_TYPE_ARRONDISSEMENT",
+ "GEO_REGION_TYPE_NEIGHBORHOOD",
+ "GEO_REGION_TYPE_UNIVERSITY",
+ "GEO_REGION_TYPE_DISTRICT"
+ ],
+ "enumDescriptions": [
+ "The geographic region type is unknown.",
+ "The geographic region type is other.",
+ "The geographic region is a country.",
+ "The geographic region type is region.",
+ "The geographic region is a territory.",
+ "The geographic region is a province.",
+ "The geographic region is a state.",
+ "The geographic region is a prefecture.",
+ "The geographic region is a governorate.",
+ "The geographic region is a canton.",
+ "The geographic region is a union territory.",
+ "The geographic region is an autonomous community.",
+ "The geographic region is a designated market area (DMA) region.",
+ "The geographic region type is metro.",
+ "The geographic region is a congressional district.",
+ "The geographic region is a county.",
+ "The geographic region is a municipality.",
+ "The geographic region is a city.",
+ "The geographic region targeting type is postal code.",
+ "The geographic region targeting type is department.",
+ "The geographic region is an airport.",
+ "The geographic region is a TV region.",
+ "The geographic region is an okrug.",
+ "The geographic region is a borough.",
+ "The geographic region is a city region.",
+ "The geographic region is an arrondissement.",
+ "The geographic region is a neighborhood.",
+ "The geographic region is a university.",
+ "The geographic region is a district."
+ ],
+ "type": "string"
+ },
+ "negative": {
+ "description": "Indicates if this option is being negatively targeted.",
+ "type": "boolean"
+ },
+ "targetingOptionId": {
+ "description": "Required. The targeting_option_id of a\nTargetingOption of type `TARGETING_TYPE_GEO_REGION`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GeoRegionTargetingOptionDetails": {
+ "description": "Represents a targetable geographic region. This will be populated in the\ngeo_region_details field when\ntargeting_type is\n`TARGETING_TYPE_GEO_REGION`.",
+ "id": "GeoRegionTargetingOptionDetails",
+ "properties": {
+ "displayName": {
+ "description": "Output only. The display name of the geographic region (e.g., \"Ontario, Canada\").",
+ "type": "string"
+ },
+ "geoRegionType": {
+ "description": "Output only. The type of geographic region targeting.",
+ "enum": [
+ "GEO_REGION_TYPE_UNKNOWN",
+ "GEO_REGION_TYPE_OTHER",
+ "GEO_REGION_TYPE_COUNTRY",
+ "GEO_REGION_TYPE_REGION",
+ "GEO_REGION_TYPE_TERRITORY",
+ "GEO_REGION_TYPE_PROVINCE",
+ "GEO_REGION_TYPE_STATE",
+ "GEO_REGION_TYPE_PREFECTURE",
+ "GEO_REGION_TYPE_GOVERNORATE",
+ "GEO_REGION_TYPE_CANTON",
+ "GEO_REGION_TYPE_UNION_TERRITORY",
+ "GEO_REGION_TYPE_AUTONOMOUS_COMMUNITY",
+ "GEO_REGION_TYPE_DMA_REGION",
+ "GEO_REGION_TYPE_METRO",
+ "GEO_REGION_TYPE_CONGRESSIONAL_DISTRICT",
+ "GEO_REGION_TYPE_COUNTY",
+ "GEO_REGION_TYPE_MUNICIPALITY",
+ "GEO_REGION_TYPE_CITY",
+ "GEO_REGION_TYPE_POSTAL_CODE",
+ "GEO_REGION_TYPE_DEPARTMENT",
+ "GEO_REGION_TYPE_AIRPORT",
+ "GEO_REGION_TYPE_TV_REGION",
+ "GEO_REGION_TYPE_OKRUG",
+ "GEO_REGION_TYPE_BOROUGH",
+ "GEO_REGION_TYPE_CITY_REGION",
+ "GEO_REGION_TYPE_ARRONDISSEMENT",
+ "GEO_REGION_TYPE_NEIGHBORHOOD",
+ "GEO_REGION_TYPE_UNIVERSITY",
+ "GEO_REGION_TYPE_DISTRICT"
+ ],
+ "enumDescriptions": [
+ "The geographic region type is unknown.",
+ "The geographic region type is other.",
+ "The geographic region is a country.",
+ "The geographic region type is region.",
+ "The geographic region is a territory.",
+ "The geographic region is a province.",
+ "The geographic region is a state.",
+ "The geographic region is a prefecture.",
+ "The geographic region is a governorate.",
+ "The geographic region is a canton.",
+ "The geographic region is a union territory.",
+ "The geographic region is an autonomous community.",
+ "The geographic region is a designated market area (DMA) region.",
+ "The geographic region type is metro.",
+ "The geographic region is a congressional district.",
+ "The geographic region is a county.",
+ "The geographic region is a municipality.",
+ "The geographic region is a city.",
+ "The geographic region targeting type is postal code.",
+ "The geographic region targeting type is department.",
+ "The geographic region is an airport.",
+ "The geographic region is a TV region.",
+ "The geographic region is an okrug.",
+ "The geographic region is a borough.",
+ "The geographic region is a city region.",
+ "The geographic region is an arrondissement.",
+ "The geographic region is a neighborhood.",
+ "The geographic region is a university.",
+ "The geographic region is a district."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAudience": {
+ "description": "Describes a Google audience resource.\nIncludes Google audience lists.",
+ "id": "GoogleAudience",
+ "properties": {
+ "displayName": {
+ "description": "Output only. The display name of the Google audience.\n.",
+ "type": "string"
+ },
+ "googleAudienceId": {
+ "description": "Output only. The unique ID of the Google audience. Assigned by the system.",
+ "format": "int64",
+ "type": "string"
+ },
+ "googleAudienceType": {
+ "description": "Output only. The type of Google audience.\n.",
+ "enum": [
+ "GOOGLE_AUDIENCE_TYPE_UNSPECIFIED",
+ "GOOGLE_AUDIENCE_TYPE_AFFINITY",
+ "GOOGLE_AUDIENCE_TYPE_IN_MARKET",
+ "GOOGLE_AUDIENCE_TYPE_INSTALLED_APPS",
+ "GOOGLE_AUDIENCE_TYPE_NEW_MOBILE_DEVICES"
+ ],
+ "enumDescriptions": [
+ "Default value when type is not specified or is unknown.",
+ "Affinity type Google audience.",
+ "In-Market type Google audience.",
+ "Installed-apps type Google audience.",
+ "New-mobile-devices type Google audience."
+ ],
+ "type": "string"
+ },
+ "name": {
+ "description": "Output only. The resource name of the google audience.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAudienceGroup": {
+ "description": "Details of Google audience group.\nAll Google audience targeting settings are logically \u2018OR\u2019 of each other.",
+ "id": "GoogleAudienceGroup",
+ "properties": {
+ "settings": {
+ "description": "Required. All Google audience targeting settings in Google audience group.\nRepeated settings with same id will be ignored.",
+ "items": {
+ "$ref": "GoogleAudienceTargetingSetting"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAudienceTargetingSetting": {
+ "description": "Details of Google audience targeting setting.",
+ "id": "GoogleAudienceTargetingSetting",
+ "properties": {
+ "googleAudienceId": {
+ "description": "Required. Google audience id of the Google audience targeting setting.\nThis id is google_audience_id.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleBytestreamMedia": {
+ "description": "Media resource.",
+ "id": "GoogleBytestreamMedia",
+ "properties": {
+ "resourceName": {
+ "description": "Name of the media resource.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "HouseholdIncomeAssignedTargetingOptionDetails": {
+ "description": "Details for assigned household income targeting option. This will be\npopulated in the details field of an AssignedTargetingOption when\ntargeting_type is\n`TARGETING_TYPE_HOUSEHOLD_INCOME`.",
+ "id": "HouseholdIncomeAssignedTargetingOptionDetails",
+ "properties": {
+ "householdIncome": {
+ "description": "Output only. The household income of the audience.",
+ "enum": [
+ "HOUSEHOLD_INCOME_UNSPECIFIED",
+ "HOUSEHOLD_INCOME_UNKNOWN",
+ "HOUSEHOLD_INCOME_LOWER_50_PERCENT",
+ "HOUSEHOLD_INCOME_TOP_41_TO_50_PERCENT",
+ "HOUSEHOLD_INCOME_TOP_31_TO_40_PERCENT",
+ "HOUSEHOLD_INCOME_TOP_21_TO_30_PERCENT",
+ "HOUSEHOLD_INCOME_TOP_11_TO_20_PERCENT",
+ "HOUSEHOLD_INCOME_TOP_10_PERCENT"
+ ],
+ "enumDescriptions": [
+ "Default value when household income is not specified in this version. This\nenum is a placeholder for default value and does not represent a real\nhousehold income option.",
+ "The household income of the audience is unknown.",
+ "The audience is in the lower 50% of U.S. household incomes.",
+ "The audience is in the top 41-50% of U.S. household incomes.",
+ "The audience is in the top 31-40% of U.S. household incomes.",
+ "The audience is in the top 21-30% of U.S. household incomes.",
+ "The audience is in the top 11-20% of U.S. household incomes.",
+ "The audience is in the top 10% of U.S. household incomes."
+ ],
+ "type": "string"
+ },
+ "targetingOptionId": {
+ "description": "Required. The targeting_option_id of a\nTargetingOption of type `TARGETING_TYPE_HOUSEHOLD_INCOME`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "HouseholdIncomeTargetingOptionDetails": {
+ "description": "Represents a targetable household income. This will be populated in the\nhousehold_income_details field of\na TargetingOption when targeting_type is\n`TARGETING_TYPE_HOUSEHOLD_INCOME`.",
+ "id": "HouseholdIncomeTargetingOptionDetails",
+ "properties": {
+ "householdIncome": {
+ "description": "Output only. The household income of an audience.",
+ "enum": [
+ "HOUSEHOLD_INCOME_UNSPECIFIED",
+ "HOUSEHOLD_INCOME_UNKNOWN",
+ "HOUSEHOLD_INCOME_LOWER_50_PERCENT",
+ "HOUSEHOLD_INCOME_TOP_41_TO_50_PERCENT",
+ "HOUSEHOLD_INCOME_TOP_31_TO_40_PERCENT",
+ "HOUSEHOLD_INCOME_TOP_21_TO_30_PERCENT",
+ "HOUSEHOLD_INCOME_TOP_11_TO_20_PERCENT",
+ "HOUSEHOLD_INCOME_TOP_10_PERCENT"
+ ],
+ "enumDescriptions": [
+ "Default value when household income is not specified in this version. This\nenum is a placeholder for default value and does not represent a real\nhousehold income option.",
+ "The household income of the audience is unknown.",
+ "The audience is in the lower 50% of U.S. household incomes.",
+ "The audience is in the top 41-50% of U.S. household incomes.",
+ "The audience is in the top 31-40% of U.S. household incomes.",
+ "The audience is in the top 21-30% of U.S. household incomes.",
+ "The audience is in the top 11-20% of U.S. household incomes.",
+ "The audience is in the top 10% of U.S. household incomes."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "IdFilter": {
+ "description": "A filtering option that filters entities by their entity IDs.",
+ "id": "IdFilter",
+ "properties": {
+ "adGroupAdIds": {
+ "description": "TrueView Ads to download by ID. All IDs must belong to the same\nAdvertiser or\nPartner specified in\nCreateSdfDownloadTaskRequest.",
+ "items": {
+ "format": "int64",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "adGroupIds": {
+ "description": "TrueView Ad Groups to download by ID. All IDs must belong to the same\nAdvertiser or\nPartner specified in\nCreateSdfDownloadTaskRequest.",
+ "items": {
+ "format": "int64",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "campaignIds": {
+ "description": "Campaigns to download by ID. All IDs must belong to the same\nAdvertiser or\nPartner specified in\nCreateSdfDownloadTaskRequest.",
+ "items": {
+ "format": "int64",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "insertionOrderIds": {
+ "description": "Insertion Orders to download by ID. All IDs must belong to the same\nAdvertiser or\nPartner specified in\nCreateSdfDownloadTaskRequest.",
+ "items": {
+ "format": "int64",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "lineItemIds": {
+ "description": "Line Items to download by ID. All IDs must belong to the same\nAdvertiser or\nPartner specified in\nCreateSdfDownloadTaskRequest.",
+ "items": {
+ "format": "int64",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "mediaProductIds": {
+ "description": "Media Products to download by ID. All IDs must belong to the same\nAdvertiser or\nPartner specified in\nCreateSdfDownloadTaskRequest.",
+ "items": {
+ "format": "int64",
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "InsertionOrder": {
+ "description": "A single insertion order.",
+ "id": "InsertionOrder",
+ "properties": {
+ "advertiserId": {
+ "description": "Output only. The unique ID of the advertiser the insertion order belongs to.",
+ "format": "int64",
+ "type": "string"
+ },
+ "bidStrategy": {
+ "$ref": "BiddingStrategy",
+ "description": "Optional. The bidding strategy of the insertion order. By default,\nfixed_bid is set."
+ },
+ "budget": {
+ "$ref": "InsertionOrderBudget",
+ "description": "Required. The budget allocation settings of the insertion order."
+ },
+ "campaignId": {
+ "description": "Required. Immutable. The unique ID of the campaign that the insertion order belongs to.",
+ "format": "int64",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Required. The display name of the insertion order.\n\nMust be UTF-8 encoded with a maximum size of 240 bytes.",
+ "type": "string"
+ },
+ "entityStatus": {
+ "description": "Required. Controls whether or not the insertion order can spend its budget\nand bid on inventory.\n\n* For\nCreateInsertionOrder method,\nonly `ENTITY_STATUS_DRAFT` is allowed. To activate an insertion order, use\nUpdateInsertionOrder method\nand update the status to `ENTITY_STATUS_ACTIVE` after creation.\n* An insertion order cannot be changed back to `ENTITY_STATUS_DRAFT` status\nfrom any other status.\n* An insertion order cannot be set to `ENTITY_STATUS_ACTIVE` if its parent\ncampaign is not active.",
+ "enum": [
+ "ENTITY_STATUS_UNSPECIFIED",
+ "ENTITY_STATUS_ACTIVE",
+ "ENTITY_STATUS_ARCHIVED",
+ "ENTITY_STATUS_DRAFT",
+ "ENTITY_STATUS_PAUSED",
+ "ENTITY_STATUS_SCHEDULED_FOR_DELETION"
+ ],
+ "enumDescriptions": [
+ "Default value when status is not specified or is unknown in this version.",
+ "The entity is enabled to bid and spend budget.",
+ "The entity is archived. Bidding and budget spending are disabled. An\nentity can be deleted after archived. Deleted entities cannot be retrieved.",
+ "The entity is under draft. Bidding and budget spending are disabled.",
+ "Bidding and budget spending are paused for the entity.",
+ "The entity is scheduled for deletion."
+ ],
+ "type": "string"
+ },
+ "frequencyCap": {
+ "$ref": "FrequencyCap",
+ "description": "Required. The frequency capping setting of the insertion order."
+ },
+ "insertionOrderId": {
+ "description": "Output only. The unique ID of the insertion order. Assigned by the system.",
+ "format": "int64",
+ "type": "string"
+ },
+ "integrationDetails": {
+ "$ref": "IntegrationDetails",
+ "description": "Additional integration details of the insertion order."
+ },
+ "name": {
+ "description": "Output only. The resource name of the insertion order.",
+ "type": "string"
+ },
+ "pacing": {
+ "$ref": "Pacing",
+ "description": "Required. The budget spending speed setting of the insertion order."
+ },
+ "partnerCosts": {
+ "description": "The partner costs associated with the insertion order.\n\nIf absent or empty in\nCreateInsertionOrder\nmethod, the newly created insertion order will inherit partner costs from\nthe partner settings.",
+ "items": {
+ "$ref": "PartnerCost"
+ },
+ "type": "array"
+ },
+ "performanceGoal": {
+ "$ref": "PerformanceGoal",
+ "description": "Required. Performance goal of the insertion order."
+ },
+ "updateTime": {
+ "description": "Output only. The timestamp when the insertion order was last updated.\nAssigned by the system.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "InsertionOrderBudget": {
+ "description": "Settings that control how insertion order budget is allocated.",
+ "id": "InsertionOrderBudget",
+ "properties": {
+ "automationType": {
+ "description": "The type of automation used to manage bid and budget for\nthe insertion order.\n\nIf this field is unspecified in creation, the value defaults to\n`INSERTION_ORDER_AUTOMATION_TYPE_NONE`.",
+ "enum": [
+ "INSERTION_ORDER_AUTOMATION_TYPE_UNSPECIFIED",
+ "INSERTION_ORDER_AUTOMATION_TYPE_BUDGET",
+ "INSERTION_ORDER_AUTOMATION_TYPE_NONE",
+ "INSERTION_ORDER_AUTOMATION_TYPE_BID_BUDGET"
+ ],
+ "enumDescriptions": [
+ "Insertion order automation option is not specified or is unknown in\nthis version.",
+ "Automatic budget allocation. Allow the system to automatically shift\nbudget to owning line items to optimize performance defined by\nperformance_goal. No automation\non bid settings.",
+ "No automation of bid or budget on insertion order level.\nBid and budget must be manually configured at the line item level.",
+ "Allow the system to automatically adjust bids and shift budget to\nowning line items to optimize performance defined by\nperformance_goal."
+ ],
+ "type": "string"
+ },
+ "budgetSegments": {
+ "description": "Required. The list of budget segments. Use a budget segment to specify\na specific budget for a given period of time an insertion order is running.",
+ "items": {
+ "$ref": "InsertionOrderBudgetSegment"
+ },
+ "type": "array"
+ },
+ "budgetUnit": {
+ "description": "Required. Immutable. The budget unit specifies whether the budget is currency based or\nimpression based.",
+ "enum": [
+ "BUDGET_UNIT_UNSPECIFIED",
+ "BUDGET_UNIT_CURRENCY",
+ "BUDGET_UNIT_IMPRESSIONS"
+ ],
+ "enumDescriptions": [
+ "Type value is not specified or is unknown in this version.",
+ "Budgeting in currency amounts.",
+ "Budgeting in impression amounts."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "InsertionOrderBudgetSegment": {
+ "description": "Settings that control the budget of a single budget segment.",
+ "id": "InsertionOrderBudgetSegment",
+ "properties": {
+ "budgetAmountMicros": {
+ "description": "Required. The budget amount the insertion order will spend for the given\ndate_range.\nThe amount is in micros. Must be greater than 0. For example, 500000000\nrepresents 500 standard units of the currency.",
+ "format": "int64",
+ "type": "string"
+ },
+ "campaignBudgetId": {
+ "description": "The ID of the campaign budget linked to this insertion order budget\nsegment.",
+ "format": "int64",
+ "type": "string"
+ },
+ "dateRange": {
+ "$ref": "DateRange",
+ "description": "Required. The start and end date settings of the budget segment. They are resolved\nrelative to the parent advertiser's time zone.\n\n* When creating a new budget segment, both `start_date` and `end_date`\nmust be in the future.\n* An existing budget segment with a `start_date` in the past has a mutable\n`end_date` but an immutable `start_date`.\n* `end_date` must be the `start_date` or later, both before the year 2037."
+ },
+ "description": {
+ "description": "The budget segment description. It can be used to enter Purchase Order\ninformation for each budget segment and have that information printed on\nthe invoices.\n\nMust be UTF-8 encoded with a length of no more than 80 characters.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "IntegralAdScience": {
+ "description": "Details of Integral Ad Science settings.",
+ "id": "IntegralAdScience",
+ "properties": {
+ "displayViewability": {
+ "description": "Display Viewability section (applicable to display line items only).",
+ "enum": [
+ "PERFORMANCE_VIEWABILITY_UNSPECIFIED",
+ "PERFORMANCE_VIEWABILITY_40",
+ "PERFORMANCE_VIEWABILITY_50",
+ "PERFORMANCE_VIEWABILITY_60",
+ "PERFORMANCE_VIEWABILITY_70"
+ ],
+ "enumDescriptions": [
+ "This enum is only a placeholder and it doesn't specify any display\nviewability options.",
+ "Target 40% Viewability or Higher.",
+ "Target 50% Viewability or Higher.",
+ "Target 60% Viewability or Higher.",
+ "Target 70% Viewability or Higher."
+ ],
+ "type": "string"
+ },
+ "excludeUnrateable": {
+ "description": "Brand Safety - **Unrateable**.",
+ "type": "boolean"
+ },
+ "excludedAdFraudRisk": {
+ "description": "Ad Fraud settings.",
+ "enum": [
+ "SUSPICIOUS_ACTIVITY_UNSPECIFIED",
+ "SUSPICIOUS_ACTIVITY_HR",
+ "SUSPICIOUS_ACTIVITY_HMR"
+ ],
+ "enumDescriptions": [
+ "This enum is only a placeholder and it doesn't specify any ad fraud\nprevention options.",
+ "Ad Fraud - Exclude High Risk.",
+ "Ad Fraud - Exclude High and Moderate Risk."
+ ],
+ "type": "string"
+ },
+ "excludedAdultRisk": {
+ "description": "Brand Safety - **Adult content**.",
+ "enum": [
+ "ADULT_UNSPECIFIED",
+ "ADULT_HR",
+ "ADULT_HMR"
+ ],
+ "enumDescriptions": [
+ "This enum is only a placeholder and it doesn't specify any adult options.",
+ "Adult - Exclude High Risk.",
+ "Adult - Exclude High and Moderate Risk."
+ ],
+ "type": "string"
+ },
+ "excludedAlcoholRisk": {
+ "description": "Brand Safety - **Alcohol**.",
+ "enum": [
+ "ALCOHOL_UNSPECIFIED",
+ "ALCOHOL_HR",
+ "ALCOHOL_HMR"
+ ],
+ "enumDescriptions": [
+ "This enum is only a placeholder and it doesn't specify any alcohol\noptions.",
+ "Alcohol - Exclude High Risk.",
+ "Alcohol - Exclude High and Moderate Risk."
+ ],
+ "type": "string"
+ },
+ "excludedDrugsRisk": {
+ "description": "Brand Safety - **Drugs**.",
+ "enum": [
+ "DRUGS_UNSPECIFIED",
+ "DRUGS_HR",
+ "DRUGS_HMR"
+ ],
+ "enumDescriptions": [
+ "This enum is only a placeholder and it doesn't specify any drugs options.",
+ "Drugs - Exclude High Risk.",
+ "Drugs - Exclude High and Moderate Risk."
+ ],
+ "type": "string"
+ },
+ "excludedGamblingRisk": {
+ "description": "Brand Safety - **Gambling**.",
+ "enum": [
+ "GAMBLING_UNSPECIFIED",
+ "GAMBLING_HR",
+ "GAMBLING_HMR"
+ ],
+ "enumDescriptions": [
+ "This enum is only a placeholder and it doesn't specify any gambling\noptions.",
+ "Gambling - Exclude High Risk.",
+ "Gambling - Exclude High and Moderate Risk."
+ ],
+ "type": "string"
+ },
+ "excludedHateSpeechRisk": {
+ "description": "Brand Safety - **Hate speech**.",
+ "enum": [
+ "HATE_SPEECH_UNSPECIFIED",
+ "HATE_SPEECH_HR",
+ "HATE_SPEECH_HMR"
+ ],
+ "enumDescriptions": [
+ "This enum is only a placeholder and it doesn't specify any hate speech\noptions.",
+ "Hate Speech - Exclude High Risk.",
+ "Hate Speech - Exclude High and Moderate Risk."
+ ],
+ "type": "string"
+ },
+ "excludedIllegalDownloadsRisk": {
+ "description": "Brand Safety - **Illegal downloads**.",
+ "enum": [
+ "ILLEGAL_DOWNLOADS_UNSPECIFIED",
+ "ILLEGAL_DOWNLOADS_HR",
+ "ILLEGAL_DOWNLOADS_HMR"
+ ],
+ "enumDescriptions": [
+ "This enum is only a placeholder and it doesn't specify any illegal\ndownloads options.",
+ "Illegal Downloads - Exclude High Risk.",
+ "Illegal Downloads - Exclude High and Moderate Risk."
+ ],
+ "type": "string"
+ },
+ "excludedOffensiveLanguageRisk": {
+ "description": "Brand Safety - **Offensive language**.",
+ "enum": [
+ "OFFENSIVE_LANGUAGE_UNSPECIFIED",
+ "OFFENSIVE_LANGUAGE_HR",
+ "OFFENSIVE_LANGUAGE_HMR"
+ ],
+ "enumDescriptions": [
+ "This enum is only a placeholder and it doesn't specify any language\noptions.",
+ "Offensive Language - Exclude High Risk.",
+ "Offensive Language - Exclude High and Moderate Risk."
+ ],
+ "type": "string"
+ },
+ "excludedViolenceRisk": {
+ "description": "Brand Safety - **Violence**.",
+ "enum": [
+ "VIOLENCE_UNSPECIFIED",
+ "VIOLENCE_HR",
+ "VIOLENCE_HMR"
+ ],
+ "enumDescriptions": [
+ "This enum is only a placeholder and it doesn't specify any violence\noptions.",
+ "Violence - Exclude High Risk.",
+ "Violence - Exclude High and Moderate Risk."
+ ],
+ "type": "string"
+ },
+ "traqScoreOption": {
+ "description": "True advertising quality (applicable to Display line items only).",
+ "enum": [
+ "TRAQ_UNSPECIFIED",
+ "TRAQ_250",
+ "TRAQ_500",
+ "TRAQ_600",
+ "TRAQ_700",
+ "TRAQ_750",
+ "TRAQ_875",
+ "TRAQ_1000"
+ ],
+ "enumDescriptions": [
+ "This enum is only a placeholder and it doesn't specify any true\nadvertising quality scores.",
+ "TRAQ score 250-1000.",
+ "TRAQ score 500-1000.",
+ "TRAQ score 600-1000.",
+ "TRAQ score 700-1000.",
+ "TRAQ score 750-1000.",
+ "TRAQ score 875-1000.",
+ "TRAQ score 1000."
+ ],
+ "type": "string"
+ },
+ "videoViewability": {
+ "description": "Video Viewability Section (applicable to video line items only).",
+ "enum": [
+ "VIDEO_VIEWABILITY_UNSPECIFIED",
+ "VIDEO_VIEWABILITY_40",
+ "VIDEO_VIEWABILITY_50",
+ "VIDEO_VIEWABILITY_60",
+ "VIDEO_VIEWABILITY_70"
+ ],
+ "enumDescriptions": [
+ "This enum is only a placeholder and it doesn't specify any video\nviewability options.",
+ "40%+ in view (IAB video viewability standard).",
+ "50%+ in view (IAB video viewability standard).",
+ "60%+ in view (IAB video viewability standard).",
+ "70%+ in view (IAB video viewability standard)."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "IntegrationDetails": {
+ "description": "Integration details of an entry.",
+ "id": "IntegrationDetails",
+ "properties": {
+ "details": {
+ "description": "Additional details of the entry in string format.\n\nMust be UTF-8 encoded with a length of no more than 1000 characters.",
+ "type": "string"
+ },
+ "integrationCode": {
+ "description": "An external identifier to be associated with the entry.\nThe integration code will show up together with the entry in many\nplaces in the system, for example, reporting.\n\nMust be UTF-8 encoded with a length of no more than 500 characters.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "InventorySource": {
+ "description": "An inventory source.",
+ "id": "InventorySource",
+ "properties": {
+ "commitment": {
+ "description": "Whether the inventory source has a guaranteed or non-guaranteed delivery.",
+ "enum": [
+ "INVENTORY_SOURCE_COMMITMENT_UNSPECIFIED",
+ "INVENTORY_SOURCE_COMMITMENT_GUARANTEED",
+ "INVENTORY_SOURCE_COMMITMENT_NON_GUARANTEED"
+ ],
+ "enumDescriptions": [
+ "The commitment is not specified or is unknown in this version.",
+ "The commitment is guaranteed delivery.",
+ "The commitment is non-guaranteed delivery."
+ ],
+ "type": "string"
+ },
+ "creativeConfigs": {
+ "description": "The creative requirements of the inventory source.\n\nNot applicable for auction packages.",
+ "items": {
+ "$ref": "CreativeConfig"
+ },
+ "type": "array"
+ },
+ "dealId": {
+ "description": "The ID in the exchange space that uniquely identifies the inventory source.\n\nMust be unique across buyers within each exchange but not necessarily\nunique across exchanges.",
+ "type": "string"
+ },
+ "deliveryMethod": {
+ "description": "The delivery method of the inventory source.\n\n* For non-guaranteed inventory sources, the only acceptable value is\n`INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC`.\n* For guaranteed inventory sources, acceptable values are\n`INVENTORY_SOURCE_DELIVERY_METHOD_TAG` and\n`INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC`.",
+ "enum": [
+ "INVENTORY_SOURCE_DELIVERY_METHOD_UNSPECIFIED",
+ "INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC",
+ "INVENTORY_SOURCE_DELIVERY_METHOD_TAG"
+ ],
+ "enumDescriptions": [
+ "The delivery method is not specified or is unknown in this version.",
+ "The delivery method is programmatic.",
+ "The delivery method is tag."
+ ],
+ "type": "string"
+ },
+ "displayName": {
+ "description": "The display name of the inventory source.\n\nMust be UTF-8 encoded with a maximum size of 240 bytes.",
+ "type": "string"
+ },
+ "exchange": {
+ "description": "The exchange to which the inventory source belongs.",
+ "enum": [
+ "EXCHANGE_UNSPECIFIED",
+ "EXCHANGE_GOOGLE_AD_MANAGER",
+ "EXCHANGE_APPNEXUS",
+ "EXCHANGE_BRIGHTROLL",
+ "EXCHANGE_ADFORM",
+ "EXCHANGE_ADMETA",
+ "EXCHANGE_ADMIXER",
+ "EXCHANGE_ADSMOGO",
+ "EXCHANGE_ADSWIZZ",
+ "EXCHANGE_BIDSWITCH",
+ "EXCHANGE_BRIGHTROLL_DISPLAY",
+ "EXCHANGE_CADREON",
+ "EXCHANGE_DAILYMOTION",
+ "EXCHANGE_FIVE",
+ "EXCHANGE_FLUCT",
+ "EXCHANGE_FREEWHEEL",
+ "EXCHANGE_GENIEE",
+ "EXCHANGE_GUMGUM",
+ "EXCHANGE_IMOBILE",
+ "EXCHANGE_IBILLBOARD",
+ "EXCHANGE_IMPROVE_DIGITAL",
+ "EXCHANGE_INDEX",
+ "EXCHANGE_KARGO",
+ "EXCHANGE_MICROAD",
+ "EXCHANGE_MOPUB",
+ "EXCHANGE_NEND",
+ "EXCHANGE_ONE_BY_AOL_DISPLAY",
+ "EXCHANGE_ONE_BY_AOL_MOBILE",
+ "EXCHANGE_ONE_BY_AOL_VIDEO",
+ "EXCHANGE_OOYALA",
+ "EXCHANGE_OPENX",
+ "EXCHANGE_PERMODO",
+ "EXCHANGE_PLATFORMONE",
+ "EXCHANGE_PLATFORMID",
+ "EXCHANGE_PUBMATIC",
+ "EXCHANGE_PULSEPOINT",
+ "EXCHANGE_REVENUEMAX",
+ "EXCHANGE_RUBICON",
+ "EXCHANGE_SMARTCLIP",
+ "EXCHANGE_SMARTRTB",
+ "EXCHANGE_SMARTSTREAMTV",
+ "EXCHANGE_SOVRN",
+ "EXCHANGE_SPOTXCHANGE",
+ "EXCHANGE_STROER",
+ "EXCHANGE_TEADSTV",
+ "EXCHANGE_TELARIA",
+ "EXCHANGE_TVN",
+ "EXCHANGE_UNITED",
+ "EXCHANGE_YIELDLAB",
+ "EXCHANGE_YIELDMO",
+ "EXCHANGE_UNRULYX",
+ "EXCHANGE_OPEN8",
+ "EXCHANGE_TRITON",
+ "EXCHANGE_TRIPLELIFT",
+ "EXCHANGE_TABOOLA",
+ "EXCHANGE_INMOBI",
+ "EXCHANGE_SMAATO",
+ "EXCHANGE_AJA",
+ "EXCHANGE_NEXSTAR_DIGITAL",
+ "EXCHANGE_WAZE"
+ ],
+ "enumDescriptions": [
+ "Exchange is not specified or is unknown in this version.",
+ "Google Ad Manager.",
+ "AppNexus.",
+ "BrightRoll Exchange for Video from Yahoo!.",
+ "Adform.",
+ "Admeta.",
+ "Admixer.",
+ "AdsMogo.",
+ "AdsWizz.",
+ "BidSwitch.",
+ "BrightRoll Exchange for Display from Yahoo!.",
+ "Cadreon.",
+ "Dailymotion.",
+ "Five.",
+ "Fluct.",
+ "FreeWheel SSP.",
+ "Geniee.",
+ "GumGum.",
+ "i-mobile.",
+ "iBILLBOARD.",
+ "Improve Digital.",
+ "Index Exchange.",
+ "Kargo.",
+ "MicroAd.",
+ "MoPub.",
+ "Nend.",
+ "ONE by AOL: Display Market Place.",
+ "ONE by AOL: Mobile.",
+ "ONE by AOL: Video.",
+ "Ooyala.",
+ "OpenX.",
+ "Permodo.",
+ "Platform One.",
+ "PlatformId.",
+ "PubMatic.",
+ "PulsePoint.",
+ "RevenueMax.",
+ "Rubicon.",
+ "SmartClip.",
+ "SmartRTB+.",
+ "SmartstreamTv.",
+ "Sovrn.",
+ "SpotXchange.",
+ "Str\u00f6er SSP.",
+ "TeadsTv.",
+ "Telaria.",
+ "TVN.",
+ "United.",
+ "Yieldlab.",
+ "Yieldmo.",
+ "UnrulyX",
+ "Open8",
+ "Triton.",
+ "TripleLift",
+ "Taboola",
+ "InMobi.",
+ "Smaato",
+ "Aja.",
+ "Nexstar Digital.",
+ "Waze."
+ ],
+ "type": "string"
+ },
+ "inventorySourceId": {
+ "description": "Output only. The unique ID of the inventory source. Assigned by the system.",
+ "format": "int64",
+ "type": "string"
+ },
+ "inventorySourceType": {
+ "description": "Denotes the type of the inventory source.",
+ "enum": [
+ "INVENTORY_SOURCE_TYPE_UNSPECIFIED",
+ "INVENTORY_SOURCE_TYPE_PRIVATE",
+ "INVENTORY_SOURCE_TYPE_AUCTION_PACKAGE"
+ ],
+ "enumDescriptions": [
+ "The inventory source type is not specified or is unknown in this version.",
+ "Private inventory source.",
+ "Auction package."
+ ],
+ "type": "string"
+ },
+ "name": {
+ "description": "Output only. The resource name of the inventory source.",
+ "type": "string"
+ },
+ "publisherName": {
+ "description": "The publisher/seller name of the inventory source.",
+ "type": "string"
+ },
+ "rateDetails": {
+ "$ref": "RateDetails",
+ "description": "Required. The rate details of the inventory source."
+ },
+ "status": {
+ "$ref": "InventorySourceStatus",
+ "description": "The status settings of the inventory source."
+ },
+ "timeRange": {
+ "$ref": "TimeRange",
+ "description": "The time range when this inventory source starts and stops serving."
+ },
+ "updateTime": {
+ "description": "Output only. The timestamp when the inventory source was last updated. Assigned by the\nsystem.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "InventorySourceAssignedTargetingOptionDetails": {
+ "description": "Targeting details for inventory source. This will be\npopulated in the details field of an AssignedTargetingOption when\ntargeting_type is\n`TARGETING_TYPE_INVENTORY_SOURCE`.",
+ "id": "InventorySourceAssignedTargetingOptionDetails",
+ "properties": {
+ "inventorySourceId": {
+ "description": "Required. ID of the inventory source. Should refer to the\ninventory_source_id field of an\nInventorySource resource.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "InventorySourceDisplayCreativeConfig": {
+ "description": "The configuration for display creatives.",
+ "id": "InventorySourceDisplayCreativeConfig",
+ "properties": {
+ "creativeSize": {
+ "$ref": "Dimensions",
+ "description": "The size requirements for display creatives that can be assigned to the\ninventory source."
+ }
+ },
+ "type": "object"
+ },
+ "InventorySourceFilter": {
+ "description": "A filtering option for filtering on Inventory Source entities.",
+ "id": "InventorySourceFilter",
+ "properties": {
+ "inventorySourceIds": {
+ "description": "Inventory Sources to download by ID. All IDs must belong to the same\nAdvertiser or\nPartner specified in\nCreateSdfDownloadTaskRequest. Leave empty to download all Inventory\nSources for the selected Advertiser or Partner.",
+ "items": {
+ "format": "int64",
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "InventorySourceGroup": {
+ "description": "A collection of targetable inventory sources.",
+ "id": "InventorySourceGroup",
+ "properties": {
+ "displayName": {
+ "description": "Required. The display name of the inventory source group.\n\nMust be UTF-8 encoded with a maximum size of 240 bytes.",
+ "type": "string"
+ },
+ "inventorySourceGroupId": {
+ "description": "Output only. The unique ID of the inventory source group. Assigned by the system.",
+ "format": "int64",
+ "type": "string"
+ },
+ "name": {
+ "description": "Output only. The resource name of the inventory source group.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "InventorySourceGroupAssignedTargetingOptionDetails": {
+ "description": "Targeting details for inventory source group. This will be\npopulated in the details field of an AssignedTargetingOption when\ntargeting_type is\n`TARGETING_TYPE_INVENTORY_SOURCE_GROUP`.",
+ "id": "InventorySourceGroupAssignedTargetingOptionDetails",
+ "properties": {
+ "inventorySourceGroupId": {
+ "description": "Required. ID of the inventory source group. Should refer to the\ninventory_source_group_id\nfield of an InventorySourceGroup resource.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "InventorySourceStatus": {
+ "description": "The status related settings of the inventory source.",
+ "id": "InventorySourceStatus",
+ "properties": {
+ "configStatus": {
+ "description": "Output only. The configuration status of the inventory source.\n\nOnly applicable for guaranteed inventory sources.\nAcceptable values are `INVENTORY_SOURCE_CONFIG_STATUS_PENDING` and\n`INVENTORY_SOURCE_CONFIG_STATUS_COMPLETED`.\n\nAn inventory source must be configured (fill in the required fields, choose\ncreatives, and select a default campaign) before it can serve.",
+ "enum": [
+ "INVENTORY_SOURCE_CONFIG_STATUS_UNSPECIFIED",
+ "INVENTORY_SOURCE_CONFIG_STATUS_PENDING",
+ "INVENTORY_SOURCE_CONFIG_STATUS_COMPLETED"
+ ],
+ "enumDescriptions": [
+ "The approval status is not specified or is unknown in this version.",
+ "The beginning state of a guaranteed inventory source. The inventory\nsource in this state needs to be configured.",
+ "The state after the buyer configures a guaranteed inventory source."
+ ],
+ "type": "string"
+ },
+ "entityPauseReason": {
+ "description": "The user-provided reason for pausing this inventory source.\n\nMust not exceed 100 characters.\n\nOnly applicable when entity_status\nis set to `ENTITY_STATUS_PAUSED`.",
+ "type": "string"
+ },
+ "entityStatus": {
+ "description": "Whether or not the inventory source is servable.\n\nAcceptable values are `ENTITY_STATUS_ACTIVE`, `ENTITY_STATUS_ARCHIVED`, and\n`ENTITY_STATUS_PAUSED`.\nDefault value is `ENTITY_STATUS_ACTIVE`.",
+ "enum": [
+ "ENTITY_STATUS_UNSPECIFIED",
+ "ENTITY_STATUS_ACTIVE",
+ "ENTITY_STATUS_ARCHIVED",
+ "ENTITY_STATUS_DRAFT",
+ "ENTITY_STATUS_PAUSED",
+ "ENTITY_STATUS_SCHEDULED_FOR_DELETION"
+ ],
+ "enumDescriptions": [
+ "Default value when status is not specified or is unknown in this version.",
+ "The entity is enabled to bid and spend budget.",
+ "The entity is archived. Bidding and budget spending are disabled. An\nentity can be deleted after archived. Deleted entities cannot be retrieved.",
+ "The entity is under draft. Bidding and budget spending are disabled.",
+ "Bidding and budget spending are paused for the entity.",
+ "The entity is scheduled for deletion."
+ ],
+ "type": "string"
+ },
+ "sellerPauseReason": {
+ "description": "Output only. The seller-provided reason for pausing this inventory source.\n\nOnly applicable for inventory sources synced directly from the\npublishers and when seller_status\nis set to `ENTITY_STATUS_PAUSED`.",
+ "type": "string"
+ },
+ "sellerStatus": {
+ "description": "Output only. The status set by the seller for the inventory source.\n\nOnly applicable for inventory sources synced directly from the\npublishers.\nAcceptable values are `ENTITY_STATUS_ACTIVE` and `ENTITY_STATUS_PAUSED`.",
+ "enum": [
+ "ENTITY_STATUS_UNSPECIFIED",
+ "ENTITY_STATUS_ACTIVE",
+ "ENTITY_STATUS_ARCHIVED",
+ "ENTITY_STATUS_DRAFT",
+ "ENTITY_STATUS_PAUSED",
+ "ENTITY_STATUS_SCHEDULED_FOR_DELETION"
+ ],
+ "enumDescriptions": [
+ "Default value when status is not specified or is unknown in this version.",
+ "The entity is enabled to bid and spend budget.",
+ "The entity is archived. Bidding and budget spending are disabled. An\nentity can be deleted after archived. Deleted entities cannot be retrieved.",
+ "The entity is under draft. Bidding and budget spending are disabled.",
+ "Bidding and budget spending are paused for the entity.",
+ "The entity is scheduled for deletion."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "InventorySourceVideoCreativeConfig": {
+ "description": "The configuration for video creatives.",
+ "id": "InventorySourceVideoCreativeConfig",
+ "properties": {
+ "duration": {
+ "description": "The duration requirements for the video creatives that can be assigned to\nthe inventory source.",
+ "format": "google-duration",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "KeywordAssignedTargetingOptionDetails": {
+ "description": "Details for assigned keyword targeting option. This will be populated in the\ndetails field of an AssignedTargetingOption when\ntargeting_type is\n`TARGETING_TYPE_KEYWORD`.",
+ "id": "KeywordAssignedTargetingOptionDetails",
+ "properties": {
+ "keyword": {
+ "description": "Required. The keyword, for example `car insurance`.\n\nPositive keyword cannot be offensive word.\nMust be UTF-8 encoded with a maximum size of 255 bytes. Maximum number\nof characters is 80. Maximum number of words is 10.",
+ "type": "string"
+ },
+ "negative": {
+ "description": "Indicates if this option is being negatively targeted.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "LanguageAssignedTargetingOptionDetails": {
+ "description": "Details for assigned language targeting option. This will be populated in the\ndetails field of an AssignedTargetingOption when\ntargeting_type is\n`TARGETING_TYPE_LANGUAGE`.",
+ "id": "LanguageAssignedTargetingOptionDetails",
+ "properties": {
+ "displayName": {
+ "description": "Output only. The display name of the language (e.g., \"French\").",
+ "type": "string"
+ },
+ "negative": {
+ "description": "Indicates if this option is being negatively targeted. All assigned\nlanguage targeting options on the same line item must have the same value\nfor this field.",
+ "type": "boolean"
+ },
+ "targetingOptionId": {
+ "description": "Required. The targeting_option_id of a\nTargetingOption of type `TARGETING_TYPE_LANGUAGE`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "LanguageTargetingOptionDetails": {
+ "description": "Represents a targetable language. This will be populated in the\nlanguage_details field when\ntargeting_type is\n`TARGETING_TYPE_LANGUAGE`.",
+ "id": "LanguageTargetingOptionDetails",
+ "properties": {
+ "displayName": {
+ "description": "Output only. The display name of the language (e.g., \"French\").",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "LineItem": {
+ "description": "A single line item.",
+ "id": "LineItem",
+ "properties": {
+ "advertiserId": {
+ "description": "Output only. The unique ID of the advertiser the line item belongs to.",
+ "format": "int64",
+ "type": "string"
+ },
+ "bidStrategy": {
+ "$ref": "BiddingStrategy",
+ "description": "Required. The bidding strategy of the line item."
+ },
+ "budget": {
+ "$ref": "LineItemBudget",
+ "description": "Required. The budget allocation setting of the line item."
+ },
+ "campaignId": {
+ "description": "Output only. The unique ID of the campaign that the line item belongs to.",
+ "format": "int64",
+ "type": "string"
+ },
+ "conversionCounting": {
+ "$ref": "ConversionCountingConfig",
+ "description": "The conversion tracking setting of the line item."
+ },
+ "creativeIds": {
+ "description": "The IDs of the creatives associated with the line item.",
+ "items": {
+ "format": "int64",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "displayName": {
+ "description": "Required. The display name of the line item.\n\nMust be UTF-8 encoded with a maximum size of 240 bytes.",
+ "type": "string"
+ },
+ "entityStatus": {
+ "description": "Required. Controls whether or not the line item can spend its budget and\nbid on inventory.\n\n* For CreateLineItem method, only\n`ENTITY_STATUS_DRAFT` is allowed. To activate a line item, use\nUpdateLineItem method and update the\nstatus to `ENTITY_STATUS_ACTIVE` after creation.\n* A line item cannot be changed back to `ENTITY_STATUS_DRAFT` status from\nany other status.\n* If the line item's parent insertion order is not active, the line item\ncan't spend its budget even if its own status is `ENTITY_STATUS_ACTIVE`.",
+ "enum": [
+ "ENTITY_STATUS_UNSPECIFIED",
+ "ENTITY_STATUS_ACTIVE",
+ "ENTITY_STATUS_ARCHIVED",
+ "ENTITY_STATUS_DRAFT",
+ "ENTITY_STATUS_PAUSED",
+ "ENTITY_STATUS_SCHEDULED_FOR_DELETION"
+ ],
+ "enumDescriptions": [
+ "Default value when status is not specified or is unknown in this version.",
+ "The entity is enabled to bid and spend budget.",
+ "The entity is archived. Bidding and budget spending are disabled. An\nentity can be deleted after archived. Deleted entities cannot be retrieved.",
+ "The entity is under draft. Bidding and budget spending are disabled.",
+ "Bidding and budget spending are paused for the entity.",
+ "The entity is scheduled for deletion."
+ ],
+ "type": "string"
+ },
+ "flight": {
+ "$ref": "LineItemFlight",
+ "description": "Required. The start and end time of the line item's flight."
+ },
+ "frequencyCap": {
+ "$ref": "FrequencyCap",
+ "description": "Required. The frequency capping setting of the line item."
+ },
+ "insertionOrderId": {
+ "description": "Required. Immutable. The unique ID of the insertion order that the line item belongs to.",
+ "format": "int64",
+ "type": "string"
+ },
+ "integrationDetails": {
+ "$ref": "IntegrationDetails",
+ "description": "Integration details of the line item."
+ },
+ "inventorySourceIds": {
+ "description": "The IDs of the private inventory sources assigned to the line item.",
+ "items": {
+ "format": "int64",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "lineItemId": {
+ "description": "Output only. The unique ID of the line item. Assigned by the system.",
+ "format": "int64",
+ "type": "string"
+ },
+ "lineItemType": {
+ "description": "Required. Immutable. The type of the line item.",
+ "enum": [
+ "LINE_ITEM_TYPE_UNSPECIFIED",
+ "LINE_ITEM_TYPE_DISPLAY_DEFAULT",
+ "LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL",
+ "LINE_ITEM_TYPE_VIDEO_DEFAULT",
+ "LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INSTALL",
+ "LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INVENTORY",
+ "LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INVENTORY"
+ ],
+ "enumDescriptions": [
+ "Type value is not specified or is unknown in this version.",
+ "Image, HTML5, native, or rich media ads.",
+ "Display ads that drive installs of an app.",
+ "Video ads sold on a CPM basis for a variety of environments.",
+ "Video ads that drive installs of an app.",
+ "Display ads served on mobile app inventory.",
+ "Video ads served on mobile app inventory."
+ ],
+ "type": "string"
+ },
+ "name": {
+ "description": "Output only. The resource name of the line item.",
+ "type": "string"
+ },
+ "pacing": {
+ "$ref": "Pacing",
+ "description": "Required. The budget spending speed setting of the line item."
+ },
+ "partnerCosts": {
+ "description": "The partner costs associated with the line item.\n\nIf absent or empty in CreateLineItem\nmethod, the newly created line item will inherit partner costs from its\nparent insertion order.",
+ "items": {
+ "$ref": "PartnerCost"
+ },
+ "type": "array"
+ },
+ "partnerRevenueModel": {
+ "$ref": "PartnerRevenueModel",
+ "description": "Required. The partner revenue model setting of the line item."
+ },
+ "updateTime": {
+ "description": "Output only. The timestamp when the line item was last updated. Assigned by the system.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "LineItemBudget": {
+ "description": "Settings that control how budget is allocated.",
+ "id": "LineItemBudget",
+ "properties": {
+ "budgetAllocationType": {
+ "description": "Required. The type of the budget allocation.\n\n`LINE_ITEM_BUDGET_ALLOCATION_TYPE_AUTOMATIC` is only applicable when\nautomatic budget allocation is enabled for the parent insertion order.",
+ "enum": [
+ "LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNSPECIFIED",
+ "LINE_ITEM_BUDGET_ALLOCATION_TYPE_AUTOMATIC",
+ "LINE_ITEM_BUDGET_ALLOCATION_TYPE_FIXED",
+ "LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNLIMITED"
+ ],
+ "enumDescriptions": [
+ "Type value is not specified or is unknown in this version.",
+ "Automatic budget allocation is enabled for the line item.",
+ "A fixed max budget amount is allocated for the line item.",
+ "No budget limit is applied to the line item."
+ ],
+ "type": "string"
+ },
+ "budgetUnit": {
+ "description": "Output only. The budget unit specifies whether the budget is currency based\nor impression based. This value is inherited from the parent insertion\norder.",
+ "enum": [
+ "BUDGET_UNIT_UNSPECIFIED",
+ "BUDGET_UNIT_CURRENCY",
+ "BUDGET_UNIT_IMPRESSIONS"
+ ],
+ "enumDescriptions": [
+ "Type value is not specified or is unknown in this version.",
+ "Budgeting in currency amounts.",
+ "Budgeting in impression amounts."
+ ],
+ "type": "string"
+ },
+ "maxAmount": {
+ "description": "The maximum budget amount the line item will spend. Must be greater than 0.\n\nWhen budget_allocation_type is:\n\n* `LINE_ITEM_BUDGET_ALLOCATION_TYPE_AUTOMATIC`, this field is immutable\nand is set by the system.\n* `LINE_ITEM_BUDGET_ALLOCATION_TYPE_FIXED`, if\nbudget_unit is:\n - `BUDGET_UNIT_CURRENCY`, this field represents maximum budget amount\n to spend, in micros of the advertiser's currency. For example, 1500000\n represents 1.5 standard units of the currency.\n - `BUDGET_UNIT_IMPRESSIONS`, this field represents the maximum number\n of impressions to serve.\n* `LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNLIMITED`, this field is not\napplicable and will be ignored by the system.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "LineItemFlight": {
+ "description": "Settings that control the active duration of a line item.",
+ "id": "LineItemFlight",
+ "properties": {
+ "dateRange": {
+ "$ref": "DateRange",
+ "description": "The flight start and end dates of the line item. They are resolved\nrelative to the parent advertiser's time zone.\n\n* Required when\nflight_date_type is\n`LINE_ITEM_FLIGHT_DATE_TYPE_CUSTOM`. Output only otherwise.\n* When creating a new flight, both `start_date` and `end_date` must be in\nthe future.\n* An existing flight with a `start_date` in the past has a mutable\n`end_date` but an immutable `start_date`.\n* `end_date` must be the `start_date` or later, both before the year 2037."
+ },
+ "flightDateType": {
+ "description": "Required. The type of the line item's flight dates.",
+ "enum": [
+ "LINE_ITEM_FLIGHT_DATE_TYPE_UNSPECIFIED",
+ "LINE_ITEM_FLIGHT_DATE_TYPE_INHERITED",
+ "LINE_ITEM_FLIGHT_DATE_TYPE_CUSTOM"
+ ],
+ "enumDescriptions": [
+ "Type value is not specified or is unknown in this version.",
+ "The line item's flight dates are inherited from its parent insertion order.",
+ "The line item uses its own custom flight dates."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListAdvertiserAssignedTargetingOptionsResponse": {
+ "description": "Response message for\nListAdvertiserAssignedTargetingOptions.",
+ "id": "ListAdvertiserAssignedTargetingOptionsResponse",
+ "properties": {
+ "assignedTargetingOptions": {
+ "description": "The list of assigned targeting options.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "AssignedTargetingOption"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A token identifying the next page of results. This value should be\nspecified as the\npageToken in a\nsubsequent ListAdvertiserAssignedTargetingOptionsRequest to fetch the\nnext page of results. This token will be absent if there are no more\nassigned_targeting_options\nto return.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListAdvertisersResponse": {
+ "id": "ListAdvertisersResponse",
+ "properties": {
+ "advertisers": {
+ "description": "The list of advertisers.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "Advertiser"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results.\nPass this value in the\npage_token\nfield in the subsequent call to `ListAdvertisers` method to retrieve the\nnext page of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListAssignedInventorySourcesResponse": {
+ "description": "Response message for\nAssignedInventorySourceService.ListAssignedInventorySources.",
+ "id": "ListAssignedInventorySourcesResponse",
+ "properties": {
+ "assignedInventorySources": {
+ "description": "The list of assigned inventory sources.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "AssignedInventorySource"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results.\n\nPass this value in the\npage_token field\nin the subsequent call to `ListAssignedInventorySources` method to\nretrieve the next page of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListAssignedLocationsResponse": {
+ "description": "Response message for\nAssignedLocationService.ListAssignedLocations.",
+ "id": "ListAssignedLocationsResponse",
+ "properties": {
+ "assignedLocations": {
+ "description": "The list of assigned locations.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "AssignedLocation"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results.\n\nPass this value in the\npage_token field\nin the subsequent call to `ListAssignedLocations` method to\nretrieve the next page of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListCampaignsResponse": {
+ "id": "ListCampaignsResponse",
+ "properties": {
+ "campaigns": {
+ "description": "The list of campaigns.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "Campaign"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results.\nPass this value in the page_token field\nin the subsequent call to `ListCampaigns` method to retrieve the next page\nof results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListChannelsResponse": {
+ "id": "ListChannelsResponse",
+ "properties": {
+ "channels": {
+ "description": "The list of channels.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "Channel"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results.\nPass this value in the page_token field\nin the subsequent call to `ListChannels` method to retrieve the next page\nof results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListCombinedAudiencesResponse": {
+ "id": "ListCombinedAudiencesResponse",
+ "properties": {
+ "combinedAudiences": {
+ "description": "The list of combined audiences.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "CombinedAudience"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results.\nPass this value in the\npage_token\nfield in the subsequent call to `ListCombinedAudiences` method to retrieve\nthe next page of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListCreativesResponse": {
+ "id": "ListCreativesResponse",
+ "properties": {
+ "creatives": {
+ "description": "The list of creatives.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "Creative"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results.\nPass this value in the page_token field\nin the subsequent call to `ListCreativesRequest` method to retrieve the\nnext page of results.\nIf this field is null, it means this is the last page.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListCustomListsResponse": {
+ "id": "ListCustomListsResponse",
+ "properties": {
+ "customLists": {
+ "description": "The list of custom lists.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "CustomList"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results.\nPass this value in the\npage_token\nfield in the subsequent call to `ListCustomLists` method to retrieve the\nnext page of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListFirstAndThirdPartyAudiencesResponse": {
+ "id": "ListFirstAndThirdPartyAudiencesResponse",
+ "properties": {
+ "firstAndThirdPartyAudiences": {
+ "description": "The list of first and third party audiences. Audience size properties will\nnot be included.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "FirstAndThirdPartyAudience"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results.\nPass this value in the\npage_token\nfield in the subsequent call to `ListFirstAndThirdPartyAudiences` method to\nretrieve the next page of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListGoogleAudiencesResponse": {
+ "id": "ListGoogleAudiencesResponse",
+ "properties": {
+ "googleAudiences": {
+ "description": "The list of Google audiences.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "GoogleAudience"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results.\nPass this value in the\npage_token\nfield in the subsequent call to `ListGoogleAudiences` method to retrieve\nthe next page of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListInsertionOrdersResponse": {
+ "id": "ListInsertionOrdersResponse",
+ "properties": {
+ "insertionOrders": {
+ "description": "The list of insertion orders.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "InsertionOrder"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results.\nPass this value in the page_token\nfield in the subsequent call to `ListInsertionOrders` method to retrieve\nthe next page of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListInventorySourceGroupsResponse": {
+ "description": "Response message for InventorySourceGroupService.ListInventorySourceGroups.",
+ "id": "ListInventorySourceGroupsResponse",
+ "properties": {
+ "inventorySourceGroups": {
+ "description": "The list of inventory source groups.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "InventorySourceGroup"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results.\nPass this value in the\npage_token\nfield in the subsequent call to `ListInventorySourceGroups` method to\nretrieve the next page of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListInventorySourcesResponse": {
+ "id": "ListInventorySourcesResponse",
+ "properties": {
+ "inventorySources": {
+ "description": "The list of inventory sources.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "InventorySource"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results.\nPass this value in the\npage_token\nfield in the subsequent call to `ListInventorySources` method to retrieve\nthe next page of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListLineItemAssignedTargetingOptionsResponse": {
+ "description": "Response message for\nListLineItemAssignedTargetingOptions.",
+ "id": "ListLineItemAssignedTargetingOptionsResponse",
+ "properties": {
+ "assignedTargetingOptions": {
+ "description": "The list of assigned targeting options.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "AssignedTargetingOption"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A token identifying the next page of results. This value should be\nspecified as the\npageToken in a\nsubsequent ListLineItemAssignedTargetingOptionsRequest to fetch the\nnext page of results. This token will be absent if there are no more\nassigned_targeting_options\nto return.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListLineItemsResponse": {
+ "id": "ListLineItemsResponse",
+ "properties": {
+ "lineItems": {
+ "description": "The list of line items.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "LineItem"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results.\nPass this value in the\npage_token\nfield in the subsequent call to `ListLineItems` method to retrieve the\nnext page of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListLocationListsResponse": {
+ "id": "ListLocationListsResponse",
+ "properties": {
+ "locationLists": {
+ "description": "The list of location lists.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "LocationList"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results.\n\nPass this value in the\npage_token\nfield in the subsequent call to `ListLocationLists` method to retrieve the\nnext page of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListNegativeKeywordListsResponse": {
+ "description": "Response message for NegativeKeywordListService.ListNegativeKeywordLists.",
+ "id": "ListNegativeKeywordListsResponse",
+ "properties": {
+ "negativeKeywordLists": {
+ "description": "The list of negative keyword lists.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "NegativeKeywordList"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results.\n\nPass this value in the\npage_token\nfield in the subsequent call to `ListNegativeKeywordLists` method to\nretrieve the next page of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListNegativeKeywordsResponse": {
+ "description": "Response message for NegativeKeywordService.ListNegativeKeywords.",
+ "id": "ListNegativeKeywordsResponse",
+ "properties": {
+ "negativeKeywords": {
+ "description": "The list of negative keywords.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "NegativeKeyword"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results.\n\nPass this value in the page_token\nfield in the subsequent call to `ListNegativeKeywords` method to retrieve\nthe next page of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListSitesResponse": {
+ "description": "Response message for SiteService.ListSites.",
+ "id": "ListSitesResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results.\n\nPass this value in the page_token field\nin the subsequent call to `ListSites` method to retrieve the next page\nof results.",
+ "type": "string"
+ },
+ "sites": {
+ "description": "The list of sites.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "Site"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ListTargetingOptionsResponse": {
+ "description": "Response message for\nListTargetingOptions.",
+ "id": "ListTargetingOptionsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results.\nPass this value in the\npage_token\nfield in the subsequent call to `ListTargetingOptions` method to retrieve\nthe next page of results.",
+ "type": "string"
+ },
+ "targetingOptions": {
+ "description": "The list of targeting options.\n\nThis list will be absent if empty.",
+ "items": {
+ "$ref": "TargetingOption"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "LocationList": {
+ "description": "A list of locations used for targeting.",
+ "id": "LocationList",
+ "properties": {
+ "advertiserId": {
+ "description": "Required. Immutable. The unique ID of the advertiser the location list belongs to.",
+ "format": "int64",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Required. The display name of the location list.\nMust be UTF-8 encoded with a maximum size of 240 bytes.",
+ "type": "string"
+ },
+ "locationListId": {
+ "description": "Output only. The unique ID of the location list. Assigned by the system.",
+ "format": "int64",
+ "type": "string"
+ },
+ "locationType": {
+ "description": "Required. Immutable. The type of location. All locations in the list will share this type.",
+ "enum": [
+ "TARGETING_LOCATION_TYPE_UNSPECIFIED",
+ "TARGETING_LOCATION_TYPE_PROXIMITY",
+ "TARGETING_LOCATION_TYPE_REGIONAL"
+ ],
+ "enumDescriptions": [
+ "Default value when type is not specified or is unknown.",
+ "The type for proximity geo location.",
+ "The type for regional geo location."
+ ],
+ "type": "string"
+ },
+ "name": {
+ "description": "Output only. The resource name of the location list.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "LookbackWindow": {
+ "description": "Specifies how many days into the past to look when determining whether to\nrecord a conversion.",
+ "id": "LookbackWindow",
+ "properties": {
+ "clickDays": {
+ "description": "Lookback window, in days, from the last time a given user clicked on one of\nyour ads.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "impressionDays": {
+ "description": "Lookback window, in days, from the last time a given user viewed one of\nyour ads.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "MaximizeSpendBidStrategy": {
+ "description": "A strategy that automatically adjusts the bid to optimize a specified\nperformance goal while spending the full budget.",
+ "id": "MaximizeSpendBidStrategy",
+ "properties": {
+ "maxAverageCpmBidAmountMicros": {
+ "description": "The maximum average CPM that may be bid, in micros of the advertiser's\ncurrency. Must be greater than or equal to a billable unit of the given\ncurrency.\n\nFor example, 1500000 represents 1.5 standard units of the currency.",
+ "format": "int64",
+ "type": "string"
+ },
+ "performanceGoalType": {
+ "description": "Required. The type of the performance goal that the bidding strategy\ntries to minimize while spending the full budget.\n`BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM` is not supported for\nthis strategy.",
+ "enum": [
+ "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_UNSPECIFIED",
+ "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA",
+ "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC",
+ "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM",
+ "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA",
+ "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN",
+ "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED"
+ ],
+ "enumDescriptions": [
+ "Type value is not specified or is unknown in this version.",
+ "Cost per action.",
+ "Cost per click.",
+ "Viewable CPM.",
+ "Completed inview and audible views.",
+ "Inview time over 10 secs views.",
+ "Viewable impressions."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Money": {
+ "description": "Represents an amount of money with its currency type.",
+ "id": "Money",
+ "properties": {
+ "currencyCode": {
+ "description": "The 3-letter currency code defined in ISO 4217.",
+ "type": "string"
+ },
+ "nanos": {
+ "description": "Number of nano (10^-9) units of the amount.\nThe value must be between -999,999,999 and +999,999,999 inclusive.\nIf `units` is positive, `nanos` must be positive or zero.\nIf `units` is zero, `nanos` can be positive, zero, or negative.\nIf `units` is negative, `nanos` must be negative or zero.\nFor example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "units": {
+ "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "NegativeKeyword": {
+ "description": "A negatively targeted keyword that belongs to a negative keyword list.",
+ "id": "NegativeKeyword",
+ "properties": {
+ "keywordValue": {
+ "description": "Required. Immutable. The negatively targeted keyword, for example `car insurance`.\n\nMust be UTF-8 encoded with a maximum size of 255 bytes. Maximum number\nof characters is 80. Maximum number of words is 10.\n\nValid characters are restricted to ASCII characters only. The only\nURL-escaping permitted is for representing whitespace between words.\nLeading or trailing whitespace is ignored.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Output only. The resource name of the negative keyword.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "NegativeKeywordList": {
+ "description": "A list of negative keywords used for targeting.",
+ "id": "NegativeKeywordList",
+ "properties": {
+ "advertiserId": {
+ "description": "Output only. The unique ID of the advertiser the negative keyword list belongs to.",
+ "format": "int64",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Required. The display name of the negative keyword list.\nMust be UTF-8 encoded with a maximum size of 255 bytes.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Output only. The resource name of the negative keyword list.",
+ "type": "string"
+ },
+ "negativeKeywordListId": {
+ "description": "Output only. The unique ID of the negative keyword list. Assigned by the system.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "NegativeKeywordListAssignedTargetingOptionDetails": {
+ "description": "Targeting details for negative keyword list. This will be populated in the\ndetails field of an AssignedTargetingOption when\ntargeting_type is\n`TARGETING_TYPE_NEGATIVE_KEYWORD_LIST`.",
+ "id": "NegativeKeywordListAssignedTargetingOptionDetails",
+ "properties": {
+ "negativeKeywordListId": {
+ "description": "Required. ID of the negative keyword list. Should refer to the\nnegative_keyword_list_id\nfield of a NegativeKeywordList resource.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ObaIcon": {
+ "description": "OBA Icon for a Creative",
+ "id": "ObaIcon",
+ "properties": {
+ "clickTrackingUrl": {
+ "description": "Required. The click tracking URL of the OBA icon.\n\nOnly URLs of the following domains are allowed:\n\n* https://info.evidon.com\n* https://l.betrad.com",
+ "type": "string"
+ },
+ "dimensions": {
+ "$ref": "Dimensions",
+ "description": "The dimensions of the OBA icon."
+ },
+ "landingPageUrl": {
+ "description": "Required. The landing page URL of the OBA icon.\n\nOnly URLs of the following domains are allowed:\n\n* https://info.evidon.com\n* https://l.betrad.com",
+ "type": "string"
+ },
+ "position": {
+ "description": "The position of the OBA icon on the creative.",
+ "enum": [
+ "OBA_ICON_POSITION_UNSPECIFIED",
+ "OBA_ICON_POSITION_UPPER_RIGHT",
+ "OBA_ICON_POSITION_UPPER_LEFT",
+ "OBA_ICON_POSITION_LOWER_RIGHT",
+ "OBA_ICON_POSITION_LOWER_LEFT"
+ ],
+ "enumDescriptions": [
+ "The OBA icon position is not specified.",
+ "At the upper right side of the creative.",
+ "At the upper left side of the creative.",
+ "At the lower right side of the creative.",
+ "At the lower left side of the creative."
+ ],
+ "type": "string"
+ },
+ "program": {
+ "description": "The program of the OBA icon. For example: \u201cAdChoices\u201d.",
+ "type": "string"
+ },
+ "resourceMimeType": {
+ "description": "The MIME type of the OBA icon resource.",
+ "type": "string"
+ },
+ "resourceUrl": {
+ "description": "The URL of the OBA icon resource.",
+ "type": "string"
+ },
+ "viewTrackingUrl": {
+ "description": "Required. The view tracking URL of the OBA icon.\n\nOnly URLs of the following domains are allowed:\n\n* https://info.evidon.com\n* https://l.betrad.com",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "OnScreenPositionAssignedTargetingOptionDetails": {
+ "description": "On screen position targeting option details. This will be\npopulated in the\non_screen_position_details\nfield when\ntargeting_type is\n`TARGETING_TYPE_ON_SCREEN_POSITION`.",
+ "id": "OnScreenPositionAssignedTargetingOptionDetails",
+ "properties": {
+ "onScreenPosition": {
+ "description": "Output only. The on screen position.",
+ "enum": [
+ "ON_SCREEN_POSITION_UNSPECIFIED",
+ "ON_SCREEN_POSITION_UNKNOWN",
+ "ON_SCREEN_POSITION_ABOVE_THE_FOLD",
+ "ON_SCREEN_POSITION_BELOW_THE_FOLD"
+ ],
+ "enumDescriptions": [
+ "On screen position is not specified in this version. This enum is a place\nholder for a default value and does not represent a real on screen\nposition.",
+ "The ad position is unknown on the screen.",
+ "The ad is located above the fold.",
+ "The ad is located below the fold."
+ ],
+ "type": "string"
+ },
+ "targetingOptionId": {
+ "description": "Required. The targeting_option_id field when\ntargeting_type is\n`TARGETING_TYPE_ON_SCREEN_POSITION`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "OnScreenPositionTargetingOptionDetails": {
+ "description": "Represents a targetable on screen position, which could be used by display\nand video ads. This will be populated in the\non_screen_position_details\nfield when\ntargeting_type is\n`TARGETING_TYPE_ON_SCREEN_POSITION`.",
+ "id": "OnScreenPositionTargetingOptionDetails",
+ "properties": {
+ "onScreenPosition": {
+ "description": "Output only. The on screen position.",
+ "enum": [
+ "ON_SCREEN_POSITION_UNSPECIFIED",
+ "ON_SCREEN_POSITION_UNKNOWN",
+ "ON_SCREEN_POSITION_ABOVE_THE_FOLD",
+ "ON_SCREEN_POSITION_BELOW_THE_FOLD"
+ ],
+ "enumDescriptions": [
+ "On screen position is not specified in this version. This enum is a place\nholder for a default value and does not represent a real on screen\nposition.",
+ "The ad position is unknown on the screen.",
+ "The ad is located above the fold.",
+ "The ad is located below the fold."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "OperatingSystemAssignedTargetingOptionDetails": {
+ "description": "Assigned operating system targeting option details. This will be\npopulated in the\noperating_system_details\nfield when\ntargeting_type is\n`TARGETING_TYPE_OPERATING_SYSTEM`.",
+ "id": "OperatingSystemAssignedTargetingOptionDetails",
+ "properties": {
+ "displayName": {
+ "description": "Output only. The display name of the operating system.",
+ "type": "string"
+ },
+ "negative": {
+ "description": "Indicates if this option is being negatively targeted.",
+ "type": "boolean"
+ },
+ "targetingOptionId": {
+ "description": "Required. The targeting option ID populated in\ntargeting_option_id field when\ntargeting_type is\n`TARGETING_TYPE_OPERATING_SYSTEM`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "OperatingSystemTargetingOptionDetails": {
+ "description": "Represents a targetable operating system. This will be populated in the\noperating_system_details field\nof a TargetingOption when\ntargeting_type is\n`TARGETING_TYPE_OPERATING_SYSTEM`.",
+ "id": "OperatingSystemTargetingOptionDetails",
+ "properties": {
+ "displayName": {
+ "description": "Output only. The display name of the operating system.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Operation": {
+ "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
+ "id": "Operation",
+ "properties": {
+ "done": {
+ "description": "If the value is `false`, it means the operation is still in progress.\nIf `true`, the operation is completed, and either `error` or `response` is\navailable.",
+ "type": "boolean"
+ },
+ "error": {
+ "$ref": "Status",
+ "description": "The error result of the operation in case of failure or cancellation."
+ },
+ "metadata": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.",
+ "type": "object"
+ },
+ "name": {
+ "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should be a resource name ending with `operations/{unique_id}`.",
+ "type": "string"
+ },
+ "response": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "Pacing": {
+ "description": "Settings that control the rate at which a budget is spent.",
+ "id": "Pacing",
+ "properties": {
+ "dailyMaxImpressions": {
+ "description": "Maximum number of impressions to serve every day.\n\nApplicable when the budget is impression based. Must be greater than 0.",
+ "format": "int64",
+ "type": "string"
+ },
+ "dailyMaxMicros": {
+ "description": "Maximum currency amount to spend every day in micros of\nadvertiser's currency.\n\nApplicable when the budget is currency based. Must be greater than 0.\nFor example, for 1.5 standard unit of the currency, set this field to\n1500000.\n\nThe value assigned will be rounded to whole billable units for the\nrelevant currency by the following rules: any positive value less than a\nsingle billable unit will be rounded up to one billable unit and any\nvalue larger than a single billable unit will be rounded down to the\nnearest billable value. For example, if the currency's billable unit is\n0.01, and this field is set to 10257770, it will round down to 10250000,\na value of 10.25. If set to 505, it will round up to 10000, a value of\n0.01.",
+ "format": "int64",
+ "type": "string"
+ },
+ "pacingPeriod": {
+ "description": "Required. The time period in which the pacing budget will be spent.\n\nWhen automatic budget allocation is enabled at the insertion order via\nauto_budget_allocation, this\nfield is output only and defaults to `PACING_PERIOD_FLIGHT`.",
+ "enum": [
+ "PACING_PERIOD_UNSPECIFIED",
+ "PACING_PERIOD_DAILY",
+ "PACING_PERIOD_FLIGHT"
+ ],
+ "enumDescriptions": [
+ "Period value is not specified or is unknown in this version.",
+ "The pacing setting will be applied on daily basis.",
+ "The pacing setting will be applied to the whole flight duration."
+ ],
+ "type": "string"
+ },
+ "pacingType": {
+ "description": "Required. The type of pacing that defines how the budget amount will be\nspent across the pacing_period.",
+ "enum": [
+ "PACING_TYPE_UNSPECIFIED",
+ "PACING_TYPE_AHEAD",
+ "PACING_TYPE_ASAP",
+ "PACING_TYPE_EVEN"
+ ],
+ "enumDescriptions": [
+ "Pacing mode value is not specified or is unknown in this version.",
+ "Only applicable to `PACING_PERIOD_FLIGHT` pacing period.\nAhead pacing attempts to spend faster than evenly, to make sure the\nentire budget is spent by the end of the flight.",
+ "Spend all of pacing budget amount as quick as possible.",
+ "Spend a consistent budget amount every period of time."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ParentEntityFilter": {
+ "description": "A filtering option that filters on selected file types belonging to a chosen\nset of filter entities.",
+ "id": "ParentEntityFilter",
+ "properties": {
+ "fileType": {
+ "description": "Required. File types that will be returned.",
+ "enumDescriptions": [
+ "Default value when type is unspecified or is unknown in this version.",
+ "Campaign.",
+ "Media Product.",
+ "Insertion Order.",
+ "Line Item.",
+ "TrueView Ad Group.",
+ "TrueView Ad."
+ ],
+ "items": {
+ "enum": [
+ "FILE_TYPE_UNSPECIFIED",
+ "FILE_TYPE_CAMPAIGN",
+ "FILE_TYPE_MEDIA_PRODUCT",
+ "FILE_TYPE_INSERTION_ORDER",
+ "FILE_TYPE_LINE_ITEM",
+ "FILE_TYPE_AD_GROUP",
+ "FILE_TYPE_AD"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "filterIds": {
+ "description": "The IDs of the specified filter type. This is used to filter entities to\nfetch. If filter type is not `FILTER_TYPE_NONE`, at least one ID must be\nspecified.",
+ "items": {
+ "format": "int64",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "filterType": {
+ "description": "Required. Filter type used to filter fetched entities.",
+ "enum": [
+ "FILTER_TYPE_UNSPECIFIED",
+ "FILTER_TYPE_NONE",
+ "FILTER_TYPE_ADVERTISER_ID",
+ "FILTER_TYPE_CAMPAIGN_ID",
+ "FILTER_TYPE_MEDIA_PRODUCT_ID",
+ "FILTER_TYPE_INSERTION_ORDER_ID",
+ "FILTER_TYPE_LINE_ITEM_ID"
+ ],
+ "enumDescriptions": [
+ "Default value when type is unspecified or is unknown in this version.",
+ "If selected, no filter will be applied to the download. Can only be used if\nan Advertiser is specified\nin CreateSdfDownloadTaskRequest.",
+ "Advertiser ID. If selected, all filter IDs must be Advertiser IDs that\nbelong to the Partner specified\nin CreateSdfDownloadTaskRequest.",
+ "Campaign ID. If selected, all filter IDs must be Campaign IDs that belong\nto the Advertiser or\nPartner specified in\nCreateSdfDownloadTaskRequest.",
+ "Media Product ID. If selected, all filter IDs must be Media Product IDs\nthat belong to the Advertiser\nor Partner specified in\nCreateSdfDownloadTaskRequest. Can only be used for downloading\n`FILE_TYPE_MEDIA_PRODUCT`.",
+ "Insertion Order ID. If selected, all filter IDs must be Insertion Order IDs\nthat belong to the Advertiser\nor Partner specified in\nCreateSdfDownloadTaskRequest. Can only be used for downloading\n`FILE_TYPE_INSERTION_ORDER`, `FILE_TYPE_LINE_ITEM`, `FILE_TYPE_AD_GROUP`,\nand `FILE_TYPE_AD`.",
+ "Line Item ID. If selected, all filter IDs must be Line Item IDs that belong\nto the Advertiser or\nPartner specified in\nCreateSdfDownloadTaskRequest. Can only be used for downloading\n`FILE_TYPE_LINE_ITEM`, `FILE_TYPE_AD_GROUP`, and `FILE_TYPE_AD`."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ParentalStatusAssignedTargetingOptionDetails": {
+ "description": "Details for assigned parental status targeting option. This will be\npopulated in the details field of an AssignedTargetingOption when\ntargeting_type is\n`TARTGETING_TYPE_PARENTAL_STATUS`.",
+ "id": "ParentalStatusAssignedTargetingOptionDetails",
+ "properties": {
+ "parentalStatus": {
+ "description": "Output only. The parental status of the audience.",
+ "enum": [
+ "PARENTAL_STATUS_UNSPECIFIED",
+ "PARENTAL_STATUS_PARENT",
+ "PARENTAL_STATUS_NOT_A_PARENT",
+ "PARENTAL_STATUS_UNKNOWN"
+ ],
+ "enumDescriptions": [
+ "Default value when parental status is not specified in this version. This\nenum is a place holder for default value and does not represent a real\nparental status option.",
+ "The audience is a parent.",
+ "The audience is not a parent.",
+ "The parental status of the audience is unknown."
+ ],
+ "type": "string"
+ },
+ "targetingOptionId": {
+ "description": "Required. The targeting_option_id of a\nTargetingOption of type `TARGETING_TYPE_PARENTAL_STATUS`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ParentalStatusTargetingOptionDetails": {
+ "description": "Represents a targetable parental status. This will be populated in the\nparental_status_details field of a\nTargetingOption when targeting_type is\n`TARGETING_TYPE_PARENTAL_STATUS`.",
+ "id": "ParentalStatusTargetingOptionDetails",
+ "properties": {
+ "parentalStatus": {
+ "description": "Output only. The parental status of an audience.",
+ "enum": [
+ "PARENTAL_STATUS_UNSPECIFIED",
+ "PARENTAL_STATUS_PARENT",
+ "PARENTAL_STATUS_NOT_A_PARENT",
+ "PARENTAL_STATUS_UNKNOWN"
+ ],
+ "enumDescriptions": [
+ "Default value when parental status is not specified in this version. This\nenum is a place holder for default value and does not represent a real\nparental status option.",
+ "The audience is a parent.",
+ "The audience is not a parent.",
+ "The parental status of the audience is unknown."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "PartnerCost": {
+ "description": "Settings that control a partner cost.\n\nA partner cost is any type of expense involved in running a campaign, other\nthan the costs of purchasing impressions (which is called the media cost)\nand using third-party audience segment data (data fee). Some examples of\npartner costs include the fees for using DV360, a third-party ad server,\nor a third-party ad serving verification service.",
+ "id": "PartnerCost",
+ "properties": {
+ "costType": {
+ "description": "Required. The type of the partner cost.",
+ "enum": [
+ "PARTNER_COST_TYPE_UNSPECIFIED",
+ "PARTNER_COST_TYPE_ADLOOX",
+ "PARTNER_COST_TYPE_ADLOOX_PREBID",
+ "PARTNER_COST_TYPE_ADSAFE",
+ "PARTNER_COST_TYPE_ADXPOSE",
+ "PARTNER_COST_TYPE_AGGREGATE_KNOWLEDGE",
+ "PARTNER_COST_TYPE_AGENCY_TRADING_DESK",
+ "PARTNER_COST_TYPE_DV360_FEE",
+ "PARTNER_COST_TYPE_COMSCORE_VCE",
+ "PARTNER_COST_TYPE_DATA_MANAGEMENT_PLATFORM",
+ "PARTNER_COST_TYPE_DEFAULT",
+ "PARTNER_COST_TYPE_DOUBLE_VERIFY",
+ "PARTNER_COST_TYPE_DOUBLE_VERIFY_PREBID",
+ "PARTNER_COST_TYPE_EVIDON",
+ "PARTNER_COST_TYPE_INTEGRAL_AD_SCIENCE_VIDEO",
+ "PARTNER_COST_TYPE_INTEGRAL_AD_SCIENCE_PREBID",
+ "PARTNER_COST_TYPE_MEDIA_COST_DATA",
+ "PARTNER_COST_TYPE_MOAT_VIDEO",
+ "PARTNER_COST_TYPE_NIELSEN_DAR",
+ "PARTNER_COST_TYPE_SHOP_LOCAL",
+ "PARTNER_COST_TYPE_TERACENT",
+ "PARTNER_COST_TYPE_THIRD_PARTY_AD_SERVER",
+ "PARTNER_COST_TYPE_TRUST_METRICS",
+ "PARTNER_COST_TYPE_VIZU",
+ "PARTNER_COST_TYPE_ADLINGO_FEE",
+ "PARTNER_COST_TYPE_CUSTOM_FEE_1",
+ "PARTNER_COST_TYPE_CUSTOM_FEE_2",
+ "PARTNER_COST_TYPE_CUSTOM_FEE_3",
+ "PARTNER_COST_TYPE_CUSTOM_FEE_4",
+ "PARTNER_COST_TYPE_CUSTOM_FEE_5"
+ ],
+ "enumDescriptions": [
+ "Type value is not specified or is unknown in this version.",
+ "The cost is charged for using Adloox.",
+ "The cost is charged for using Adloox Pre-Bid.",
+ "The cost is charged for using AdSafe.",
+ "The cost is charged for using AdExpose.",
+ "The cost is charged for using Aggregate Knowledge.",
+ "The cost is charged for using an Agency Trading Desk.",
+ "The cost is charged for using DV360.",
+ "The cost is charged for using comScore vCE.",
+ "The cost is charged for using a Data Management Platform.",
+ "The default cost type.",
+ "The cost is charged for using DoubleVerify.",
+ "The cost is charged for using DoubleVerify Pre-Bid.",
+ "The cost is charged for using Evidon.",
+ "The cost is charged for using Integral Ad Science Video.",
+ "The cost is charged for using Integral Ad Science Pre-Bid.",
+ "The cost is charged for using media cost data.",
+ "The cost is charged for using MOAT Video.",
+ "The cost is charged for using Nielsen Digital Ad Ratings.",
+ "The cost is charged for using ShopLocal.",
+ "The cost is charged for using Teracent.",
+ "The cost is charged for using a third-party ad server.",
+ "The cost is charged for using TrustMetrics.",
+ "The cost is charged for using Vizu.",
+ "The cost is charged for using AdLingo.",
+ "The cost is charged as custom fee 1.",
+ "The cost is charged as custom fee 2.",
+ "The cost is charged as custom fee 3.",
+ "The cost is charged as custom fee 4.",
+ "The cost is charged as custom fee 5."
+ ],
+ "type": "string"
+ },
+ "feeAmount": {
+ "description": "The CPM fee amount in micros of advertiser's currency.\n\nApplicable when the fee_type is\n`PARTNER_FEE_TYPE_CPM_FEE`. Must be greater than or equal to 0.\n\nFor example, for 1.5 standard unit of the advertiser's currency, set\nthis field to 1500000.",
+ "format": "int64",
+ "type": "string"
+ },
+ "feePercentageMillis": {
+ "description": "The media fee percentage in millis (1/1000 of a percent).\n\nApplicable when the fee_type is\n`PARTNER_FEE_TYPE_MEDIA_FEE`. Must be greater than or equal to 0.\n\nFor example: 100 represents 0.1%.",
+ "format": "int64",
+ "type": "string"
+ },
+ "feeType": {
+ "description": "Required. The fee type for this partner cost.",
+ "enum": [
+ "PARTNER_COST_FEE_TYPE_UNSPECIFIED",
+ "PARTNER_COST_FEE_TYPE_CPM_FEE",
+ "PARTNER_COST_FEE_TYPE_MEDIA_FEE"
+ ],
+ "enumDescriptions": [
+ "Value is not specified or is unknown in this version.",
+ "The partner cost is a fixed CPM fee.\n\nNot applicable when the partner cost cost_type\nis one of:\n\n* `PARTNER_COST_TYPE_MEDIA_COST_DATA`\n* `PARTNER_COST_TYPE_DV360_FEE`.",
+ "The partner cost is a percentage surcharge based on the media cost.\n\nNot applicable when the partner cost_type is one\nof:\n\n* `PARTNER_COST_TYPE_SHOP_LOCAL`\n* `PARTNER_COST_TYPE_TRUST_METRICS`\n* `PARTNER_COST_TYPE_INTEGRAL_AD_SCIENCE_VIDEO`\n* `PARTNER_COST_TYPE_MOAT_VIDEO`."
+ ],
+ "type": "string"
+ },
+ "invoiceType": {
+ "description": "The invoice type for this partner cost.\n\n* Required when cost_type is one of:\n - `PARTNER_COST_TYPE_ADLOOX`\n - `PARTNER_COST_TYPE_DOUBLE_VERIFY`\n - `PARTNER_COST_TYPE_INTEGRAL_AD_SCIENCE`.\n* Output only for other types.",
+ "enum": [
+ "PARTNER_COST_INVOICE_TYPE_UNSPECIFIED",
+ "PARTNER_COST_INVOICE_TYPE_DV360",
+ "PARTNER_COST_INVOICE_TYPE_PARTNER"
+ ],
+ "enumDescriptions": [
+ "Type value is not specified or is unknown in this version.",
+ "Partner cost is billed through DV360.",
+ "Partner cost is billed by the partner."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "PartnerRevenueModel": {
+ "description": "Settings that control how partner revenue is calculated.",
+ "id": "PartnerRevenueModel",
+ "properties": {
+ "markupAmount": {
+ "description": "Required. The markup amount of the partner revenue model.\nMust be greater than or equal to 0.\n\n* When the markup_type is set to be\n`PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM`, this field represents the CPM\nmarkup in micros of advertiser's currency. For example, 1500000\nrepresents 1.5 standard units of the currency.\n* When the markup_type is set to be\n`PARTNER_REVENUE_MODEL_MARKUP_TYPE_MEDIA_COST_MARKUP`, this field\nrepresents the media cost percent markup in millis. For example,\n100 represents 0.1% (decimal 0.001).\n* When the markup_type is set to be\n`PARTNER_REVENUE_MODEL_MARKUP_TYPE_TOTAL_MEDIA_COST_MARKUP`, this field\nrepresents the total media cost percent markup in millis. For example,\n100 represents 0.1% (decimal 0.001).",
+ "format": "int64",
+ "type": "string"
+ },
+ "markupType": {
+ "description": "Required. The markup type of the partner revenue model.",
+ "enum": [
+ "PARTNER_REVENUE_MODEL_MARKUP_TYPE_UNSPECIFIED",
+ "PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM",
+ "PARTNER_REVENUE_MODEL_MARKUP_TYPE_MEDIA_COST_MARKUP",
+ "PARTNER_REVENUE_MODEL_MARKUP_TYPE_TOTAL_MEDIA_COST_MARKUP"
+ ],
+ "enumDescriptions": [
+ "Type value is not specified or is unknown in this version.",
+ "Calculate the partner revenue based on a fixed CPM.",
+ "Calculate the partner revenue based on a percentage surcharge of its\nmedia cost.",
+ "Calculate the partner revenue based on a percentage surcharge of its\ntotal media cost, which includes all partner costs and data costs."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "PerformanceGoal": {
+ "description": "Settings that control the performance goal of a campaign or insertion order.",
+ "id": "PerformanceGoal",
+ "properties": {
+ "performanceGoalAmountMicros": {
+ "description": "The goal amount, in micros of the advertiser's currency.\n\nApplicable when\nperformance_goal_type is one of:\n\n* `PERFORMANCE_GOAL_TYPE_CPM`\n* `PERFORMANCE_GOAL_TYPE_CPC`\n* `PERFORMANCE_GOAL_TYPE_CPA`\n* `PERFORMANCE_GOAL_TYPE_CPIAVC`\n\nFor example 1500000 represents 1.5 standard units of the currency.",
+ "format": "int64",
+ "type": "string"
+ },
+ "performanceGoalPercentageMicros": {
+ "description": "The decimal representation of the goal percentage in micros.\n\nApplicable when\nperformance_goal_type is one of:\n\n* `PERFORMANCE_GOAL_TYPE_CTR`\n* `PERFORMANCE_GOAL_TYPE_VIEWABILITY`\n\nFor example, 70000 represents 7% (decimal 0.07).",
+ "format": "int64",
+ "type": "string"
+ },
+ "performanceGoalString": {
+ "description": "A key performance indicator (KPI) string, which can be empty.\nMust be UTF-8 encoded with a length of no more than 100 characters.\n\nApplicable when\nperformance_goal_type is set to\n`PERFORMANCE_GOAL_TYPE_OTHER`.",
+ "type": "string"
+ },
+ "performanceGoalType": {
+ "description": "Required. The type of the performance goal.",
+ "enum": [
+ "PERFORMANCE_GOAL_TYPE_UNSPECIFIED",
+ "PERFORMANCE_GOAL_TYPE_CPM",
+ "PERFORMANCE_GOAL_TYPE_CPC",
+ "PERFORMANCE_GOAL_TYPE_CPA",
+ "PERFORMANCE_GOAL_TYPE_VIEWABILITY",
+ "PERFORMANCE_GOAL_TYPE_CPIAVC",
+ "PERFORMANCE_GOAL_TYPE_CPE",
+ "PERFORMANCE_GOAL_TYPE_OTHER"
+ ],
+ "enumDescriptions": [
+ "Performance goal type is not specified or is unknown in this version.",
+ "The performance goal is set in CPM (cost per mille).",
+ "The performance goal is set in CPC (cost per click).",
+ "The performance goal is set in CPA (cost per action).",
+ "The performance goal is set in Viewability percentage.",
+ "The performance goal is set as CPIAVC (cost per impression audible and\nvisible at completion).",
+ "The performance goal is set in CPE (cost per engagement).",
+ "The performance goal is set to Other."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "PerformanceGoalBidStrategy": {
+ "description": "A strategy that automatically adjusts the bid to meet or beat a specified\nperformance goal.",
+ "id": "PerformanceGoalBidStrategy",
+ "properties": {
+ "maxAverageCpmBidAmountMicros": {
+ "description": "The maximum average CPM that may be bid, in micros of the advertiser's\ncurrency. Must be greater than or equal to a billable unit of the given\ncurrency. Not applicable when\nperformance_goal_type\nis set to `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM`.\n\nFor example, 1500000 represents 1.5 standard units of the currency.",
+ "format": "int64",
+ "type": "string"
+ },
+ "performanceGoalAmountMicros": {
+ "description": "Required. The performance goal the bidding strategy will attempt to\nmeet or beat, in micros of the advertiser's currency.\nMust be greater than or equal to a billable unit of the given currency and\nsmaller or equal to upper bounds. Each\nperformance_goal_type\nhas its upper bound:\n\n* when\nperformance_goal_type\nis `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA`,\nupper bound is 10000.00 USD.\n* when\nperformance_goal_type\nis `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC`,\nupper bound is 1000.00 USD.\n* when\nperformance_goal_type\nis `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM`, upper bound is\n1000.00 USD.\n\nExample: If set to\n`BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM`, the bid price will\nbe based on the probability that each available impression will be\nviewable. For example, if viewable CPM target is $2 and an impression is\n40% likely to be viewable, the bid price will be $0.80 CPM (40% of $2).\n\nFor example, 1500000 represents 1.5 standard units of the currency.",
+ "format": "int64",
+ "type": "string"
+ },
+ "performanceGoalType": {
+ "description": "Required. The type of the performance goal that the bidding strategy\nwill try to meet or beat.\n\nFor line item level usage, the value must be one of:\n\n* `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA`\n* `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC`\n* `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM`.",
+ "enum": [
+ "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_UNSPECIFIED",
+ "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA",
+ "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC",
+ "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM",
+ "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA",
+ "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN",
+ "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED"
+ ],
+ "enumDescriptions": [
+ "Type value is not specified or is unknown in this version.",
+ "Cost per action.",
+ "Cost per click.",
+ "Viewable CPM.",
+ "Completed inview and audible views.",
+ "Inview time over 10 secs views.",
+ "Viewable impressions."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ProximityLocationListAssignedTargetingOptionDetails": {
+ "description": "Targeting details for proximity location list. This will be\npopulated in the details field of an AssignedTargetingOption when\ntargeting_type is\n`TARGETING_TYPE_PROXIMITY_LOCATION_LIST`.",
+ "id": "ProximityLocationListAssignedTargetingOptionDetails",
+ "properties": {
+ "proximityLocationListId": {
+ "description": "Required. ID of the proximity location list. Should refer to the\nlocation_list_id field of a\nLocationList resource whose type is\n`TARGETING_LOCATION_TYPE_PROXIMITY`.",
+ "format": "int64",
+ "type": "string"
+ },
+ "proximityRadiusRange": {
+ "description": "Required. Radius range for proximity location list.\nThis represents the size of the area around a chosen location that will be\ntargeted.\n\n`All` proximity location targeting under a single line item must have the\nsame radius range value. Set this value to match any existing targeting.\nIf updated, this field will change the radius range for all proximity\ntargeting under the line item.",
+ "enum": [
+ "PROXIMITY_RADIUS_RANGE_UNSPECIFIED",
+ "PROXIMITY_RADIUS_RANGE_SMALL",
+ "PROXIMITY_RADIUS_RANGE_MEDIUM",
+ "PROXIMITY_RADIUS_RANGE_LARGE"
+ ],
+ "enumDescriptions": [
+ "The targeted radius range is not specified or is unknown.\nDefault value when radius range is not specified in this version.\nThis enum is a placeholder for default value and does not represent a real\nradius range option.",
+ "The targeted radius range is small.",
+ "The targeted radius range is medium.",
+ "The targeted radius range is large."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "PublisherReviewStatus": {
+ "description": "Publisher review status for the creative.",
+ "id": "PublisherReviewStatus",
+ "properties": {
+ "publisherName": {
+ "description": "The publisher reviewing the creative.",
+ "type": "string"
+ },
+ "status": {
+ "description": "Status of the publisher review.",
+ "enum": [
+ "REVIEW_STATUS_UNSPECIFIED",
+ "REVIEW_STATUS_APPROVED",
+ "REVIEW_STATUS_REJECTED",
+ "REVIEW_STATUS_PENDING"
+ ],
+ "enumDescriptions": [
+ "Type value is not specified or is unknown in this version.",
+ "The creative is approved.",
+ "The creative is rejected.",
+ "The creative is pending review."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "RateDetails": {
+ "description": "The rate related settings of the inventory source.",
+ "id": "RateDetails",
+ "properties": {
+ "inventorySourceRateType": {
+ "description": "The rate type.\n\nAcceptable values are `INVENTORY_SOURCE_RATE_TYPE_CPM_FIXED`,\n`INVENTORY_SOURCE_RATE_TYPE_CPM_FLOOR`, and\n`INVENTORY_SOURCE_RATE_TYPE_CPD`.",
+ "enum": [
+ "INVENTORY_SOURCE_RATE_TYPE_UNSPECIFIED",
+ "INVENTORY_SOURCE_RATE_TYPE_CPM_FIXED",
+ "INVENTORY_SOURCE_RATE_TYPE_CPM_FLOOR",
+ "INVENTORY_SOURCE_RATE_TYPE_CPD",
+ "INVENTORY_SOURCE_RATE_TYPE_FLAT"
+ ],
+ "enumDescriptions": [
+ "The rate type is not specified or is unknown in this version.",
+ "The rate type is CPM (Fixed).",
+ "The rate type is CPM (Floor).",
+ "The rate type is Cost per Day.",
+ "The rate type is Flat."
+ ],
+ "type": "string"
+ },
+ "minimumSpend": {
+ "$ref": "Money",
+ "description": "Output only. The amount that the buyer has committed to spending on the inventory source\nup front.\n\nOnly applicable for guaranteed inventory sources."
+ },
+ "rate": {
+ "$ref": "Money",
+ "description": "The rate for the inventory source."
+ },
+ "unitsPurchased": {
+ "description": "Required for guaranteed inventory sources.\nThe number of impressions guaranteed by the seller.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "RegionalLocationListAssignedTargetingOptionDetails": {
+ "description": "Targeting details for regional location list. This will be\npopulated in the details field of an AssignedTargetingOption when\ntargeting_type is\n`TARGETING_TYPE_REGIONAL_LOCATION_LIST`.",
+ "id": "RegionalLocationListAssignedTargetingOptionDetails",
+ "properties": {
+ "negative": {
+ "description": "Indicates if this option is being negatively targeted.",
+ "type": "boolean"
+ },
+ "regionalLocationListId": {
+ "description": "Required. ID of the regional location list. Should refer to the\nlocation_list_id field of a\nLocationList resource whose type is `TARGETING_LOCATION_TYPE_REGIONAL`.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ReviewStatusInfo": {
+ "description": "Review statuses for the creative.",
+ "id": "ReviewStatusInfo",
+ "properties": {
+ "approvalStatus": {
+ "description": "Represents the basic approval needed for a creative to begin serving.\nSummary of\ncreative_and_landing_page_review_status\nand\ncontent_and_policy_review_status.",
+ "enum": [
+ "APPROVAL_STATUS_UNSPECIFIED",
+ "APPROVAL_STATUS_PENDING_NOT_SERVABLE",
+ "APPROVAL_STATUS_PENDING_SERVABLE",
+ "APPROVAL_STATUS_APPROVED_SERVABLE",
+ "APPROVAL_STATUS_REJECTED_NOT_SERVABLE"
+ ],
+ "enumDescriptions": [
+ "Type value is not specified or is unknown in this version.",
+ "The creative is still under review and not servable.",
+ "The creative has passed creative & landing page\nreview and is servable, but is awaiting additional\ncontent & policy review.",
+ "Both creative & landing page review and\ncontent & policy review are approved. The creative is servable.",
+ "There is an issue with the creative that must be fixed before it can serve."
+ ],
+ "type": "string"
+ },
+ "contentAndPolicyReviewStatus": {
+ "description": "Content and policy review status for the creative.",
+ "enum": [
+ "REVIEW_STATUS_UNSPECIFIED",
+ "REVIEW_STATUS_APPROVED",
+ "REVIEW_STATUS_REJECTED",
+ "REVIEW_STATUS_PENDING"
+ ],
+ "enumDescriptions": [
+ "Type value is not specified or is unknown in this version.",
+ "The creative is approved.",
+ "The creative is rejected.",
+ "The creative is pending review."
+ ],
+ "type": "string"
+ },
+ "creativeAndLandingPageReviewStatus": {
+ "description": "Creative and landing page review status for the creative.",
+ "enum": [
+ "REVIEW_STATUS_UNSPECIFIED",
+ "REVIEW_STATUS_APPROVED",
+ "REVIEW_STATUS_REJECTED",
+ "REVIEW_STATUS_PENDING"
+ ],
+ "enumDescriptions": [
+ "Type value is not specified or is unknown in this version.",
+ "The creative is approved.",
+ "The creative is rejected.",
+ "The creative is pending review."
+ ],
+ "type": "string"
+ },
+ "exchangeReviewStatuses": {
+ "description": "Exchange review statuses for the creative.",
+ "items": {
+ "$ref": "ExchangeReviewStatus"
+ },
+ "type": "array"
+ },
+ "publisherReviewStatuses": {
+ "description": "Publisher review statuses for the creative.",
+ "items": {
+ "$ref": "PublisherReviewStatus"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "SdfConfig": {
+ "description": "Structured Data File (SDF) related settings.",
+ "id": "SdfConfig",
+ "properties": {
+ "adminEmail": {
+ "description": "An administrator email address to which the SDF processing status reports\nwill be sent.",
+ "type": "string"
+ },
+ "version": {
+ "description": "Required. The version of SDF being used.",
+ "enum": [
+ "SDF_VERSION_UNSPECIFIED",
+ "SDF_VERSION_3_1",
+ "SDF_VERSION_4",
+ "SDF_VERSION_4_1",
+ "SDF_VERSION_4_2",
+ "SDF_VERSION_5",
+ "SDF_VERSION_5_1",
+ "SDF_VERSION_5_2"
+ ],
+ "enumDescriptions": [
+ "SDF version value is not specified or is unknown in this version.",
+ "SDF version 3.1",
+ "SDF version 4",
+ "SDF version 4.1",
+ "SDF version 4.2",
+ "SDF version 5.",
+ "SDF version 5.1",
+ "SDF version 5.2;"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SdfDownloadTask": {
+ "description": "Type for the response returned\nby [SdfDownloadTaskService.CreateSdfDownloadTask].",
+ "id": "SdfDownloadTask",
+ "properties": {
+ "resourceName": {
+ "description": "A resource name to be used in\nmedia.download to Download the prepared\nfiles. Resource names have the format\n`download/sdfdownloadtasks/media/{media_id}`. `media_id` will be made\navailable by the long running operation service once the task status is\ndone.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SdfDownloadTaskMetadata": {
+ "description": "Type for the metadata returned\nby [SdfDownloadTaskService.CreateSdfDownloadTask].",
+ "id": "SdfDownloadTaskMetadata",
+ "properties": {
+ "createTime": {
+ "description": "The time when the operation was created.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "endTime": {
+ "description": "The time when execution was completed.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "version": {
+ "description": "The SDF version used to execute this download task.",
+ "enum": [
+ "SDF_VERSION_UNSPECIFIED",
+ "SDF_VERSION_3_1",
+ "SDF_VERSION_4",
+ "SDF_VERSION_4_1",
+ "SDF_VERSION_4_2",
+ "SDF_VERSION_5",
+ "SDF_VERSION_5_1",
+ "SDF_VERSION_5_2"
+ ],
+ "enumDescriptions": [
+ "SDF version value is not specified or is unknown in this version.",
+ "SDF version 3.1",
+ "SDF version 4",
+ "SDF version 4.1",
+ "SDF version 4.2",
+ "SDF version 5.",
+ "SDF version 5.1",
+ "SDF version 5.2;"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SensitiveCategoryAssignedTargetingOptionDetails": {
+ "description": "Targeting details for sensitive category. This will be populated in the\ndetails field of an AssignedTargetingOption when\ntargeting_type is\n`TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`.",
+ "id": "SensitiveCategoryAssignedTargetingOptionDetails",
+ "properties": {
+ "excludedTargetingOptionId": {
+ "description": "Required. ID of the sensitive category to be EXCLUDED.",
+ "type": "string"
+ },
+ "sensitiveCategory": {
+ "description": "Output only. An enum for the DV360 Sensitive category content classifier.",
+ "enum": [
+ "SENSITIVE_CATEGORY_UNSPECIFIED",
+ "SENSITIVE_CATEGORY_ADULT",
+ "SENSITIVE_CATEGORY_DEROGATORY",
+ "SENSITIVE_CATEGORY_DOWNLOADS_SHARING",
+ "SENSITIVE_CATEGORY_WEAPONS",
+ "SENSITIVE_CATEGORY_GAMBLING",
+ "SENSITIVE_CATEGORY_VIOLENCE",
+ "SENSITIVE_CATEGORY_SUGGESTIVE",
+ "SENSITIVE_CATEGORY_PROFANITY",
+ "SENSITIVE_CATEGORY_ALCOHOL",
+ "SENSITIVE_CATEGORY_DRUGS",
+ "SENSITIVE_CATEGORY_TOBACCO",
+ "SENSITIVE_CATEGORY_POLITICS",
+ "SENSITIVE_CATEGORY_RELIGION",
+ "SENSITIVE_CATEGORY_TRAGEDY",
+ "SENSITIVE_CATEGORY_TRANSPORTATION_ACCIDENTS",
+ "SENSITIVE_CATEGORY_SENSITIVE_SOCIAL_ISSUES",
+ "SENSITIVE_CATEGORY_SHOCKING"
+ ],
+ "enumDescriptions": [
+ "This enum is only a placeholder and doesn't specify a DV360 sensitive\ncategory.",
+ "Adult or pornographic text, image, or video content.",
+ "Content that may be construed as biased against individuals, groups, or\norganizations based on criteria such as race, religion, disability, sex,\nage, veteran status, sexual orientation, gender identity, or political\naffiliation. May also indicate discussion of such content, for instance,\nin an academic or journalistic context.",
+ "Content related to audio, video, or software downloads.",
+ "Contains content related to personal weapons, including knives, guns,\nsmall firearms, and ammunition. Selecting either \"weapons\" or\n\"sensitive social issues\" will result in selecting both.",
+ "Contains content related to betting or wagering in a real-world or\nonline setting.",
+ "Content which may be considered graphically violent, gory, gruesome, or\nshocking, such as street fighting videos, accident photos, descriptions\nof torture, etc.",
+ "Adult content, as well as suggestive content that's not explicitly\npornographic. This category includes all pages categorized as adult.",
+ "Prominent use of words considered indecent, such as curse words and\nsexual slang. Pages with only very occasional usage, such as news sites\nthat might include such words in a quotation, are not included.",
+ "Contains content related to alcoholic beverages, alcohol brands,\nrecipes, etc.",
+ "Contains content related to the recreational use of legal or illegal\ndrugs, as well as to drug paraphernalia or cultivation.",
+ "Contains content related to tobacco and tobacco accessories, including\nlighters, humidors, ashtrays, etc.",
+ "Political news and media, including discussions of social, governmental,\nand public policy.",
+ "Content related to religious thought or beliefs.",
+ "Content related to death, disasters, accidents, war, etc.",
+ "Content related to motor vehicle, aviation or other transportation\naccidents.",
+ "Issues that evoke strong, opposing views and spark debate. These include\nissues that are controversial in most countries and markets (such as\nabortion), as well as those that are controversial in specific countries\nand markets (such as immigration reform in the United States).",
+ "Content which may be considered shocking or disturbing, such as violent\nnews stories, stunts, or toilet humor."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SensitiveCategoryTargetingOptionDetails": {
+ "description": "Represents a targetable sensitive category. This will be\npopulated in the\nsensitive_category_details\nfield of the TargetingOption when\ntargeting_type is\n`TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`.",
+ "id": "SensitiveCategoryTargetingOptionDetails",
+ "properties": {
+ "sensitiveCategory": {
+ "description": "Output only. An enum for the DV360 Sensitive category content classifier.",
+ "enum": [
+ "SENSITIVE_CATEGORY_UNSPECIFIED",
+ "SENSITIVE_CATEGORY_ADULT",
+ "SENSITIVE_CATEGORY_DEROGATORY",
+ "SENSITIVE_CATEGORY_DOWNLOADS_SHARING",
+ "SENSITIVE_CATEGORY_WEAPONS",
+ "SENSITIVE_CATEGORY_GAMBLING",
+ "SENSITIVE_CATEGORY_VIOLENCE",
+ "SENSITIVE_CATEGORY_SUGGESTIVE",
+ "SENSITIVE_CATEGORY_PROFANITY",
+ "SENSITIVE_CATEGORY_ALCOHOL",
+ "SENSITIVE_CATEGORY_DRUGS",
+ "SENSITIVE_CATEGORY_TOBACCO",
+ "SENSITIVE_CATEGORY_POLITICS",
+ "SENSITIVE_CATEGORY_RELIGION",
+ "SENSITIVE_CATEGORY_TRAGEDY",
+ "SENSITIVE_CATEGORY_TRANSPORTATION_ACCIDENTS",
+ "SENSITIVE_CATEGORY_SENSITIVE_SOCIAL_ISSUES",
+ "SENSITIVE_CATEGORY_SHOCKING"
+ ],
+ "enumDescriptions": [
+ "This enum is only a placeholder and doesn't specify a DV360 sensitive\ncategory.",
+ "Adult or pornographic text, image, or video content.",
+ "Content that may be construed as biased against individuals, groups, or\norganizations based on criteria such as race, religion, disability, sex,\nage, veteran status, sexual orientation, gender identity, or political\naffiliation. May also indicate discussion of such content, for instance,\nin an academic or journalistic context.",
+ "Content related to audio, video, or software downloads.",
+ "Contains content related to personal weapons, including knives, guns,\nsmall firearms, and ammunition. Selecting either \"weapons\" or\n\"sensitive social issues\" will result in selecting both.",
+ "Contains content related to betting or wagering in a real-world or\nonline setting.",
+ "Content which may be considered graphically violent, gory, gruesome, or\nshocking, such as street fighting videos, accident photos, descriptions\nof torture, etc.",
+ "Adult content, as well as suggestive content that's not explicitly\npornographic. This category includes all pages categorized as adult.",
+ "Prominent use of words considered indecent, such as curse words and\nsexual slang. Pages with only very occasional usage, such as news sites\nthat might include such words in a quotation, are not included.",
+ "Contains content related to alcoholic beverages, alcohol brands,\nrecipes, etc.",
+ "Contains content related to the recreational use of legal or illegal\ndrugs, as well as to drug paraphernalia or cultivation.",
+ "Contains content related to tobacco and tobacco accessories, including\nlighters, humidors, ashtrays, etc.",
+ "Political news and media, including discussions of social, governmental,\nand public policy.",
+ "Content related to religious thought or beliefs.",
+ "Content related to death, disasters, accidents, war, etc.",
+ "Content related to motor vehicle, aviation or other transportation\naccidents.",
+ "Issues that evoke strong, opposing views and spark debate. These include\nissues that are controversial in most countries and markets (such as\nabortion), as well as those that are controversial in specific countries\nand markets (such as immigration reform in the United States).",
+ "Content which may be considered shocking or disturbing, such as violent\nnews stories, stunts, or toilet humor."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Site": {
+ "description": "A single site. Sites are apps or websites belonging to a channel.",
+ "id": "Site",
+ "properties": {
+ "name": {
+ "description": "Output only. The resource name of the site.",
+ "type": "string"
+ },
+ "urlOrAppId": {
+ "description": "Required. The URL or app ID of the site.\nMust be UTF-8 encoded with a maximum length of 240 bytes.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Status": {
+ "description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors).",
+ "id": "Status",
+ "properties": {
+ "code": {
+ "description": "The status code, which should be an enum value of google.rpc.Code.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "details": {
+ "description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.",
+ "items": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SubExchangeAssignedTargetingOptionDetails": {
+ "description": "Details for assigned sub-exchange targeting option. This will be populated in\nthe details field of an AssignedTargetingOption when\ntargeting_type is\n`TARGETING_TYPE_SUB_EXCHANGE`.",
+ "id": "SubExchangeAssignedTargetingOptionDetails",
+ "properties": {
+ "targetingOptionId": {
+ "description": "Required. The targeting_option_id of a\nTargetingOption of type `TARGETING_TYPE_SUB_EXCHANGE`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SubExchangeTargetingOptionDetails": {
+ "description": "Represents a targetable sub-exchange. This will be populated in the\nsub_exchange_details field\nof a TargetingOption when\ntargeting_type is\n`TARGETING_TYPE_SUB_EXCHANGE`.",
+ "id": "SubExchangeTargetingOptionDetails",
+ "properties": {
+ "displayName": {
+ "description": "Output only. The display name of the sub-exchange.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "TargetingOption": {
+ "description": "Represents a single targeting option, which is a targetable concept in\nDV360.",
+ "id": "TargetingOption",
+ "properties": {
+ "ageRangeDetails": {
+ "$ref": "AgeRangeTargetingOptionDetails",
+ "description": "Age range details."
+ },
+ "appCategoryDetails": {
+ "$ref": "AppCategoryTargetingOptionDetails",
+ "description": "App category details."
+ },
+ "authorizedSellerStatusDetails": {
+ "$ref": "AuthorizedSellerStatusTargetingOptionDetails",
+ "description": "Authorized seller status resource details."
+ },
+ "browserDetails": {
+ "$ref": "BrowserTargetingOptionDetails",
+ "description": "Browser details."
+ },
+ "carrierAndIspDetails": {
+ "$ref": "CarrierAndIspTargetingOptionDetails",
+ "description": "Carrier and ISP details."
+ },
+ "categoryDetails": {
+ "$ref": "CategoryTargetingOptionDetails",
+ "description": "Category resource details."
+ },
+ "contentInstreamPositionDetails": {
+ "$ref": "ContentInstreamPositionTargetingOptionDetails",
+ "description": "Content instream position details."
+ },
+ "contentOutstreamPositionDetails": {
+ "$ref": "ContentOutstreamPositionTargetingOptionDetails",
+ "description": "Content outstream position details."
+ },
+ "deviceMakeModelDetails": {
+ "$ref": "DeviceMakeModelTargetingOptionDetails",
+ "description": "Device make and model resource details."
+ },
+ "deviceTypeDetails": {
+ "$ref": "DeviceTypeTargetingOptionDetails",
+ "description": "Device type details."
+ },
+ "digitalContentLabelDetails": {
+ "$ref": "DigitalContentLabelTargetingOptionDetails",
+ "description": "Digital content label details."
+ },
+ "environmentDetails": {
+ "$ref": "EnvironmentTargetingOptionDetails",
+ "description": "Environment details."
+ },
+ "exchangeDetails": {
+ "$ref": "ExchangeTargetingOptionDetails",
+ "description": "Exchange details."
+ },
+ "genderDetails": {
+ "$ref": "GenderTargetingOptionDetails",
+ "description": "Gender details."
+ },
+ "geoRegionDetails": {
+ "$ref": "GeoRegionTargetingOptionDetails",
+ "description": "Geographic region resource details."
+ },
+ "householdIncomeDetails": {
+ "$ref": "HouseholdIncomeTargetingOptionDetails",
+ "description": "Household income details."
+ },
+ "languageDetails": {
+ "$ref": "LanguageTargetingOptionDetails",
+ "description": "Language resource details."
+ },
+ "name": {
+ "description": "Output only. The resource name for this targeting option.",
+ "type": "string"
+ },
+ "onScreenPositionDetails": {
+ "$ref": "OnScreenPositionTargetingOptionDetails",
+ "description": "On screen position details."
+ },
+ "operatingSystemDetails": {
+ "$ref": "OperatingSystemTargetingOptionDetails",
+ "description": "Operating system resources details."
+ },
+ "parentalStatusDetails": {
+ "$ref": "ParentalStatusTargetingOptionDetails",
+ "description": "Parental status details."
+ },
+ "sensitiveCategoryDetails": {
+ "$ref": "SensitiveCategoryTargetingOptionDetails",
+ "description": "Sensitive Category details."
+ },
+ "subExchangeDetails": {
+ "$ref": "SubExchangeTargetingOptionDetails",
+ "description": "Sub-exchange details."
+ },
+ "targetingOptionId": {
+ "description": "Output only. A unique identifier for this targeting option. The tuple\n{`targeting_type`, `targeting_option_id`} will be unique.",
+ "type": "string"
+ },
+ "targetingType": {
+ "description": "Output only. The type of this targeting option.",
+ "enum": [
+ "TARGETING_TYPE_UNSPECIFIED",
+ "TARGETING_TYPE_CHANNEL",
+ "TARGETING_TYPE_APP_CATEGORY",
+ "TARGETING_TYPE_APP",
+ "TARGETING_TYPE_URL",
+ "TARGETING_TYPE_DAY_AND_TIME",
+ "TARGETING_TYPE_AGE_RANGE",
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
+ "TARGETING_TYPE_GENDER",
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
+ "TARGETING_TYPE_PARENTAL_STATUS",
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
+ "TARGETING_TYPE_DEVICE_TYPE",
+ "TARGETING_TYPE_AUDIENCE_GROUP",
+ "TARGETING_TYPE_BROWSER",
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
+ "TARGETING_TYPE_ENVIRONMENT",
+ "TARGETING_TYPE_CARRIER_AND_ISP",
+ "TARGETING_TYPE_OPERATING_SYSTEM",
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
+ "TARGETING_TYPE_KEYWORD",
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
+ "TARGETING_TYPE_VIEWABILITY",
+ "TARGETING_TYPE_CATEGORY",
+ "TARGETING_TYPE_INVENTORY_SOURCE",
+ "TARGETING_TYPE_LANGUAGE",
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
+ "TARGETING_TYPE_GEO_REGION",
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
+ "TARGETING_TYPE_EXCHANGE",
+ "TARGETING_TYPE_SUB_EXCHANGE"
+ ],
+ "enumDescriptions": [
+ "Default value when type is not specified or is unknown in this version.",
+ "Target a channel (a custom group of related websites or apps).",
+ "Target an app category (for example, education or puzzle games).",
+ "Target a specific app (for example, Angry Birds).",
+ "Target a specific url (for example, quora.com).",
+ "Target ads during a chosen time period on a specific day.",
+ "Target ads to a specific age range (for example, 18-24).",
+ "Target ads to the specified regions on a regional location list.",
+ "Target ads to the specified points of interest on a proximity location\nlist.",
+ "Target ads to a specific gender (for example, female or male).",
+ "Target a specific video player size for video ads.",
+ "Target user rewarded content for video ads.",
+ "Target ads to a specific parental status (for example, parent or not a\nparent).",
+ "Target video or audio ads in a specific content instream position (for\nexample, pre-roll, mid-roll, or post-roll).",
+ "Target ads in a specific content outstream position.",
+ "Target ads to a specific device type (for example, tablet or connected TV).",
+ "Target ads to an audience or groups of audiences.\nSingleton field, at most one can exist on a single Lineitem at a time.",
+ "Target ads to specific web browsers (for example, Chrome).",
+ "Target ads to a specific household income range (for example, top 10%).",
+ "Target ads in a specific on screen position.",
+ "Filter web sites through third party verification (for example, IAS or\nDoubleVerify).",
+ "Filter web sites by specific digital content label ratings (for example,\nDL-MA: suitable only for mature audiences).",
+ "Filter website content by sensitive categories (for example, adult).",
+ "Target ads to a specific environment (for example, web or app).",
+ "Target ads to a specific network carrier or internet service provider\n(ISP) (for example, Comcast or Orange).",
+ "Target ads to a specific operating system (for example, macOS).",
+ "Target ads to a specific device make or model (for example, Roku or\nSamsung).",
+ "Target ads to a specific keyword (for example, dog or retriever).",
+ "Target ads to a specific negative keyword list.",
+ "Target ads to a specific viewability (for example, 80% viewable).",
+ "Target ads to a specific content category (for example, arts &\nentertainment).",
+ "Purchase impressions from specific deals and auction packages.",
+ "Target ads to a specific language (for example, English or Japanese).",
+ "Target ads to ads.txt authorized sellers.",
+ "Target ads to a specific regional location (for example, a city or state).",
+ "Purchase impressions from a group of deals and auction packages.",
+ "Purchase impressions from specific exchanges.",
+ "Purchase impressions from specific sub-exchanges."
+ ],
+ "type": "string"
+ },
+ "userRewardedContentDetails": {
+ "$ref": "UserRewardedContentTargetingOptionDetails",
+ "description": "User rewarded content details."
+ },
+ "videoPlayerSizeDetails": {
+ "$ref": "VideoPlayerSizeTargetingOptionDetails",
+ "description": "Video player size details."
+ },
+ "viewabilityDetails": {
+ "$ref": "ViewabilityTargetingOptionDetails",
+ "description": "Viewability resource details."
+ }
+ },
+ "type": "object"
+ },
+ "ThirdPartyOnlyConfig": {
+ "description": "Settings for advertisers that use third-party ad servers only.",
+ "id": "ThirdPartyOnlyConfig",
+ "properties": {
+ "pixelOrderIdReportingEnabled": {
+ "description": "Whether or not order ID reporting for pixels is enabled.\nThis value cannot be changed once set to `true`.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "ThirdPartyUrl": {
+ "description": "Tracking URLs from third parties to track interactions with an audio or a\nvideo creative.",
+ "id": "ThirdPartyUrl",
+ "properties": {
+ "type": {
+ "description": "The type of interaction needs to be tracked by the tracking URL",
+ "enum": [
+ "THIRD_PARTY_URL_TYPE_UNSPECIFIED",
+ "THIRD_PARTY_URL_TYPE_IMPRESSION",
+ "THIRD_PARTY_URL_TYPE_CLICK_TRACKING",
+ "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_START",
+ "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_FIRST_QUARTILE",
+ "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_MIDPOINT",
+ "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_THIRD_QUARTILE",
+ "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_COMPLETE",
+ "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_MUTE",
+ "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_PAUSE",
+ "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_REWIND",
+ "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_FULLSCREEN",
+ "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_STOP",
+ "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_CUSTOM",
+ "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_SKIP",
+ "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_PROGRESS"
+ ],
+ "enumDescriptions": [
+ "The type of third-party URL is unspecified or is unknown in this version.",
+ "Used to count impressions of the creative after the audio or video\nbuffering is complete.",
+ "Used to track user clicks on the audio or video.",
+ "Used to track the number of times a user starts the audio or video.",
+ "Used to track the number of times the audio or video plays to 25% of its\nlength.",
+ "Used to track the number of times the audio or video plays to 50% of its\nlength.",
+ "Used to track the number of times the audio or video plays to 75% of its\nlength.",
+ "Used to track the number of times the audio or video plays to the end.",
+ "Used to track the number of times a user mutes the audio or video.",
+ "Used to track the number of times a user pauses the audio or video.",
+ "Used to track the number of times a user replays the audio or video.",
+ "Used to track the number of times a user expands the player to\nfull-screen size.",
+ "Used to track the number of times a user stops the audio or video.",
+ "Used to track the number of times a user performs a custom click,\nsuch as clicking on a video hot spot.",
+ "Used to track the number of times the audio or video was skipped.",
+ "Used to track the number of times the audio or video plays to an offset\ndetermined by the progress_offset."
+ ],
+ "type": "string"
+ },
+ "url": {
+ "description": "Tracking URL used to track the interaction.\n\nProvide a URL with optional path or query string, beginning with `https:`.\nFor example, https://www.example.com/path",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ThirdPartyVerifierAssignedTargetingOptionDetails": {
+ "description": "Assigned third party verifier targeting option details. This will be\npopulated in the details field of an AssignedTargetingOption when\ntargeting_type is\n`TARGETING_TYPE_THIRD_PARTY_VERIFIER`.",
+ "id": "ThirdPartyVerifierAssignedTargetingOptionDetails",
+ "properties": {
+ "adloox": {
+ "$ref": "Adloox",
+ "description": "Third party brand verifier -- Adloox."
+ },
+ "doubleVerify": {
+ "$ref": "DoubleVerify",
+ "description": "Third party brand verifier -- DoubleVerify."
+ },
+ "integralAdScience": {
+ "$ref": "IntegralAdScience",
+ "description": "Third party brand verifier -- Integral Ad Science."
+ }
+ },
+ "type": "object"
+ },
+ "TimeRange": {
+ "description": "A time range.",
+ "id": "TimeRange",
+ "properties": {
+ "endTime": {
+ "description": "Required. The upper bound of a time range, inclusive.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "startTime": {
+ "description": "Required. The lower bound of a time range, inclusive.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "TimerEvent": {
+ "description": "Timer event of the creative.",
+ "id": "TimerEvent",
+ "properties": {
+ "name": {
+ "description": "Required. The name of the timer event.",
+ "type": "string"
+ },
+ "reportingName": {
+ "description": "Required. The name used to identify this timer event in reports.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "TrackingFloodlightActivityConfig": {
+ "description": "Settings that control the behavior of a single Floodlight activity config.",
+ "id": "TrackingFloodlightActivityConfig",
+ "properties": {
+ "floodlightActivityId": {
+ "description": "Required. The ID of the Floodlight activity.",
+ "format": "int64",
+ "type": "string"
+ },
+ "postClickLookbackWindowDays": {
+ "description": "Required. The number of days after an ad has been clicked in which a\nconversion may be counted.\nMust be between 0 and 90 inclusive.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "postViewLookbackWindowDays": {
+ "description": "Required. The number of days after an ad has been viewed in which a\nconversion may be counted.\nMust be between 0 and 90 inclusive.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "Transcode": {
+ "description": "Represents information about the transcoded audio or video file.",
+ "id": "Transcode",
+ "properties": {
+ "audioBitRateKbps": {
+ "description": "The bit rate for the audio stream of the transcoded video, or the bit rate\nfor the transcoded audio, in kilobits per second.",
+ "format": "int64",
+ "type": "string"
+ },
+ "audioSampleRateHz": {
+ "description": "The sample rate for the audio stream of the transcoded video, or the sample\nrate for the transcoded audio, in hertz.",
+ "format": "int64",
+ "type": "string"
+ },
+ "bitRateKbps": {
+ "description": "The transcoding bit rate of the transcoded video, in kilobits per second.",
+ "format": "int64",
+ "type": "string"
+ },
+ "dimensions": {
+ "$ref": "Dimensions",
+ "description": "The dimensions of the transcoded video."
+ },
+ "fileSizeBytes": {
+ "description": "The size of the transcoded file, in bytes.",
+ "format": "int64",
+ "type": "string"
+ },
+ "frameRate": {
+ "description": "The frame rate of the transcoded video, in frames per second.",
+ "format": "float",
+ "type": "number"
+ },
+ "mimeType": {
+ "description": "The MIME type of the transcoded file.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the transcoded file.",
+ "type": "string"
+ },
+ "transcoded": {
+ "description": "Indicates if the transcoding was successful.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "UniversalAdId": {
+ "description": "A creative identifier provided by a registry that is unique across all\nplatforms. This is part of the VAST 4.0 standard.",
+ "id": "UniversalAdId",
+ "properties": {
+ "id": {
+ "description": "The unique creative identifier.",
+ "type": "string"
+ },
+ "registry": {
+ "description": "The registry provides unique creative identifiers.",
+ "enum": [
+ "UNIVERSAL_AD_REGISTRY_UNSPECIFIED",
+ "UNIVERSAL_AD_REGISTRY_OTHER",
+ "UNIVERSAL_AD_REGISTRY_AD_ID",
+ "UNIVERSAL_AD_REGISTRY_CLEARCAST",
+ "UNIVERSAL_AD_REGISTRY_DV360",
+ "UNIVERSAL_AD_REGISTRY_CM"
+ ],
+ "enumDescriptions": [
+ "The Universal Ad registry is unspecified or is unknown in this version.",
+ "Use a custom provider to provide the Universal Ad ID.",
+ "Use Ad-ID to provide the Universal Ad ID.",
+ "Use clearcast.co.uk to provide the Universal Ad ID.",
+ "Use Display & Video 360 to provide the Universal Ad ID.",
+ "Use Campaign Manager to provide the Universal Ad ID."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "UrlAssignedTargetingOptionDetails": {
+ "description": "Details for assigned URL targeting option. This will be populated in the\ndetails field of an AssignedTargetingOption when\ntargeting_type is\n`TARGETING_TYPE_URL`.",
+ "id": "UrlAssignedTargetingOptionDetails",
+ "properties": {
+ "negative": {
+ "description": "Indicates if this option is being negatively targeted.",
+ "type": "boolean"
+ },
+ "url": {
+ "description": "Required. The URL, for example `example.com`.\n\nDV360 supports two levels of subdirectory targeting, for example\n`www.example.com/one-subdirectory-level/second-level`, and five levels of\nsubdomain targeting, for example `five.four.three.two.one.example.com`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "UserRewardedContentAssignedTargetingOptionDetails": {
+ "description": "User rewarded content targeting option details. This will be populated in\nthe\nuser_rewarded_content_details\nfield when\ntargeting_type is\n`TARGETING_TYPE_USER_REWARDED_CONTENT`.",
+ "id": "UserRewardedContentAssignedTargetingOptionDetails",
+ "properties": {
+ "targetingOptionId": {
+ "description": "Required. The targeting_option_id field when\ntargeting_type is\n`TARGETING_TYPE_USER_REWARDED_CONTENT`.",
+ "type": "string"
+ },
+ "userRewardedContent": {
+ "description": "Output only. User rewarded content status for video ads.",
+ "enum": [
+ "USER_REWARDED_CONTENT_UNSPECIFIED",
+ "USER_REWARDED_CONTENT_USER_REWARDED",
+ "USER_REWARDED_CONTENT_NOT_USER_REWARDED"
+ ],
+ "enumDescriptions": [
+ "User rewarded content is not specified or is unknown in this version.",
+ "Represents ads where the user will see a reward after viewing.",
+ "Represents all other ads besides user-rewarded."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "UserRewardedContentTargetingOptionDetails": {
+ "description": "Represents a targetable user rewarded content status for video ads only. This\nwill be populated in the\nuser_rewarded_content_details\nfield when\ntargeting_type is\n`TARGETING_TYPE_USER_REWARDED_CONTENT`.",
+ "id": "UserRewardedContentTargetingOptionDetails",
+ "properties": {
+ "userRewardedContent": {
+ "description": "Output only. User rewarded content status for video ads.",
+ "enum": [
+ "USER_REWARDED_CONTENT_UNSPECIFIED",
+ "USER_REWARDED_CONTENT_USER_REWARDED",
+ "USER_REWARDED_CONTENT_NOT_USER_REWARDED"
+ ],
+ "enumDescriptions": [
+ "User rewarded content is not specified or is unknown in this version.",
+ "Represents ads where the user will see a reward after viewing.",
+ "Represents all other ads besides user-rewarded."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "VideoPlayerSizeAssignedTargetingOptionDetails": {
+ "description": "Video player size targeting option details. This will be populated in the\nvideo_player_size_details\nfield when targeting_type is\n`TARGETING_TYPE_VIDEO_PLAYER_SIZE`.\nExplicitly targeting all options is not supported. Remove all video player\nsize targeting options to achieve this effect.",
+ "id": "VideoPlayerSizeAssignedTargetingOptionDetails",
+ "properties": {
+ "targetingOptionId": {
+ "description": "Required. The targeting_option_id field when\ntargeting_type is\n`TARGETING_TYPE_VIDEO_PLAYER_SIZE`.",
+ "type": "string"
+ },
+ "videoPlayerSize": {
+ "description": "Output only. The video player size.",
+ "enum": [
+ "VIDEO_PLAYER_SIZE_UNSPECIFIED",
+ "VIDEO_PLAYER_SIZE_SMALL",
+ "VIDEO_PLAYER_SIZE_LARGE",
+ "VIDEO_PLAYER_SIZE_HD",
+ "VIDEO_PLAYER_SIZE_UNKNOWN"
+ ],
+ "enumDescriptions": [
+ "Video player size is not specified in this version. This enum is a place\nholder for a default value and does not represent a real video player size.",
+ "The dimensions of the video player are less than 400\u00d7300 (desktop), or up\nto 20% of screen covered (mobile).",
+ "The dimensions of the video player are between 400x300 and 1280x720 pixels\n(desktop), or 20% to 90% of the screen covered (mobile).",
+ "The dimensions of the video player are 1280\u00d7720 or greater (desktop), or\nover 90% of the screen covered (mobile).",
+ "The dimensions of the video player are unknown."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "VideoPlayerSizeTargetingOptionDetails": {
+ "description": "Represents a targetable video player size. This will be populated in the\nvideo_player_size_details\nfield when targeting_type is\n`TARGETING_TYPE_VIDEO_PLAYER_SIZE`.",
+ "id": "VideoPlayerSizeTargetingOptionDetails",
+ "properties": {
+ "videoPlayerSize": {
+ "description": "Output only. The video player size.",
+ "enum": [
+ "VIDEO_PLAYER_SIZE_UNSPECIFIED",
+ "VIDEO_PLAYER_SIZE_SMALL",
+ "VIDEO_PLAYER_SIZE_LARGE",
+ "VIDEO_PLAYER_SIZE_HD",
+ "VIDEO_PLAYER_SIZE_UNKNOWN"
+ ],
+ "enumDescriptions": [
+ "Video player size is not specified in this version. This enum is a place\nholder for a default value and does not represent a real video player size.",
+ "The dimensions of the video player are less than 400\u00d7300 (desktop), or up\nto 20% of screen covered (mobile).",
+ "The dimensions of the video player are between 400x300 and 1280x720 pixels\n(desktop), or 20% to 90% of the screen covered (mobile).",
+ "The dimensions of the video player are 1280\u00d7720 or greater (desktop), or\nover 90% of the screen covered (mobile).",
+ "The dimensions of the video player are unknown."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ViewabilityAssignedTargetingOptionDetails": {
+ "description": "Assigned viewability targeting option details. This will be populated in the\nviewability_details field of\nan AssignedTargetingOption when\ntargeting_type is\n`TARGETING_TYPE_VIEWABILITY`.",
+ "id": "ViewabilityAssignedTargetingOptionDetails",
+ "properties": {
+ "targetingOptionId": {
+ "description": "Required. The targeting_option_id of a\nTargetingOption of type `TARGETING_TYPE_VIEWABILITY` (e.g., \"509010\"\nfor targeting the `VIEWABILITY_10_PERCENT_OR_MORE` option).",
+ "type": "string"
+ },
+ "viewability": {
+ "description": "Output only. The predicted viewability percentage.",
+ "enum": [
+ "VIEWABILITY_UNSPECIFIED",
+ "VIEWABILITY_10_PERCENT_OR_MORE",
+ "VIEWABILITY_20_PERCENT_OR_MORE",
+ "VIEWABILITY_30_PERCENT_OR_MORE",
+ "VIEWABILITY_40_PERCENT_OR_MORE",
+ "VIEWABILITY_50_PERCENT_OR_MORE",
+ "VIEWABILITY_60_PERCENT_OR_MORE",
+ "VIEWABILITY_70_PERCENT_OR_MORE",
+ "VIEWABILITY_80_PERCENT_OR_MORE",
+ "VIEWABILITY_90_PERCENT_OR_MORE"
+ ],
+ "enumDescriptions": [
+ "Default value when viewability is not specified in this version. This enum\nis a placeholder for default value and does not represent a real\nviewability option.",
+ "Bid only on impressions that are at least 10% likely to be viewable.",
+ "Bid only on impressions that are at least 20% likely to be viewable.",
+ "Bid only on impressions that are at least 30% likely to be viewable.",
+ "Bid only on impressions that are at least 40% likely to be viewable.",
+ "Bid only on impressions that are at least 50% likely to be viewable.",
+ "Bid only on impressions that are at least 60% likely to be viewable.",
+ "Bid only on impressions that are at least 70% likely to be viewable.",
+ "Bid only on impressions that are at least 80% likely to be viewable.",
+ "Bid only on impressions that are at least 90% likely to be viewable."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ViewabilityTargetingOptionDetails": {
+ "description": "Represents a targetable viewability. This will be populated in the\nviewability_details field of a\nTargetingOption when targeting_type is\n`TARGETING_TYPE_VIEWABILITY`.",
+ "id": "ViewabilityTargetingOptionDetails",
+ "properties": {
+ "viewability": {
+ "description": "Output only. The predicted viewability percentage.",
+ "enum": [
+ "VIEWABILITY_UNSPECIFIED",
+ "VIEWABILITY_10_PERCENT_OR_MORE",
+ "VIEWABILITY_20_PERCENT_OR_MORE",
+ "VIEWABILITY_30_PERCENT_OR_MORE",
+ "VIEWABILITY_40_PERCENT_OR_MORE",
+ "VIEWABILITY_50_PERCENT_OR_MORE",
+ "VIEWABILITY_60_PERCENT_OR_MORE",
+ "VIEWABILITY_70_PERCENT_OR_MORE",
+ "VIEWABILITY_80_PERCENT_OR_MORE",
+ "VIEWABILITY_90_PERCENT_OR_MORE"
+ ],
+ "enumDescriptions": [
+ "Default value when viewability is not specified in this version. This enum\nis a placeholder for default value and does not represent a real\nviewability option.",
+ "Bid only on impressions that are at least 10% likely to be viewable.",
+ "Bid only on impressions that are at least 20% likely to be viewable.",
+ "Bid only on impressions that are at least 30% likely to be viewable.",
+ "Bid only on impressions that are at least 40% likely to be viewable.",
+ "Bid only on impressions that are at least 50% likely to be viewable.",
+ "Bid only on impressions that are at least 60% likely to be viewable.",
+ "Bid only on impressions that are at least 70% likely to be viewable.",
+ "Bid only on impressions that are at least 80% likely to be viewable.",
+ "Bid only on impressions that are at least 90% likely to be viewable."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "servicePath": "",
+ "title": "Display & Video 360 API",
+ "version": "v1",
+ "version_module": true
+}
\ No newline at end of file
diff --git a/etc/api/dlp/v2/dlp-api.json b/etc/api/dlp/v2/dlp-api.json
index 695f76edd0..6499047ab5 100644
--- a/etc/api/dlp/v2/dlp-api.json
+++ b/etc/api/dlp/v2/dlp-api.json
@@ -125,7 +125,12 @@
"type": "string"
},
"locationId": {
- "description": "The geographic location to list info types. Reserved for future\nextensions.",
+ "description": "Deprecated. This field has no effect.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "The parent resource name.\n- Format:locations/[LOCATION-ID]",
"location": "query",
"type": "string"
}
@@ -146,11 +151,11 @@
"methods": {
"list": {
"description": "Returns a list of the sensitive information types that the DLP API\nsupports. See https://cloud.google.com/dlp/docs/infotypes-reference to\nlearn more.",
- "flatPath": "v2/locations/{locationId}/infoTypes",
+ "flatPath": "v2/locations/{locationsId}/infoTypes",
"httpMethod": "GET",
"id": "dlp.locations.infoTypes.list",
"parameterOrder": [
- "locationId"
+ "parent"
],
"parameters": {
"filter": {
@@ -164,13 +169,19 @@
"type": "string"
},
"locationId": {
- "description": "The geographic location to list info types. Reserved for future\nextensions.",
+ "description": "Deprecated. This field has no effect.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "The parent resource name.\n- Format:locations/[LOCATION-ID]",
"location": "path",
+ "pattern": "^locations/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v2/locations/{locationId}/infoTypes",
+ "path": "v2/{+parent}/infoTypes",
"response": {
"$ref": "GooglePrivacyDlpV2ListInfoTypesResponse"
},
@@ -196,7 +207,7 @@
],
"parameters": {
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id or\norganizations/my-org-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:organizations/[ORGANIZATION-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]\n- Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]",
"location": "path",
"pattern": "^organizations/[^/]+$",
"required": true,
@@ -274,7 +285,7 @@
],
"parameters": {
"locationId": {
- "description": "The geographic location where deidentifications templates will be retrieved\nfrom. Use `-` for all locations. Reserved for future extensions.",
+ "description": "Deprecated. This field has no effect.",
"location": "query",
"type": "string"
},
@@ -295,7 +306,7 @@
"type": "string"
},
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id or\norganizations/my-org-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:organizations/[ORGANIZATION-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]\n- Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]",
"location": "path",
"pattern": "^organizations/[^/]+$",
"required": true,
@@ -352,7 +363,7 @@
],
"parameters": {
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id or\norganizations/my-org-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:organizations/[ORGANIZATION-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]\n- Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]",
"location": "path",
"pattern": "^organizations/[^/]+$",
"required": true,
@@ -430,7 +441,7 @@
],
"parameters": {
"locationId": {
- "description": "The geographic location where inspection templates will be retrieved from.\nUse `-` for all locations. Reserved for future extensions.",
+ "description": "Deprecated. This field has no effect.",
"location": "query",
"type": "string"
},
@@ -451,7 +462,7 @@
"type": "string"
},
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id or\norganizations/my-org-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:organizations/[ORGANIZATION-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]\n- Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]",
"location": "path",
"pattern": "^organizations/[^/]+$",
"required": true,
@@ -502,29 +513,22 @@
"methods": {
"create": {
"description": "Creates a DeidentifyTemplate for re-using frequently used configuration\nfor de-identifying content, images, and storage.\nSee https://cloud.google.com/dlp/docs/creating-templates-deid to learn\nmore.",
- "flatPath": "v2/organizations/{organizationsId}/locations/{locationId}/deidentifyTemplates",
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/deidentifyTemplates",
"httpMethod": "POST",
"id": "dlp.organizations.locations.deidentifyTemplates.create",
"parameterOrder": [
- "parent",
- "locationId"
+ "parent"
],
"parameters": {
- "locationId": {
- "description": "The geographic location to store the deidentification template. Reserved\nfor future extensions.",
- "location": "path",
- "required": true,
- "type": "string"
- },
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id or\norganizations/my-org-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:organizations/[ORGANIZATION-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]\n- Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]",
"location": "path",
- "pattern": "^organizations/[^/]+$",
+ "pattern": "^organizations/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v2/{+parent}/locations/{locationId}/deidentifyTemplates",
+ "path": "v2/{+parent}/deidentifyTemplates",
"request": {
"$ref": "GooglePrivacyDlpV2CreateDeidentifyTemplateRequest"
},
@@ -587,18 +591,16 @@
},
"list": {
"description": "Lists DeidentifyTemplates.\nSee https://cloud.google.com/dlp/docs/creating-templates-deid to learn\nmore.",
- "flatPath": "v2/organizations/{organizationsId}/locations/{locationId}/deidentifyTemplates",
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/deidentifyTemplates",
"httpMethod": "GET",
"id": "dlp.organizations.locations.deidentifyTemplates.list",
"parameterOrder": [
- "parent",
- "locationId"
+ "parent"
],
"parameters": {
"locationId": {
- "description": "The geographic location where deidentifications templates will be retrieved\nfrom. Use `-` for all locations. Reserved for future extensions.",
- "location": "path",
- "required": true,
+ "description": "Deprecated. This field has no effect.",
+ "location": "query",
"type": "string"
},
"orderBy": {
@@ -618,14 +620,14 @@
"type": "string"
},
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id or\norganizations/my-org-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:organizations/[ORGANIZATION-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]\n- Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]",
"location": "path",
- "pattern": "^organizations/[^/]+$",
+ "pattern": "^organizations/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v2/{+parent}/locations/{locationId}/deidentifyTemplates",
+ "path": "v2/{+parent}/deidentifyTemplates",
"response": {
"$ref": "GooglePrivacyDlpV2ListDeidentifyTemplatesResponse"
},
@@ -667,29 +669,22 @@
"methods": {
"create": {
"description": "Creates an InspectTemplate for re-using frequently used configuration\nfor inspecting content, images, and storage.\nSee https://cloud.google.com/dlp/docs/creating-templates to learn more.",
- "flatPath": "v2/organizations/{organizationsId}/locations/{locationId}/inspectTemplates",
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/inspectTemplates",
"httpMethod": "POST",
"id": "dlp.organizations.locations.inspectTemplates.create",
"parameterOrder": [
- "parent",
- "locationId"
+ "parent"
],
"parameters": {
- "locationId": {
- "description": "The geographic location to store the inspection template. Reserved for\nfuture extensions.",
- "location": "path",
- "required": true,
- "type": "string"
- },
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id or\norganizations/my-org-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:organizations/[ORGANIZATION-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]\n- Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]",
"location": "path",
- "pattern": "^organizations/[^/]+$",
+ "pattern": "^organizations/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v2/{+parent}/locations/{locationId}/inspectTemplates",
+ "path": "v2/{+parent}/inspectTemplates",
"request": {
"$ref": "GooglePrivacyDlpV2CreateInspectTemplateRequest"
},
@@ -752,18 +747,16 @@
},
"list": {
"description": "Lists InspectTemplates.\nSee https://cloud.google.com/dlp/docs/creating-templates to learn more.",
- "flatPath": "v2/organizations/{organizationsId}/locations/{locationId}/inspectTemplates",
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/inspectTemplates",
"httpMethod": "GET",
"id": "dlp.organizations.locations.inspectTemplates.list",
"parameterOrder": [
- "parent",
- "locationId"
+ "parent"
],
"parameters": {
"locationId": {
- "description": "The geographic location where inspection templates will be retrieved from.\nUse `-` for all locations. Reserved for future extensions.",
- "location": "path",
- "required": true,
+ "description": "Deprecated. This field has no effect.",
+ "location": "query",
"type": "string"
},
"orderBy": {
@@ -783,14 +776,14 @@
"type": "string"
},
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id or\norganizations/my-org-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:organizations/[ORGANIZATION-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]\n- Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]",
"location": "path",
- "pattern": "^organizations/[^/]+$",
+ "pattern": "^organizations/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v2/{+parent}/locations/{locationId}/inspectTemplates",
+ "path": "v2/{+parent}/inspectTemplates",
"response": {
"$ref": "GooglePrivacyDlpV2ListInspectTemplatesResponse"
},
@@ -832,29 +825,22 @@
"methods": {
"create": {
"description": "Creates a pre-built stored infoType to be used for inspection.\nSee https://cloud.google.com/dlp/docs/creating-stored-infotypes to\nlearn more.",
- "flatPath": "v2/organizations/{organizationsId}/locations/{locationId}/storedInfoTypes",
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/storedInfoTypes",
"httpMethod": "POST",
"id": "dlp.organizations.locations.storedInfoTypes.create",
"parameterOrder": [
- "parent",
- "locationId"
+ "parent"
],
"parameters": {
- "locationId": {
- "description": "The geographic location to store the stored infoType. Reserved for\nfuture extensions.",
- "location": "path",
- "required": true,
- "type": "string"
- },
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id or\norganizations/my-org-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:organizations/[ORGANIZATION-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]\n- Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]",
"location": "path",
- "pattern": "^organizations/[^/]+$",
+ "pattern": "^organizations/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v2/{+parent}/locations/{locationId}/storedInfoTypes",
+ "path": "v2/{+parent}/storedInfoTypes",
"request": {
"$ref": "GooglePrivacyDlpV2CreateStoredInfoTypeRequest"
},
@@ -917,18 +903,16 @@
},
"list": {
"description": "Lists stored infoTypes.\nSee https://cloud.google.com/dlp/docs/creating-stored-infotypes to\nlearn more.",
- "flatPath": "v2/organizations/{organizationsId}/locations/{locationId}/storedInfoTypes",
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/storedInfoTypes",
"httpMethod": "GET",
"id": "dlp.organizations.locations.storedInfoTypes.list",
"parameterOrder": [
- "parent",
- "locationId"
+ "parent"
],
"parameters": {
"locationId": {
- "description": "The geographic location where stored infoTypes will be retrieved from.\nUse `-` for all locations. Reserved for future extensions.",
- "location": "path",
- "required": true,
+ "description": "Deprecated. This field has no effect.",
+ "location": "query",
"type": "string"
},
"orderBy": {
@@ -948,14 +932,14 @@
"type": "string"
},
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id or\norganizations/my-org-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:organizations/[ORGANIZATION-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]\n- Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]",
"location": "path",
- "pattern": "^organizations/[^/]+$",
+ "pattern": "^organizations/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v2/{+parent}/locations/{locationId}/storedInfoTypes",
+ "path": "v2/{+parent}/storedInfoTypes",
"response": {
"$ref": "GooglePrivacyDlpV2ListStoredInfoTypesResponse"
},
@@ -1007,7 +991,7 @@
],
"parameters": {
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id or\norganizations/my-org-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:organizations/[ORGANIZATION-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]\n- Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]",
"location": "path",
"pattern": "^organizations/[^/]+$",
"required": true,
@@ -1085,7 +1069,7 @@
],
"parameters": {
"locationId": {
- "description": "The geographic location where stored infoTypes will be retrieved from.\nUse `-` for all locations. Reserved for future extensions.",
+ "description": "Deprecated. This field has no effect.",
"location": "query",
"type": "string"
},
@@ -1106,7 +1090,7 @@
"type": "string"
},
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id or\norganizations/my-org-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:organizations/[ORGANIZATION-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]\n- Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]",
"location": "path",
"pattern": "^organizations/[^/]+$",
"required": true,
@@ -1167,7 +1151,7 @@
],
"parameters": {
"parent": {
- "description": "The parent resource name, for example projects/my-project-id.",
+ "description": "Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -1195,7 +1179,7 @@
],
"parameters": {
"parent": {
- "description": "The parent resource name, for example projects/my-project-id.",
+ "description": "Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -1223,7 +1207,7 @@
],
"parameters": {
"parent": {
- "description": "Required. The parent resource name.",
+ "description": "Required. The parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -1255,7 +1239,7 @@
],
"parameters": {
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id or\norganizations/my-org-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:organizations/[ORGANIZATION-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]\n- Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -1333,7 +1317,7 @@
],
"parameters": {
"locationId": {
- "description": "The geographic location where deidentifications templates will be retrieved\nfrom. Use `-` for all locations. Reserved for future extensions.",
+ "description": "Deprecated. This field has no effect.",
"location": "query",
"type": "string"
},
@@ -1354,7 +1338,7 @@
"type": "string"
},
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id or\norganizations/my-org-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:organizations/[ORGANIZATION-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]\n- Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -1439,7 +1423,7 @@
],
"parameters": {
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -1522,7 +1506,7 @@
"type": "string"
},
"locationId": {
- "description": "The geographic location where jobs will be retrieved from.\nUse `-` for all locations. Reserved for future extensions.",
+ "description": "Deprecated. This field has no effect.",
"location": "query",
"type": "string"
},
@@ -1543,7 +1527,7 @@
"type": "string"
},
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -1582,7 +1566,7 @@
],
"parameters": {
"parent": {
- "description": "The parent resource name, for example projects/my-project-id.",
+ "description": "The parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -1614,7 +1598,7 @@
],
"parameters": {
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id or\norganizations/my-org-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:organizations/[ORGANIZATION-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]\n- Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -1692,7 +1676,7 @@
],
"parameters": {
"locationId": {
- "description": "The geographic location where inspection templates will be retrieved from.\nUse `-` for all locations. Reserved for future extensions.",
+ "description": "Deprecated. This field has no effect.",
"location": "query",
"type": "string"
},
@@ -1713,7 +1697,7 @@
"type": "string"
},
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id or\norganizations/my-org-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:organizations/[ORGANIZATION-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]\n- Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -1798,7 +1782,7 @@
],
"parameters": {
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -1881,7 +1865,7 @@
"type": "string"
},
"locationId": {
- "description": "The geographic location where job triggers will be retrieved from.\nUse `-` for all locations. Reserved for future extensions.",
+ "description": "Deprecated. This field has no effect.",
"location": "query",
"type": "string"
},
@@ -1902,7 +1886,7 @@
"type": "string"
},
"parent": {
- "description": "Required. The parent resource name, for example `projects/my-project-id`.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -1953,29 +1937,22 @@
"methods": {
"deidentify": {
"description": "De-identifies potentially sensitive info from a ContentItem.\nThis method has limits on input size and output size.\nSee https://cloud.google.com/dlp/docs/deidentify-sensitive-data to\nlearn more.\n\nWhen no InfoTypes or CustomInfoTypes are specified in this request, the\nsystem will automatically choose what detectors to run. By default this may\nbe all types, but may change over time as detectors are updated.",
- "flatPath": "v2/projects/{projectsId}/locations/{locationId}/content:deidentify",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/content:deidentify",
"httpMethod": "POST",
"id": "dlp.projects.locations.content.deidentify",
"parameterOrder": [
- "parent",
- "locationId"
+ "parent"
],
"parameters": {
- "locationId": {
- "description": "The geographic location to process de-identification. Reserved for future\nextensions.",
- "location": "path",
- "required": true,
- "type": "string"
- },
"parent": {
- "description": "The parent resource name, for example projects/my-project-id.",
+ "description": "Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]",
"location": "path",
- "pattern": "^projects/[^/]+$",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v2/{+parent}/locations/{locationId}/content:deidentify",
+ "path": "v2/{+parent}/content:deidentify",
"request": {
"$ref": "GooglePrivacyDlpV2DeidentifyContentRequest"
},
@@ -1988,29 +1965,22 @@
},
"inspect": {
"description": "Finds potentially sensitive info in content.\nThis method has limits on input size, processing time, and output size.\n\nWhen no InfoTypes or CustomInfoTypes are specified in this request, the\nsystem will automatically choose what detectors to run. By default this may\nbe all types, but may change over time as detectors are updated.\n\nFor how to guides, see https://cloud.google.com/dlp/docs/inspecting-images\nand https://cloud.google.com/dlp/docs/inspecting-text,",
- "flatPath": "v2/projects/{projectsId}/locations/{locationId}/content:inspect",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/content:inspect",
"httpMethod": "POST",
"id": "dlp.projects.locations.content.inspect",
"parameterOrder": [
- "parent",
- "locationId"
+ "parent"
],
"parameters": {
- "locationId": {
- "description": "The geographic location to process content inspection. Reserved for future\nextensions.\nWhen inspecting images location is restricted to 'global', 'us', 'asia',\nand 'europe'.",
- "location": "path",
- "required": true,
- "type": "string"
- },
"parent": {
- "description": "The parent resource name, for example projects/my-project-id.",
+ "description": "Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]",
"location": "path",
- "pattern": "^projects/[^/]+$",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v2/{+parent}/locations/{locationId}/content:inspect",
+ "path": "v2/{+parent}/content:inspect",
"request": {
"$ref": "GooglePrivacyDlpV2InspectContentRequest"
},
@@ -2023,29 +1993,22 @@
},
"reidentify": {
"description": "Re-identifies content that has been de-identified.\nSee\nhttps://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example\nto learn more.",
- "flatPath": "v2/projects/{projectsId}/locations/{locationId}/content:reidentify",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/content:reidentify",
"httpMethod": "POST",
"id": "dlp.projects.locations.content.reidentify",
"parameterOrder": [
- "parent",
- "locationId"
+ "parent"
],
"parameters": {
- "locationId": {
- "description": "The geographic location to process content reidentification. Reserved for\nfuture extensions.",
- "location": "path",
- "required": true,
- "type": "string"
- },
"parent": {
- "description": "Required. The parent resource name.",
+ "description": "Required. The parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]",
"location": "path",
- "pattern": "^projects/[^/]+$",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v2/{+parent}/locations/{locationId}/content:reidentify",
+ "path": "v2/{+parent}/content:reidentify",
"request": {
"$ref": "GooglePrivacyDlpV2ReidentifyContentRequest"
},
@@ -2062,29 +2025,22 @@
"methods": {
"create": {
"description": "Creates a DeidentifyTemplate for re-using frequently used configuration\nfor de-identifying content, images, and storage.\nSee https://cloud.google.com/dlp/docs/creating-templates-deid to learn\nmore.",
- "flatPath": "v2/projects/{projectsId}/locations/{locationId}/deidentifyTemplates",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/deidentifyTemplates",
"httpMethod": "POST",
"id": "dlp.projects.locations.deidentifyTemplates.create",
"parameterOrder": [
- "parent",
- "locationId"
+ "parent"
],
"parameters": {
- "locationId": {
- "description": "The geographic location to store the deidentification template. Reserved\nfor future extensions.",
- "location": "path",
- "required": true,
- "type": "string"
- },
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id or\norganizations/my-org-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:organizations/[ORGANIZATION-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]\n- Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]",
"location": "path",
- "pattern": "^projects/[^/]+$",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v2/{+parent}/locations/{locationId}/deidentifyTemplates",
+ "path": "v2/{+parent}/deidentifyTemplates",
"request": {
"$ref": "GooglePrivacyDlpV2CreateDeidentifyTemplateRequest"
},
@@ -2147,18 +2103,16 @@
},
"list": {
"description": "Lists DeidentifyTemplates.\nSee https://cloud.google.com/dlp/docs/creating-templates-deid to learn\nmore.",
- "flatPath": "v2/projects/{projectsId}/locations/{locationId}/deidentifyTemplates",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/deidentifyTemplates",
"httpMethod": "GET",
"id": "dlp.projects.locations.deidentifyTemplates.list",
"parameterOrder": [
- "parent",
- "locationId"
+ "parent"
],
"parameters": {
"locationId": {
- "description": "The geographic location where deidentifications templates will be retrieved\nfrom. Use `-` for all locations. Reserved for future extensions.",
- "location": "path",
- "required": true,
+ "description": "Deprecated. This field has no effect.",
+ "location": "query",
"type": "string"
},
"orderBy": {
@@ -2178,14 +2132,14 @@
"type": "string"
},
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id or\norganizations/my-org-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:organizations/[ORGANIZATION-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]\n- Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]",
"location": "path",
- "pattern": "^projects/[^/]+$",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v2/{+parent}/locations/{locationId}/deidentifyTemplates",
+ "path": "v2/{+parent}/deidentifyTemplates",
"response": {
"$ref": "GooglePrivacyDlpV2ListDeidentifyTemplatesResponse"
},
@@ -2255,29 +2209,22 @@
},
"create": {
"description": "Creates a new job to inspect storage or calculate risk metrics.\nSee https://cloud.google.com/dlp/docs/inspecting-storage and\nhttps://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.\n\nWhen no InfoTypes or CustomInfoTypes are specified in inspect jobs, the\nsystem will automatically choose what detectors to run. By default this may\nbe all types, but may change over time as detectors are updated.",
- "flatPath": "v2/projects/{projectsId}/locations/{locationId}/dlpJobs",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dlpJobs",
"httpMethod": "POST",
"id": "dlp.projects.locations.dlpJobs.create",
"parameterOrder": [
- "parent",
- "locationId"
+ "parent"
],
"parameters": {
- "locationId": {
- "description": "The geographic location to store and process the job. Reserved for\nfuture extensions.",
- "location": "path",
- "required": true,
- "type": "string"
- },
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]",
"location": "path",
- "pattern": "^projects/[^/]+$",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v2/{+parent}/locations/{locationId}/dlpJobs",
+ "path": "v2/{+parent}/dlpJobs",
"request": {
"$ref": "GooglePrivacyDlpV2CreateDlpJobRequest"
},
@@ -2396,12 +2343,11 @@
},
"list": {
"description": "Lists DlpJobs that match the specified filter in the request.\nSee https://cloud.google.com/dlp/docs/inspecting-storage and\nhttps://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.",
- "flatPath": "v2/projects/{projectsId}/locations/{locationId}/dlpJobs",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dlpJobs",
"httpMethod": "GET",
"id": "dlp.projects.locations.dlpJobs.list",
"parameterOrder": [
- "parent",
- "locationId"
+ "parent"
],
"parameters": {
"filter": {
@@ -2410,9 +2356,8 @@
"type": "string"
},
"locationId": {
- "description": "The geographic location where jobs will be retrieved from.\nUse `-` for all locations. Reserved for future extensions.",
- "location": "path",
- "required": true,
+ "description": "Deprecated. This field has no effect.",
+ "location": "query",
"type": "string"
},
"orderBy": {
@@ -2432,9 +2377,9 @@
"type": "string"
},
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]",
"location": "path",
- "pattern": "^projects/[^/]+$",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
},
@@ -2449,7 +2394,7 @@
"type": "string"
}
},
- "path": "v2/{+parent}/locations/{locationId}/dlpJobs",
+ "path": "v2/{+parent}/dlpJobs",
"response": {
"$ref": "GooglePrivacyDlpV2ListDlpJobsResponse"
},
@@ -2463,29 +2408,22 @@
"methods": {
"redact": {
"description": "Redacts potentially sensitive info from an image.\nThis method has limits on input size, processing time, and output size.\nSee https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to\nlearn more.\n\nWhen no InfoTypes or CustomInfoTypes are specified in this request, the\nsystem will automatically choose what detectors to run. By default this may\nbe all types, but may change over time as detectors are updated.",
- "flatPath": "v2/projects/{projectsId}/locations/{locationId}/image:redact",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/image:redact",
"httpMethod": "POST",
"id": "dlp.projects.locations.image.redact",
"parameterOrder": [
- "parent",
- "locationId"
+ "parent"
],
"parameters": {
- "locationId": {
- "description": "The geographic location to process the request. Reserved for future\nextensions.\nLocation is restricted to 'global', 'us', 'asia', and 'europe'.",
- "location": "path",
- "required": true,
- "type": "string"
- },
"parent": {
- "description": "The parent resource name, for example projects/my-project-id.",
+ "description": "The parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]",
"location": "path",
- "pattern": "^projects/[^/]+$",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v2/{+parent}/locations/{locationId}/image:redact",
+ "path": "v2/{+parent}/image:redact",
"request": {
"$ref": "GooglePrivacyDlpV2RedactImageRequest"
},
@@ -2502,29 +2440,22 @@
"methods": {
"create": {
"description": "Creates an InspectTemplate for re-using frequently used configuration\nfor inspecting content, images, and storage.\nSee https://cloud.google.com/dlp/docs/creating-templates to learn more.",
- "flatPath": "v2/projects/{projectsId}/locations/{locationId}/inspectTemplates",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/inspectTemplates",
"httpMethod": "POST",
"id": "dlp.projects.locations.inspectTemplates.create",
"parameterOrder": [
- "parent",
- "locationId"
+ "parent"
],
"parameters": {
- "locationId": {
- "description": "The geographic location to store the inspection template. Reserved for\nfuture extensions.",
- "location": "path",
- "required": true,
- "type": "string"
- },
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id or\norganizations/my-org-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:organizations/[ORGANIZATION-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]\n- Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]",
"location": "path",
- "pattern": "^projects/[^/]+$",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v2/{+parent}/locations/{locationId}/inspectTemplates",
+ "path": "v2/{+parent}/inspectTemplates",
"request": {
"$ref": "GooglePrivacyDlpV2CreateInspectTemplateRequest"
},
@@ -2587,18 +2518,16 @@
},
"list": {
"description": "Lists InspectTemplates.\nSee https://cloud.google.com/dlp/docs/creating-templates to learn more.",
- "flatPath": "v2/projects/{projectsId}/locations/{locationId}/inspectTemplates",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/inspectTemplates",
"httpMethod": "GET",
"id": "dlp.projects.locations.inspectTemplates.list",
"parameterOrder": [
- "parent",
- "locationId"
+ "parent"
],
"parameters": {
"locationId": {
- "description": "The geographic location where inspection templates will be retrieved from.\nUse `-` for all locations. Reserved for future extensions.",
- "location": "path",
- "required": true,
+ "description": "Deprecated. This field has no effect.",
+ "location": "query",
"type": "string"
},
"orderBy": {
@@ -2618,14 +2547,14 @@
"type": "string"
},
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id or\norganizations/my-org-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:organizations/[ORGANIZATION-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]\n- Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]",
"location": "path",
- "pattern": "^projects/[^/]+$",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v2/{+parent}/locations/{locationId}/inspectTemplates",
+ "path": "v2/{+parent}/inspectTemplates",
"response": {
"$ref": "GooglePrivacyDlpV2ListInspectTemplatesResponse"
},
@@ -2695,29 +2624,22 @@
},
"create": {
"description": "Creates a job trigger to run DLP actions such as scanning storage for\nsensitive information on a set schedule.\nSee https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.",
- "flatPath": "v2/projects/{projectsId}/locations/{locationId}/jobTriggers",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/jobTriggers",
"httpMethod": "POST",
"id": "dlp.projects.locations.jobTriggers.create",
"parameterOrder": [
- "parent",
- "locationId"
+ "parent"
],
"parameters": {
- "locationId": {
- "description": "The geographic location to store the job trigger. Reserved for\nfuture extensions.",
- "location": "path",
- "required": true,
- "type": "string"
- },
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]",
"location": "path",
- "pattern": "^projects/[^/]+$",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v2/{+parent}/locations/{locationId}/jobTriggers",
+ "path": "v2/{+parent}/jobTriggers",
"request": {
"$ref": "GooglePrivacyDlpV2CreateJobTriggerRequest"
},
@@ -2808,12 +2730,11 @@
},
"list": {
"description": "Lists job triggers.\nSee https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.",
- "flatPath": "v2/projects/{projectsId}/locations/{locationId}/jobTriggers",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/jobTriggers",
"httpMethod": "GET",
"id": "dlp.projects.locations.jobTriggers.list",
"parameterOrder": [
- "parent",
- "locationId"
+ "parent"
],
"parameters": {
"filter": {
@@ -2822,9 +2743,8 @@
"type": "string"
},
"locationId": {
- "description": "The geographic location where job triggers will be retrieved from.\nUse `-` for all locations. Reserved for future extensions.",
- "location": "path",
- "required": true,
+ "description": "Deprecated. This field has no effect.",
+ "location": "query",
"type": "string"
},
"orderBy": {
@@ -2844,14 +2764,14 @@
"type": "string"
},
"parent": {
- "description": "Required. The parent resource name, for example `projects/my-project-id`.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]",
"location": "path",
- "pattern": "^projects/[^/]+$",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v2/{+parent}/locations/{locationId}/jobTriggers",
+ "path": "v2/{+parent}/jobTriggers",
"response": {
"$ref": "GooglePrivacyDlpV2ListJobTriggersResponse"
},
@@ -2893,29 +2813,22 @@
"methods": {
"create": {
"description": "Creates a pre-built stored infoType to be used for inspection.\nSee https://cloud.google.com/dlp/docs/creating-stored-infotypes to\nlearn more.",
- "flatPath": "v2/projects/{projectsId}/locations/{locationId}/storedInfoTypes",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/storedInfoTypes",
"httpMethod": "POST",
"id": "dlp.projects.locations.storedInfoTypes.create",
"parameterOrder": [
- "parent",
- "locationId"
+ "parent"
],
"parameters": {
- "locationId": {
- "description": "The geographic location to store the stored infoType. Reserved for\nfuture extensions.",
- "location": "path",
- "required": true,
- "type": "string"
- },
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id or\norganizations/my-org-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:organizations/[ORGANIZATION-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]\n- Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]",
"location": "path",
- "pattern": "^projects/[^/]+$",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v2/{+parent}/locations/{locationId}/storedInfoTypes",
+ "path": "v2/{+parent}/storedInfoTypes",
"request": {
"$ref": "GooglePrivacyDlpV2CreateStoredInfoTypeRequest"
},
@@ -2978,18 +2891,16 @@
},
"list": {
"description": "Lists stored infoTypes.\nSee https://cloud.google.com/dlp/docs/creating-stored-infotypes to\nlearn more.",
- "flatPath": "v2/projects/{projectsId}/locations/{locationId}/storedInfoTypes",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/storedInfoTypes",
"httpMethod": "GET",
"id": "dlp.projects.locations.storedInfoTypes.list",
"parameterOrder": [
- "parent",
- "locationId"
+ "parent"
],
"parameters": {
"locationId": {
- "description": "The geographic location where stored infoTypes will be retrieved from.\nUse `-` for all locations. Reserved for future extensions.",
- "location": "path",
- "required": true,
+ "description": "Deprecated. This field has no effect.",
+ "location": "query",
"type": "string"
},
"orderBy": {
@@ -3009,14 +2920,14 @@
"type": "string"
},
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id or\norganizations/my-org-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:organizations/[ORGANIZATION-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]\n- Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]",
"location": "path",
- "pattern": "^projects/[^/]+$",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v2/{+parent}/locations/{locationId}/storedInfoTypes",
+ "path": "v2/{+parent}/storedInfoTypes",
"response": {
"$ref": "GooglePrivacyDlpV2ListStoredInfoTypesResponse"
},
@@ -3068,7 +2979,7 @@
],
"parameters": {
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id or\norganizations/my-org-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:organizations/[ORGANIZATION-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]\n- Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -3146,7 +3057,7 @@
],
"parameters": {
"locationId": {
- "description": "The geographic location where stored infoTypes will be retrieved from.\nUse `-` for all locations. Reserved for future extensions.",
+ "description": "Deprecated. This field has no effect.",
"location": "query",
"type": "string"
},
@@ -3167,7 +3078,7 @@
"type": "string"
},
"parent": {
- "description": "Required. The parent resource name, for example projects/my-project-id or\norganizations/my-org-id.",
+ "description": "Required. Parent resource name.\n- Format:projects/[PROJECT-ID]\n- Format:organizations/[ORGANIZATION-ID]\n- Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]\n- Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -3215,7 +3126,7 @@
}
}
},
- "revision": "20200405",
+ "revision": "20200706",
"rootUrl": "https://dlp.googleapis.com/",
"schemas": {
"GooglePrivacyDlpV2Action": {
@@ -3455,7 +3366,7 @@
},
"replacementValue": {
"$ref": "GooglePrivacyDlpV2Value",
- "description": "Replacement value for this bucket. If not provided\nthe default behavior will be to hyphenate the min-max range."
+ "description": "Required. Replacement value for this bucket."
}
},
"type": "object"
@@ -3495,7 +3406,9 @@
"TEXT_UTF8",
"WORD_DOCUMENT",
"PDF",
- "AVRO"
+ "AVRO",
+ "CSV",
+ "TSV"
],
"enumDescriptions": [
"Unused",
@@ -3507,7 +3420,9 @@
"plain text",
"docx, docm, dotx, dotm",
"pdf",
- "avro"
+ "avro",
+ "csv",
+ "tsv"
],
"type": "string"
}
@@ -3670,12 +3585,14 @@
"description": "List of file type groups to include in the scan.\nIf empty, all files are scanned and available data format processors\nare applied. In addition, the binary content of the selected files\nis always scanned as well.\nImages are scanned only as binary if the specified region\ndoes not support image inspection and no file_types were specified.\nImage inspection is restricted to 'global', 'us', 'asia', and 'europe'.",
"enumDescriptions": [
"Includes all files.",
- "Includes all file extensions not covered by text file types.",
+ "Includes all file extensions not covered by another entry. Binary\nscanning attempts to convert the content of the file to utf_8 to scan\nthe file.\nIf you wish to avoid this fall back, specify one or more of the other\nFileType's in your storage scan.",
"Included file extensions:\n asc, brf, c, cc, cpp, csv, cxx, c++, cs, css, dart, eml, go, h, hh, hpp,\n hxx, h++, hs, html, htm, shtml, shtm, xhtml, lhs, ini, java, js, json,\n ocaml, md, mkd, markdown, m, ml, mli, pl, pm, php, phtml, pht, py, pyw,\n rb, rbw, rs, rc, scala, sh, sql, tex, txt, text, tsv, vcard, vcs, wml,\n xml, xsl, xsd, yml, yaml.",
"Included file extensions:\n bmp, gif, jpg, jpeg, jpe, png.\nbytes_limit_per_file has no effect on image files.\nImage inspection is restricted to 'global', 'us', 'asia', and 'europe'.",
- "Included file extensions:\n docx, dotx, docm, dotm",
- "Included file extensions:\n pdf",
- "Included file extensions:\n avro"
+ "Word files >30 MB will be scanned as binary files.\nIncluded file extensions:\n docx, dotx, docm, dotm",
+ "PDF files >30 MB will be scanned as binary files.\nIncluded file extensions:\n pdf",
+ "Included file extensions:\n avro",
+ "Included file extensions:\n csv",
+ "Included file extensions:\n tsv"
],
"items": {
"enum": [
@@ -3685,7 +3602,9 @@
"IMAGE",
"WORD",
"PDF",
- "AVRO"
+ "AVRO",
+ "CSV",
+ "TSV"
],
"type": "string"
},
@@ -3923,7 +3842,7 @@
"description": "Required. The DeidentifyTemplate to create."
},
"locationId": {
- "description": "The geographic location to store the deidentification template. Reserved\nfor future extensions.",
+ "description": "Deprecated. This field has no effect.",
"type": "string"
},
"templateId": {
@@ -3946,7 +3865,7 @@
"type": "string"
},
"locationId": {
- "description": "The geographic location to store and process the job. Reserved for\nfuture extensions.",
+ "description": "Deprecated. This field has no effect.",
"type": "string"
},
"riskJob": {
@@ -3965,7 +3884,7 @@
"description": "Required. The InspectTemplate to create."
},
"locationId": {
- "description": "The geographic location to store the inspection template. Reserved for\nfuture extensions.",
+ "description": "Deprecated. This field has no effect.",
"type": "string"
},
"templateId": {
@@ -3984,7 +3903,7 @@
"description": "Required. The JobTrigger to create."
},
"locationId": {
- "description": "The geographic location to store the job trigger. Reserved for\nfuture extensions.",
+ "description": "Deprecated. This field has no effect.",
"type": "string"
},
"triggerId": {
@@ -4003,7 +3922,7 @@
"description": "Required. Configuration of the storedInfoType to create."
},
"locationId": {
- "description": "The geographic location to store the stored infoType. Reserved for\nfuture extensions.",
+ "description": "Deprecated. This field has no effect.",
"type": "string"
},
"storedInfoTypeId": {
@@ -4077,10 +3996,10 @@
],
"enumDescriptions": [
"Unused.",
- "[0-9] (radix of 10)",
- "[0-9A-F] (radix of 16)",
- "[0-9A-Z] (radix of 36)",
- "[0-9A-Za-z] (radix of 62)"
+ "`[0-9]` (radix of 10)",
+ "`[0-9A-F]` (radix of 16)",
+ "`[0-9A-Z]` (radix of 36)",
+ "`[0-9A-Za-z]` (radix of 62)"
],
"type": "string"
},
@@ -4103,7 +4022,7 @@
},
"surrogateInfoType": {
"$ref": "GooglePrivacyDlpV2InfoType",
- "description": "The custom infoType to annotate the surrogate with.\nThis annotation will be applied to the surrogate by prefixing it with\nthe name of the custom infoType followed by the number of\ncharacters comprising the surrogate. The following scheme defines the\nformat: info_type_name(surrogate_character_count):surrogate\n\nFor example, if the name of custom infoType is 'MY_TOKEN_INFO_TYPE' and\nthe surrogate is 'abc', the full replacement value\nwill be: 'MY_TOKEN_INFO_TYPE(3):abc'\n\nThis annotation identifies the surrogate when inspecting content using the\ncustom infoType\n[`SurrogateType`](/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype).\nThis facilitates reversal of the surrogate when it occurs in free text.\n\nIn order for inspection to work properly, the name of this infoType must\nnot occur naturally anywhere in your data; otherwise, inspection may\nfind a surrogate that does not correspond to an actual identifier.\nTherefore, choose your custom infoType name carefully after considering\nwhat your data looks like. One way to select a name that has a high chance\nof yielding reliable detection is to include one or more unicode characters\nthat are highly improbable to exist in your data.\nFor example, assuming your data is entered from a regular ASCII keyboard,\nthe symbol with the hex code point 29DD might be used like so:\n\u29ddMY_TOKEN_TYPE"
+ "description": "The custom infoType to annotate the surrogate with.\nThis annotation will be applied to the surrogate by prefixing it with\nthe name of the custom infoType followed by the number of\ncharacters comprising the surrogate. The following scheme defines the\nformat: info_type_name(surrogate_character_count):surrogate\n\nFor example, if the name of custom infoType is 'MY_TOKEN_INFO_TYPE' and\nthe surrogate is 'abc', the full replacement value\nwill be: 'MY_TOKEN_INFO_TYPE(3):abc'\n\nThis annotation identifies the surrogate when inspecting content using the\ncustom infoType\n[`SurrogateType`](https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype).\nThis facilitates reversal of the surrogate when it occurs in free text.\n\nIn order for inspection to work properly, the name of this infoType must\nnot occur naturally anywhere in your data; otherwise, inspection may\nfind a surrogate that does not correspond to an actual identifier.\nTherefore, choose your custom infoType name carefully after considering\nwhat your data looks like. One way to select a name that has a high chance\nof yielding reliable detection is to include one or more unicode characters\nthat are highly improbable to exist in your data.\nFor example, assuming your data is entered from a regular ASCII keyboard,\nthe symbol with the hex code point 29DD might be used like so:\n\u29ddMY_TOKEN_TYPE"
}
},
"type": "object"
@@ -4312,7 +4231,7 @@
"description": "The item to de-identify. Will be treated as text."
},
"locationId": {
- "description": "The geographic location to process de-identification. Reserved for future\nextensions.",
+ "description": "Deprecated. This field has no effect.",
"type": "string"
}
},
@@ -4848,11 +4767,11 @@
},
"lowerBound": {
"$ref": "GooglePrivacyDlpV2Value",
- "description": "Required. Lower bound value of buckets. All values less than `lower_bound` are\ngrouped together into a single bucket; for example if `lower_bound` = 10,\nthen all values less than 10 are replaced with the value \u201c-10\u201d."
+ "description": "Required. Lower bound value of buckets. All values less than `lower_bound` are\ngrouped together into a single bucket; for example if `lower_bound` = 10,\nthen all values less than 10 are replaced with the value \"-10\"."
},
"upperBound": {
"$ref": "GooglePrivacyDlpV2Value",
- "description": "Required. Upper bound value of buckets. All values greater than upper_bound are\ngrouped together into a single bucket; for example if `upper_bound` = 89,\nthen all values greater than 89 are replaced with the value \u201c89+\u201d."
+ "description": "Required. Upper bound value of buckets. All values greater than upper_bound are\ngrouped together into a single bucket; for example if `upper_bound` = 89,\nthen all values greater than 89 are replaced with the value \"89+\"."
}
},
"type": "object"
@@ -5240,7 +5159,7 @@
"description": "The item to inspect."
},
"locationId": {
- "description": "The geographic location to process content inspection. Reserved for future\nextensions.\nWhen inspecting images location is restricted to 'global', 'us', 'asia',\nand 'europe'.",
+ "description": "Deprecated. This field has no effect.",
"type": "string"
}
},
@@ -5999,7 +5918,7 @@
],
"enumDescriptions": [
"Unused",
- "General file metadata provided by GCS."
+ "General file metadata provided by Cloud Storage."
],
"type": "string"
}
@@ -6217,7 +6136,7 @@
"type": "object"
},
"GooglePrivacyDlpV2PublishToPubSub": {
- "description": "Publish a message into given Pub/Sub topic when DlpJob has completed. The\nmessage contains a single field, `DlpJobName`, which is equal to the\nfinished job's\n[`DlpJob.name`](/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob).\nCompatible with: Inspect, Risk",
+ "description": "Publish a message into given Pub/Sub topic when DlpJob has completed. The\nmessage contains a single field, `DlpJobName`, which is equal to the\nfinished job's\n[`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob).\nCompatible with: Inspect, Risk",
"id": "GooglePrivacyDlpV2PublishToPubSub",
"properties": {
"topic": {
@@ -6426,7 +6345,7 @@
"description": "Configuration for the inspector."
},
"locationId": {
- "description": "The geographic location to process the request. Reserved for future\nextensions.\nLocation is restricted to 'global', 'us', 'asia', and 'europe'.",
+ "description": "Deprecated. This field has no effect.",
"type": "string"
}
},
@@ -6488,7 +6407,7 @@
"description": "The item to re-identify. Will be treated as text."
},
"locationId": {
- "description": "The geographic location to process content reidentification. Reserved for\nfuture extensions.",
+ "description": "Deprecated. This field has no effect.",
"type": "string"
},
"reidentifyConfig": {
@@ -6846,7 +6765,7 @@
"type": "object"
},
"GooglePrivacyDlpV2SurrogateType": {
- "description": "Message for detecting output from deidentification transformations\nsuch as\n[`CryptoReplaceFfxFpeConfig`](/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).\nThese types of transformations are\nthose that perform pseudonymization, thereby producing a \"surrogate\" as\noutput. This should be used in conjunction with a field on the\ntransformation such as `surrogate_info_type`. This CustomInfoType does\nnot support the use of `detection_rules`.",
+ "description": "Message for detecting output from deidentification transformations\nsuch as\n[`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).\nThese types of transformations are\nthose that perform pseudonymization, thereby producing a \"surrogate\" as\noutput. This should be used in conjunction with a field on the\ntransformation such as `surrogate_info_type`. This CustomInfoType does\nnot support the use of `detection_rules`.",
"id": "GooglePrivacyDlpV2SurrogateType",
"properties": {},
"type": "object"
@@ -6877,7 +6796,7 @@
"id": "GooglePrivacyDlpV2TableLocation",
"properties": {
"rowIndex": {
- "description": "The zero-based index of the row where the finding is located.",
+ "description": "The zero-based index of the row where the finding is located. Only\npopulated for resources that have a natural ordering, not BigQuery. In\nBigQuery, to identify the row a finding came from, populate\nBigQueryOptions.identifying_fields with your primary key column names and\nwhen you store the findings the value of those columns will be stored\ninside of Finding.",
"format": "int64",
"type": "string"
}
diff --git a/etc/api/dns/v1/dns-api.json b/etc/api/dns/v1/dns-api.json
index b683ec6451..9e94260d4b 100644
--- a/etc/api/dns/v1/dns-api.json
+++ b/etc/api/dns/v1/dns-api.json
@@ -23,7 +23,7 @@
"description": "Configures and serves authoritative DNS records.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/cloud-dns",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/C0vgwgSkNuwxiJI-C0iMb3JKMEQ\"",
+ "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/ArOFmsgnjC3TFDSpz-XNYBMw5mo\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -83,7 +83,7 @@
"changes": {
"methods": {
"create": {
- "description": "Atomically update the ResourceRecordSet collection.",
+ "description": "",
"httpMethod": "POST",
"id": "dns.changes.create",
"parameterOrder": [
@@ -92,18 +92,15 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -122,7 +119,7 @@
]
},
"get": {
- "description": "Fetch the representation of an existing Change.",
+ "description": "",
"httpMethod": "GET",
"id": "dns.changes.get",
"parameterOrder": [
@@ -132,24 +129,20 @@
],
"parameters": {
"changeId": {
- "description": "The identifier of the requested change, from a previous ResourceRecordSetsChangeResponse.",
"location": "path",
"required": true,
"type": "string"
},
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -167,7 +160,7 @@
]
},
"list": {
- "description": "Enumerate Changes to a ResourceRecordSet collection.",
+ "description": "",
"httpMethod": "GET",
"id": "dns.changes.list",
"parameterOrder": [
@@ -176,31 +169,26 @@
],
"parameters": {
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
"location": "path",
"required": true,
"type": "string"
},
"maxResults": {
- "description": "Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.",
"location": "query",
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
},
"sortBy": {
"default": "changeSequence",
- "description": "Sorting criterion. The only supported value is change sequence.",
"enum": [
"changeSequence"
],
@@ -211,7 +199,6 @@
"type": "string"
},
"sortOrder": {
- "description": "Sorting order direction: 'ascending' or 'descending'.",
"location": "query",
"type": "string"
}
@@ -232,7 +219,7 @@
"dnsKeys": {
"methods": {
"get": {
- "description": "Fetch the representation of an existing DnsKey.",
+ "description": "",
"httpMethod": "GET",
"id": "dns.dnsKeys.get",
"parameterOrder": [
@@ -242,29 +229,24 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"digestType": {
- "description": "An optional comma-separated list of digest types to compute and display for key signing keys. If omitted, the recommended digest type will be computed and displayed.",
"location": "query",
"type": "string"
},
"dnsKeyId": {
- "description": "The identifier of the requested DnsKey.",
"location": "path",
"required": true,
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -282,7 +264,7 @@
]
},
"list": {
- "description": "Enumerate DnsKeys to a ResourceRecordSet collection.",
+ "description": "",
"httpMethod": "GET",
"id": "dns.dnsKeys.list",
"parameterOrder": [
@@ -291,29 +273,24 @@
],
"parameters": {
"digestType": {
- "description": "An optional comma-separated list of digest types to compute and display for key signing keys. If omitted, the recommended digest type will be computed and displayed.",
"location": "query",
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
"location": "path",
"required": true,
"type": "string"
},
"maxResults": {
- "description": "Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.",
"location": "query",
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -335,7 +312,7 @@
"managedZoneOperations": {
"methods": {
"get": {
- "description": "Fetch the representation of an existing Operation.",
+ "description": "",
"httpMethod": "GET",
"id": "dns.managedZoneOperations.get",
"parameterOrder": [
@@ -345,24 +322,20 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request.",
"location": "path",
"required": true,
"type": "string"
},
"operation": {
- "description": "Identifies the operation addressed by this request.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -380,7 +353,7 @@
]
},
"list": {
- "description": "Enumerate Operations for the given ManagedZone.",
+ "description": "",
"httpMethod": "GET",
"id": "dns.managedZoneOperations.list",
"parameterOrder": [
@@ -389,31 +362,26 @@
],
"parameters": {
"managedZone": {
- "description": "Identifies the managed zone addressed by this request.",
"location": "path",
"required": true,
"type": "string"
},
"maxResults": {
- "description": "Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.",
"location": "query",
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
},
"sortBy": {
"default": "startTime",
- "description": "Sorting criterion. The only supported values are START_TIME and ID.",
"enum": [
"id",
"startTime"
@@ -442,7 +410,7 @@
"managedZones": {
"methods": {
"create": {
- "description": "Create a new ManagedZone.",
+ "description": "",
"httpMethod": "POST",
"id": "dns.managedZones.create",
"parameterOrder": [
@@ -450,12 +418,10 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -474,7 +440,7 @@
]
},
"delete": {
- "description": "Delete a previously created ManagedZone.",
+ "description": "",
"httpMethod": "DELETE",
"id": "dns.managedZones.delete",
"parameterOrder": [
@@ -483,18 +449,15 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -507,7 +470,7 @@
]
},
"get": {
- "description": "Fetch the representation of an existing ManagedZone.",
+ "description": "",
"httpMethod": "GET",
"id": "dns.managedZones.get",
"parameterOrder": [
@@ -516,18 +479,15 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -545,7 +505,7 @@
]
},
"list": {
- "description": "Enumerate ManagedZones that have been created but not yet deleted.",
+ "description": "",
"httpMethod": "GET",
"id": "dns.managedZones.list",
"parameterOrder": [
@@ -553,23 +513,19 @@
],
"parameters": {
"dnsName": {
- "description": "Restricts the list to return only zones with this domain name.",
"location": "query",
"type": "string"
},
"maxResults": {
- "description": "Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.",
"location": "query",
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -587,7 +543,7 @@
]
},
"patch": {
- "description": "Apply a partial update to an existing ManagedZone.",
+ "description": "",
"httpMethod": "PATCH",
"id": "dns.managedZones.patch",
"parameterOrder": [
@@ -596,18 +552,15 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -626,7 +579,7 @@
]
},
"update": {
- "description": "Update an existing ManagedZone.",
+ "description": "",
"httpMethod": "PUT",
"id": "dns.managedZones.update",
"parameterOrder": [
@@ -635,18 +588,15 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -669,7 +619,7 @@
"policies": {
"methods": {
"create": {
- "description": "Create a new Policy",
+ "description": "",
"httpMethod": "POST",
"id": "dns.policies.create",
"parameterOrder": [
@@ -677,12 +627,10 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -701,7 +649,7 @@
]
},
"delete": {
- "description": "Delete a previously created Policy. Will fail if the policy is still being referenced by a network.",
+ "description": "",
"httpMethod": "DELETE",
"id": "dns.policies.delete",
"parameterOrder": [
@@ -710,18 +658,15 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"policy": {
- "description": "User given friendly name of the policy addressed by this request.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -734,7 +679,7 @@
]
},
"get": {
- "description": "Fetch the representation of an existing Policy.",
+ "description": "",
"httpMethod": "GET",
"id": "dns.policies.get",
"parameterOrder": [
@@ -743,18 +688,15 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"policy": {
- "description": "User given friendly name of the policy addressed by this request.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -772,7 +714,7 @@
]
},
"list": {
- "description": "Enumerate all Policies associated with a project.",
+ "description": "",
"httpMethod": "GET",
"id": "dns.policies.list",
"parameterOrder": [
@@ -780,18 +722,15 @@
],
"parameters": {
"maxResults": {
- "description": "Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.",
"location": "query",
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -809,7 +748,7 @@
]
},
"patch": {
- "description": "Apply a partial update to an existing Policy.",
+ "description": "",
"httpMethod": "PATCH",
"id": "dns.policies.patch",
"parameterOrder": [
@@ -818,18 +757,15 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"policy": {
- "description": "User given friendly name of the policy addressed by this request.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -848,7 +784,7 @@
]
},
"update": {
- "description": "Update an existing Policy.",
+ "description": "",
"httpMethod": "PUT",
"id": "dns.policies.update",
"parameterOrder": [
@@ -857,18 +793,15 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"policy": {
- "description": "User given friendly name of the policy addressed by this request.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -891,7 +824,7 @@
"projects": {
"methods": {
"get": {
- "description": "Fetch the representation of an existing Project.",
+ "description": "",
"httpMethod": "GET",
"id": "dns.projects.get",
"parameterOrder": [
@@ -899,12 +832,10 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -926,7 +857,7 @@
"resourceRecordSets": {
"methods": {
"list": {
- "description": "Enumerate ResourceRecordSets that have been created but not yet deleted.",
+ "description": "",
"httpMethod": "GET",
"id": "dns.resourceRecordSets.list",
"parameterOrder": [
@@ -935,35 +866,29 @@
],
"parameters": {
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
"location": "path",
"required": true,
"type": "string"
},
"maxResults": {
- "description": "Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return.",
"format": "int32",
"location": "query",
"type": "integer"
},
"name": {
- "description": "Restricts the list to return only records with this fully qualified domain name.",
"location": "query",
"type": "string"
},
"pageToken": {
- "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.",
"location": "query",
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
},
"type": {
- "description": "Restricts the list to return only records of this type. If present, the \"name\" parameter must also be present.",
"location": "query",
"type": "string"
}
@@ -982,33 +907,28 @@
}
}
},
- "revision": "20191205",
+ "revision": "20200515",
"rootUrl": "https://dns.googleapis.com/",
"schemas": {
"Change": {
- "description": "A Change represents a set of ResourceRecordSet additions and deletions applied atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are modified by creating a new Change element in the Changes collection. In turn the Changes collection also records the past modifications to the ResourceRecordSets in a ManagedZone. The current state of the ManagedZone is the sum effect of applying all Change elements in the Changes collection in sequence.",
"id": "Change",
"properties": {
"additions": {
- "description": "Which ResourceRecordSets to add?",
"items": {
"$ref": "ResourceRecordSet"
},
"type": "array"
},
"deletions": {
- "description": "Which ResourceRecordSets to remove? Must match existing data exactly.",
"items": {
"$ref": "ResourceRecordSet"
},
"type": "array"
},
"id": {
- "description": "Unique identifier for the resource; defined by the server (output only).",
"type": "string"
},
"isServing": {
- "description": "If the DNS queries for the zone will be served.",
"type": "boolean"
},
"kind": {
@@ -1017,11 +937,9 @@
"type": "string"
},
"startTime": {
- "description": "The time that this operation was started by the server (output only). This is in RFC3339 text format.",
"type": "string"
},
"status": {
- "description": "Status of the operation (output only). A status of \"done\" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.",
"enum": [
"done",
"pending"
@@ -1036,11 +954,9 @@
"type": "object"
},
"ChangesListResponse": {
- "description": "The response to a request to enumerate Changes to a ResourceRecordSets collection.",
"id": "ChangesListResponse",
"properties": {
"changes": {
- "description": "The requested changes.",
"items": {
"$ref": "Change"
},
@@ -1055,18 +971,15 @@
"type": "string"
},
"nextPageToken": {
- "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination token.\n\nIn this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned will be an inconsistent view of the collection. There is no way to retrieve a \"snapshot\" of collections larger than the maximum page size.",
"type": "string"
}
},
"type": "object"
},
"DnsKey": {
- "description": "A DNSSEC key pair.",
"id": "DnsKey",
"properties": {
"algorithm": {
- "description": "String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.",
"enum": [
"ecdsap256sha256",
"ecdsap384sha384",
@@ -1084,35 +997,28 @@
"type": "string"
},
"creationTime": {
- "description": "The time that this resource was created in the control plane. This is in RFC3339 text format. Output only.",
"type": "string"
},
"description": {
- "description": "A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the resource's function.",
"type": "string"
},
"digests": {
- "description": "Cryptographic hashes of the DNSKEY resource record associated with this DnsKey. These digests are needed to construct a DS record that points at this DNS key. Output only.",
"items": {
"$ref": "DnsKeyDigest"
},
"type": "array"
},
"id": {
- "description": "Unique identifier for the resource; defined by the server (output only).",
"type": "string"
},
"isActive": {
- "description": "Active keys will be used to sign subsequent changes to the ManagedZone. Inactive keys will still be present as DNSKEY Resource Records for the use of resolvers validating existing signatures.",
"type": "boolean"
},
"keyLength": {
- "description": "Length of the key in bits. Specified at creation time then immutable.",
"format": "uint32",
"type": "integer"
},
"keyTag": {
- "description": "The key tag is a non-cryptographic hash of the a DNSKEY resource record associated with this DnsKey. The key tag can be used to identify a DNSKEY more quickly (but it is not a unique identifier). In particular, the key tag is used in a parent zone's DS record to point at the DNSKEY in this child ManagedZone. The key tag is a number in the range [0, 65535] and the algorithm to calculate it is specified in RFC4034 Appendix B. Output only.",
"format": "int32",
"type": "integer"
},
@@ -1122,11 +1028,9 @@
"type": "string"
},
"publicKey": {
- "description": "Base64 encoded public half of this key. Output only.",
"type": "string"
},
"type": {
- "description": "One of \"KEY_SIGNING\" or \"ZONE_SIGNING\". Keys of type KEY_SIGNING have the Secure Entry Point flag set and, when active, will be used to sign only resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag will be cleared and this key will be used to sign only resource record sets of other types. Immutable after creation time.",
"enum": [
"keySigning",
"zoneSigning"
@@ -1144,11 +1048,9 @@
"id": "DnsKeyDigest",
"properties": {
"digest": {
- "description": "The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.",
"type": "string"
},
"type": {
- "description": "Specifies the algorithm used to calculate this digest.",
"enum": [
"sha1",
"sha256",
@@ -1165,11 +1067,9 @@
"type": "object"
},
"DnsKeySpec": {
- "description": "Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.",
"id": "DnsKeySpec",
"properties": {
"algorithm": {
- "description": "String mnemonic specifying the DNSSEC algorithm of this key.",
"enum": [
"ecdsap256sha256",
"ecdsap384sha384",
@@ -1187,12 +1087,10 @@
"type": "string"
},
"keyLength": {
- "description": "Length of the keys in bits.",
"format": "uint32",
"type": "integer"
},
"keyType": {
- "description": "Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, will only be used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and will be used to sign all other types of resource record sets.",
"enum": [
"keySigning",
"zoneSigning"
@@ -1212,11 +1110,9 @@
"type": "object"
},
"DnsKeysListResponse": {
- "description": "The response to a request to enumerate DnsKeys in a ManagedZone.",
"id": "DnsKeysListResponse",
"properties": {
"dnsKeys": {
- "description": "The requested resources.",
"items": {
"$ref": "DnsKey"
},
@@ -1231,38 +1127,30 @@
"type": "string"
},
"nextPageToken": {
- "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination token.\n\nIn this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned will be an inconsistent view of the collection. There is no way to retrieve a \"snapshot\" of collections larger than the maximum page size.",
"type": "string"
}
},
"type": "object"
},
"ManagedZone": {
- "description": "A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service.",
"id": "ManagedZone",
"properties": {
"creationTime": {
- "description": "The time that this resource was created on the server. This is in RFC3339 text format. Output only.",
"type": "string"
},
"description": {
- "description": "A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the managed zone's function.",
"type": "string"
},
"dnsName": {
- "description": "The DNS name of this managed zone, for instance \"example.com.\".",
"type": "string"
},
"dnssecConfig": {
- "$ref": "ManagedZoneDnsSecConfig",
- "description": "DNSSEC configuration."
+ "$ref": "ManagedZoneDnsSecConfig"
},
"forwardingConfig": {
- "$ref": "ManagedZoneForwardingConfig",
- "description": "The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to."
+ "$ref": "ManagedZoneForwardingConfig"
},
"id": {
- "description": "Unique identifier for the resource; defined by the server (output only)",
"format": "uint64",
"type": "string"
},
@@ -1275,34 +1163,30 @@
"additionalProperties": {
"type": "string"
},
- "description": "User labels.",
"type": "object"
},
"name": {
- "description": "User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.",
"type": "string"
},
"nameServerSet": {
- "description": "Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users will leave this field unset.",
"type": "string"
},
"nameServers": {
- "description": "Delegate your managed_zone to these virtual name servers; defined by the server (output only)",
"items": {
"type": "string"
},
"type": "array"
},
"peeringConfig": {
- "$ref": "ManagedZonePeeringConfig",
- "description": "The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with."
+ "$ref": "ManagedZonePeeringConfig"
},
"privateVisibilityConfig": {
- "$ref": "ManagedZonePrivateVisibilityConfig",
- "description": "For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from."
+ "$ref": "ManagedZonePrivateVisibilityConfig"
+ },
+ "reverseLookupConfig": {
+ "$ref": "ManagedZoneReverseLookupConfig"
},
"visibility": {
- "description": "The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.",
"enum": [
"private",
"public"
@@ -1320,7 +1204,6 @@
"id": "ManagedZoneDnsSecConfig",
"properties": {
"defaultKeySpecs": {
- "description": "Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.",
"items": {
"$ref": "DnsKeySpec"
},
@@ -1332,7 +1215,6 @@
"type": "string"
},
"nonExistence": {
- "description": "Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.",
"enum": [
"nsec",
"nsec3"
@@ -1344,7 +1226,6 @@
"type": "string"
},
"state": {
- "description": "Specifies whether DNSSEC is enabled, and what mode it is in.",
"enum": [
"off",
"on",
@@ -1369,7 +1250,6 @@
"type": "string"
},
"targetNameServers": {
- "description": "List of target name servers to forward to. Cloud DNS will select the best available name server if more than one target is given.",
"items": {
"$ref": "ManagedZoneForwardingConfigNameServerTarget"
},
@@ -1381,8 +1261,18 @@
"ManagedZoneForwardingConfigNameServerTarget": {
"id": "ManagedZoneForwardingConfigNameServerTarget",
"properties": {
+ "forwardingPath": {
+ "enum": [
+ "default",
+ "private"
+ ],
+ "enumDescriptions": [
+ "",
+ ""
+ ],
+ "type": "string"
+ },
"ipv4Address": {
- "description": "IPv4 address of a target name server.",
"type": "string"
},
"kind": {
@@ -1405,11 +1295,9 @@
"type": "string"
},
"nextPageToken": {
- "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your page token.\n\nIn this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned will be an inconsistent view of the collection. There is no way to retrieve a consistent snapshot of a collection larger than the maximum page size.",
"type": "string"
},
"operations": {
- "description": "The operation resources.",
"items": {
"$ref": "Operation"
},
@@ -1427,8 +1315,7 @@
"type": "string"
},
"targetNetwork": {
- "$ref": "ManagedZonePeeringConfigTargetNetwork",
- "description": "The network with which to peer."
+ "$ref": "ManagedZonePeeringConfigTargetNetwork"
}
},
"type": "object"
@@ -1437,7 +1324,6 @@
"id": "ManagedZonePeeringConfigTargetNetwork",
"properties": {
"deactivateTime": {
- "description": "The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only.",
"type": "string"
},
"kind": {
@@ -1446,7 +1332,6 @@
"type": "string"
},
"networkUrl": {
- "description": "The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}",
"type": "string"
}
},
@@ -1461,7 +1346,6 @@
"type": "string"
},
"networks": {
- "description": "The list of VPC networks that can see this zone.",
"items": {
"$ref": "ManagedZonePrivateVisibilityConfigNetwork"
},
@@ -1479,7 +1363,17 @@
"type": "string"
},
"networkUrl": {
- "description": "The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ManagedZoneReverseLookupConfig": {
+ "id": "ManagedZoneReverseLookupConfig",
+ "properties": {
+ "kind": {
+ "default": "dns#managedZoneReverseLookupConfig",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#managedZoneReverseLookupConfig\".",
"type": "string"
}
},
@@ -1497,29 +1391,24 @@
"type": "string"
},
"managedZones": {
- "description": "The managed zone resources.",
"items": {
"$ref": "ManagedZone"
},
"type": "array"
},
"nextPageToken": {
- "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your page token.\n\nIn this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned will be an inconsistent view of the collection. There is no way to retrieve a consistent snapshot of a collection larger than the maximum page size.",
"type": "string"
}
},
"type": "object"
},
"Operation": {
- "description": "An operation represents a successful mutation performed on a Cloud DNS resource. Operations provide: - An audit log of server resource mutations. - A way to recover/retry API calls in the case where the response is never received by the caller. Use the caller specified client_operation_id.",
"id": "Operation",
"properties": {
"dnsKeyContext": {
- "$ref": "OperationDnsKeyContext",
- "description": "Only populated if the operation targeted a DnsKey (output only)."
+ "$ref": "OperationDnsKeyContext"
},
"id": {
- "description": "Unique identifier for the resource. This is the client_operation_id if the client specified it when the mutation was initiated, otherwise, it is generated by the server. The name must be 1-63 characters long and match the regular expression [-a-z0-9]? (output only)",
"type": "string"
},
"kind": {
@@ -1528,11 +1417,9 @@
"type": "string"
},
"startTime": {
- "description": "The time that this operation was started by the server. This is in RFC3339 text format (output only).",
"type": "string"
},
"status": {
- "description": "Status of the operation. Can be one of the following: \"PENDING\" or \"DONE\" (output only). A status of \"DONE\" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.",
"enum": [
"done",
"pending"
@@ -1544,16 +1431,13 @@
"type": "string"
},
"type": {
- "description": "Type of the operation. Operations include insert, update, and delete (output only).",
"type": "string"
},
"user": {
- "description": "User who requested the operation, for example: user@example.com. cloud-dns-system for operations automatically done by the system. (output only)",
"type": "string"
},
"zoneContext": {
- "$ref": "OperationManagedZoneContext",
- "description": "Only populated if the operation targeted a ManagedZone (output only)."
+ "$ref": "OperationManagedZoneContext"
}
},
"type": "object"
@@ -1562,12 +1446,10 @@
"id": "OperationDnsKeyContext",
"properties": {
"newValue": {
- "$ref": "DnsKey",
- "description": "The post-operation DnsKey resource."
+ "$ref": "DnsKey"
},
"oldValue": {
- "$ref": "DnsKey",
- "description": "The pre-operation DnsKey resource."
+ "$ref": "DnsKey"
}
},
"type": "object"
@@ -1576,12 +1458,10 @@
"id": "OperationManagedZoneContext",
"properties": {
"newValue": {
- "$ref": "ManagedZone",
- "description": "The post-operation ManagedZone resource."
+ "$ref": "ManagedZone"
},
"oldValue": {
- "$ref": "ManagedZone",
- "description": "The pre-operation ManagedZone resource."
+ "$ref": "ManagedZone"
}
},
"type": "object"
@@ -1598,11 +1478,9 @@
"type": "string"
},
"nextPageToken": {
- "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your page token.\n\nIn this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned will be an inconsistent view of the collection. There is no way to retrieve a consistent snapshot of a collection larger than the maximum page size.",
"type": "string"
},
"policies": {
- "description": "The policy resources.",
"items": {
"$ref": "Policy"
},
@@ -1636,27 +1514,21 @@
"type": "object"
},
"Policy": {
- "description": "A policy is a collection of DNS rules applied to one or more Virtual Private Cloud resources.",
"id": "Policy",
"properties": {
"alternativeNameServerConfig": {
- "$ref": "PolicyAlternativeNameServerConfig",
- "description": "Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified."
+ "$ref": "PolicyAlternativeNameServerConfig"
},
"description": {
- "description": "A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the policy's function.",
"type": "string"
},
"enableInboundForwarding": {
- "description": "Allows networks bound to this policy to receive DNS queries sent by VMs or applications over VPN connections. When enabled, a virtual IP address will be allocated from each of the sub-networks that are bound to this policy.",
"type": "boolean"
},
"enableLogging": {
- "description": "Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set.",
"type": "boolean"
},
"id": {
- "description": "Unique identifier for the resource; defined by the server (output only).",
"format": "uint64",
"type": "string"
},
@@ -1666,11 +1538,9 @@
"type": "string"
},
"name": {
- "description": "User assigned name for this policy.",
"type": "string"
},
"networks": {
- "description": "List of network names specifying networks to which this policy is applied.",
"items": {
"$ref": "PolicyNetwork"
},
@@ -1688,7 +1558,6 @@
"type": "string"
},
"targetNameServers": {
- "description": "Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified.",
"items": {
"$ref": "PolicyAlternativeNameServerConfigTargetNameServer"
},
@@ -1700,8 +1569,18 @@
"PolicyAlternativeNameServerConfigTargetNameServer": {
"id": "PolicyAlternativeNameServerConfigTargetNameServer",
"properties": {
+ "forwardingPath": {
+ "enum": [
+ "default",
+ "private"
+ ],
+ "enumDescriptions": [
+ "",
+ ""
+ ],
+ "type": "string"
+ },
"ipv4Address": {
- "description": "IPv4 address to forward to.",
"type": "string"
},
"kind": {
@@ -1721,18 +1600,15 @@
"type": "string"
},
"networkUrl": {
- "description": "The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}",
"type": "string"
}
},
"type": "object"
},
"Project": {
- "description": "A project resource. The project is a top level container for resources including Cloud DNS ManagedZones. Projects can be created only in the APIs console.",
"id": "Project",
"properties": {
"id": {
- "description": "User assigned unique identifier for the resource (output only).",
"type": "string"
},
"kind": {
@@ -1741,23 +1617,19 @@
"type": "string"
},
"number": {
- "description": "Unique numeric identifier for the resource; defined by the server (output only).",
"format": "uint64",
"type": "string"
},
"quota": {
- "$ref": "Quota",
- "description": "Quotas assigned to this project (output only)."
+ "$ref": "Quota"
}
},
"type": "object"
},
"Quota": {
- "description": "Limits associated with a Project.",
"id": "Quota",
"properties": {
"dnsKeysPerManagedZone": {
- "description": "Maximum allowed number of DnsKeys per ManagedZone.",
"format": "int32",
"type": "integer"
},
@@ -1767,67 +1639,54 @@
"type": "string"
},
"managedZones": {
- "description": "Maximum allowed number of managed zones in the project.",
"format": "int32",
"type": "integer"
},
"managedZonesPerNetwork": {
- "description": "Maximum allowed number of managed zones which can be attached to a network.",
"format": "int32",
"type": "integer"
},
"networksPerManagedZone": {
- "description": "Maximum allowed number of networks to which a privately scoped zone can be attached.",
"format": "int32",
"type": "integer"
},
"networksPerPolicy": {
- "description": "Maximum allowed number of networks per policy.",
"format": "int32",
"type": "integer"
},
"policies": {
- "description": "Maximum allowed number of policies per project.",
"format": "int32",
"type": "integer"
},
"resourceRecordsPerRrset": {
- "description": "Maximum allowed number of ResourceRecords per ResourceRecordSet.",
"format": "int32",
"type": "integer"
},
"rrsetAdditionsPerChange": {
- "description": "Maximum allowed number of ResourceRecordSets to add per ChangesCreateRequest.",
"format": "int32",
"type": "integer"
},
"rrsetDeletionsPerChange": {
- "description": "Maximum allowed number of ResourceRecordSets to delete per ChangesCreateRequest.",
"format": "int32",
"type": "integer"
},
"rrsetsPerManagedZone": {
- "description": "Maximum allowed number of ResourceRecordSets per zone in the project.",
"format": "int32",
"type": "integer"
},
"targetNameServersPerManagedZone": {
- "description": "Maximum allowed number of target name servers per managed forwarding zone.",
"format": "int32",
"type": "integer"
},
"targetNameServersPerPolicy": {
- "description": "Maximum allowed number of alternative target name servers per policy.",
"format": "int32",
"type": "integer"
},
"totalRrdataSizePerChange": {
- "description": "Maximum allowed size for total rrdata in one ChangesCreateRequest in bytes.",
"format": "int32",
"type": "integer"
},
"whitelistedKeySpecs": {
- "description": "DNSSEC algorithm and key length types that can be used for DnsKeys.",
"items": {
"$ref": "DnsKeySpec"
},
@@ -1837,7 +1696,6 @@
"type": "object"
},
"ResourceRecordSet": {
- "description": "A unit of data that will be returned by the DNS servers.",
"id": "ResourceRecordSet",
"properties": {
"kind": {
@@ -1846,30 +1704,25 @@
"type": "string"
},
"name": {
- "description": "For example, www.example.com.",
"type": "string"
},
"rrdatas": {
- "description": "As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.",
"items": {
"type": "string"
},
"type": "array"
},
"signatureRrdatas": {
- "description": "As defined in RFC 4034 (section 3.2).",
"items": {
"type": "string"
},
"type": "array"
},
"ttl": {
- "description": "Number of seconds that this ResourceRecordSet can be cached by resolvers.",
"format": "int32",
"type": "integer"
},
"type": {
- "description": "The identifier of a supported record type. See the list of Supported DNS record types.",
"type": "string"
}
},
@@ -1887,11 +1740,9 @@
"type": "string"
},
"nextPageToken": {
- "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination token.\n\nIn this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned will be an inconsistent view of the collection. There is no way to retrieve a consistent snapshot of a collection larger than the maximum page size.",
"type": "string"
},
"rrsets": {
- "description": "The resource record set resources.",
"items": {
"$ref": "ResourceRecordSet"
},
@@ -1901,11 +1752,9 @@
"type": "object"
},
"ResponseHeader": {
- "description": "Elements common to every response.",
"id": "ResponseHeader",
"properties": {
"operationId": {
- "description": "For mutating operation requests that completed successfully. This is the client_operation_id if the client specified it, otherwise it is generated by the server (output only).",
"type": "string"
}
},
diff --git a/etc/api/dns/v1beta2/dns-api.json b/etc/api/dns/v1beta2/dns-api.json
index 2299b8e4cb..1046fe83cc 100644
--- a/etc/api/dns/v1beta2/dns-api.json
+++ b/etc/api/dns/v1beta2/dns-api.json
@@ -17,35 +17,64 @@
}
}
},
- "basePath": "/dns/v1beta2/projects/",
- "baseUrl": "https://dns.googleapis.com/dns/v1beta2/projects/",
- "batchPath": "batch/dns/v1beta2",
- "description": "Configures and serves authoritative DNS records.",
+ "basePath": "",
+ "baseUrl": "https://dns.googleapis.com/",
+ "batchPath": "batch",
+ "canonicalName": "Dns",
+ "description": "",
"discoveryVersion": "v1",
- "documentationLink": "https://developers.google.com/cloud-dns",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/BT2KAg5ncg8uv7pxbJOLZo5zBdk\"",
+ "documentationLink": "http://developers.google.com/cloud-dns",
+ "fullyEncodeReservedExpansion": true,
"icons": {
- "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
- "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"id": "dns:v1beta2",
"kind": "discovery#restDescription",
+ "mtlsRootUrl": "https://dns.mtls.googleapis.com/",
"name": "dns",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "alt": {
- "default": "json",
- "description": "Data format for the response.",
+ "$.xgafv": {
+ "description": "V1 error format.",
"enum": [
- "json"
+ "1",
+ "2"
],
"enumDescriptions": [
- "Responses with Content-Type of application/json"
+ "v1 error format",
+ "v2 error format"
],
"location": "query",
"type": "string"
},
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "alt": {
+ "default": "json",
+ "description": "Data format for response.",
+ "enum": [
+ "json",
+ "media",
+ "proto"
+ ],
+ "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",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
@@ -68,12 +97,17 @@
"type": "boolean"
},
"quotaUser": {
- "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
+ "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",
"type": "string"
},
- "userIp": {
- "description": "Deprecated. Please use quotaUser instead.",
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
}
@@ -84,6 +118,7 @@
"methods": {
"create": {
"description": "Atomically update the ResourceRecordSet collection.",
+ "flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/changes",
"httpMethod": "POST",
"id": "dns.changes.create",
"parameterOrder": [
@@ -92,12 +127,12 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
+ "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.",
"location": "query",
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
+ "description": "Identifies the managed zone addressed by this request. Can be the managed\nzone name or id.",
"location": "path",
"required": true,
"type": "string"
@@ -109,7 +144,7 @@
"type": "string"
}
},
- "path": "{project}/managedZones/{managedZone}/changes",
+ "path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/changes",
"request": {
"$ref": "Change"
},
@@ -123,6 +158,7 @@
},
"get": {
"description": "Fetch the representation of an existing Change.",
+ "flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/changes/{changeId}",
"httpMethod": "GET",
"id": "dns.changes.get",
"parameterOrder": [
@@ -132,18 +168,18 @@
],
"parameters": {
"changeId": {
- "description": "The identifier of the requested change, from a previous ResourceRecordSetsChangeResponse.",
+ "description": "The identifier of the requested change, from a previous\nResourceRecordSetsChangeResponse.",
"location": "path",
"required": true,
"type": "string"
},
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
+ "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.",
"location": "query",
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
+ "description": "Identifies the managed zone addressed by this request. Can be the managed\nzone name or id.",
"location": "path",
"required": true,
"type": "string"
@@ -155,7 +191,7 @@
"type": "string"
}
},
- "path": "{project}/managedZones/{managedZone}/changes/{changeId}",
+ "path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/changes/{changeId}",
"response": {
"$ref": "Change"
},
@@ -168,6 +204,7 @@
},
"list": {
"description": "Enumerate Changes to a ResourceRecordSet collection.",
+ "flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/changes",
"httpMethod": "GET",
"id": "dns.changes.list",
"parameterOrder": [
@@ -176,19 +213,19 @@
],
"parameters": {
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
+ "description": "Identifies the managed zone addressed by this request. Can be the managed\nzone name or id.",
"location": "path",
"required": true,
"type": "string"
},
"maxResults": {
- "description": "Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return.",
+ "description": "Optional. Maximum number of results to be returned. If unspecified, the\nserver will decide how many results to return.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.",
+ "description": "Optional. A tag returned by a previous list request that was truncated.\nUse this parameter to continue a previous list request.",
"location": "query",
"type": "string"
},
@@ -204,9 +241,6 @@
"enum": [
"changeSequence"
],
- "enumDescriptions": [
- ""
- ],
"location": "query",
"type": "string"
},
@@ -216,7 +250,7 @@
"type": "string"
}
},
- "path": "{project}/managedZones/{managedZone}/changes",
+ "path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/changes",
"response": {
"$ref": "ChangesListResponse"
},
@@ -233,6 +267,7 @@
"methods": {
"get": {
"description": "Fetch the representation of an existing DnsKey.",
+ "flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}",
"httpMethod": "GET",
"id": "dns.dnsKeys.get",
"parameterOrder": [
@@ -242,12 +277,12 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
+ "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.",
"location": "query",
"type": "string"
},
"digestType": {
- "description": "An optional comma-separated list of digest types to compute and display for key signing keys. If omitted, the recommended digest type will be computed and displayed.",
+ "description": "An optional comma-separated list of digest types to compute and display\nfor key signing keys. If omitted, the recommended digest type will be\ncomputed and displayed.",
"location": "query",
"type": "string"
},
@@ -258,7 +293,7 @@
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
+ "description": "Identifies the managed zone addressed by this request. Can be the managed\nzone name or id.",
"location": "path",
"required": true,
"type": "string"
@@ -270,7 +305,7 @@
"type": "string"
}
},
- "path": "{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}",
+ "path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}",
"response": {
"$ref": "DnsKey"
},
@@ -283,6 +318,7 @@
},
"list": {
"description": "Enumerate DnsKeys to a ResourceRecordSet collection.",
+ "flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/dnsKeys",
"httpMethod": "GET",
"id": "dns.dnsKeys.list",
"parameterOrder": [
@@ -291,24 +327,24 @@
],
"parameters": {
"digestType": {
- "description": "An optional comma-separated list of digest types to compute and display for key signing keys. If omitted, the recommended digest type will be computed and displayed.",
+ "description": "An optional comma-separated list of digest types to compute and display\nfor key signing keys. If omitted, the recommended digest type will be\ncomputed and displayed.",
"location": "query",
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
+ "description": "Identifies the managed zone addressed by this request. Can be the managed\nzone name or id.",
"location": "path",
"required": true,
"type": "string"
},
"maxResults": {
- "description": "Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return.",
+ "description": "Optional. Maximum number of results to be returned. If unspecified, the\nserver will decide how many results to return.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.",
+ "description": "Optional. A tag returned by a previous list request that was truncated.\nUse this parameter to continue a previous list request.",
"location": "query",
"type": "string"
},
@@ -319,7 +355,7 @@
"type": "string"
}
},
- "path": "{project}/managedZones/{managedZone}/dnsKeys",
+ "path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/dnsKeys",
"response": {
"$ref": "DnsKeysListResponse"
},
@@ -336,6 +372,7 @@
"methods": {
"get": {
"description": "Fetch the representation of an existing Operation.",
+ "flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/operations/{operation}",
"httpMethod": "GET",
"id": "dns.managedZoneOperations.get",
"parameterOrder": [
@@ -345,7 +382,7 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
+ "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.",
"location": "query",
"type": "string"
},
@@ -368,7 +405,7 @@
"type": "string"
}
},
- "path": "{project}/managedZones/{managedZone}/operations/{operation}",
+ "path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/operations/{operation}",
"response": {
"$ref": "Operation"
},
@@ -381,6 +418,7 @@
},
"list": {
"description": "Enumerate Operations for the given ManagedZone.",
+ "flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/operations",
"httpMethod": "GET",
"id": "dns.managedZoneOperations.list",
"parameterOrder": [
@@ -395,13 +433,13 @@
"type": "string"
},
"maxResults": {
- "description": "Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return.",
+ "description": "Optional. Maximum number of results to be returned. If unspecified, the\nserver will decide how many results to return.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.",
+ "description": "Optional. A tag returned by a previous list request that was truncated.\nUse this parameter to continue a previous list request.",
"location": "query",
"type": "string"
},
@@ -415,18 +453,14 @@
"default": "startTime",
"description": "Sorting criterion. The only supported values are START_TIME and ID.",
"enum": [
- "id",
- "startTime"
- ],
- "enumDescriptions": [
- "",
- ""
+ "startTime",
+ "id"
],
"location": "query",
"type": "string"
}
},
- "path": "{project}/managedZones/{managedZone}/operations",
+ "path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/operations",
"response": {
"$ref": "ManagedZoneOperationsListResponse"
},
@@ -443,6 +477,7 @@
"methods": {
"create": {
"description": "Create a new ManagedZone.",
+ "flatPath": "dns/v1beta2/projects/{project}/managedZones",
"httpMethod": "POST",
"id": "dns.managedZones.create",
"parameterOrder": [
@@ -450,7 +485,7 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
+ "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.",
"location": "query",
"type": "string"
},
@@ -461,7 +496,7 @@
"type": "string"
}
},
- "path": "{project}/managedZones",
+ "path": "dns/v1beta2/projects/{project}/managedZones",
"request": {
"$ref": "ManagedZone"
},
@@ -475,6 +510,7 @@
},
"delete": {
"description": "Delete a previously created ManagedZone.",
+ "flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}",
"httpMethod": "DELETE",
"id": "dns.managedZones.delete",
"parameterOrder": [
@@ -483,12 +519,12 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
+ "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.",
"location": "query",
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
+ "description": "Identifies the managed zone addressed by this request. Can be the managed\nzone name or id.",
"location": "path",
"required": true,
"type": "string"
@@ -500,7 +536,7 @@
"type": "string"
}
},
- "path": "{project}/managedZones/{managedZone}",
+ "path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/ndev.clouddns.readwrite"
@@ -508,6 +544,7 @@
},
"get": {
"description": "Fetch the representation of an existing ManagedZone.",
+ "flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}",
"httpMethod": "GET",
"id": "dns.managedZones.get",
"parameterOrder": [
@@ -516,12 +553,12 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
+ "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.",
"location": "query",
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
+ "description": "Identifies the managed zone addressed by this request. Can be the managed\nzone name or id.",
"location": "path",
"required": true,
"type": "string"
@@ -533,7 +570,7 @@
"type": "string"
}
},
- "path": "{project}/managedZones/{managedZone}",
+ "path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}",
"response": {
"$ref": "ManagedZone"
},
@@ -546,6 +583,7 @@
},
"list": {
"description": "Enumerate ManagedZones that have been created but not yet deleted.",
+ "flatPath": "dns/v1beta2/projects/{project}/managedZones",
"httpMethod": "GET",
"id": "dns.managedZones.list",
"parameterOrder": [
@@ -558,13 +596,13 @@
"type": "string"
},
"maxResults": {
- "description": "Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return.",
+ "description": "Optional. Maximum number of results to be returned. If unspecified, the\nserver will decide how many results to return.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.",
+ "description": "Optional. A tag returned by a previous list request that was truncated.\nUse this parameter to continue a previous list request.",
"location": "query",
"type": "string"
},
@@ -575,7 +613,7 @@
"type": "string"
}
},
- "path": "{project}/managedZones",
+ "path": "dns/v1beta2/projects/{project}/managedZones",
"response": {
"$ref": "ManagedZonesListResponse"
},
@@ -588,6 +626,7 @@
},
"patch": {
"description": "Apply a partial update to an existing ManagedZone.",
+ "flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}",
"httpMethod": "PATCH",
"id": "dns.managedZones.patch",
"parameterOrder": [
@@ -596,12 +635,12 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
+ "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.",
"location": "query",
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
+ "description": "Identifies the managed zone addressed by this request. Can be the managed\nzone name or id.",
"location": "path",
"required": true,
"type": "string"
@@ -613,7 +652,7 @@
"type": "string"
}
},
- "path": "{project}/managedZones/{managedZone}",
+ "path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}",
"request": {
"$ref": "ManagedZone"
},
@@ -627,6 +666,7 @@
},
"update": {
"description": "Update an existing ManagedZone.",
+ "flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}",
"httpMethod": "PUT",
"id": "dns.managedZones.update",
"parameterOrder": [
@@ -635,12 +675,12 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
+ "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.",
"location": "query",
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
+ "description": "Identifies the managed zone addressed by this request. Can be the managed\nzone name or id.",
"location": "path",
"required": true,
"type": "string"
@@ -652,7 +692,7 @@
"type": "string"
}
},
- "path": "{project}/managedZones/{managedZone}",
+ "path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}",
"request": {
"$ref": "ManagedZone"
},
@@ -670,6 +710,7 @@
"methods": {
"create": {
"description": "Create a new Policy",
+ "flatPath": "dns/v1beta2/projects/{project}/policies",
"httpMethod": "POST",
"id": "dns.policies.create",
"parameterOrder": [
@@ -677,7 +718,7 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
+ "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.",
"location": "query",
"type": "string"
},
@@ -688,7 +729,7 @@
"type": "string"
}
},
- "path": "{project}/policies",
+ "path": "dns/v1beta2/projects/{project}/policies",
"request": {
"$ref": "Policy"
},
@@ -701,7 +742,8 @@
]
},
"delete": {
- "description": "Delete a previously created Policy. Will fail if the policy is still being referenced by a network.",
+ "description": "Delete a previously created Policy. Will fail if the policy is still being\nreferenced by a network.",
+ "flatPath": "dns/v1beta2/projects/{project}/policies/{policy}",
"httpMethod": "DELETE",
"id": "dns.policies.delete",
"parameterOrder": [
@@ -710,7 +752,7 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
+ "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.",
"location": "query",
"type": "string"
},
@@ -727,7 +769,7 @@
"type": "string"
}
},
- "path": "{project}/policies/{policy}",
+ "path": "dns/v1beta2/projects/{project}/policies/{policy}",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/ndev.clouddns.readwrite"
@@ -735,6 +777,7 @@
},
"get": {
"description": "Fetch the representation of an existing Policy.",
+ "flatPath": "dns/v1beta2/projects/{project}/policies/{policy}",
"httpMethod": "GET",
"id": "dns.policies.get",
"parameterOrder": [
@@ -743,7 +786,7 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
+ "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.",
"location": "query",
"type": "string"
},
@@ -760,7 +803,7 @@
"type": "string"
}
},
- "path": "{project}/policies/{policy}",
+ "path": "dns/v1beta2/projects/{project}/policies/{policy}",
"response": {
"$ref": "Policy"
},
@@ -773,6 +816,7 @@
},
"list": {
"description": "Enumerate all Policies associated with a project.",
+ "flatPath": "dns/v1beta2/projects/{project}/policies",
"httpMethod": "GET",
"id": "dns.policies.list",
"parameterOrder": [
@@ -780,13 +824,13 @@
],
"parameters": {
"maxResults": {
- "description": "Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return.",
+ "description": "Optional. Maximum number of results to be returned. If unspecified, the\nserver will decide how many results to return.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.",
+ "description": "Optional. A tag returned by a previous list request that was truncated.\nUse this parameter to continue a previous list request.",
"location": "query",
"type": "string"
},
@@ -797,7 +841,7 @@
"type": "string"
}
},
- "path": "{project}/policies",
+ "path": "dns/v1beta2/projects/{project}/policies",
"response": {
"$ref": "PoliciesListResponse"
},
@@ -810,6 +854,7 @@
},
"patch": {
"description": "Apply a partial update to an existing Policy.",
+ "flatPath": "dns/v1beta2/projects/{project}/policies/{policy}",
"httpMethod": "PATCH",
"id": "dns.policies.patch",
"parameterOrder": [
@@ -818,7 +863,7 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
+ "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.",
"location": "query",
"type": "string"
},
@@ -835,7 +880,7 @@
"type": "string"
}
},
- "path": "{project}/policies/{policy}",
+ "path": "dns/v1beta2/projects/{project}/policies/{policy}",
"request": {
"$ref": "Policy"
},
@@ -849,6 +894,7 @@
},
"update": {
"description": "Update an existing Policy.",
+ "flatPath": "dns/v1beta2/projects/{project}/policies/{policy}",
"httpMethod": "PUT",
"id": "dns.policies.update",
"parameterOrder": [
@@ -857,7 +903,7 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
+ "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.",
"location": "query",
"type": "string"
},
@@ -874,7 +920,7 @@
"type": "string"
}
},
- "path": "{project}/policies/{policy}",
+ "path": "dns/v1beta2/projects/{project}/policies/{policy}",
"request": {
"$ref": "Policy"
},
@@ -892,6 +938,7 @@
"methods": {
"get": {
"description": "Fetch the representation of an existing Project.",
+ "flatPath": "dns/v1beta2/projects/{project}",
"httpMethod": "GET",
"id": "dns.projects.get",
"parameterOrder": [
@@ -899,7 +946,7 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
+ "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.",
"location": "query",
"type": "string"
},
@@ -910,7 +957,7 @@
"type": "string"
}
},
- "path": "{project}",
+ "path": "dns/v1beta2/projects/{project}",
"response": {
"$ref": "Project"
},
@@ -927,6 +974,7 @@
"methods": {
"list": {
"description": "Enumerate ResourceRecordSets that have been created but not yet deleted.",
+ "flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets",
"httpMethod": "GET",
"id": "dns.resourceRecordSets.list",
"parameterOrder": [
@@ -935,24 +983,24 @@
],
"parameters": {
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
+ "description": "Identifies the managed zone addressed by this request. Can be the managed\nzone name or id.",
"location": "path",
"required": true,
"type": "string"
},
"maxResults": {
- "description": "Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return.",
+ "description": "Optional. Maximum number of results to be returned. If unspecified, the\nserver will decide how many results to return.",
"format": "int32",
"location": "query",
"type": "integer"
},
"name": {
- "description": "Restricts the list to return only records with this fully qualified domain name.",
+ "description": "Restricts the list to return only records with this fully qualified domain\nname.",
"location": "query",
"type": "string"
},
"pageToken": {
- "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.",
+ "description": "Optional. A tag returned by a previous list request that was truncated.\nUse this parameter to continue a previous list request.",
"location": "query",
"type": "string"
},
@@ -963,12 +1011,12 @@
"type": "string"
},
"type": {
- "description": "Restricts the list to return only records of this type. If present, the \"name\" parameter must also be present.",
+ "description": "Restricts the list to return only records of this type. If present, the\n\"name\" parameter must also be present.",
"location": "query",
"type": "string"
}
},
- "path": "{project}/managedZones/{managedZone}/rrsets",
+ "path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets",
"response": {
"$ref": "ResourceRecordSetsListResponse"
},
@@ -982,11 +1030,11 @@
}
}
},
- "revision": "20191205",
+ "revision": "20200701",
"rootUrl": "https://dns.googleapis.com/",
"schemas": {
"Change": {
- "description": "A Change represents a set of ResourceRecordSet additions and deletions applied atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are modified by creating a new Change element in the Changes collection. In turn the Changes collection also records the past modifications to the ResourceRecordSets in a ManagedZone. The current state of the ManagedZone is the sum effect of applying all Change elements in the Changes collection in sequence.",
+ "description": "A Change represents a set of ResourceRecordSet additions and deletions\napplied atomically to a ManagedZone. ResourceRecordSets within a\nManagedZone are modified by creating a new Change element in the Changes\ncollection. In turn the Changes collection also records the past\nmodifications to the ResourceRecordSets in a ManagedZone. The current\nstate of the ManagedZone is the sum effect of applying all Change\nelements in the Changes collection in sequence.",
"id": "Change",
"properties": {
"additions": {
@@ -1013,18 +1061,17 @@
},
"kind": {
"default": "dns#change",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#change\".",
"type": "string"
},
"startTime": {
- "description": "The time that this operation was started by the server (output only). This is in RFC3339 text format.",
+ "description": "The time that this operation was started by the server (output only). This\nis in RFC3339 text format.",
"type": "string"
},
"status": {
- "description": "Status of the operation (output only). A status of \"done\" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.",
+ "description": "Status of the operation (output only). A status of \"done\" means that the\nrequest to update the authoritative servers has been sent, but the\nservers might not be updated yet.",
"enum": [
- "done",
- "pending"
+ "pending",
+ "done"
],
"enumDescriptions": [
"",
@@ -1036,7 +1083,7 @@
"type": "object"
},
"ChangesListResponse": {
- "description": "The response to a request to enumerate Changes to a ResourceRecordSets collection.",
+ "description": "The response to a request to enumerate Changes to a ResourceRecordSets\ncollection.",
"id": "ChangesListResponse",
"properties": {
"changes": {
@@ -1055,7 +1102,7 @@
"type": "string"
},
"nextPageToken": {
- "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination token.\n\nIn this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned will be an inconsistent view of the collection. There is no way to retrieve a \"snapshot\" of collections larger than the maximum page size.",
+ "description": "The presence of this field indicates that there exist more results\nfollowing your last page of results in pagination order. To fetch them,\nmake another list request using this value as your pagination token.\n\nIn this way you can retrieve the complete contents of even very large\ncollections one page at a time. However, if the contents of the collection\nchange between the first and last paginated list request, the set of all\nelements returned will be an inconsistent view of the collection. There is\nno way to retrieve a \"snapshot\" of collections larger than the maximum\npage size.",
"type": "string"
}
},
@@ -1066,13 +1113,13 @@
"id": "DnsKey",
"properties": {
"algorithm": {
- "description": "String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.",
+ "description": "String mnemonic specifying the DNSSEC algorithm of this key. Immutable\nafter creation time.",
"enum": [
- "ecdsap256sha256",
- "ecdsap384sha384",
"rsasha1",
"rsasha256",
- "rsasha512"
+ "rsasha512",
+ "ecdsap256sha256",
+ "ecdsap384sha384"
],
"enumDescriptions": [
"",
@@ -1084,15 +1131,15 @@
"type": "string"
},
"creationTime": {
- "description": "The time that this resource was created in the control plane. This is in RFC3339 text format. Output only.",
+ "description": "The time that this resource was created in the control plane. This is in\nRFC3339 text format. Output only.",
"type": "string"
},
"description": {
- "description": "A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the resource's function.",
+ "description": "A mutable string of at most 1024 characters associated with this resource\nfor the user's convenience. Has no effect on the resource's function.",
"type": "string"
},
"digests": {
- "description": "Cryptographic hashes of the DNSKEY resource record associated with this DnsKey. These digests are needed to construct a DS record that points at this DNS key. Output only.",
+ "description": "Cryptographic hashes of the DNSKEY resource record associated with this\nDnsKey. These digests are needed to construct a DS record that points at\nthis DNS key. Output only.",
"items": {
"$ref": "DnsKeyDigest"
},
@@ -1103,7 +1150,7 @@
"type": "string"
},
"isActive": {
- "description": "Active keys will be used to sign subsequent changes to the ManagedZone. Inactive keys will still be present as DNSKEY Resource Records for the use of resolvers validating existing signatures.",
+ "description": "Active keys will be used to sign subsequent changes to the ManagedZone.\nInactive keys will still be present as DNSKEY Resource Records for the use\nof resolvers validating existing signatures.",
"type": "boolean"
},
"keyLength": {
@@ -1112,13 +1159,12 @@
"type": "integer"
},
"keyTag": {
- "description": "The key tag is a non-cryptographic hash of the a DNSKEY resource record associated with this DnsKey. The key tag can be used to identify a DNSKEY more quickly (but it is not a unique identifier). In particular, the key tag is used in a parent zone's DS record to point at the DNSKEY in this child ManagedZone. The key tag is a number in the range [0, 65535] and the algorithm to calculate it is specified in RFC4034 Appendix B. Output only.",
+ "description": "The key tag is a non-cryptographic hash of the a DNSKEY resource record\nassociated with this DnsKey. The key tag can be used to identify a DNSKEY\nmore quickly (but it is not a unique identifier). In particular, the key\ntag is used in a parent zone's DS record to point at the DNSKEY in this\nchild ManagedZone. The key tag is a number in the range [0, 65535] and the\nalgorithm to calculate it is specified in RFC4034 Appendix B. Output only.",
"format": "int32",
"type": "integer"
},
"kind": {
"default": "dns#dnsKey",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#dnsKey\".",
"type": "string"
},
"publicKey": {
@@ -1126,7 +1172,7 @@
"type": "string"
},
"type": {
- "description": "One of \"KEY_SIGNING\" or \"ZONE_SIGNING\". Keys of type KEY_SIGNING have the Secure Entry Point flag set and, when active, will be used to sign only resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag will be cleared and this key will be used to sign only resource record sets of other types. Immutable after creation time.",
+ "description": "One of \"KEY_SIGNING\" or \"ZONE_SIGNING\". Keys of type KEY_SIGNING have the\nSecure Entry Point flag set and, when active, will be used to sign only\nresource record sets of type DNSKEY. Otherwise, the Secure Entry Point\nflag will be cleared and this key will be used to sign only resource\nrecord sets of other types. Immutable after creation time.",
"enum": [
"keySigning",
"zoneSigning"
@@ -1144,7 +1190,7 @@
"id": "DnsKeyDigest",
"properties": {
"digest": {
- "description": "The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.",
+ "description": "The base-16 encoded bytes of this digest. Suitable for use in a DS\nresource record.",
"type": "string"
},
"type": {
@@ -1165,17 +1211,17 @@
"type": "object"
},
"DnsKeySpec": {
- "description": "Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.",
+ "description": "Parameters for DnsKey key generation. Used for generating initial keys\nfor a new ManagedZone and as default when adding a new DnsKey.",
"id": "DnsKeySpec",
"properties": {
"algorithm": {
"description": "String mnemonic specifying the DNSSEC algorithm of this key.",
"enum": [
- "ecdsap256sha256",
- "ecdsap384sha384",
"rsasha1",
"rsasha256",
- "rsasha512"
+ "rsasha512",
+ "ecdsap256sha256",
+ "ecdsap384sha384"
],
"enumDescriptions": [
"",
@@ -1192,7 +1238,7 @@
"type": "integer"
},
"keyType": {
- "description": "Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, will only be used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and will be used to sign all other types of resource record sets.",
+ "description": "Specifies whether this is a key signing key (KSK) or a zone signing key\n(ZSK). Key signing keys have the Secure Entry Point flag set and, when\nactive, will only be used to sign resource record sets of type DNSKEY.\nZone signing keys do not have the Secure Entry Point flag set and will be\nused to sign all other types of resource record sets.",
"enum": [
"keySigning",
"zoneSigning"
@@ -1205,7 +1251,6 @@
},
"kind": {
"default": "dns#dnsKeySpec",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#dnsKeySpec\".",
"type": "string"
}
},
@@ -1231,22 +1276,22 @@
"type": "string"
},
"nextPageToken": {
- "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination token.\n\nIn this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned will be an inconsistent view of the collection. There is no way to retrieve a \"snapshot\" of collections larger than the maximum page size.",
+ "description": "The presence of this field indicates that there exist more results\nfollowing your last page of results in pagination order. To fetch them,\nmake another list request using this value as your pagination token.\n\nIn this way you can retrieve the complete contents of even very large\ncollections one page at a time. However, if the contents of the collection\nchange between the first and last paginated list request, the set of all\nelements returned will be an inconsistent view of the collection. There is\nno way to retrieve a \"snapshot\" of collections larger than the maximum\npage size.",
"type": "string"
}
},
"type": "object"
},
"ManagedZone": {
- "description": "A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service.",
+ "description": "A zone is a subtree of the DNS namespace under one administrative\nresponsibility. A ManagedZone is a resource that represents a DNS zone\nhosted by the Cloud DNS service.",
"id": "ManagedZone",
"properties": {
"creationTime": {
- "description": "The time that this resource was created on the server. This is in RFC3339 text format. Output only.",
+ "description": "The time that this resource was created on the server. This is in RFC3339\ntext format. Output only.",
"type": "string"
},
"description": {
- "description": "A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the managed zone's function.",
+ "description": "A mutable string of at most 1024 characters associated with this resource\nfor the user's convenience. Has no effect on the managed zone's function.",
"type": "string"
},
"dnsName": {
@@ -1259,7 +1304,7 @@
},
"forwardingConfig": {
"$ref": "ManagedZoneForwardingConfig",
- "description": "The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to."
+ "description": "The presence for this field indicates that outbound forwarding is enabled\nfor this zone. The value of this field contains the set of destinations\nto forward to."
},
"id": {
"description": "Unique identifier for the resource; defined by the server (output only)",
@@ -1268,7 +1313,6 @@
},
"kind": {
"default": "dns#managedZone",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#managedZone\".",
"type": "string"
},
"labels": {
@@ -1279,15 +1323,15 @@
"type": "object"
},
"name": {
- "description": "User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.",
+ "description": "User assigned name for this resource. Must be unique within the project.\nThe name must be 1-63 characters long, must begin with a letter, end with\na letter or digit, and only contain lowercase letters, digits or dashes.",
"type": "string"
},
"nameServerSet": {
- "description": "Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users will leave this field unset.",
+ "description": "Optionally specifies the NameServerSet for this ManagedZone. A\nNameServerSet is a set of DNS name servers that all host the same\nManagedZones. Most users will leave this field unset.",
"type": "string"
},
"nameServers": {
- "description": "Delegate your managed_zone to these virtual name servers; defined by the server (output only)",
+ "description": "Delegate your managed_zone to these virtual name servers; defined by the\nserver (output only)",
"items": {
"type": "string"
},
@@ -1295,21 +1339,25 @@
},
"peeringConfig": {
"$ref": "ManagedZonePeeringConfig",
- "description": "The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with."
+ "description": "The presence of this field indicates that DNS Peering is enabled for this\nzone. The value of this field contains the network to peer with."
},
"privateVisibilityConfig": {
"$ref": "ManagedZonePrivateVisibilityConfig",
- "description": "For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from."
+ "description": "For privately visible zones, the set of Virtual Private Cloud resources\nthat the zone is visible from."
},
"reverseLookupConfig": {
"$ref": "ManagedZoneReverseLookupConfig",
- "description": "The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS will resolve reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config."
+ "description": "The presence of this field indicates that this is a managed reverse\nlookup zone and Cloud DNS will resolve reverse lookup queries using\nautomatically configured records for VPC resources. This only applies\nto networks listed under private_visibility_config."
+ },
+ "serviceDirectoryConfig": {
+ "$ref": "ManagedZoneServiceDirectoryConfig",
+ "description": "This field links to the associated service directory namespace. This field\nshould not be set for public zones or forwarding zones."
},
"visibility": {
- "description": "The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.",
+ "description": "The zone's visibility: public zones are exposed to the Internet, while\nprivate zones are visible only to Virtual Private Cloud resources.",
"enum": [
- "private",
- "public"
+ "public",
+ "private"
],
"enumDescriptions": [
"",
@@ -1324,7 +1372,7 @@
"id": "ManagedZoneDnsSecConfig",
"properties": {
"defaultKeySpecs": {
- "description": "Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.",
+ "description": "Specifies parameters for generating initial DnsKeys for this\nManagedZone. Can only be changed while the state is OFF.",
"items": {
"$ref": "DnsKeySpec"
},
@@ -1332,11 +1380,10 @@
},
"kind": {
"default": "dns#managedZoneDnsSecConfig",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#managedZoneDnsSecConfig\".",
"type": "string"
},
"nonExistence": {
- "description": "Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.",
+ "description": "Specifies the mechanism for authenticated denial-of-existence responses.\nCan only be changed while the state is OFF.",
"enum": [
"nsec",
"nsec3"
@@ -1355,9 +1402,9 @@
"transfer"
],
"enumDescriptions": [
- "",
- "",
- ""
+ "DNSSEC is disabled; the zone is not signed.",
+ "DNSSEC is enabled; the zone is signed and fully managed.",
+ "DNSSEC is enabled, but in a \"transfer\" mode."
],
"type": "string"
}
@@ -1369,11 +1416,10 @@
"properties": {
"kind": {
"default": "dns#managedZoneForwardingConfig",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#managedZoneForwardingConfig\".",
"type": "string"
},
"targetNameServers": {
- "description": "List of target name servers to forward to. Cloud DNS will select the best available name server if more than one target is given.",
+ "description": "List of target name servers to forward to.\nCloud DNS will select the best available name server if more than one\ntarget is given.",
"items": {
"$ref": "ManagedZoneForwardingConfigNameServerTarget"
},
@@ -1386,14 +1432,14 @@
"id": "ManagedZoneForwardingConfigNameServerTarget",
"properties": {
"forwardingPath": {
- "description": "Forwarding path for this NameServerTarget, if unset or set to DEFAULT, Cloud DNS will make forwarding decision based on address ranges, i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the Internet. When set to PRIVATE, Cloud DNS will always send queries through VPC for this target",
+ "description": "Forwarding path for this NameServerTarget, if unset or set to DEFAULT,\nCloud DNS will make forwarding decision based on address ranges,\ni.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the\nInternet. When set to PRIVATE, Cloud DNS will always send queries\nthrough VPC for this target",
"enum": [
"default",
"private"
],
"enumDescriptions": [
- "",
- ""
+ "Cloud DNS will make forwarding decision based on address ranges,\ni.e. RFC1918 addresses forward to the target through the VPC and\nNon-RFC1918 addresses will forward to the target through the\nInternet",
+ "Cloud DNS will always forward to this target through the VPC."
],
"type": "string"
},
@@ -1403,7 +1449,6 @@
},
"kind": {
"default": "dns#managedZoneForwardingConfigNameServerTarget",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#managedZoneForwardingConfigNameServerTarget\".",
"type": "string"
}
},
@@ -1417,11 +1462,10 @@
},
"kind": {
"default": "dns#managedZoneOperationsListResponse",
- "description": "Type of resource.",
"type": "string"
},
"nextPageToken": {
- "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your page token.\n\nIn this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned will be an inconsistent view of the collection. There is no way to retrieve a consistent snapshot of a collection larger than the maximum page size.",
+ "description": "The presence of this field indicates that there exist more results\nfollowing your last page of results in pagination order. To fetch them,\nmake another list request using this value as your page token.\n\nIn this way you can retrieve the complete contents of even very large\ncollections one page at a time. However, if the contents of the collection\nchange between the first and last paginated list request, the set of all\nelements returned will be an inconsistent view of the collection. There is\nno way to retrieve a consistent snapshot of a collection larger than the\nmaximum page size.",
"type": "string"
},
"operations": {
@@ -1439,7 +1483,6 @@
"properties": {
"kind": {
"default": "dns#managedZonePeeringConfig",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#managedZonePeeringConfig\".",
"type": "string"
},
"targetNetwork": {
@@ -1453,16 +1496,15 @@
"id": "ManagedZonePeeringConfigTargetNetwork",
"properties": {
"deactivateTime": {
- "description": "The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only.",
+ "description": "The time at which the zone was deactivated, in RFC 3339 date-time\nformat. An empty string indicates that the peering connection is\nactive. The producer network can deactivate a zone. The zone is\nautomatically deactivated if the producer network that the zone\ntargeted is deleted. Output only.",
"type": "string"
},
"kind": {
"default": "dns#managedZonePeeringConfigTargetNetwork",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#managedZonePeeringConfigTargetNetwork\".",
"type": "string"
},
"networkUrl": {
- "description": "The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}",
+ "description": "The fully qualified URL of the VPC network to forward queries to.\nThis should be formatted like\nhttps://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}",
"type": "string"
}
},
@@ -1473,7 +1515,6 @@
"properties": {
"kind": {
"default": "dns#managedZonePrivateVisibilityConfig",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#managedZonePrivateVisibilityConfig\".",
"type": "string"
},
"networks": {
@@ -1491,11 +1532,10 @@
"properties": {
"kind": {
"default": "dns#managedZonePrivateVisibilityConfigNetwork",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#managedZonePrivateVisibilityConfigNetwork\".",
"type": "string"
},
"networkUrl": {
- "description": "The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}",
+ "description": "The fully qualified URL of the VPC network to bind to.\nThis should be formatted like\nhttps://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}",
"type": "string"
}
},
@@ -1506,7 +1546,39 @@
"properties": {
"kind": {
"default": "dns#managedZoneReverseLookupConfig",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#managedZoneReverseLookupConfig\".",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ManagedZoneServiceDirectoryConfig": {
+ "description": "Contains information about Service Directory-backed zones.",
+ "id": "ManagedZoneServiceDirectoryConfig",
+ "properties": {
+ "kind": {
+ "default": "dns#managedZoneServiceDirectoryConfig",
+ "type": "string"
+ },
+ "namespace": {
+ "$ref": "ManagedZoneServiceDirectoryConfigNamespace",
+ "description": "Contains information about the namespace associated with the zone."
+ }
+ },
+ "type": "object"
+ },
+ "ManagedZoneServiceDirectoryConfigNamespace": {
+ "id": "ManagedZoneServiceDirectoryConfigNamespace",
+ "properties": {
+ "deletionTime": {
+ "description": "The time that the namespace backing this zone was deleted, empty\nstring if it still exists. This is in RFC3339 text format. Output\nonly.",
+ "type": "string"
+ },
+ "kind": {
+ "default": "dns#managedZoneServiceDirectoryConfigNamespace",
+ "type": "string"
+ },
+ "namespaceUrl": {
+ "description": "The fully qualified URL of the namespace associated with the zone.\nThis should be formatted like\nhttps://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}",
"type": "string"
}
},
@@ -1531,14 +1603,14 @@
"type": "array"
},
"nextPageToken": {
- "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your page token.\n\nIn this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned will be an inconsistent view of the collection. There is no way to retrieve a consistent snapshot of a collection larger than the maximum page size.",
+ "description": "The presence of this field indicates that there exist more results\nfollowing your last page of results in pagination order. To fetch them,\nmake another list request using this value as your page token.\n\nIn this way you can retrieve the complete contents of even very large\ncollections one page at a time. However, if the contents of the collection\nchange between the first and last paginated list request, the set of all\nelements returned will be an inconsistent view of the collection. There is\nno way to retrieve a consistent snapshot of a collection larger than the\nmaximum page size.",
"type": "string"
}
},
"type": "object"
},
"Operation": {
- "description": "An operation represents a successful mutation performed on a Cloud DNS resource. Operations provide: - An audit log of server resource mutations. - A way to recover/retry API calls in the case where the response is never received by the caller. Use the caller specified client_operation_id.",
+ "description": "An operation represents a successful mutation performed on a Cloud DNS\nresource.\nOperations provide:\n- An audit log of server resource mutations.\n- A way to recover/retry API calls in the case where the response is never\n received by the caller. Use the caller specified client_operation_id.",
"id": "Operation",
"properties": {
"dnsKeyContext": {
@@ -1546,23 +1618,22 @@
"description": "Only populated if the operation targeted a DnsKey (output only)."
},
"id": {
- "description": "Unique identifier for the resource. This is the client_operation_id if the client specified it when the mutation was initiated, otherwise, it is generated by the server. The name must be 1-63 characters long and match the regular expression [-a-z0-9]? (output only)",
+ "description": "Unique identifier for the resource. This is the client_operation_id if\nthe client specified it when the mutation was initiated, otherwise,\nit is generated by the server. The name must be 1-63 characters long\nand match the regular expression [-a-z0-9]? (output only)",
"type": "string"
},
"kind": {
"default": "dns#operation",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#operation\".",
"type": "string"
},
"startTime": {
- "description": "The time that this operation was started by the server. This is in RFC3339 text format (output only).",
+ "description": "The time that this operation was started by the server. This is in RFC3339\ntext format (output only).",
"type": "string"
},
"status": {
- "description": "Status of the operation. Can be one of the following: \"PENDING\" or \"DONE\" (output only). A status of \"DONE\" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.",
+ "description": "Status of the operation. Can be one of the following: \"PENDING\" or \"DONE\"\n(output only). A status of \"DONE\" means that the\nrequest to update the authoritative servers has been sent, but the\nservers might not be updated yet.",
"enum": [
- "done",
- "pending"
+ "pending",
+ "done"
],
"enumDescriptions": [
"",
@@ -1571,11 +1642,11 @@
"type": "string"
},
"type": {
- "description": "Type of the operation. Operations include insert, update, and delete (output only).",
+ "description": "Type of the operation. Operations include insert, update, and delete\n(output only).",
"type": "string"
},
"user": {
- "description": "User who requested the operation, for example: user@example.com. cloud-dns-system for operations automatically done by the system. (output only)",
+ "description": "User who requested the operation, for example: user@example.com.\ncloud-dns-system for operations automatically done by the system.\n(output only)",
"type": "string"
},
"zoneContext": {
@@ -1625,7 +1696,7 @@
"type": "string"
},
"nextPageToken": {
- "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your page token.\n\nIn this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned will be an inconsistent view of the collection. There is no way to retrieve a consistent snapshot of a collection larger than the maximum page size.",
+ "description": "The presence of this field indicates that there exist more results\nfollowing your last page of results in pagination order. To fetch them,\nmake another list request using this value as your page token.\n\nIn this way you can retrieve the complete contents of even very large\ncollections one page at a time. However, if the contents of the collection\nchange between the first and last paginated list request, the set of all\nelements returned will be an inconsistent view of the collection. There is\nno way to retrieve a consistent snapshot of a collection larger than the\nmaximum page size.",
"type": "string"
},
"policies": {
@@ -1663,23 +1734,23 @@
"type": "object"
},
"Policy": {
- "description": "A policy is a collection of DNS rules applied to one or more Virtual Private Cloud resources.",
+ "description": "A policy is a collection of DNS rules applied to one or more Virtual Private\nCloud resources.",
"id": "Policy",
"properties": {
"alternativeNameServerConfig": {
"$ref": "PolicyAlternativeNameServerConfig",
- "description": "Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified."
+ "description": "Sets an alternative name server for the associated networks. When\nspecified, all DNS queries are forwarded to a name server that you\nchoose. Names such as .internal are not available when an alternative\nname server is specified."
},
"description": {
- "description": "A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the policy's function.",
+ "description": "A mutable string of at most 1024 characters associated with this resource\nfor the user's convenience. Has no effect on the policy's function.",
"type": "string"
},
"enableInboundForwarding": {
- "description": "Allows networks bound to this policy to receive DNS queries sent by VMs or applications over VPN connections. When enabled, a virtual IP address will be allocated from each of the sub-networks that are bound to this policy.",
+ "description": "Allows networks bound to this policy to receive DNS queries sent by VMs or\napplications over VPN connections. When enabled, a virtual IP address will\nbe allocated from each of the sub-networks that are bound to this policy.",
"type": "boolean"
},
"enableLogging": {
- "description": "Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set.",
+ "description": "Controls whether logging is enabled for the networks bound to this policy.\nDefaults to no logging if not set.",
"type": "boolean"
},
"id": {
@@ -1689,7 +1760,6 @@
},
"kind": {
"default": "dns#policy",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#policy\".",
"type": "string"
},
"name": {
@@ -1711,11 +1781,10 @@
"properties": {
"kind": {
"default": "dns#policyAlternativeNameServerConfig",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#policyAlternativeNameServerConfig\".",
"type": "string"
},
"targetNameServers": {
- "description": "Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified.",
+ "description": "Sets an alternative name server for the associated networks. When\nspecified, all DNS queries are forwarded to a name server that you\nchoose. Names such as .internal are not available when an alternative\nname server is specified.",
"items": {
"$ref": "PolicyAlternativeNameServerConfigTargetNameServer"
},
@@ -1728,14 +1797,14 @@
"id": "PolicyAlternativeNameServerConfigTargetNameServer",
"properties": {
"forwardingPath": {
- "description": "Forwarding path for this TargetNameServer, if unset or set to DEFAULT, Cloud DNS will make forwarding decision based on address ranges, i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the Internet. When set to PRIVATE, Cloud DNS will always send queries through VPC for this target",
+ "description": "Forwarding path for this TargetNameServer, if unset or set to DEFAULT,\nCloud DNS will make forwarding decision based on address ranges,\ni.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the\nInternet. When set to PRIVATE, Cloud DNS will always send queries\nthrough VPC for this target",
"enum": [
"default",
"private"
],
"enumDescriptions": [
- "",
- ""
+ "Cloud DNS will make forwarding decision based on address ranges,\ni.e. RFC1918 addresses forward to the target through the VPC and\nNon-RFC1918 addresses will forward to the target through the\nInternet",
+ "Cloud DNS will always forward to this target through the VPC."
],
"type": "string"
},
@@ -1745,7 +1814,6 @@
},
"kind": {
"default": "dns#policyAlternativeNameServerConfigTargetNameServer",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#policyAlternativeNameServerConfigTargetNameServer\".",
"type": "string"
}
},
@@ -1756,18 +1824,17 @@
"properties": {
"kind": {
"default": "dns#policyNetwork",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#policyNetwork\".",
"type": "string"
},
"networkUrl": {
- "description": "The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}",
+ "description": "The fully qualified URL of the VPC network to bind to.\nThis should be formatted like\nhttps://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}",
"type": "string"
}
},
"type": "object"
},
"Project": {
- "description": "A project resource. The project is a top level container for resources including Cloud DNS ManagedZones. Projects can be created only in the APIs console.",
+ "description": "A project resource. The project is a top level container for resources\nincluding Cloud DNS ManagedZones. Projects can be created only in the APIs\nconsole.",
"id": "Project",
"properties": {
"id": {
@@ -1776,11 +1843,10 @@
},
"kind": {
"default": "dns#project",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#project\".",
"type": "string"
},
"number": {
- "description": "Unique numeric identifier for the resource; defined by the server (output only).",
+ "description": "Unique numeric identifier for the resource; defined by the server (output\nonly).",
"format": "uint64",
"type": "string"
},
@@ -1802,7 +1868,6 @@
},
"kind": {
"default": "dns#quota",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#quota\".",
"type": "string"
},
"managedZones": {
@@ -1811,12 +1876,12 @@
"type": "integer"
},
"managedZonesPerNetwork": {
- "description": "Maximum allowed number of managed zones which can be attached to a network.",
+ "description": "Maximum allowed number of managed zones which can be attached to a\nnetwork.",
"format": "int32",
"type": "integer"
},
"networksPerManagedZone": {
- "description": "Maximum allowed number of networks to which a privately scoped zone can be attached.",
+ "description": "Maximum allowed number of networks to which a privately scoped zone can be\nattached.",
"format": "int32",
"type": "integer"
},
@@ -1836,12 +1901,12 @@
"type": "integer"
},
"rrsetAdditionsPerChange": {
- "description": "Maximum allowed number of ResourceRecordSets to add per ChangesCreateRequest.",
+ "description": "Maximum allowed number of ResourceRecordSets to add per\nChangesCreateRequest.",
"format": "int32",
"type": "integer"
},
"rrsetDeletionsPerChange": {
- "description": "Maximum allowed number of ResourceRecordSets to delete per ChangesCreateRequest.",
+ "description": "Maximum allowed number of ResourceRecordSets to delete per\nChangesCreateRequest.",
"format": "int32",
"type": "integer"
},
@@ -1861,7 +1926,7 @@
"type": "integer"
},
"totalRrdataSizePerChange": {
- "description": "Maximum allowed size for total rrdata in one ChangesCreateRequest in bytes.",
+ "description": "Maximum allowed size for total rrdata in one ChangesCreateRequest in\nbytes.",
"format": "int32",
"type": "integer"
},
@@ -1881,7 +1946,6 @@
"properties": {
"kind": {
"default": "dns#resourceRecordSet",
- "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#resourceRecordSet\".",
"type": "string"
},
"name": {
@@ -1889,7 +1953,7 @@
"type": "string"
},
"rrdatas": {
- "description": "As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.",
+ "description": "As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see\nexamples.",
"items": {
"type": "string"
},
@@ -1908,7 +1972,7 @@
"type": "integer"
},
"type": {
- "description": "The identifier of a supported record type. See the list of Supported DNS record types.",
+ "description": "The identifier of a supported record type. See the list of\nSupported\nDNS record types.",
"type": "string"
}
},
@@ -1926,7 +1990,7 @@
"type": "string"
},
"nextPageToken": {
- "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination token.\n\nIn this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned will be an inconsistent view of the collection. There is no way to retrieve a consistent snapshot of a collection larger than the maximum page size.",
+ "description": "The presence of this field indicates that there exist more results\nfollowing your last page of results in pagination order. To fetch them,\nmake another list request using this value as your pagination token.\n\nIn this way you can retrieve the complete contents of even very large\ncollections one page at a time. However, if the contents of the collection\nchange between the first and last paginated list request, the set of all\nelements returned will be an inconsistent view of the collection. There is\nno way to retrieve a consistent snapshot of a collection larger than the\nmaximum page size.",
"type": "string"
},
"rrsets": {
@@ -1944,14 +2008,14 @@
"id": "ResponseHeader",
"properties": {
"operationId": {
- "description": "For mutating operation requests that completed successfully. This is the client_operation_id if the client specified it, otherwise it is generated by the server (output only).",
+ "description": "For mutating operation requests that completed successfully.\nThis is the client_operation_id if the client specified it,\notherwise it is generated by the server (output only).",
"type": "string"
}
},
"type": "object"
}
},
- "servicePath": "dns/v1beta2/projects/",
- "title": "Google Cloud DNS API",
+ "servicePath": "",
+ "title": "Cloud DNS API",
"version": "v1beta2"
}
\ No newline at end of file
diff --git a/etc/api/dns/v2beta1/dns-api.json b/etc/api/dns/v2beta1/dns-api.json
index 5c5385c45d..129fe3ae69 100644
--- a/etc/api/dns/v2beta1/dns-api.json
+++ b/etc/api/dns/v2beta1/dns-api.json
@@ -23,7 +23,7 @@
"description": "Configures and serves authoritative DNS records.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/cloud-dns",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/Nx_eZgIPD51BKppiHoY05GMU8EA\"",
+ "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/jaEwhiybPZnNT4Ypjggu1x15Y6w\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -83,7 +83,7 @@
"changes": {
"methods": {
"create": {
- "description": "Atomically update the ResourceRecordSet collection.",
+ "description": "",
"httpMethod": "POST",
"id": "dns.changes.create",
"parameterOrder": [
@@ -92,18 +92,15 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -122,7 +119,7 @@
]
},
"get": {
- "description": "Fetch the representation of an existing Change.",
+ "description": "",
"httpMethod": "GET",
"id": "dns.changes.get",
"parameterOrder": [
@@ -132,24 +129,20 @@
],
"parameters": {
"changeId": {
- "description": "The identifier of the requested change, from a previous ResourceRecordSetsChangeResponse.",
"location": "path",
"required": true,
"type": "string"
},
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -167,7 +160,7 @@
]
},
"list": {
- "description": "Enumerate Changes to a ResourceRecordSet collection.",
+ "description": "",
"httpMethod": "GET",
"id": "dns.changes.list",
"parameterOrder": [
@@ -176,31 +169,26 @@
],
"parameters": {
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
"location": "path",
"required": true,
"type": "string"
},
"maxResults": {
- "description": "Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.",
"location": "query",
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
},
"sortBy": {
"default": "CHANGE_SEQUENCE",
- "description": "Sorting criterion. The only supported value is change sequence.",
"enum": [
"CHANGE_SEQUENCE"
],
@@ -211,7 +199,6 @@
"type": "string"
},
"sortOrder": {
- "description": "Sorting order direction: 'ascending' or 'descending'.",
"location": "query",
"type": "string"
}
@@ -232,7 +219,7 @@
"dnsKeys": {
"methods": {
"get": {
- "description": "Fetch the representation of an existing DnsKey.",
+ "description": "",
"httpMethod": "GET",
"id": "dns.dnsKeys.get",
"parameterOrder": [
@@ -242,29 +229,24 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"digestType": {
- "description": "An optional comma-separated list of digest types to compute and display for key signing keys. If omitted, the recommended digest type will be computed and displayed.",
"location": "query",
"type": "string"
},
"dnsKeyId": {
- "description": "The identifier of the requested DnsKey.",
"location": "path",
"required": true,
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -282,7 +264,7 @@
]
},
"list": {
- "description": "Enumerate DnsKeys to a ResourceRecordSet collection.",
+ "description": "",
"httpMethod": "GET",
"id": "dns.dnsKeys.list",
"parameterOrder": [
@@ -291,29 +273,24 @@
],
"parameters": {
"digestType": {
- "description": "An optional comma-separated list of digest types to compute and display for key signing keys. If omitted, the recommended digest type will be computed and displayed.",
"location": "query",
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
"location": "path",
"required": true,
"type": "string"
},
"maxResults": {
- "description": "Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.",
"location": "query",
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -335,7 +312,7 @@
"managedZoneOperations": {
"methods": {
"get": {
- "description": "Fetch the representation of an existing Operation.",
+ "description": "",
"httpMethod": "GET",
"id": "dns.managedZoneOperations.get",
"parameterOrder": [
@@ -345,24 +322,20 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request.",
"location": "path",
"required": true,
"type": "string"
},
"operation": {
- "description": "Identifies the operation addressed by this request.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -380,7 +353,7 @@
]
},
"list": {
- "description": "Enumerate Operations for the given ManagedZone.",
+ "description": "",
"httpMethod": "GET",
"id": "dns.managedZoneOperations.list",
"parameterOrder": [
@@ -389,31 +362,26 @@
],
"parameters": {
"managedZone": {
- "description": "Identifies the managed zone addressed by this request.",
"location": "path",
"required": true,
"type": "string"
},
"maxResults": {
- "description": "Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.",
"location": "query",
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
},
"sortBy": {
"default": "START_TIME",
- "description": "Sorting criterion. The only supported values are START_TIME and ID.",
"enum": [
"ID",
"START_TIME"
@@ -442,7 +410,7 @@
"managedZones": {
"methods": {
"create": {
- "description": "Create a new ManagedZone.",
+ "description": "",
"httpMethod": "POST",
"id": "dns.managedZones.create",
"parameterOrder": [
@@ -450,12 +418,10 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -474,7 +440,7 @@
]
},
"delete": {
- "description": "Delete a previously created ManagedZone.",
+ "description": "",
"httpMethod": "DELETE",
"id": "dns.managedZones.delete",
"parameterOrder": [
@@ -483,18 +449,15 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -507,7 +470,7 @@
]
},
"get": {
- "description": "Fetch the representation of an existing ManagedZone.",
+ "description": "",
"httpMethod": "GET",
"id": "dns.managedZones.get",
"parameterOrder": [
@@ -516,18 +479,15 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -545,7 +505,7 @@
]
},
"list": {
- "description": "Enumerate ManagedZones that have been created but not yet deleted.",
+ "description": "",
"httpMethod": "GET",
"id": "dns.managedZones.list",
"parameterOrder": [
@@ -553,23 +513,19 @@
],
"parameters": {
"dnsName": {
- "description": "Restricts the list to return only zones with this domain name.",
"location": "query",
"type": "string"
},
"maxResults": {
- "description": "Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.",
"location": "query",
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -587,7 +543,7 @@
]
},
"patch": {
- "description": "Apply a partial update to an existing ManagedZone.",
+ "description": "",
"httpMethod": "PATCH",
"id": "dns.managedZones.patch",
"parameterOrder": [
@@ -596,18 +552,15 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -626,7 +579,7 @@
]
},
"update": {
- "description": "Update an existing ManagedZone.",
+ "description": "",
"httpMethod": "PUT",
"id": "dns.managedZones.update",
"parameterOrder": [
@@ -635,18 +588,15 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -669,7 +619,7 @@
"policies": {
"methods": {
"create": {
- "description": "Create a new Policy",
+ "description": "",
"httpMethod": "POST",
"id": "dns.policies.create",
"parameterOrder": [
@@ -677,12 +627,10 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -701,7 +649,7 @@
]
},
"delete": {
- "description": "Delete a previously created Policy. Will fail if the policy is still being referenced by a network.",
+ "description": "",
"httpMethod": "DELETE",
"id": "dns.policies.delete",
"parameterOrder": [
@@ -710,18 +658,15 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"policy": {
- "description": "User given friendly name of the policy addressed by this request.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -734,7 +679,7 @@
]
},
"get": {
- "description": "Fetch the representation of an existing Policy.",
+ "description": "",
"httpMethod": "GET",
"id": "dns.policies.get",
"parameterOrder": [
@@ -743,18 +688,15 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"policy": {
- "description": "User given friendly name of the policy addressed by this request.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -772,7 +714,7 @@
]
},
"list": {
- "description": "Enumerate all Policies associated with a project.",
+ "description": "",
"httpMethod": "GET",
"id": "dns.policies.list",
"parameterOrder": [
@@ -780,18 +722,15 @@
],
"parameters": {
"maxResults": {
- "description": "Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.",
"location": "query",
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -809,7 +748,7 @@
]
},
"patch": {
- "description": "Apply a partial update to an existing Policy.",
+ "description": "",
"httpMethod": "PATCH",
"id": "dns.policies.patch",
"parameterOrder": [
@@ -818,18 +757,15 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"policy": {
- "description": "User given friendly name of the policy addressed by this request.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -848,7 +784,7 @@
]
},
"update": {
- "description": "Update an existing Policy.",
+ "description": "",
"httpMethod": "PUT",
"id": "dns.policies.update",
"parameterOrder": [
@@ -857,18 +793,15 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"policy": {
- "description": "User given friendly name of the policy addressed by this request.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -891,7 +824,7 @@
"projects": {
"methods": {
"get": {
- "description": "Fetch the representation of an existing Project.",
+ "description": "",
"httpMethod": "GET",
"id": "dns.projects.get",
"parameterOrder": [
@@ -899,12 +832,10 @@
],
"parameters": {
"clientOperationId": {
- "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.",
"location": "query",
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
@@ -926,7 +857,7 @@
"resourceRecordSets": {
"methods": {
"list": {
- "description": "Enumerate ResourceRecordSets that have been created but not yet deleted.",
+ "description": "",
"httpMethod": "GET",
"id": "dns.resourceRecordSets.list",
"parameterOrder": [
@@ -935,35 +866,29 @@
],
"parameters": {
"managedZone": {
- "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or id.",
"location": "path",
"required": true,
"type": "string"
},
"maxResults": {
- "description": "Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return.",
"format": "int32",
"location": "query",
"type": "integer"
},
"name": {
- "description": "Restricts the list to return only records with this fully qualified domain name.",
"location": "query",
"type": "string"
},
"pageToken": {
- "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.",
"location": "query",
"type": "string"
},
"project": {
- "description": "Identifies the project addressed by this request.",
"location": "path",
"required": true,
"type": "string"
},
"type": {
- "description": "Restricts the list to return only records of this type. If present, the \"name\" parameter must also be present.",
"location": "query",
"type": "string"
}
@@ -982,33 +907,28 @@
}
}
},
- "revision": "20191205",
+ "revision": "20200515",
"rootUrl": "https://dns.googleapis.com/",
"schemas": {
"Change": {
- "description": "A Change represents a set of ResourceRecordSet additions and deletions applied atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are modified by creating a new Change element in the Changes collection. In turn the Changes collection also records the past modifications to the ResourceRecordSets in a ManagedZone. The current state of the ManagedZone is the sum effect of applying all Change elements in the Changes collection in sequence.",
"id": "Change",
"properties": {
"additions": {
- "description": "Which ResourceRecordSets to add?",
"items": {
"$ref": "ResourceRecordSet"
},
"type": "array"
},
"deletions": {
- "description": "Which ResourceRecordSets to remove? Must match existing data exactly.",
"items": {
"$ref": "ResourceRecordSet"
},
"type": "array"
},
"id": {
- "description": "Unique identifier for the resource; defined by the server (output only).",
"type": "string"
},
"isServing": {
- "description": "If the DNS queries for the zone will be served.",
"type": "boolean"
},
"kind": {
@@ -1017,11 +937,9 @@
"type": "string"
},
"startTime": {
- "description": "The time that this operation was started by the server (output only). This is in RFC3339 text format.",
"type": "string"
},
"status": {
- "description": "Status of the operation (output only). A status of \"done\" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.",
"enum": [
"DONE",
"PENDING"
@@ -1036,11 +954,9 @@
"type": "object"
},
"ChangesListResponse": {
- "description": "The response to a request to enumerate Changes to a ResourceRecordSets collection.",
"id": "ChangesListResponse",
"properties": {
"changes": {
- "description": "The requested changes.",
"items": {
"$ref": "Change"
},
@@ -1055,18 +971,15 @@
"type": "string"
},
"nextPageToken": {
- "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination token.\n\nIn this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned will be an inconsistent view of the collection. There is no way to retrieve a \"snapshot\" of collections larger than the maximum page size.",
"type": "string"
}
},
"type": "object"
},
"DnsKey": {
- "description": "A DNSSEC key pair.",
"id": "DnsKey",
"properties": {
"algorithm": {
- "description": "String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.",
"enum": [
"ECDSAP256SHA256",
"ECDSAP384SHA384",
@@ -1084,35 +997,28 @@
"type": "string"
},
"creationTime": {
- "description": "The time that this resource was created in the control plane. This is in RFC3339 text format. Output only.",
"type": "string"
},
"description": {
- "description": "A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the resource's function.",
"type": "string"
},
"digests": {
- "description": "Cryptographic hashes of the DNSKEY resource record associated with this DnsKey. These digests are needed to construct a DS record that points at this DNS key. Output only.",
"items": {
"$ref": "DnsKeyDigest"
},
"type": "array"
},
"id": {
- "description": "Unique identifier for the resource; defined by the server (output only).",
"type": "string"
},
"isActive": {
- "description": "Active keys will be used to sign subsequent changes to the ManagedZone. Inactive keys will still be present as DNSKEY Resource Records for the use of resolvers validating existing signatures.",
"type": "boolean"
},
"keyLength": {
- "description": "Length of the key in bits. Specified at creation time then immutable.",
"format": "uint32",
"type": "integer"
},
"keyTag": {
- "description": "The key tag is a non-cryptographic hash of the a DNSKEY resource record associated with this DnsKey. The key tag can be used to identify a DNSKEY more quickly (but it is not a unique identifier). In particular, the key tag is used in a parent zone's DS record to point at the DNSKEY in this child ManagedZone. The key tag is a number in the range [0, 65535] and the algorithm to calculate it is specified in RFC4034 Appendix B. Output only.",
"format": "int32",
"type": "integer"
},
@@ -1122,11 +1028,9 @@
"type": "string"
},
"publicKey": {
- "description": "Base64 encoded public half of this key. Output only.",
"type": "string"
},
"type": {
- "description": "One of \"KEY_SIGNING\" or \"ZONE_SIGNING\". Keys of type KEY_SIGNING have the Secure Entry Point flag set and, when active, will be used to sign only resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag will be cleared and this key will be used to sign only resource record sets of other types. Immutable after creation time.",
"enum": [
"KEY_SIGNING",
"ZONE_SIGNING"
@@ -1144,11 +1048,9 @@
"id": "DnsKeyDigest",
"properties": {
"digest": {
- "description": "The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.",
"type": "string"
},
"type": {
- "description": "Specifies the algorithm used to calculate this digest.",
"enum": [
"SHA1",
"SHA256",
@@ -1165,11 +1067,9 @@
"type": "object"
},
"DnsKeySpec": {
- "description": "Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.",
"id": "DnsKeySpec",
"properties": {
"algorithm": {
- "description": "String mnemonic specifying the DNSSEC algorithm of this key.",
"enum": [
"ECDSAP256SHA256",
"ECDSAP384SHA384",
@@ -1187,12 +1087,10 @@
"type": "string"
},
"keyLength": {
- "description": "Length of the keys in bits.",
"format": "uint32",
"type": "integer"
},
"keyType": {
- "description": "Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, will only be used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and will be used to sign all other types of resource record sets.",
"enum": [
"KEY_SIGNING",
"ZONE_SIGNING"
@@ -1212,11 +1110,9 @@
"type": "object"
},
"DnsKeysListResponse": {
- "description": "The response to a request to enumerate DnsKeys in a ManagedZone.",
"id": "DnsKeysListResponse",
"properties": {
"dnsKeys": {
- "description": "The requested resources.",
"items": {
"$ref": "DnsKey"
},
@@ -1231,38 +1127,30 @@
"type": "string"
},
"nextPageToken": {
- "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination token.\n\nIn this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned will be an inconsistent view of the collection. There is no way to retrieve a \"snapshot\" of collections larger than the maximum page size.",
"type": "string"
}
},
"type": "object"
},
"ManagedZone": {
- "description": "A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service.",
"id": "ManagedZone",
"properties": {
"creationTime": {
- "description": "The time that this resource was created on the server. This is in RFC3339 text format. Output only.",
"type": "string"
},
"description": {
- "description": "A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the managed zone's function.",
"type": "string"
},
"dnsName": {
- "description": "The DNS name of this managed zone, for instance \"example.com.\".",
"type": "string"
},
"dnssecConfig": {
- "$ref": "ManagedZoneDnsSecConfig",
- "description": "DNSSEC configuration."
+ "$ref": "ManagedZoneDnsSecConfig"
},
"forwardingConfig": {
- "$ref": "ManagedZoneForwardingConfig",
- "description": "The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to."
+ "$ref": "ManagedZoneForwardingConfig"
},
"id": {
- "description": "Unique identifier for the resource; defined by the server (output only)",
"format": "uint64",
"type": "string"
},
@@ -1275,34 +1163,30 @@
"additionalProperties": {
"type": "string"
},
- "description": "User labels.",
"type": "object"
},
"name": {
- "description": "User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.",
"type": "string"
},
"nameServerSet": {
- "description": "Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users will leave this field unset.",
"type": "string"
},
"nameServers": {
- "description": "Delegate your managed_zone to these virtual name servers; defined by the server (output only)",
"items": {
"type": "string"
},
"type": "array"
},
"peeringConfig": {
- "$ref": "ManagedZonePeeringConfig",
- "description": "The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with."
+ "$ref": "ManagedZonePeeringConfig"
},
"privateVisibilityConfig": {
- "$ref": "ManagedZonePrivateVisibilityConfig",
- "description": "For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from."
+ "$ref": "ManagedZonePrivateVisibilityConfig"
+ },
+ "reverseLookupConfig": {
+ "$ref": "ManagedZoneReverseLookupConfig"
},
"visibility": {
- "description": "The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.",
"enum": [
"PRIVATE",
"PUBLIC"
@@ -1320,7 +1204,6 @@
"id": "ManagedZoneDnsSecConfig",
"properties": {
"defaultKeySpecs": {
- "description": "Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.",
"items": {
"$ref": "DnsKeySpec"
},
@@ -1332,7 +1215,6 @@
"type": "string"
},
"nonExistence": {
- "description": "Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.",
"enum": [
"NSEC",
"NSEC3"
@@ -1344,7 +1226,6 @@
"type": "string"
},
"state": {
- "description": "Specifies whether DNSSEC is enabled, and what mode it is in.",
"enum": [
"OFF",
"ON",
@@ -1369,7 +1250,6 @@
"type": "string"
},
"targetNameServers": {
- "description": "List of target name servers to forward to. Cloud DNS will select the best available name server if more than one target is given.",
"items": {
"$ref": "ManagedZoneForwardingConfigNameServerTarget"
},
@@ -1381,8 +1261,18 @@
"ManagedZoneForwardingConfigNameServerTarget": {
"id": "ManagedZoneForwardingConfigNameServerTarget",
"properties": {
+ "forwardingPath": {
+ "enum": [
+ "DEFAULT",
+ "PRIVATE"
+ ],
+ "enumDescriptions": [
+ "",
+ ""
+ ],
+ "type": "string"
+ },
"ipv4Address": {
- "description": "IPv4 address of a target name server.",
"type": "string"
},
"kind": {
@@ -1405,11 +1295,9 @@
"type": "string"
},
"nextPageToken": {
- "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your page token.\n\nIn this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned will be an inconsistent view of the collection. There is no way to retrieve a consistent snapshot of a collection larger than the maximum page size.",
"type": "string"
},
"operations": {
- "description": "The operation resources.",
"items": {
"$ref": "Operation"
},
@@ -1427,8 +1315,7 @@
"type": "string"
},
"targetNetwork": {
- "$ref": "ManagedZonePeeringConfigTargetNetwork",
- "description": "The network with which to peer."
+ "$ref": "ManagedZonePeeringConfigTargetNetwork"
}
},
"type": "object"
@@ -1437,7 +1324,6 @@
"id": "ManagedZonePeeringConfigTargetNetwork",
"properties": {
"deactivateTime": {
- "description": "The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only.",
"type": "string"
},
"kind": {
@@ -1446,7 +1332,6 @@
"type": "string"
},
"networkUrl": {
- "description": "The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}",
"type": "string"
}
},
@@ -1461,7 +1346,6 @@
"type": "string"
},
"networks": {
- "description": "The list of VPC networks that can see this zone.",
"items": {
"$ref": "ManagedZonePrivateVisibilityConfigNetwork"
},
@@ -1479,7 +1363,17 @@
"type": "string"
},
"networkUrl": {
- "description": "The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ManagedZoneReverseLookupConfig": {
+ "id": "ManagedZoneReverseLookupConfig",
+ "properties": {
+ "kind": {
+ "default": "dns#managedZoneReverseLookupConfig",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#managedZoneReverseLookupConfig\".",
"type": "string"
}
},
@@ -1497,29 +1391,24 @@
"type": "string"
},
"managedZones": {
- "description": "The managed zone resources.",
"items": {
"$ref": "ManagedZone"
},
"type": "array"
},
"nextPageToken": {
- "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your page token.\n\nIn this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned will be an inconsistent view of the collection. There is no way to retrieve a consistent snapshot of a collection larger than the maximum page size.",
"type": "string"
}
},
"type": "object"
},
"Operation": {
- "description": "An operation represents a successful mutation performed on a Cloud DNS resource. Operations provide: - An audit log of server resource mutations. - A way to recover/retry API calls in the case where the response is never received by the caller. Use the caller specified client_operation_id.",
"id": "Operation",
"properties": {
"dnsKeyContext": {
- "$ref": "OperationDnsKeyContext",
- "description": "Only populated if the operation targeted a DnsKey (output only)."
+ "$ref": "OperationDnsKeyContext"
},
"id": {
- "description": "Unique identifier for the resource. This is the client_operation_id if the client specified it when the mutation was initiated, otherwise, it is generated by the server. The name must be 1-63 characters long and match the regular expression [-a-z0-9]? (output only)",
"type": "string"
},
"kind": {
@@ -1528,11 +1417,9 @@
"type": "string"
},
"startTime": {
- "description": "The time that this operation was started by the server. This is in RFC3339 text format (output only).",
"type": "string"
},
"status": {
- "description": "Status of the operation. Can be one of the following: \"PENDING\" or \"DONE\" (output only). A status of \"DONE\" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.",
"enum": [
"DONE",
"PENDING"
@@ -1544,16 +1431,13 @@
"type": "string"
},
"type": {
- "description": "Type of the operation. Operations include insert, update, and delete (output only).",
"type": "string"
},
"user": {
- "description": "User who requested the operation, for example: user@example.com. cloud-dns-system for operations automatically done by the system. (output only)",
"type": "string"
},
"zoneContext": {
- "$ref": "OperationManagedZoneContext",
- "description": "Only populated if the operation targeted a ManagedZone (output only)."
+ "$ref": "OperationManagedZoneContext"
}
},
"type": "object"
@@ -1562,12 +1446,10 @@
"id": "OperationDnsKeyContext",
"properties": {
"newValue": {
- "$ref": "DnsKey",
- "description": "The post-operation DnsKey resource."
+ "$ref": "DnsKey"
},
"oldValue": {
- "$ref": "DnsKey",
- "description": "The pre-operation DnsKey resource."
+ "$ref": "DnsKey"
}
},
"type": "object"
@@ -1576,12 +1458,10 @@
"id": "OperationManagedZoneContext",
"properties": {
"newValue": {
- "$ref": "ManagedZone",
- "description": "The post-operation ManagedZone resource."
+ "$ref": "ManagedZone"
},
"oldValue": {
- "$ref": "ManagedZone",
- "description": "The pre-operation ManagedZone resource."
+ "$ref": "ManagedZone"
}
},
"type": "object"
@@ -1598,11 +1478,9 @@
"type": "string"
},
"nextPageToken": {
- "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your page token.\n\nIn this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned will be an inconsistent view of the collection. There is no way to retrieve a consistent snapshot of a collection larger than the maximum page size.",
"type": "string"
},
"policies": {
- "description": "The policy resources.",
"items": {
"$ref": "Policy"
},
@@ -1636,27 +1514,21 @@
"type": "object"
},
"Policy": {
- "description": "A policy is a collection of DNS rules applied to one or more Virtual Private Cloud resources.",
"id": "Policy",
"properties": {
"alternativeNameServerConfig": {
- "$ref": "PolicyAlternativeNameServerConfig",
- "description": "Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified."
+ "$ref": "PolicyAlternativeNameServerConfig"
},
"description": {
- "description": "A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the policy's function.",
"type": "string"
},
"enableInboundForwarding": {
- "description": "Allows networks bound to this policy to receive DNS queries sent by VMs or applications over VPN connections. When enabled, a virtual IP address will be allocated from each of the sub-networks that are bound to this policy.",
"type": "boolean"
},
"enableLogging": {
- "description": "Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set.",
"type": "boolean"
},
"id": {
- "description": "Unique identifier for the resource; defined by the server (output only).",
"format": "uint64",
"type": "string"
},
@@ -1666,11 +1538,9 @@
"type": "string"
},
"name": {
- "description": "User assigned name for this policy.",
"type": "string"
},
"networks": {
- "description": "List of network names specifying networks to which this policy is applied.",
"items": {
"$ref": "PolicyNetwork"
},
@@ -1688,7 +1558,6 @@
"type": "string"
},
"targetNameServers": {
- "description": "Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified.",
"items": {
"$ref": "PolicyAlternativeNameServerConfigTargetNameServer"
},
@@ -1700,8 +1569,18 @@
"PolicyAlternativeNameServerConfigTargetNameServer": {
"id": "PolicyAlternativeNameServerConfigTargetNameServer",
"properties": {
+ "forwardingPath": {
+ "enum": [
+ "DEFAULT",
+ "PRIVATE"
+ ],
+ "enumDescriptions": [
+ "",
+ ""
+ ],
+ "type": "string"
+ },
"ipv4Address": {
- "description": "IPv4 address to forward to.",
"type": "string"
},
"kind": {
@@ -1721,18 +1600,15 @@
"type": "string"
},
"networkUrl": {
- "description": "The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}",
"type": "string"
}
},
"type": "object"
},
"Project": {
- "description": "A project resource. The project is a top level container for resources including Cloud DNS ManagedZones. Projects can be created only in the APIs console.",
"id": "Project",
"properties": {
"id": {
- "description": "User assigned unique identifier for the resource (output only).",
"type": "string"
},
"kind": {
@@ -1741,23 +1617,19 @@
"type": "string"
},
"number": {
- "description": "Unique numeric identifier for the resource; defined by the server (output only).",
"format": "uint64",
"type": "string"
},
"quota": {
- "$ref": "Quota",
- "description": "Quotas assigned to this project (output only)."
+ "$ref": "Quota"
}
},
"type": "object"
},
"Quota": {
- "description": "Limits associated with a Project.",
"id": "Quota",
"properties": {
"dnsKeysPerManagedZone": {
- "description": "Maximum allowed number of DnsKeys per ManagedZone.",
"format": "int32",
"type": "integer"
},
@@ -1767,67 +1639,54 @@
"type": "string"
},
"managedZones": {
- "description": "Maximum allowed number of managed zones in the project.",
"format": "int32",
"type": "integer"
},
"managedZonesPerNetwork": {
- "description": "Maximum allowed number of managed zones which can be attached to a network.",
"format": "int32",
"type": "integer"
},
"networksPerManagedZone": {
- "description": "Maximum allowed number of networks to which a privately scoped zone can be attached.",
"format": "int32",
"type": "integer"
},
"networksPerPolicy": {
- "description": "Maximum allowed number of networks per policy.",
"format": "int32",
"type": "integer"
},
"policies": {
- "description": "Maximum allowed number of policies per project.",
"format": "int32",
"type": "integer"
},
"resourceRecordsPerRrset": {
- "description": "Maximum allowed number of ResourceRecords per ResourceRecordSet.",
"format": "int32",
"type": "integer"
},
"rrsetAdditionsPerChange": {
- "description": "Maximum allowed number of ResourceRecordSets to add per ChangesCreateRequest.",
"format": "int32",
"type": "integer"
},
"rrsetDeletionsPerChange": {
- "description": "Maximum allowed number of ResourceRecordSets to delete per ChangesCreateRequest.",
"format": "int32",
"type": "integer"
},
"rrsetsPerManagedZone": {
- "description": "Maximum allowed number of ResourceRecordSets per zone in the project.",
"format": "int32",
"type": "integer"
},
"targetNameServersPerManagedZone": {
- "description": "Maximum allowed number of target name servers per managed forwarding zone.",
"format": "int32",
"type": "integer"
},
"targetNameServersPerPolicy": {
- "description": "Maximum allowed number of alternative target name servers per policy.",
"format": "int32",
"type": "integer"
},
"totalRrdataSizePerChange": {
- "description": "Maximum allowed size for total rrdata in one ChangesCreateRequest in bytes.",
"format": "int32",
"type": "integer"
},
"whitelistedKeySpecs": {
- "description": "DNSSEC algorithm and key length types that can be used for DnsKeys.",
"items": {
"$ref": "DnsKeySpec"
},
@@ -1837,7 +1696,6 @@
"type": "object"
},
"ResourceRecordSet": {
- "description": "A unit of data that will be returned by the DNS servers.",
"id": "ResourceRecordSet",
"properties": {
"kind": {
@@ -1846,30 +1704,25 @@
"type": "string"
},
"name": {
- "description": "For example, www.example.com.",
"type": "string"
},
"rrdatas": {
- "description": "As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.",
"items": {
"type": "string"
},
"type": "array"
},
"signatureRrdatas": {
- "description": "As defined in RFC 4034 (section 3.2).",
"items": {
"type": "string"
},
"type": "array"
},
"ttl": {
- "description": "Number of seconds that this ResourceRecordSet can be cached by resolvers.",
"format": "int32",
"type": "integer"
},
"type": {
- "description": "The identifier of a supported record type. See the list of Supported DNS record types.",
"type": "string"
}
},
@@ -1887,11 +1740,9 @@
"type": "string"
},
"nextPageToken": {
- "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination token.\n\nIn this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned will be an inconsistent view of the collection. There is no way to retrieve a consistent snapshot of a collection larger than the maximum page size.",
"type": "string"
},
"rrsets": {
- "description": "The resource record set resources.",
"items": {
"$ref": "ResourceRecordSet"
},
@@ -1901,11 +1752,9 @@
"type": "object"
},
"ResponseHeader": {
- "description": "Elements common to every response.",
"id": "ResponseHeader",
"properties": {
"operationId": {
- "description": "For mutating operation requests that completed successfully. This is the client_operation_id if the client specified it, otherwise it is generated by the server (output only).",
"type": "string"
}
},
diff --git a/etc/api/documentai/v1beta2/documentai-api.json b/etc/api/documentai/v1beta2/documentai-api.json
new file mode 100644
index 0000000000..68f60def8f
--- /dev/null
+++ b/etc/api/documentai/v1beta2/documentai-api.json
@@ -0,0 +1,2190 @@
+{
+ "auth": {
+ "oauth2": {
+ "scopes": {
+ "https://www.googleapis.com/auth/cloud-platform": {
+ "description": "View and manage your data across Google Cloud Platform services"
+ }
+ }
+ }
+ },
+ "basePath": "",
+ "baseUrl": "https://documentai.googleapis.com/",
+ "batchPath": "batch",
+ "canonicalName": "Document",
+ "description": "Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, translation, and AutoML.",
+ "discoveryVersion": "v1",
+ "documentationLink": "https://cloud.google.com/document-ai/docs/",
+ "fullyEncodeReservedExpansion": true,
+ "icons": {
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
+ },
+ "id": "documentai:v1beta2",
+ "kind": "discovery#restDescription",
+ "mtlsRootUrl": "https://documentai.mtls.googleapis.com/",
+ "name": "documentai",
+ "ownerDomain": "google.com",
+ "ownerName": "Google",
+ "parameters": {
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "alt": {
+ "default": "json",
+ "description": "Data format for response.",
+ "enum": [
+ "json",
+ "media",
+ "proto"
+ ],
+ "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",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "key": {
+ "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",
+ "type": "string"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "quotaUser": {
+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "protocol": "rest",
+ "resources": {
+ "projects": {
+ "resources": {
+ "documents": {
+ "methods": {
+ "batchProcess": {
+ "description": "LRO endpoint to batch process many documents. The output is written\nto Cloud Storage as JSON in the [Document] format.",
+ "flatPath": "v1beta2/projects/{projectsId}/documents:batchProcess",
+ "httpMethod": "POST",
+ "id": "documentai.projects.documents.batchProcess",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Target project and location to make a call.\n\nFormat: `projects/{project-id}/locations/{location-id}`.\n\nIf no location is specified, a region will be chosen automatically.",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+parent}/documents:batchProcess",
+ "request": {
+ "$ref": "GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest"
+ },
+ "response": {
+ "$ref": "GoogleLongrunningOperation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "process": {
+ "description": "Processes a single document.",
+ "flatPath": "v1beta2/projects/{projectsId}/documents:process",
+ "httpMethod": "POST",
+ "id": "documentai.projects.documents.process",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Target project and location to make a call.\n\nFormat: `projects/{project-id}/locations/{location-id}`.\n\nIf no location is specified, a region will be chosen automatically.\nThis field is only populated when used in ProcessDocument method.",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+parent}/documents:process",
+ "request": {
+ "$ref": "GoogleCloudDocumentaiV1beta2ProcessDocumentRequest"
+ },
+ "response": {
+ "$ref": "GoogleCloudDocumentaiV1beta2Document"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "locations": {
+ "resources": {
+ "documents": {
+ "methods": {
+ "batchProcess": {
+ "description": "LRO endpoint to batch process many documents. The output is written\nto Cloud Storage as JSON in the [Document] format.",
+ "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/documents:batchProcess",
+ "httpMethod": "POST",
+ "id": "documentai.projects.locations.documents.batchProcess",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Target project and location to make a call.\n\nFormat: `projects/{project-id}/locations/{location-id}`.\n\nIf no location is specified, a region will be chosen automatically.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+parent}/documents:batchProcess",
+ "request": {
+ "$ref": "GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest"
+ },
+ "response": {
+ "$ref": "GoogleLongrunningOperation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "process": {
+ "description": "Processes a single document.",
+ "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/documents:process",
+ "httpMethod": "POST",
+ "id": "documentai.projects.locations.documents.process",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Target project and location to make a call.\n\nFormat: `projects/{project-id}/locations/{location-id}`.\n\nIf no location is specified, a region will be chosen automatically.\nThis field is only populated when used in ProcessDocument method.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+parent}/documents:process",
+ "request": {
+ "$ref": "GoogleCloudDocumentaiV1beta2ProcessDocumentRequest"
+ },
+ "response": {
+ "$ref": "GoogleCloudDocumentaiV1beta2Document"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "operations": {
+ "methods": {
+ "get": {
+ "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.",
+ "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
+ "httpMethod": "GET",
+ "id": "documentai.projects.locations.operations.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+name}",
+ "response": {
+ "$ref": "GoogleLongrunningOperation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "operations": {
+ "methods": {
+ "get": {
+ "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.",
+ "flatPath": "v1beta2/projects/{projectsId}/operations/{operationsId}",
+ "httpMethod": "GET",
+ "id": "documentai.projects.operations.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/operations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+name}",
+ "response": {
+ "$ref": "GoogleLongrunningOperation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "revision": "20200619",
+ "rootUrl": "https://documentai.googleapis.com/",
+ "schemas": {
+ "GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse": {
+ "description": "Response to an batch document processing request. This is returned in\nthe LRO Operation after the operation is complete.",
+ "id": "GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse",
+ "properties": {
+ "responses": {
+ "description": "Responses for each individual document.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1ProcessDocumentResponse"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1BoundingPoly": {
+ "description": "A bounding polygon for the detected image annotation.",
+ "id": "GoogleCloudDocumentaiV1beta1BoundingPoly",
+ "properties": {
+ "normalizedVertices": {
+ "description": "The bounding polygon normalized vertices.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1NormalizedVertex"
+ },
+ "type": "array"
+ },
+ "vertices": {
+ "description": "The bounding polygon vertices.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1Vertex"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1Document": {
+ "description": "Document represents the canonical document resource in Document Understanding\nAI.\nIt is an interchange format that provides insights into documents and allows\nfor collaboration between users and Document Understanding AI to iterate and\noptimize for quality.",
+ "id": "GoogleCloudDocumentaiV1beta1Document",
+ "properties": {
+ "content": {
+ "description": "Inline document content, represented as a stream of bytes.\nNote: As with all `bytes` fields, protobuffers use a pure binary\nrepresentation, whereas JSON representations use base64.",
+ "format": "byte",
+ "type": "string"
+ },
+ "entities": {
+ "description": "A list of entities detected on Document.text. For document shards,\nentities in this list may cross shard boundaries.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentEntity"
+ },
+ "type": "array"
+ },
+ "entityRelations": {
+ "description": "Relationship among Document.entities.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentEntityRelation"
+ },
+ "type": "array"
+ },
+ "error": {
+ "$ref": "GoogleRpcStatus",
+ "description": "Any error that occurred while processing this document."
+ },
+ "mimeType": {
+ "description": "An IANA published MIME type (also referred to as media type). For more\ninformation, see\nhttps://www.iana.org/assignments/media-types/media-types.xhtml.",
+ "type": "string"
+ },
+ "pages": {
+ "description": "Visual page layout for the Document.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPage"
+ },
+ "type": "array"
+ },
+ "shardInfo": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentShardInfo",
+ "description": "Information about the sharding if this document is sharded part of a larger\ndocument. If the document is not sharded, this message is not specified."
+ },
+ "text": {
+ "description": "UTF-8 encoded text in reading order from the document.",
+ "type": "string"
+ },
+ "textStyles": {
+ "description": "Styles for the Document.text.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentStyle"
+ },
+ "type": "array"
+ },
+ "translations": {
+ "description": "A list of translations on Document.text. For document shards,\ntranslations in this list may cross shard boundaries.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentTranslation"
+ },
+ "type": "array"
+ },
+ "uri": {
+ "description": "Currently supports Google Cloud Storage URI of the form\n `gs://bucket_name/object_name`. Object versioning is not supported.\n See [Google Cloud Storage Request\n URIs](https://cloud.google.com/storage/docs/reference-uris) for more\n info.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1DocumentEntity": {
+ "description": "A phrase in the text that is a known entity type, such as a person, an\norganization, or location.",
+ "id": "GoogleCloudDocumentaiV1beta1DocumentEntity",
+ "properties": {
+ "confidence": {
+ "description": "Optional. Confidence of detected Schema entity. Range [0, 1].",
+ "format": "float",
+ "type": "number"
+ },
+ "mentionId": {
+ "description": "Deprecated. Use `id` field instead.",
+ "type": "string"
+ },
+ "mentionText": {
+ "description": "Text value in the document e.g. `1600 Amphitheatre Pkwy`.",
+ "type": "string"
+ },
+ "textAnchor": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentTextAnchor",
+ "description": "Provenance of the entity.\nText anchor indexing into the Document.text."
+ },
+ "type": {
+ "description": "Entity type from a schema e.g. `Address`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1DocumentEntityRelation": {
+ "description": "Relationship between Entities.",
+ "id": "GoogleCloudDocumentaiV1beta1DocumentEntityRelation",
+ "properties": {
+ "objectId": {
+ "description": "Object entity id.",
+ "type": "string"
+ },
+ "relation": {
+ "description": "Relationship description.",
+ "type": "string"
+ },
+ "subjectId": {
+ "description": "Subject entity id.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1DocumentPage": {
+ "description": "A page in a Document.",
+ "id": "GoogleCloudDocumentaiV1beta1DocumentPage",
+ "properties": {
+ "blocks": {
+ "description": "A list of visually detected text blocks on the page.\nA block has a set of lines (collected into paragraphs) that have a common\nline-spacing and orientation.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageBlock"
+ },
+ "type": "array"
+ },
+ "detectedLanguages": {
+ "description": "A list of detected languages together with confidence.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage"
+ },
+ "type": "array"
+ },
+ "dimension": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDimension",
+ "description": "Physical dimension of the page."
+ },
+ "formFields": {
+ "description": "A list of visually detected form fields on the page.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageFormField"
+ },
+ "type": "array"
+ },
+ "layout": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout",
+ "description": "Layout for the page."
+ },
+ "lines": {
+ "description": "A list of visually detected text lines on the page.\nA collection of tokens that a human would perceive as a line.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLine"
+ },
+ "type": "array"
+ },
+ "pageNumber": {
+ "description": "1-based index for current Page in a parent Document.\nUseful when a page is taken out of a Document for individual\nprocessing.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "paragraphs": {
+ "description": "A list of visually detected text paragraphs on the page.\nA collection of lines that a human would perceive as a paragraph.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageParagraph"
+ },
+ "type": "array"
+ },
+ "tables": {
+ "description": "A list of visually detected tables on the page.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageTable"
+ },
+ "type": "array"
+ },
+ "tokens": {
+ "description": "A list of visually detected tokens on the page.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageToken"
+ },
+ "type": "array"
+ },
+ "visualElements": {
+ "description": "A list of detected non-text visual elements e.g. checkbox,\nsignature etc. on the page.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageVisualElement"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1DocumentPageBlock": {
+ "description": "A block has a set of lines (collected into paragraphs) that have a\ncommon line-spacing and orientation.",
+ "id": "GoogleCloudDocumentaiV1beta1DocumentPageBlock",
+ "properties": {
+ "detectedLanguages": {
+ "description": "A list of detected languages together with confidence.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage"
+ },
+ "type": "array"
+ },
+ "layout": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout",
+ "description": "Layout for Block."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage": {
+ "description": "Detected language for a structural component.",
+ "id": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage",
+ "properties": {
+ "confidence": {
+ "description": "Confidence of detected language. Range [0, 1].",
+ "format": "float",
+ "type": "number"
+ },
+ "languageCode": {
+ "description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more\ninformation, see\nhttp://www.unicode.org/reports/tr35/#Unicode_locale_identifier.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1DocumentPageDimension": {
+ "description": "Dimension for the page.",
+ "id": "GoogleCloudDocumentaiV1beta1DocumentPageDimension",
+ "properties": {
+ "height": {
+ "description": "Page height.",
+ "format": "float",
+ "type": "number"
+ },
+ "unit": {
+ "description": "Dimension unit.",
+ "type": "string"
+ },
+ "width": {
+ "description": "Page width.",
+ "format": "float",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1DocumentPageFormField": {
+ "description": "A form field detected on the page.",
+ "id": "GoogleCloudDocumentaiV1beta1DocumentPageFormField",
+ "properties": {
+ "fieldName": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout",
+ "description": "Layout for the FormField name. e.g. `Address`, `Email`,\n`Grand total`, `Phone number`, etc."
+ },
+ "fieldValue": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout",
+ "description": "Layout for the FormField value."
+ },
+ "nameDetectedLanguages": {
+ "description": "A list of detected languages for name together with confidence.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage"
+ },
+ "type": "array"
+ },
+ "valueDetectedLanguages": {
+ "description": "A list of detected languages for value together with confidence.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1DocumentPageLayout": {
+ "description": "Visual element describing a layout unit on a page.",
+ "id": "GoogleCloudDocumentaiV1beta1DocumentPageLayout",
+ "properties": {
+ "boundingPoly": {
+ "$ref": "GoogleCloudDocumentaiV1beta1BoundingPoly",
+ "description": "The bounding polygon for the Layout."
+ },
+ "confidence": {
+ "description": "Confidence of the current Layout within context of the object this\nlayout is for. e.g. confidence can be for a single token, a table,\na visual element, etc. depending on context. Range [0, 1].",
+ "format": "float",
+ "type": "number"
+ },
+ "orientation": {
+ "description": "Detected orientation for the Layout.",
+ "enum": [
+ "ORIENTATION_UNSPECIFIED",
+ "PAGE_UP",
+ "PAGE_RIGHT",
+ "PAGE_DOWN",
+ "PAGE_LEFT"
+ ],
+ "enumDescriptions": [
+ "Unspecified orientation.",
+ "Orientation is aligned with page up.",
+ "Orientation is aligned with page right.\nTurn the head 90 degrees clockwise from upright to read.",
+ "Orientation is aligned with page down.\nTurn the head 180 degrees from upright to read.",
+ "Orientation is aligned with page left.\nTurn the head 90 degrees counterclockwise from upright to read."
+ ],
+ "type": "string"
+ },
+ "textAnchor": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentTextAnchor",
+ "description": "Text anchor indexing into the Document.text."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1DocumentPageLine": {
+ "description": "A collection of tokens that a human would perceive as a line.\nDoes not cross column boundaries, can be horizontal, vertical, etc.",
+ "id": "GoogleCloudDocumentaiV1beta1DocumentPageLine",
+ "properties": {
+ "detectedLanguages": {
+ "description": "A list of detected languages together with confidence.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage"
+ },
+ "type": "array"
+ },
+ "layout": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout",
+ "description": "Layout for Line."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1DocumentPageParagraph": {
+ "description": "A collection of lines that a human would perceive as a paragraph.",
+ "id": "GoogleCloudDocumentaiV1beta1DocumentPageParagraph",
+ "properties": {
+ "detectedLanguages": {
+ "description": "A list of detected languages together with confidence.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage"
+ },
+ "type": "array"
+ },
+ "layout": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout",
+ "description": "Layout for Paragraph."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1DocumentPageTable": {
+ "description": "A table representation similar to HTML table structure.",
+ "id": "GoogleCloudDocumentaiV1beta1DocumentPageTable",
+ "properties": {
+ "bodyRows": {
+ "description": "Body rows of the table.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow"
+ },
+ "type": "array"
+ },
+ "detectedLanguages": {
+ "description": "A list of detected languages together with confidence.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage"
+ },
+ "type": "array"
+ },
+ "headerRows": {
+ "description": "Header rows of the table.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow"
+ },
+ "type": "array"
+ },
+ "layout": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout",
+ "description": "Layout for Table."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell": {
+ "description": "A cell representation inside the table.",
+ "id": "GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell",
+ "properties": {
+ "colSpan": {
+ "description": "How many columns this cell spans.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "detectedLanguages": {
+ "description": "A list of detected languages together with confidence.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage"
+ },
+ "type": "array"
+ },
+ "layout": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout",
+ "description": "Layout for TableCell."
+ },
+ "rowSpan": {
+ "description": "How many rows this cell spans.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow": {
+ "description": "A row of table cells.",
+ "id": "GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow",
+ "properties": {
+ "cells": {
+ "description": "Cells that make up this row.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1DocumentPageToken": {
+ "description": "A detected token.",
+ "id": "GoogleCloudDocumentaiV1beta1DocumentPageToken",
+ "properties": {
+ "detectedBreak": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak",
+ "description": "Detected break at the end of a Token."
+ },
+ "detectedLanguages": {
+ "description": "A list of detected languages together with confidence.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage"
+ },
+ "type": "array"
+ },
+ "layout": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout",
+ "description": "Layout for Token."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak": {
+ "description": "Detected break at the end of a Token.",
+ "id": "GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak",
+ "properties": {
+ "type": {
+ "description": "Detected break type.",
+ "enum": [
+ "TYPE_UNSPECIFIED",
+ "SPACE",
+ "WIDE_SPACE",
+ "HYPHEN"
+ ],
+ "enumDescriptions": [
+ "Unspecified break type.",
+ "A single whitespace.",
+ "A wider whitespace.",
+ "A hyphen that indicates that a token has been split across lines."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1DocumentPageVisualElement": {
+ "description": "Detected non-text visual elements e.g. checkbox, signature etc. on the\npage.",
+ "id": "GoogleCloudDocumentaiV1beta1DocumentPageVisualElement",
+ "properties": {
+ "detectedLanguages": {
+ "description": "A list of detected languages together with confidence.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage"
+ },
+ "type": "array"
+ },
+ "layout": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout",
+ "description": "Layout for VisualElement."
+ },
+ "type": {
+ "description": "Type of the VisualElement.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1DocumentShardInfo": {
+ "description": "For a large document, sharding may be performed to produce several\ndocument shards. Each document shard contains this field to detail which\nshard it is.",
+ "id": "GoogleCloudDocumentaiV1beta1DocumentShardInfo",
+ "properties": {
+ "shardCount": {
+ "description": "Total number of shards.",
+ "format": "int64",
+ "type": "string"
+ },
+ "shardIndex": {
+ "description": "The 0-based index of this shard.",
+ "format": "int64",
+ "type": "string"
+ },
+ "textOffset": {
+ "description": "The index of the first character in Document.text in the overall\ndocument global text.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1DocumentStyle": {
+ "description": "Annotation for common text style attributes. This adheres to CSS\nconventions as much as possible.",
+ "id": "GoogleCloudDocumentaiV1beta1DocumentStyle",
+ "properties": {
+ "backgroundColor": {
+ "$ref": "GoogleTypeColor",
+ "description": "Text background color."
+ },
+ "color": {
+ "$ref": "GoogleTypeColor",
+ "description": "Text color."
+ },
+ "fontSize": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentStyleFontSize",
+ "description": "Font size."
+ },
+ "fontWeight": {
+ "description": "Font weight. Possible values are normal, bold, bolder, and lighter.\nhttps://www.w3schools.com/cssref/pr_font_weight.asp",
+ "type": "string"
+ },
+ "textAnchor": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentTextAnchor",
+ "description": "Text anchor indexing into the Document.text."
+ },
+ "textDecoration": {
+ "description": "Text decoration. Follows CSS standard.\n\nhttps://www.w3schools.com/cssref/pr_text_text-decoration.asp",
+ "type": "string"
+ },
+ "textStyle": {
+ "description": "Text style. Possible values are normal, italic, and oblique.\nhttps://www.w3schools.com/cssref/pr_font_font-style.asp",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1DocumentStyleFontSize": {
+ "description": "Font size with unit.",
+ "id": "GoogleCloudDocumentaiV1beta1DocumentStyleFontSize",
+ "properties": {
+ "size": {
+ "description": "Font size for the text.",
+ "format": "float",
+ "type": "number"
+ },
+ "unit": {
+ "description": "Unit for the font size. Follows CSS naming (in, px, pt, etc.).",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1DocumentTextAnchor": {
+ "description": "Text reference indexing into the Document.text.",
+ "id": "GoogleCloudDocumentaiV1beta1DocumentTextAnchor",
+ "properties": {
+ "textSegments": {
+ "description": "The text segments from the Document.text.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment": {
+ "description": "A text segment in the Document.text. The indices may be out of bounds\nwhich indicate that the text extends into another document shard for\nlarge sharded documents. See ShardInfo.text_offset",
+ "id": "GoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment",
+ "properties": {
+ "endIndex": {
+ "description": "TextSegment half open end UTF-8 char index in the\nDocument.text.",
+ "format": "int64",
+ "type": "string"
+ },
+ "startIndex": {
+ "description": "TextSegment start UTF-8 char index in the Document.text.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1DocumentTranslation": {
+ "description": "A translation of the text segment.",
+ "id": "GoogleCloudDocumentaiV1beta1DocumentTranslation",
+ "properties": {
+ "languageCode": {
+ "description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more\ninformation, see\nhttp://www.unicode.org/reports/tr35/#Unicode_locale_identifier.",
+ "type": "string"
+ },
+ "textAnchor": {
+ "$ref": "GoogleCloudDocumentaiV1beta1DocumentTextAnchor",
+ "description": "Provenance of the translation.\nText anchor indexing into the Document.text."
+ },
+ "translatedText": {
+ "description": "Text translated into the target language.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1GcsDestination": {
+ "description": "The Google Cloud Storage location where the output file will be written to.",
+ "id": "GoogleCloudDocumentaiV1beta1GcsDestination",
+ "properties": {
+ "uri": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1GcsSource": {
+ "description": "The Google Cloud Storage location where the input file will be read from.",
+ "id": "GoogleCloudDocumentaiV1beta1GcsSource",
+ "properties": {
+ "uri": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1InputConfig": {
+ "description": "The desired input location and metadata.",
+ "id": "GoogleCloudDocumentaiV1beta1InputConfig",
+ "properties": {
+ "gcsSource": {
+ "$ref": "GoogleCloudDocumentaiV1beta1GcsSource",
+ "description": "The Google Cloud Storage location to read the input from. This must be a\nsingle file."
+ },
+ "mimeType": {
+ "description": "Required. Mimetype of the input. Current supported mimetypes are application/pdf,\nimage/tiff, and image/gif.\nIn addition, application/json type is supported for requests with\nProcessDocumentRequest.automl_params field set. The JSON file needs to\nbe in Document format.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1NormalizedVertex": {
+ "description": "A vertex represents a 2D point in the image.\nNOTE: the normalized vertex coordinates are relative to the original image\nand range from 0 to 1.",
+ "id": "GoogleCloudDocumentaiV1beta1NormalizedVertex",
+ "properties": {
+ "x": {
+ "description": "X coordinate.",
+ "format": "float",
+ "type": "number"
+ },
+ "y": {
+ "description": "Y coordinate.",
+ "format": "float",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1OperationMetadata": {
+ "description": "Contains metadata for the BatchProcessDocuments operation.",
+ "id": "GoogleCloudDocumentaiV1beta1OperationMetadata",
+ "properties": {
+ "createTime": {
+ "description": "The creation time of the operation.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "state": {
+ "description": "The state of the current batch processing.",
+ "enum": [
+ "STATE_UNSPECIFIED",
+ "ACCEPTED",
+ "WAITING",
+ "RUNNING",
+ "SUCCEEDED",
+ "CANCELLED",
+ "FAILED"
+ ],
+ "enumDescriptions": [
+ "The default value. This value is used if the state is omitted.",
+ "Request is received.",
+ "Request operation is waiting for scheduling.",
+ "Request is being processed.",
+ "The batch processing completed successfully.",
+ "The batch processing was cancelled.",
+ "The batch processing has failed."
+ ],
+ "type": "string"
+ },
+ "stateMessage": {
+ "description": "A message providing more details about the current state of processing.",
+ "type": "string"
+ },
+ "updateTime": {
+ "description": "The last update time of the operation.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1OutputConfig": {
+ "description": "The desired output location and metadata.",
+ "id": "GoogleCloudDocumentaiV1beta1OutputConfig",
+ "properties": {
+ "gcsDestination": {
+ "$ref": "GoogleCloudDocumentaiV1beta1GcsDestination",
+ "description": "The Google Cloud Storage location to write the output to."
+ },
+ "pagesPerShard": {
+ "description": "The max number of pages to include into each output Document shard JSON on\nGoogle Cloud Storage.\n\nThe valid range is [1, 100]. If not specified, the default value is 20.\n\nFor example, for one pdf file with 100 pages, 100 parsed pages will be\nproduced. If `pages_per_shard` = 20, then 5 Document shard JSON files each\ncontaining 20 parsed pages will be written under the prefix\nOutputConfig.gcs_destination.uri and suffix pages-x-to-y.json where\nx and y are 1-indexed page numbers.\n\nExample GCS outputs with 157 pages and pages_per_shard = 50:\n\npages-001-to-050.json\npages-051-to-100.json\npages-101-to-150.json\npages-151-to-157.json",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1ProcessDocumentResponse": {
+ "description": "Response to a single document processing request.",
+ "id": "GoogleCloudDocumentaiV1beta1ProcessDocumentResponse",
+ "properties": {
+ "inputConfig": {
+ "$ref": "GoogleCloudDocumentaiV1beta1InputConfig",
+ "description": "Information about the input file. This is the same as the corresponding\ninput config in the request."
+ },
+ "outputConfig": {
+ "$ref": "GoogleCloudDocumentaiV1beta1OutputConfig",
+ "description": "The output location of the parsed responses. The responses are written to\nthis location as JSON-serialized `Document` objects."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta1Vertex": {
+ "description": "A vertex represents a 2D point in the image.\nNOTE: the vertex coordinates are in the same scale as the original image.",
+ "id": "GoogleCloudDocumentaiV1beta1Vertex",
+ "properties": {
+ "x": {
+ "description": "X coordinate.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "y": {
+ "description": "Y coordinate.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2AutoMlParams": {
+ "description": "Parameters to control AutoML model prediction behavior.",
+ "id": "GoogleCloudDocumentaiV1beta2AutoMlParams",
+ "properties": {
+ "model": {
+ "description": "Resource name of the AutoML model.\n\nFormat: `projects/{project-id}/locations/{location-id}/models/{model-id}`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest": {
+ "description": "Request to batch process documents as an asynchronous operation. The output\nis written to Cloud Storage as JSON in the [Document] format.",
+ "id": "GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest",
+ "properties": {
+ "requests": {
+ "description": "Required. Individual requests for each document.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2ProcessDocumentRequest"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse": {
+ "description": "Response to an batch document processing request. This is returned in\nthe LRO Operation after the operation is complete.",
+ "id": "GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse",
+ "properties": {
+ "responses": {
+ "description": "Responses for each individual document.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2ProcessDocumentResponse"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2BoundingPoly": {
+ "description": "A bounding polygon for the detected image annotation.",
+ "id": "GoogleCloudDocumentaiV1beta2BoundingPoly",
+ "properties": {
+ "normalizedVertices": {
+ "description": "The bounding polygon normalized vertices.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2NormalizedVertex"
+ },
+ "type": "array"
+ },
+ "vertices": {
+ "description": "The bounding polygon vertices.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2Vertex"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2Document": {
+ "description": "Document represents the canonical document resource in Document Understanding\nAI.\nIt is an interchange format that provides insights into documents and allows\nfor collaboration between users and Document Understanding AI to iterate and\noptimize for quality.",
+ "id": "GoogleCloudDocumentaiV1beta2Document",
+ "properties": {
+ "content": {
+ "description": "Inline document content, represented as a stream of bytes.\nNote: As with all `bytes` fields, protobuffers use a pure binary\nrepresentation, whereas JSON representations use base64.",
+ "format": "byte",
+ "type": "string"
+ },
+ "entities": {
+ "description": "A list of entities detected on Document.text. For document shards,\nentities in this list may cross shard boundaries.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentEntity"
+ },
+ "type": "array"
+ },
+ "entityRelations": {
+ "description": "Relationship among Document.entities.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentEntityRelation"
+ },
+ "type": "array"
+ },
+ "error": {
+ "$ref": "GoogleRpcStatus",
+ "description": "Any error that occurred while processing this document."
+ },
+ "labels": {
+ "description": "Labels for this document.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentLabel"
+ },
+ "type": "array"
+ },
+ "mimeType": {
+ "description": "An IANA published MIME type (also referred to as media type). For more\ninformation, see\nhttps://www.iana.org/assignments/media-types/media-types.xhtml.",
+ "type": "string"
+ },
+ "pages": {
+ "description": "Visual page layout for the Document.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPage"
+ },
+ "type": "array"
+ },
+ "shardInfo": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentShardInfo",
+ "description": "Information about the sharding if this document is sharded part of a larger\ndocument. If the document is not sharded, this message is not specified."
+ },
+ "text": {
+ "description": "UTF-8 encoded text in reading order from the document.",
+ "type": "string"
+ },
+ "textStyles": {
+ "description": "Styles for the Document.text.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentStyle"
+ },
+ "type": "array"
+ },
+ "translations": {
+ "description": "A list of translations on Document.text. For document shards,\ntranslations in this list may cross shard boundaries.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentTranslation"
+ },
+ "type": "array"
+ },
+ "uri": {
+ "description": "Currently supports Google Cloud Storage URI of the form\n `gs://bucket_name/object_name`. Object versioning is not supported.\n See [Google Cloud Storage Request\n URIs](https://cloud.google.com/storage/docs/reference-uris) for more\n info.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2DocumentEntity": {
+ "description": "A phrase in the text that is a known entity type, such as a person, an\norganization, or location.",
+ "id": "GoogleCloudDocumentaiV1beta2DocumentEntity",
+ "properties": {
+ "confidence": {
+ "description": "Optional. Confidence of detected Schema entity. Range [0, 1].",
+ "format": "float",
+ "type": "number"
+ },
+ "mentionId": {
+ "description": "Deprecated. Use `id` field instead.",
+ "type": "string"
+ },
+ "mentionText": {
+ "description": "Text value in the document e.g. `1600 Amphitheatre Pkwy`.",
+ "type": "string"
+ },
+ "textAnchor": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentTextAnchor",
+ "description": "Provenance of the entity.\nText anchor indexing into the Document.text."
+ },
+ "type": {
+ "description": "Entity type from a schema e.g. `Address`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2DocumentEntityRelation": {
+ "description": "Relationship between Entities.",
+ "id": "GoogleCloudDocumentaiV1beta2DocumentEntityRelation",
+ "properties": {
+ "objectId": {
+ "description": "Object entity id.",
+ "type": "string"
+ },
+ "relation": {
+ "description": "Relationship description.",
+ "type": "string"
+ },
+ "subjectId": {
+ "description": "Subject entity id.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2DocumentLabel": {
+ "description": "Label attaches schema information and/or other metadata to segments within\na Document. Multiple Labels on a single field can denote either\ndifferent labels, different instances of the same label created at\ndifferent times, or some combination of both.",
+ "id": "GoogleCloudDocumentaiV1beta2DocumentLabel",
+ "properties": {
+ "automlModel": {
+ "description": "Label is generated AutoML model. This field stores the full resource\nname of the AutoML model.\n\nFormat:\n`projects/{project-id}/locations/{location-id}/models/{model-id}`",
+ "type": "string"
+ },
+ "confidence": {
+ "description": "Confidence score between 0 and 1 for label assignment.",
+ "format": "float",
+ "type": "number"
+ },
+ "name": {
+ "description": "Name of the label.\n\nWhen the label is generated from AutoML Text Classification model, this\nfield represents the name of the category.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2DocumentPage": {
+ "description": "A page in a Document.",
+ "id": "GoogleCloudDocumentaiV1beta2DocumentPage",
+ "properties": {
+ "blocks": {
+ "description": "A list of visually detected text blocks on the page.\nA block has a set of lines (collected into paragraphs) that have a common\nline-spacing and orientation.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageBlock"
+ },
+ "type": "array"
+ },
+ "detectedLanguages": {
+ "description": "A list of detected languages together with confidence.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage"
+ },
+ "type": "array"
+ },
+ "dimension": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDimension",
+ "description": "Physical dimension of the page."
+ },
+ "formFields": {
+ "description": "A list of visually detected form fields on the page.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageFormField"
+ },
+ "type": "array"
+ },
+ "layout": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout",
+ "description": "Layout for the page."
+ },
+ "lines": {
+ "description": "A list of visually detected text lines on the page.\nA collection of tokens that a human would perceive as a line.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLine"
+ },
+ "type": "array"
+ },
+ "pageNumber": {
+ "description": "1-based index for current Page in a parent Document.\nUseful when a page is taken out of a Document for individual\nprocessing.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "paragraphs": {
+ "description": "A list of visually detected text paragraphs on the page.\nA collection of lines that a human would perceive as a paragraph.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageParagraph"
+ },
+ "type": "array"
+ },
+ "tables": {
+ "description": "A list of visually detected tables on the page.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageTable"
+ },
+ "type": "array"
+ },
+ "tokens": {
+ "description": "A list of visually detected tokens on the page.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageToken"
+ },
+ "type": "array"
+ },
+ "visualElements": {
+ "description": "A list of detected non-text visual elements e.g. checkbox,\nsignature etc. on the page.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageVisualElement"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2DocumentPageBlock": {
+ "description": "A block has a set of lines (collected into paragraphs) that have a\ncommon line-spacing and orientation.",
+ "id": "GoogleCloudDocumentaiV1beta2DocumentPageBlock",
+ "properties": {
+ "detectedLanguages": {
+ "description": "A list of detected languages together with confidence.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage"
+ },
+ "type": "array"
+ },
+ "layout": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout",
+ "description": "Layout for Block."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage": {
+ "description": "Detected language for a structural component.",
+ "id": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage",
+ "properties": {
+ "confidence": {
+ "description": "Confidence of detected language. Range [0, 1].",
+ "format": "float",
+ "type": "number"
+ },
+ "languageCode": {
+ "description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more\ninformation, see\nhttp://www.unicode.org/reports/tr35/#Unicode_locale_identifier.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2DocumentPageDimension": {
+ "description": "Dimension for the page.",
+ "id": "GoogleCloudDocumentaiV1beta2DocumentPageDimension",
+ "properties": {
+ "height": {
+ "description": "Page height.",
+ "format": "float",
+ "type": "number"
+ },
+ "unit": {
+ "description": "Dimension unit.",
+ "type": "string"
+ },
+ "width": {
+ "description": "Page width.",
+ "format": "float",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2DocumentPageFormField": {
+ "description": "A form field detected on the page.",
+ "id": "GoogleCloudDocumentaiV1beta2DocumentPageFormField",
+ "properties": {
+ "fieldName": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout",
+ "description": "Layout for the FormField name. e.g. `Address`, `Email`,\n`Grand total`, `Phone number`, etc."
+ },
+ "fieldValue": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout",
+ "description": "Layout for the FormField value."
+ },
+ "nameDetectedLanguages": {
+ "description": "A list of detected languages for name together with confidence.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage"
+ },
+ "type": "array"
+ },
+ "valueDetectedLanguages": {
+ "description": "A list of detected languages for value together with confidence.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage"
+ },
+ "type": "array"
+ },
+ "valueType": {
+ "description": "If the value is non-textual, this field represents the type. Current\nvalid values are:\n- blank (this indicates the field_value is normal text)\n- \"unfilled_checkbox\"\n- \"filled_checkbox\"",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2DocumentPageLayout": {
+ "description": "Visual element describing a layout unit on a page.",
+ "id": "GoogleCloudDocumentaiV1beta2DocumentPageLayout",
+ "properties": {
+ "boundingPoly": {
+ "$ref": "GoogleCloudDocumentaiV1beta2BoundingPoly",
+ "description": "The bounding polygon for the Layout."
+ },
+ "confidence": {
+ "description": "Confidence of the current Layout within context of the object this\nlayout is for. e.g. confidence can be for a single token, a table,\na visual element, etc. depending on context. Range [0, 1].",
+ "format": "float",
+ "type": "number"
+ },
+ "orientation": {
+ "description": "Detected orientation for the Layout.",
+ "enum": [
+ "ORIENTATION_UNSPECIFIED",
+ "PAGE_UP",
+ "PAGE_RIGHT",
+ "PAGE_DOWN",
+ "PAGE_LEFT"
+ ],
+ "enumDescriptions": [
+ "Unspecified orientation.",
+ "Orientation is aligned with page up.",
+ "Orientation is aligned with page right.\nTurn the head 90 degrees clockwise from upright to read.",
+ "Orientation is aligned with page down.\nTurn the head 180 degrees from upright to read.",
+ "Orientation is aligned with page left.\nTurn the head 90 degrees counterclockwise from upright to read."
+ ],
+ "type": "string"
+ },
+ "textAnchor": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentTextAnchor",
+ "description": "Text anchor indexing into the Document.text."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2DocumentPageLine": {
+ "description": "A collection of tokens that a human would perceive as a line.\nDoes not cross column boundaries, can be horizontal, vertical, etc.",
+ "id": "GoogleCloudDocumentaiV1beta2DocumentPageLine",
+ "properties": {
+ "detectedLanguages": {
+ "description": "A list of detected languages together with confidence.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage"
+ },
+ "type": "array"
+ },
+ "layout": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout",
+ "description": "Layout for Line."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2DocumentPageParagraph": {
+ "description": "A collection of lines that a human would perceive as a paragraph.",
+ "id": "GoogleCloudDocumentaiV1beta2DocumentPageParagraph",
+ "properties": {
+ "detectedLanguages": {
+ "description": "A list of detected languages together with confidence.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage"
+ },
+ "type": "array"
+ },
+ "layout": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout",
+ "description": "Layout for Paragraph."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2DocumentPageTable": {
+ "description": "A table representation similar to HTML table structure.",
+ "id": "GoogleCloudDocumentaiV1beta2DocumentPageTable",
+ "properties": {
+ "bodyRows": {
+ "description": "Body rows of the table.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow"
+ },
+ "type": "array"
+ },
+ "detectedLanguages": {
+ "description": "A list of detected languages together with confidence.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage"
+ },
+ "type": "array"
+ },
+ "headerRows": {
+ "description": "Header rows of the table.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow"
+ },
+ "type": "array"
+ },
+ "layout": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout",
+ "description": "Layout for Table."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell": {
+ "description": "A cell representation inside the table.",
+ "id": "GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell",
+ "properties": {
+ "colSpan": {
+ "description": "How many columns this cell spans.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "detectedLanguages": {
+ "description": "A list of detected languages together with confidence.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage"
+ },
+ "type": "array"
+ },
+ "layout": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout",
+ "description": "Layout for TableCell."
+ },
+ "rowSpan": {
+ "description": "How many rows this cell spans.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow": {
+ "description": "A row of table cells.",
+ "id": "GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow",
+ "properties": {
+ "cells": {
+ "description": "Cells that make up this row.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2DocumentPageToken": {
+ "description": "A detected token.",
+ "id": "GoogleCloudDocumentaiV1beta2DocumentPageToken",
+ "properties": {
+ "detectedBreak": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak",
+ "description": "Detected break at the end of a Token."
+ },
+ "detectedLanguages": {
+ "description": "A list of detected languages together with confidence.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage"
+ },
+ "type": "array"
+ },
+ "layout": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout",
+ "description": "Layout for Token."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak": {
+ "description": "Detected break at the end of a Token.",
+ "id": "GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak",
+ "properties": {
+ "type": {
+ "description": "Detected break type.",
+ "enum": [
+ "TYPE_UNSPECIFIED",
+ "SPACE",
+ "WIDE_SPACE",
+ "HYPHEN"
+ ],
+ "enumDescriptions": [
+ "Unspecified break type.",
+ "A single whitespace.",
+ "A wider whitespace.",
+ "A hyphen that indicates that a token has been split across lines."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2DocumentPageVisualElement": {
+ "description": "Detected non-text visual elements e.g. checkbox, signature etc. on the\npage.",
+ "id": "GoogleCloudDocumentaiV1beta2DocumentPageVisualElement",
+ "properties": {
+ "detectedLanguages": {
+ "description": "A list of detected languages together with confidence.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage"
+ },
+ "type": "array"
+ },
+ "layout": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout",
+ "description": "Layout for VisualElement."
+ },
+ "type": {
+ "description": "Type of the VisualElement.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2DocumentShardInfo": {
+ "description": "For a large document, sharding may be performed to produce several\ndocument shards. Each document shard contains this field to detail which\nshard it is.",
+ "id": "GoogleCloudDocumentaiV1beta2DocumentShardInfo",
+ "properties": {
+ "shardCount": {
+ "description": "Total number of shards.",
+ "format": "int64",
+ "type": "string"
+ },
+ "shardIndex": {
+ "description": "The 0-based index of this shard.",
+ "format": "int64",
+ "type": "string"
+ },
+ "textOffset": {
+ "description": "The index of the first character in Document.text in the overall\ndocument global text.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2DocumentStyle": {
+ "description": "Annotation for common text style attributes. This adheres to CSS\nconventions as much as possible.",
+ "id": "GoogleCloudDocumentaiV1beta2DocumentStyle",
+ "properties": {
+ "backgroundColor": {
+ "$ref": "GoogleTypeColor",
+ "description": "Text background color."
+ },
+ "color": {
+ "$ref": "GoogleTypeColor",
+ "description": "Text color."
+ },
+ "fontSize": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentStyleFontSize",
+ "description": "Font size."
+ },
+ "fontWeight": {
+ "description": "Font weight. Possible values are normal, bold, bolder, and lighter.\nhttps://www.w3schools.com/cssref/pr_font_weight.asp",
+ "type": "string"
+ },
+ "textAnchor": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentTextAnchor",
+ "description": "Text anchor indexing into the Document.text."
+ },
+ "textDecoration": {
+ "description": "Text decoration. Follows CSS standard.\n\nhttps://www.w3schools.com/cssref/pr_text_text-decoration.asp",
+ "type": "string"
+ },
+ "textStyle": {
+ "description": "Text style. Possible values are normal, italic, and oblique.\nhttps://www.w3schools.com/cssref/pr_font_font-style.asp",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2DocumentStyleFontSize": {
+ "description": "Font size with unit.",
+ "id": "GoogleCloudDocumentaiV1beta2DocumentStyleFontSize",
+ "properties": {
+ "size": {
+ "description": "Font size for the text.",
+ "format": "float",
+ "type": "number"
+ },
+ "unit": {
+ "description": "Unit for the font size. Follows CSS naming (in, px, pt, etc.).",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2DocumentTextAnchor": {
+ "description": "Text reference indexing into the Document.text.",
+ "id": "GoogleCloudDocumentaiV1beta2DocumentTextAnchor",
+ "properties": {
+ "textSegments": {
+ "description": "The text segments from the Document.text.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment": {
+ "description": "A text segment in the Document.text. The indices may be out of bounds\nwhich indicate that the text extends into another document shard for\nlarge sharded documents. See ShardInfo.text_offset",
+ "id": "GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment",
+ "properties": {
+ "endIndex": {
+ "description": "TextSegment half open end UTF-8 char index in the\nDocument.text.",
+ "format": "int64",
+ "type": "string"
+ },
+ "startIndex": {
+ "description": "TextSegment start UTF-8 char index in the Document.text.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2DocumentTranslation": {
+ "description": "A translation of the text segment.",
+ "id": "GoogleCloudDocumentaiV1beta2DocumentTranslation",
+ "properties": {
+ "languageCode": {
+ "description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more\ninformation, see\nhttp://www.unicode.org/reports/tr35/#Unicode_locale_identifier.",
+ "type": "string"
+ },
+ "textAnchor": {
+ "$ref": "GoogleCloudDocumentaiV1beta2DocumentTextAnchor",
+ "description": "Provenance of the translation.\nText anchor indexing into the Document.text."
+ },
+ "translatedText": {
+ "description": "Text translated into the target language.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2EntityExtractionParams": {
+ "description": "Parameters to control entity extraction behavior.",
+ "id": "GoogleCloudDocumentaiV1beta2EntityExtractionParams",
+ "properties": {
+ "enabled": {
+ "description": "Whether to enable entity extraction.",
+ "type": "boolean"
+ },
+ "modelVersion": {
+ "description": "Model version of the entity extraction. Default is\n\"builtin/stable\". Specify \"builtin/latest\" for the latest model.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2FormExtractionParams": {
+ "description": "Parameters to control form extraction behavior.",
+ "id": "GoogleCloudDocumentaiV1beta2FormExtractionParams",
+ "properties": {
+ "enabled": {
+ "description": "Whether to enable form extraction.",
+ "type": "boolean"
+ },
+ "keyValuePairHints": {
+ "description": "Reserved for future use.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2KeyValuePairHint"
+ },
+ "type": "array"
+ },
+ "modelVersion": {
+ "description": "Model version of the form extraction system. Default is\n\"builtin/stable\". Specify \"builtin/latest\" for the latest model.\nFor custom form models, specify: \u201ccustom/{model_name}\". Model name\nformat is \"bucket_name/path/to/modeldir\" corresponding to\n\"gs://bucket_name/path/to/modeldir\" where annotated examples are stored.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2GcsDestination": {
+ "description": "The Google Cloud Storage location where the output file will be written to.",
+ "id": "GoogleCloudDocumentaiV1beta2GcsDestination",
+ "properties": {
+ "uri": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2GcsSource": {
+ "description": "The Google Cloud Storage location where the input file will be read from.",
+ "id": "GoogleCloudDocumentaiV1beta2GcsSource",
+ "properties": {
+ "uri": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2InputConfig": {
+ "description": "The desired input location and metadata.",
+ "id": "GoogleCloudDocumentaiV1beta2InputConfig",
+ "properties": {
+ "contents": {
+ "description": "Content in bytes, represented as a stream of bytes.\nNote: As with all `bytes` fields, proto buffer messages use a pure binary\nrepresentation, whereas JSON representations use base64.\n\nThis field only works for synchronous ProcessDocument method.",
+ "format": "byte",
+ "type": "string"
+ },
+ "gcsSource": {
+ "$ref": "GoogleCloudDocumentaiV1beta2GcsSource",
+ "description": "The Google Cloud Storage location to read the input from. This must be a\nsingle file."
+ },
+ "mimeType": {
+ "description": "Required. Mimetype of the input. Current supported mimetypes are application/pdf,\nimage/tiff, and image/gif.\nIn addition, application/json type is supported for requests with\nProcessDocumentRequest.automl_params field set. The JSON file needs to\nbe in Document format.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2KeyValuePairHint": {
+ "description": "Reserved for future use.",
+ "id": "GoogleCloudDocumentaiV1beta2KeyValuePairHint",
+ "properties": {
+ "key": {
+ "description": "The key text for the hint.",
+ "type": "string"
+ },
+ "valueTypes": {
+ "description": "Type of the value. This is case-insensitive, and could be one of:\nADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER,\nID, NUMBER, EMAIL, PRICE, TERMS, DATE, NAME. Types not in this list will\nbe ignored.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2NormalizedVertex": {
+ "description": "A vertex represents a 2D point in the image.\nNOTE: the normalized vertex coordinates are relative to the original image\nand range from 0 to 1.",
+ "id": "GoogleCloudDocumentaiV1beta2NormalizedVertex",
+ "properties": {
+ "x": {
+ "description": "X coordinate.",
+ "format": "float",
+ "type": "number"
+ },
+ "y": {
+ "description": "Y coordinate.",
+ "format": "float",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2OcrParams": {
+ "description": "Parameters to control Optical Character Recognition (OCR) behavior.",
+ "id": "GoogleCloudDocumentaiV1beta2OcrParams",
+ "properties": {
+ "languageHints": {
+ "description": "List of languages to use for OCR. In most cases, an empty value\nyields the best results since it enables automatic language detection. For\nlanguages based on the Latin alphabet, setting `language_hints` is not\nneeded. In rare cases, when the language of the text in the image is known,\nsetting a hint will help get better results (although it will be a\nsignificant hindrance if the hint is wrong). Document processing returns an\nerror if one or more of the specified languages is not one of the\nsupported languages.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2OperationMetadata": {
+ "description": "Contains metadata for the BatchProcessDocuments operation.",
+ "id": "GoogleCloudDocumentaiV1beta2OperationMetadata",
+ "properties": {
+ "createTime": {
+ "description": "The creation time of the operation.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "state": {
+ "description": "The state of the current batch processing.",
+ "enum": [
+ "STATE_UNSPECIFIED",
+ "ACCEPTED",
+ "WAITING",
+ "RUNNING",
+ "SUCCEEDED",
+ "CANCELLED",
+ "FAILED"
+ ],
+ "enumDescriptions": [
+ "The default value. This value is used if the state is omitted.",
+ "Request is received.",
+ "Request operation is waiting for scheduling.",
+ "Request is being processed.",
+ "The batch processing completed successfully.",
+ "The batch processing was cancelled.",
+ "The batch processing has failed."
+ ],
+ "type": "string"
+ },
+ "stateMessage": {
+ "description": "A message providing more details about the current state of processing.",
+ "type": "string"
+ },
+ "updateTime": {
+ "description": "The last update time of the operation.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2OutputConfig": {
+ "description": "The desired output location and metadata.",
+ "id": "GoogleCloudDocumentaiV1beta2OutputConfig",
+ "properties": {
+ "gcsDestination": {
+ "$ref": "GoogleCloudDocumentaiV1beta2GcsDestination",
+ "description": "The Google Cloud Storage location to write the output to."
+ },
+ "pagesPerShard": {
+ "description": "The max number of pages to include into each output Document shard JSON on\nGoogle Cloud Storage.\n\nThe valid range is [1, 100]. If not specified, the default value is 20.\n\nFor example, for one pdf file with 100 pages, 100 parsed pages will be\nproduced. If `pages_per_shard` = 20, then 5 Document shard JSON files each\ncontaining 20 parsed pages will be written under the prefix\nOutputConfig.gcs_destination.uri and suffix pages-x-to-y.json where\nx and y are 1-indexed page numbers.\n\nExample GCS outputs with 157 pages and pages_per_shard = 50:\n\npages-001-to-050.json\npages-051-to-100.json\npages-101-to-150.json\npages-151-to-157.json",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2ProcessDocumentRequest": {
+ "description": "Request to process one document.",
+ "id": "GoogleCloudDocumentaiV1beta2ProcessDocumentRequest",
+ "properties": {
+ "automlParams": {
+ "$ref": "GoogleCloudDocumentaiV1beta2AutoMlParams",
+ "description": "Controls AutoML model prediction behavior. AutoMlParams cannot be used\ntogether with other Params."
+ },
+ "documentType": {
+ "description": "Specifies a known document type for deeper structure detection. Valid\nvalues are currently \"general\" and \"invoice\". If not provided, \"general\"\\\nis used as default. If any other value is given, the request is rejected.",
+ "type": "string"
+ },
+ "entityExtractionParams": {
+ "$ref": "GoogleCloudDocumentaiV1beta2EntityExtractionParams",
+ "description": "Controls entity extraction behavior. If not specified, the system will\ndecide reasonable defaults."
+ },
+ "formExtractionParams": {
+ "$ref": "GoogleCloudDocumentaiV1beta2FormExtractionParams",
+ "description": "Controls form extraction behavior. If not specified, the system will\ndecide reasonable defaults."
+ },
+ "inputConfig": {
+ "$ref": "GoogleCloudDocumentaiV1beta2InputConfig",
+ "description": "Required. Information about the input file."
+ },
+ "ocrParams": {
+ "$ref": "GoogleCloudDocumentaiV1beta2OcrParams",
+ "description": "Controls OCR behavior. If not specified, the system will decide reasonable\ndefaults."
+ },
+ "outputConfig": {
+ "$ref": "GoogleCloudDocumentaiV1beta2OutputConfig",
+ "description": "The desired output location. This field is only needed in\nBatchProcessDocumentsRequest."
+ },
+ "parent": {
+ "description": "Target project and location to make a call.\n\nFormat: `projects/{project-id}/locations/{location-id}`.\n\nIf no location is specified, a region will be chosen automatically.\nThis field is only populated when used in ProcessDocument method.",
+ "type": "string"
+ },
+ "tableExtractionParams": {
+ "$ref": "GoogleCloudDocumentaiV1beta2TableExtractionParams",
+ "description": "Controls table extraction behavior. If not specified, the system will\ndecide reasonable defaults."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2ProcessDocumentResponse": {
+ "description": "Response to a single document processing request.",
+ "id": "GoogleCloudDocumentaiV1beta2ProcessDocumentResponse",
+ "properties": {
+ "inputConfig": {
+ "$ref": "GoogleCloudDocumentaiV1beta2InputConfig",
+ "description": "Information about the input file. This is the same as the corresponding\ninput config in the request."
+ },
+ "outputConfig": {
+ "$ref": "GoogleCloudDocumentaiV1beta2OutputConfig",
+ "description": "The output location of the parsed responses. The responses are written to\nthis location as JSON-serialized `Document` objects."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2TableBoundHint": {
+ "description": "A hint for a table bounding box on the page for table parsing.",
+ "id": "GoogleCloudDocumentaiV1beta2TableBoundHint",
+ "properties": {
+ "boundingBox": {
+ "$ref": "GoogleCloudDocumentaiV1beta2BoundingPoly",
+ "description": "Bounding box hint for a table on this page. The coordinates must be\nnormalized to [0,1] and the bounding box must be an axis-aligned rectangle."
+ },
+ "pageNumber": {
+ "description": "Optional. Page number for multi-paged inputs this hint applies to. If not\nprovided, this hint will apply to all pages by default. This value is\n1-based.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2TableExtractionParams": {
+ "description": "Parameters to control table extraction behavior.",
+ "id": "GoogleCloudDocumentaiV1beta2TableExtractionParams",
+ "properties": {
+ "enabled": {
+ "description": "Whether to enable table extraction.",
+ "type": "boolean"
+ },
+ "headerHints": {
+ "description": "Optional. Reserved for future use.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "modelVersion": {
+ "description": "Model version of the table extraction system. Default is \"builtin/stable\".\nSpecify \"builtin/latest\" for the latest model.",
+ "type": "string"
+ },
+ "tableBoundHints": {
+ "description": "Optional. Table bounding box hints that can be provided to complex cases\nwhich our algorithm cannot locate the table(s) in.",
+ "items": {
+ "$ref": "GoogleCloudDocumentaiV1beta2TableBoundHint"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudDocumentaiV1beta2Vertex": {
+ "description": "A vertex represents a 2D point in the image.\nNOTE: the vertex coordinates are in the same scale as the original image.",
+ "id": "GoogleCloudDocumentaiV1beta2Vertex",
+ "properties": {
+ "x": {
+ "description": "X coordinate.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "y": {
+ "description": "Y coordinate.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleLongrunningOperation": {
+ "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
+ "id": "GoogleLongrunningOperation",
+ "properties": {
+ "done": {
+ "description": "If the value is `false`, it means the operation is still in progress.\nIf `true`, the operation is completed, and either `error` or `response` is\navailable.",
+ "type": "boolean"
+ },
+ "error": {
+ "$ref": "GoogleRpcStatus",
+ "description": "The error result of the operation in case of failure or cancellation."
+ },
+ "metadata": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.",
+ "type": "object"
+ },
+ "name": {
+ "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should be a resource name ending with `operations/{unique_id}`.",
+ "type": "string"
+ },
+ "response": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleRpcStatus": {
+ "description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors).",
+ "id": "GoogleRpcStatus",
+ "properties": {
+ "code": {
+ "description": "The status code, which should be an enum value of google.rpc.Code.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "details": {
+ "description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.",
+ "items": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleTypeColor": {
+ "description": "Represents a color in the RGBA color space. This representation is designed\nfor simplicity of conversion to/from color representations in various\nlanguages over compactness; for example, the fields of this representation\ncan be trivially provided to the constructor of \"java.awt.Color\" in Java; it\ncan also be trivially provided to UIColor's \"+colorWithRed:green:blue:alpha\"\nmethod in iOS; and, with just a little work, it can be easily formatted into\na CSS \"rgba()\" string in JavaScript, as well.\n\nNote: this proto does not carry information about the absolute color space\nthat should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,\nDCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color\nspace.\n\nNote: when color equality needs to be decided, implementations, unless\ndocumented otherwise, will treat two colors to be equal if all their red,\ngreen, blue and alpha values each differ by at most 1e-5.\n\nExample (Java):\n\n import com.google.type.Color;\n\n // ...\n public static java.awt.Color fromProto(Color protocolor) {\n float alpha = protocolor.hasAlpha()\n ? protocolor.getAlpha().getValue()\n : 1.0;\n\n return new java.awt.Color(\n protocolor.getRed(),\n protocolor.getGreen(),\n protocolor.getBlue(),\n alpha);\n }\n\n public static Color toProto(java.awt.Color color) {\n float red = (float) color.getRed();\n float green = (float) color.getGreen();\n float blue = (float) color.getBlue();\n float denominator = 255.0;\n Color.Builder resultBuilder =\n Color\n .newBuilder()\n .setRed(red / denominator)\n .setGreen(green / denominator)\n .setBlue(blue / denominator);\n int alpha = color.getAlpha();\n if (alpha != 255) {\n result.setAlpha(\n FloatValue\n .newBuilder()\n .setValue(((float) alpha) / denominator)\n .build());\n }\n return resultBuilder.build();\n }\n // ...\n\nExample (iOS / Obj-C):\n\n // ...\n static UIColor* fromProto(Color* protocolor) {\n float red = [protocolor red];\n float green = [protocolor green];\n float blue = [protocolor blue];\n FloatValue* alpha_wrapper = [protocolor alpha];\n float alpha = 1.0;\n if (alpha_wrapper != nil) {\n alpha = [alpha_wrapper value];\n }\n return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];\n }\n\n static Color* toProto(UIColor* color) {\n CGFloat red, green, blue, alpha;\n if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) {\n return nil;\n }\n Color* result = [[Color alloc] init];\n [result setRed:red];\n [result setGreen:green];\n [result setBlue:blue];\n if (alpha <= 0.9999) {\n [result setAlpha:floatWrapperWithValue(alpha)];\n }\n [result autorelease];\n return result;\n }\n // ...\n\n Example (JavaScript):\n\n // ...\n\n var protoToCssColor = function(rgb_color) {\n var redFrac = rgb_color.red || 0.0;\n var greenFrac = rgb_color.green || 0.0;\n var blueFrac = rgb_color.blue || 0.0;\n var red = Math.floor(redFrac * 255);\n var green = Math.floor(greenFrac * 255);\n var blue = Math.floor(blueFrac * 255);\n\n if (!('alpha' in rgb_color)) {\n return rgbToCssColor_(red, green, blue);\n }\n\n var alphaFrac = rgb_color.alpha.value || 0.0;\n var rgbParams = [red, green, blue].join(',');\n return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');\n };\n\n var rgbToCssColor_ = function(red, green, blue) {\n var rgbNumber = new Number((red << 16) | (green << 8) | blue);\n var hexString = rgbNumber.toString(16);\n var missingZeros = 6 - hexString.length;\n var resultBuilder = ['#'];\n for (var i = 0; i < missingZeros; i++) {\n resultBuilder.push('0');\n }\n resultBuilder.push(hexString);\n return resultBuilder.join('');\n };\n\n // ...",
+ "id": "GoogleTypeColor",
+ "properties": {
+ "alpha": {
+ "description": "The fraction of this color that should be applied to the pixel. That is,\nthe final pixel color is defined by the equation:\n\n pixel color = alpha * (this color) + (1.0 - alpha) * (background color)\n\nThis means that a value of 1.0 corresponds to a solid color, whereas\na value of 0.0 corresponds to a completely transparent color. This\nuses a wrapper message rather than a simple float scalar so that it is\npossible to distinguish between a default value and the value being unset.\nIf omitted, this color object is to be rendered as a solid color\n(as if the alpha value had been explicitly given with a value of 1.0).",
+ "format": "float",
+ "type": "number"
+ },
+ "blue": {
+ "description": "The amount of blue in the color as a value in the interval [0, 1].",
+ "format": "float",
+ "type": "number"
+ },
+ "green": {
+ "description": "The amount of green in the color as a value in the interval [0, 1].",
+ "format": "float",
+ "type": "number"
+ },
+ "red": {
+ "description": "The amount of red in the color as a value in the interval [0, 1].",
+ "format": "float",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "servicePath": "",
+ "title": "Cloud Document AI API",
+ "version": "v1beta2",
+ "version_module": true
+}
\ No newline at end of file
diff --git a/etc/api/domainsrdap/v1/domainsrdap-api.json b/etc/api/domainsrdap/v1/domainsrdap-api.json
index 70d114bd1f..b22a043eba 100644
--- a/etc/api/domainsrdap/v1/domainsrdap-api.json
+++ b/etc/api/domainsrdap/v1/domainsrdap-api.json
@@ -289,7 +289,7 @@
}
}
},
- "revision": "20200409",
+ "revision": "20200603",
"rootUrl": "https://domainsrdap.googleapis.com/",
"schemas": {
"HttpBody": {
diff --git a/etc/api/doubleclickbidmanager/v1.1/doubleclickbidmanager-api.json b/etc/api/doubleclickbidmanager/v1.1/doubleclickbidmanager-api.json
index 7b734f12fd..db62294213 100644
--- a/etc/api/doubleclickbidmanager/v1.1/doubleclickbidmanager-api.json
+++ b/etc/api/doubleclickbidmanager/v1.1/doubleclickbidmanager-api.json
@@ -15,7 +15,7 @@
"description": "API for viewing and managing your reports in DoubleClick Bid Manager.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/bid-manager/",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/6b9y3bDbjgvkpj1FGVAGd_f0qZM\"",
+ "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/9-5twGUs1hq-ELO4w_-sWYOtRM0\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -295,7 +295,7 @@
}
}
},
- "revision": "20200316",
+ "revision": "20200616",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"DownloadLineItemsRequest": {
@@ -672,6 +672,7 @@
"FILTER_TRUEVIEW_KEYWORD",
"FILTER_TRUEVIEW_PARENTAL_STATUS",
"FILTER_TRUEVIEW_PLACEMENT",
+ "FILTER_TRUEVIEW_PLACEMENT_ID",
"FILTER_TRUEVIEW_REGION",
"FILTER_TRUEVIEW_REGION_NAME",
"FILTER_TRUEVIEW_REMARKETING_LIST",
@@ -972,6 +973,7 @@
"",
"",
"",
+ "",
""
],
"type": "string"
@@ -1270,6 +1272,7 @@
"FILTER_TRUEVIEW_KEYWORD",
"FILTER_TRUEVIEW_PARENTAL_STATUS",
"FILTER_TRUEVIEW_PLACEMENT",
+ "FILTER_TRUEVIEW_PLACEMENT_ID",
"FILTER_TRUEVIEW_REGION",
"FILTER_TRUEVIEW_REGION_NAME",
"FILTER_TRUEVIEW_REMARKETING_LIST",
@@ -1570,6 +1573,7 @@
"",
"",
"",
+ "",
""
],
"type": "string"
@@ -1864,6 +1868,7 @@
"METRIC_ORIGINAL_AUDIENCE_FREQUENCY",
"METRIC_PAUSES_AUDIO",
"METRIC_PERCENT_IMPRESSIONS_WITH_POSITIVE_CUSTOM_VALUE",
+ "METRIC_PERCENT_INVALID_IMPRESSIONS_PREBID",
"METRIC_PLATFORM_FEE_ADVERTISER",
"METRIC_PLATFORM_FEE_PARTNER",
"METRIC_PLATFORM_FEE_RATE",
@@ -2439,6 +2444,7 @@
"",
"",
"",
+ "",
""
],
"type": "string"
diff --git a/etc/api/doubleclickbidmanager/v1/doubleclickbidmanager-api.json b/etc/api/doubleclickbidmanager/v1/doubleclickbidmanager-api.json
index 2a326a28de..c0bab35144 100644
--- a/etc/api/doubleclickbidmanager/v1/doubleclickbidmanager-api.json
+++ b/etc/api/doubleclickbidmanager/v1/doubleclickbidmanager-api.json
@@ -15,7 +15,7 @@
"description": "API for viewing and managing your reports in DoubleClick Bid Manager.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/bid-manager/",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/HgR482mnyPA6xsLHjUjlQzYwL1g\"",
+ "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/Ev2LSO2Wjf4faLv38E2HSxlElZw\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -257,7 +257,7 @@
}
}
},
- "revision": "20200316",
+ "revision": "20200616",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"DownloadLineItemsRequest": {
diff --git a/etc/api/drive/v2/drive-api.json b/etc/api/drive/v2/drive-api.json
index 0e5ef74b57..d1e21bcb80 100644
--- a/etc/api/drive/v2/drive-api.json
+++ b/etc/api/drive/v2/drive-api.json
@@ -38,7 +38,7 @@
"description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/drive/",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/UEl2PHBvsMjh3TSXQxSnNlF4wSs\"",
+ "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/0HpFu_RDPkuIU_N39LrLS2PV3e0\"",
"icons": {
"x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png",
"x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png"
@@ -219,13 +219,13 @@
"type": "string"
},
"driveId": {
- "description": "The shared drive from which the change will be returned.",
+ "description": "The shared drive from which the change is returned.",
"location": "query",
"type": "string"
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -262,13 +262,13 @@
"id": "drive.changes.getStartPageToken",
"parameters": {
"driveId": {
- "description": "The ID of the shared drive for which the starting pageToken for listing future changes from that shared drive will be returned.",
+ "description": "The ID of the shared drive for which the starting pageToken for listing future changes from that shared drive is returned.",
"location": "query",
"type": "string"
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -305,7 +305,7 @@
"id": "drive.changes.list",
"parameters": {
"driveId": {
- "description": "The shared drive from which changes will be returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier.",
+ "description": "The shared drive from which changes are returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier.",
"location": "query",
"type": "string"
},
@@ -323,13 +323,13 @@
},
"includeItemsFromAllDrives": {
"default": "false",
- "description": "Deprecated - Whether both My Drive and shared drive items should be included in results. This parameter will only be effective until June 1, 2020. Afterwards shared drive items will be included in the results.",
+ "description": "Whether both My Drive and shared drive items should be included in results.",
"location": "query",
"type": "boolean"
},
"includeSubscribed": {
"default": "true",
- "description": "Whether to include changes outside the My Drive hierarchy in the result. When set to false, changes to files such as those in the Application Data folder or shared files which have not been added to My Drive will be omitted from the result.",
+ "description": "Whether to include changes outside the My Drive hierarchy in the result. When set to false, changes to files such as those in the Application Data folder or shared files which have not been added to My Drive are omitted from the result.",
"location": "query",
"type": "boolean"
},
@@ -365,7 +365,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -403,7 +403,7 @@
"id": "drive.changes.watch",
"parameters": {
"driveId": {
- "description": "The shared drive from which changes will be returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier.",
+ "description": "The shared drive from which changes are returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier.",
"location": "query",
"type": "string"
},
@@ -421,13 +421,13 @@
},
"includeItemsFromAllDrives": {
"default": "false",
- "description": "Deprecated - Whether both My Drive and shared drive items should be included in results. This parameter will only be effective until June 1, 2020. Afterwards shared drive items will be included in the results.",
+ "description": "Whether both My Drive and shared drive items should be included in results.",
"location": "query",
"type": "boolean"
},
"includeSubscribed": {
"default": "true",
- "description": "Whether to include changes outside the My Drive hierarchy in the result. When set to false, changes to files such as those in the Application Data folder or shared files which have not been added to My Drive will be omitted from the result.",
+ "description": "Whether to include changes outside the My Drive hierarchy in the result. When set to false, changes to files such as those in the Application Data folder or shared files which have not been added to My Drive are omitted from the result.",
"location": "query",
"type": "boolean"
},
@@ -463,7 +463,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -544,7 +544,7 @@
},
"enforceSingleParent": {
"default": "false",
- "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter will only take effect if the item is not in a shared drive. If the item's last parent is removed, the item will be placed under its owner's root.",
+ "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter only takes effect if the item is not in a shared drive. If the item's last parent is removed, the item is placed under its owner's root.",
"location": "query",
"type": "boolean"
},
@@ -607,7 +607,7 @@
"parameters": {
"enforceSingleParent": {
"default": "false",
- "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter will only take effect if the item is not in a shared drive. If the child's owner makes the request, the child will be removed from all current folders and placed in the requested folder. Any other requests that increase the number of the child's parents will fail, except when the canAddMyDriveParent file capability is true and a single parent is being added.",
+ "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter only takes effect if the item is not in a shared drive. If the child's owner makes the request, the child is removed from all current folders and placed in the requested folder. Any other requests that increase the number of the child's parents fail, except when the canAddMyDriveParent file capability is true and a single parent is being added.",
"location": "query",
"type": "boolean"
},
@@ -619,7 +619,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -1128,7 +1128,7 @@
},
"enforceSingleParent": {
"default": "false",
- "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter will only take effect if the item is not in a shared drive. Requests that specify more than one parent will fail.",
+ "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter only takes effect if the item is not in a shared drive. Requests that specify more than one parent fail.",
"location": "query",
"type": "boolean"
},
@@ -1157,7 +1157,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -1223,7 +1223,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -1351,7 +1351,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -1414,7 +1414,7 @@
},
"enforceSingleParent": {
"default": "false",
- "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter will only take effect if the item is not in a shared drive. Requests that specify more than one parent will fail.",
+ "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter only takes effect if the item is not in a shared drive. Requests that specify more than one parent fail.",
"location": "query",
"type": "boolean"
},
@@ -1437,7 +1437,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -1524,7 +1524,7 @@
},
"includeItemsFromAllDrives": {
"default": "false",
- "description": "Deprecated - Whether both My Drive and shared drive items should be included in results. This parameter will only be effective until June 1, 2020. Afterwards shared drive items will be included in the results.",
+ "description": "Whether both My Drive and shared drive items should be included in results.",
"location": "query",
"type": "boolean"
},
@@ -1577,7 +1577,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -1629,7 +1629,7 @@
},
"enforceSingleParent": {
"default": "false",
- "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter will only take effect if the item is not in a shared drive. If the item's owner makes a request to add a single parent, the item will be removed from all current folders and placed in the requested folder. Other requests that increase the number of parents will fail, except when the canAddMyDriveParent file capability is true and a single parent is being added.",
+ "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter only takes effect if the item is not in a shared drive. If the item's owner makes a request to add a single parent, the item is removed from all current folders and placed in the requested folder. Other requests that increase the number of parents fail, except when the canAddMyDriveParent file capability is true and a single parent is being added.",
"location": "query",
"type": "boolean"
},
@@ -1696,7 +1696,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -1761,7 +1761,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -1800,7 +1800,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -1838,7 +1838,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -1897,7 +1897,7 @@
},
"enforceSingleParent": {
"default": "false",
- "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter will only take effect if the item is not in a shared drive. If the item's owner makes a request to add a single parent, the item will be removed from all current folders and placed in the requested folder. Other requests that increase the number of parents will fail, except when the canAddMyDriveParent file capability is true and a single parent is being added.",
+ "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter only takes effect if the item is not in a shared drive. If the item's owner makes a request to add a single parent, the item is removed from all current folders and placed in the requested folder. Other requests that increase the number of parents fail, except when the canAddMyDriveParent file capability is true and a single parent is being added.",
"location": "query",
"type": "boolean"
},
@@ -1964,7 +1964,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -2054,7 +2054,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -2107,7 +2107,7 @@
"parameters": {
"enforceSingleParent": {
"default": "false",
- "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter will only take effect if the item is not in a shared drive. If the item's last parent is removed, the item will be placed under its owner's root.",
+ "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter only takes effect if the item is not in a shared drive. If the item's last parent is removed, the item is placed under its owner's root.",
"location": "query",
"type": "boolean"
},
@@ -2176,7 +2176,7 @@
"parameters": {
"enforceSingleParent": {
"default": "false",
- "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter will only take effect if the item is not in a shared drive. If the child's owner makes the request, the child will be removed from all current folders and placed in the requested folder. Any other requests that increase the number of the child's parents will fail, except when the canAddMyDriveParent file capability is true and a single parent is being added.",
+ "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter only takes effect if the item is not in a shared drive. If the child's owner makes the request, the child is removed from all current folders and placed in the requested folder. Any other requests that increase the number of the child's parents fail, except when the canAddMyDriveParent file capability is true and a single parent is being added.",
"location": "query",
"type": "boolean"
},
@@ -2188,7 +2188,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -2268,7 +2268,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -2314,7 +2314,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -2389,7 +2389,7 @@
},
"enforceSingleParent": {
"default": "false",
- "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter will only take effect if the item is not in a shared drive. See moveToNewOwnersRoot for details.",
+ "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter only takes effect if the item is not in a shared drive. See moveToNewOwnersRoot for details.",
"location": "query",
"type": "boolean"
},
@@ -2401,7 +2401,7 @@
},
"moveToNewOwnersRoot": {
"default": "false",
- "description": "This parameter will only take effect if the item is not in a shared drive and the request is attempting to transfer the ownership of the item. When set to true, the item will be moved to the new owner's My Drive root folder and all prior parents removed. If set to false, when enforceSingleParent=true, parents are not changed. If set to false, when enforceSingleParent=false, existing parents are not changed; however, the file will be added to the new owner's My Drive root folder, unless it is already in the new owner's My Drive.",
+ "description": "This parameter only takes effect if the item is not in a shared drive and the request is attempting to transfer the ownership of the item. When set to true, the item will be moved to the new owner's My Drive root folder and all prior parents removed. If set to false, when enforceSingleParent=true, parents are not changed. If set to false, when enforceSingleParent=false, existing parents are not changed; however, the file will be added to the new owner's My Drive root folder, unless it is already in the new owner's My Drive.",
"location": "query",
"type": "boolean"
},
@@ -2413,7 +2413,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -2471,7 +2471,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -2530,7 +2530,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -2594,7 +2594,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -3442,7 +3442,7 @@
}
}
},
- "revision": "20200326",
+ "revision": "20200618",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"About": {
@@ -4527,6 +4527,10 @@
"description": "Whether the current user can add children to this folder. This is always false when the item is not a folder.",
"type": "boolean"
},
+ "canAddFolderFromAnotherDrive": {
+ "description": "Whether the current user can add a folder from another drive (different shared drive or My Drive) to this folder. This is false when the item is not a folder. Only populated for items in shared drives.",
+ "type": "boolean"
+ },
"canAddMyDriveParent": {
"description": "Whether the current user can add a parent for the item without removing an existing parent in the same request. Not populated for shared drive files.",
"type": "boolean"
@@ -5290,7 +5294,7 @@
"type": "string"
},
"expirationDate": {
- "description": "The time at which this permission will expire (RFC 3339 date-time). Expiration dates have the following restrictions: \n- They can only be set on user and group permissions \n- The date must be in the future \n- The date cannot be more than a year in the future \n- The date can only be set on drive.permissions.update or drive.permissions.patch requests",
+ "description": "The time at which this permission will expire (RFC 3339 date-time). Expiration dates have the following restrictions: \n- They cannot be set on shared drive items \n- They can only be set on user and group permissions \n- The date must be in the future \n- The date cannot be more than a year in the future \n- The date can only be set on drive.permissions.update or drive.permissions.patch requests",
"format": "date-time",
"type": "string"
},
diff --git a/etc/api/drive/v3/drive-api.json b/etc/api/drive/v3/drive-api.json
index 8d44877d0d..7f2a38e3ee 100644
--- a/etc/api/drive/v3/drive-api.json
+++ b/etc/api/drive/v3/drive-api.json
@@ -35,7 +35,7 @@
"description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/drive/",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/Gwpv0RWj7aub3RuREPPSzE4kDlg\"",
+ "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/kQu8Vg9hIDq0iLeHAOTEY97OKEg\"",
"icons": {
"x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png",
"x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png"
@@ -122,13 +122,13 @@
"id": "drive.changes.getStartPageToken",
"parameters": {
"driveId": {
- "description": "The ID of the shared drive for which the starting pageToken for listing future changes from that shared drive will be returned.",
+ "description": "The ID of the shared drive for which the starting pageToken for listing future changes from that shared drive is returned.",
"location": "query",
"type": "string"
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -167,7 +167,7 @@
],
"parameters": {
"driveId": {
- "description": "The shared drive from which changes will be returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier.",
+ "description": "The shared drive from which changes are returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier.",
"location": "query",
"type": "string"
},
@@ -179,7 +179,7 @@
},
"includeItemsFromAllDrives": {
"default": "false",
- "description": "Deprecated - Whether both My Drive and shared drive items should be included in results. This parameter will only be effective until June 1, 2020. Afterwards shared drive items will be included in the results.",
+ "description": "Whether both My Drive and shared drive items should be included in results.",
"location": "query",
"type": "boolean"
},
@@ -224,7 +224,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -264,7 +264,7 @@
],
"parameters": {
"driveId": {
- "description": "The shared drive from which changes will be returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier.",
+ "description": "The shared drive from which changes are returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier.",
"location": "query",
"type": "string"
},
@@ -276,7 +276,7 @@
},
"includeItemsFromAllDrives": {
"default": "false",
- "description": "Deprecated - Whether both My Drive and shared drive items should be included in results. This parameter will only be effective until June 1, 2020. Afterwards shared drive items will be included in the results.",
+ "description": "Whether both My Drive and shared drive items should be included in results.",
"location": "query",
"type": "boolean"
},
@@ -321,7 +321,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -772,7 +772,7 @@
"parameters": {
"enforceSingleParent": {
"default": "false",
- "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter will only take effect if the item is not in a shared drive. Requests that specify more than one parent will fail.",
+ "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter only takes effect if the item is not in a shared drive. Requests that specify more than one parent fail.",
"location": "query",
"type": "boolean"
},
@@ -801,7 +801,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -849,7 +849,7 @@
"parameters": {
"enforceSingleParent": {
"default": "false",
- "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter will only take effect if the item is not in a shared drive. Requests that specify more than one parent will fail.",
+ "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter only takes effect if the item is not in a shared drive. Requests that specify more than one parent fail.",
"location": "query",
"type": "boolean"
},
@@ -872,7 +872,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -920,7 +920,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -1030,7 +1030,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -1088,7 +1088,7 @@
},
"includeItemsFromAllDrives": {
"default": "false",
- "description": "Deprecated - Whether both My Drive and shared drive items should be included in results. This parameter will only be effective until June 1, 2020. Afterwards shared drive items will be included in the results.",
+ "description": "Whether both My Drive and shared drive items should be included in results.",
"location": "query",
"type": "boolean"
},
@@ -1130,7 +1130,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -1191,7 +1191,7 @@
},
"enforceSingleParent": {
"default": "false",
- "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter will only take effect if the item is not in a shared drive. If the item's owner makes a request to add a single parent, the item will be removed from all current folders and placed in the requested folder. Other requests that increase the number of parents will fail, except when the canAddMyDriveParent file capability is true and a single parent is being added.",
+ "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter only takes effect if the item is not in a shared drive. If the item's owner makes a request to add a single parent, the item is removed from all current folders and placed in the requested folder. Other requests that increase the number of parents fail, except when the canAddMyDriveParent file capability is true and a single parent is being added.",
"location": "query",
"type": "boolean"
},
@@ -1219,7 +1219,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -1274,7 +1274,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -1325,7 +1325,7 @@
},
"enforceSingleParent": {
"default": "false",
- "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter will only take effect if the item is not in a shared drive. See moveToNewOwnersRoot for details.",
+ "description": "Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter only takes effect if the item is not in a shared drive. See moveToNewOwnersRoot for details.",
"location": "query",
"type": "boolean"
},
@@ -1337,7 +1337,7 @@
},
"moveToNewOwnersRoot": {
"default": "false",
- "description": "This parameter will only take effect if the item is not in a shared drive and the request is attempting to transfer the ownership of the item. When set to true, the item will be moved to the new owner's My Drive root folder and all prior parents removed. If set to false, when enforceSingleParent=true, parents are not changed. If set to false, when enforceSingleParent=false, existing parents are not changed; however, the file will be added to the new owner's My Drive root folder, unless it is already in the new owner's My Drive.",
+ "description": "This parameter only takes effect if the item is not in a shared drive and the request is attempting to transfer the ownership of the item. When set to true, the item is moved to the new owner's My Drive root folder and all prior parents removed. If set to false, when enforceSingleParent=true, parents are not changed. If set to false, when enforceSingleParent=false, existing parents are not changed; however, the file will be added to the new owner's My Drive root folder, unless it is already in the new owner's My Drive.",
"location": "query",
"type": "boolean"
},
@@ -1348,7 +1348,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -1406,7 +1406,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -1452,7 +1452,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -1511,7 +1511,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -1570,7 +1570,7 @@
},
"supportsAllDrives": {
"default": "false",
- "description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
+ "description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
@@ -2126,7 +2126,7 @@
}
}
},
- "revision": "20200326",
+ "revision": "20200618",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"About": {
@@ -2705,6 +2705,10 @@
"description": "Whether the current user can add children to this folder. This is always false when the item is not a folder.",
"type": "boolean"
},
+ "canAddFolderFromAnotherDrive": {
+ "description": "Whether the current user can add a folder from another drive (different shared drive or My Drive) to this folder. This is false when the item is not a folder. Only populated for items in shared drives.",
+ "type": "boolean"
+ },
"canAddMyDriveParent": {
"description": "Whether the current user can add a parent for the item without removing an existing parent in the same request. Not populated for shared drive files.",
"type": "boolean"
diff --git a/etc/api/driveactivity/v2/driveactivity-api.json b/etc/api/driveactivity/v2/driveactivity-api.json
index 1242cb9dbc..03985c521f 100644
--- a/etc/api/driveactivity/v2/driveactivity-api.json
+++ b/etc/api/driveactivity/v2/driveactivity-api.json
@@ -132,7 +132,7 @@
}
}
},
- "revision": "20200407",
+ "revision": "20200707",
"rootUrl": "https://driveactivity.googleapis.com/",
"schemas": {
"Action": {
@@ -895,10 +895,10 @@
},
"consolidationStrategy": {
"$ref": "ConsolidationStrategy",
- "description": "Details on how to consolidate related actions that make up the activity. If\nnot set, then related actions will not be consolidated."
+ "description": "Details on how to consolidate related actions that make up the activity. If\nnot set, then related actions are not consolidated."
},
"filter": {
- "description": "The filtering for items returned from this query request. The format of the\nfilter string is a sequence of expressions, joined by an optional \"AND\",\nwhere each expression is of the form \"field operator value\".\n\nSupported fields:\n\n - time: Uses numerical operators on date values either in\n terms of milliseconds since Jan 1, 1970 or in RFC 3339 format.\n Examples:\n - time > 1452409200000 AND time <= 1492812924310\n - time >= \"2016-01-10T01:02:03-05:00\"\n\n - detail.action_detail_case: Uses the \"has\" operator (:) and\n either a singular value or a list of allowed action types enclosed in\n parentheses.\n Examples:\n - detail.action_detail_case: RENAME\n - detail.action_detail_case:(CREATE UPLOAD)\n - -detail.action_detail_case:MOVE",
+ "description": "The filtering for items returned from this query request. The format of the\nfilter string is a sequence of expressions, joined by an optional \"AND\",\nwhere each expression is of the form \"field operator value\".\n\nSupported fields:\n\n - time: Uses numerical operators on date values either in\n terms of milliseconds since Jan 1, 1970 or in RFC 3339 format.\n Examples:\n - time > 1452409200000 AND time <= 1492812924310\n - time >= \"2016-01-10T01:02:03-05:00\"\n\n - detail.action_detail_case: Uses the \"has\" operator (:) and\n either a singular value or a list of allowed action types enclosed in\n parentheses.\n Examples:\n - detail.action_detail_case: RENAME\n - detail.action_detail_case:(CREATE EDIT)\n - -detail.action_detail_case:MOVE",
"type": "string"
},
"itemName": {
@@ -906,12 +906,12 @@
"type": "string"
},
"pageSize": {
- "description": "The requested number of activity to return. If not set, a default value\nwill be used.",
+ "description": "The miminum number of activities desired in the response; the server will\nattempt to return at least this quanitity. The server may also return fewer\nactivities if it has a partial response ready before the request times out.\nIf not set, a default value is used.",
"format": "int32",
"type": "integer"
},
"pageToken": {
- "description": "The next_page_token value returned from a previous QueryDriveActivity\nrequest, if any.",
+ "description": "The token identifying which page of results to return. Set this to the\nnext_page_token value returned from a previous query to obtain the\nfollowing page of results. If not set, the first page of results will be\nreturned.",
"type": "string"
}
},
diff --git a/etc/api/factchecktools/v1alpha1/factchecktools-api.json b/etc/api/factchecktools/v1alpha1/factchecktools-api.json
index 3f8dcc7d38..330a7ff3a5 100644
--- a/etc/api/factchecktools/v1alpha1/factchecktools-api.json
+++ b/etc/api/factchecktools/v1alpha1/factchecktools-api.json
@@ -304,7 +304,7 @@
}
}
},
- "revision": "20200409",
+ "revision": "20200708",
"rootUrl": "https://factchecktools.googleapis.com/",
"schemas": {
"GoogleFactcheckingFactchecktoolsV1alpha1Claim": {
diff --git a/etc/api/fcm/v1/fcm-api.json b/etc/api/fcm/v1/fcm-api.json
index 38601ec546..029318f153 100644
--- a/etc/api/fcm/v1/fcm-api.json
+++ b/etc/api/fcm/v1/fcm-api.json
@@ -142,7 +142,7 @@
}
}
},
- "revision": "20200406",
+ "revision": "20200706",
"rootUrl": "https://fcm.googleapis.com/",
"schemas": {
"AndroidConfig": {
@@ -396,7 +396,7 @@
"type": "object"
},
"Color": {
- "description": "Represents a color in the RGBA color space. This representation is designed\nfor simplicity of conversion to/from color representations in various\nlanguages over compactness; for example, the fields of this representation\ncan be trivially provided to the constructor of \"java.awt.Color\" in Java; it\ncan also be trivially provided to UIColor's \"+colorWithRed:green:blue:alpha\"\nmethod in iOS; and, with just a little work, it can be easily formatted into\na CSS \"rgba()\" string in JavaScript, as well.\n\nNote: this proto does not carry information about the absolute color space\nthat should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,\nDCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color\nspace.\n\nExample (Java):\n\n import com.google.type.Color;\n\n // ...\n public static java.awt.Color fromProto(Color protocolor) {\n float alpha = protocolor.hasAlpha()\n ? protocolor.getAlpha().getValue()\n : 1.0;\n\n return new java.awt.Color(\n protocolor.getRed(),\n protocolor.getGreen(),\n protocolor.getBlue(),\n alpha);\n }\n\n public static Color toProto(java.awt.Color color) {\n float red = (float) color.getRed();\n float green = (float) color.getGreen();\n float blue = (float) color.getBlue();\n float denominator = 255.0;\n Color.Builder resultBuilder =\n Color\n .newBuilder()\n .setRed(red / denominator)\n .setGreen(green / denominator)\n .setBlue(blue / denominator);\n int alpha = color.getAlpha();\n if (alpha != 255) {\n result.setAlpha(\n FloatValue\n .newBuilder()\n .setValue(((float) alpha) / denominator)\n .build());\n }\n return resultBuilder.build();\n }\n // ...\n\nExample (iOS / Obj-C):\n\n // ...\n static UIColor* fromProto(Color* protocolor) {\n float red = [protocolor red];\n float green = [protocolor green];\n float blue = [protocolor blue];\n FloatValue* alpha_wrapper = [protocolor alpha];\n float alpha = 1.0;\n if (alpha_wrapper != nil) {\n alpha = [alpha_wrapper value];\n }\n return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];\n }\n\n static Color* toProto(UIColor* color) {\n CGFloat red, green, blue, alpha;\n if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) {\n return nil;\n }\n Color* result = [[Color alloc] init];\n [result setRed:red];\n [result setGreen:green];\n [result setBlue:blue];\n if (alpha <= 0.9999) {\n [result setAlpha:floatWrapperWithValue(alpha)];\n }\n [result autorelease];\n return result;\n }\n // ...\n\n Example (JavaScript):\n\n // ...\n\n var protoToCssColor = function(rgb_color) {\n var redFrac = rgb_color.red || 0.0;\n var greenFrac = rgb_color.green || 0.0;\n var blueFrac = rgb_color.blue || 0.0;\n var red = Math.floor(redFrac * 255);\n var green = Math.floor(greenFrac * 255);\n var blue = Math.floor(blueFrac * 255);\n\n if (!('alpha' in rgb_color)) {\n return rgbToCssColor_(red, green, blue);\n }\n\n var alphaFrac = rgb_color.alpha.value || 0.0;\n var rgbParams = [red, green, blue].join(',');\n return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');\n };\n\n var rgbToCssColor_ = function(red, green, blue) {\n var rgbNumber = new Number((red << 16) | (green << 8) | blue);\n var hexString = rgbNumber.toString(16);\n var missingZeros = 6 - hexString.length;\n var resultBuilder = ['#'];\n for (var i = 0; i < missingZeros; i++) {\n resultBuilder.push('0');\n }\n resultBuilder.push(hexString);\n return resultBuilder.join('');\n };\n\n // ...",
+ "description": "Represents a color in the RGBA color space. This representation is designed\nfor simplicity of conversion to/from color representations in various\nlanguages over compactness; for example, the fields of this representation\ncan be trivially provided to the constructor of \"java.awt.Color\" in Java; it\ncan also be trivially provided to UIColor's \"+colorWithRed:green:blue:alpha\"\nmethod in iOS; and, with just a little work, it can be easily formatted into\na CSS \"rgba()\" string in JavaScript, as well.\n\nNote: this proto does not carry information about the absolute color space\nthat should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,\nDCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color\nspace.\n\nNote: when color equality needs to be decided, implementations, unless\ndocumented otherwise, will treat two colors to be equal if all their red,\ngreen, blue and alpha values each differ by at most 1e-5.\n\nExample (Java):\n\n import com.google.type.Color;\n\n // ...\n public static java.awt.Color fromProto(Color protocolor) {\n float alpha = protocolor.hasAlpha()\n ? protocolor.getAlpha().getValue()\n : 1.0;\n\n return new java.awt.Color(\n protocolor.getRed(),\n protocolor.getGreen(),\n protocolor.getBlue(),\n alpha);\n }\n\n public static Color toProto(java.awt.Color color) {\n float red = (float) color.getRed();\n float green = (float) color.getGreen();\n float blue = (float) color.getBlue();\n float denominator = 255.0;\n Color.Builder resultBuilder =\n Color\n .newBuilder()\n .setRed(red / denominator)\n .setGreen(green / denominator)\n .setBlue(blue / denominator);\n int alpha = color.getAlpha();\n if (alpha != 255) {\n result.setAlpha(\n FloatValue\n .newBuilder()\n .setValue(((float) alpha) / denominator)\n .build());\n }\n return resultBuilder.build();\n }\n // ...\n\nExample (iOS / Obj-C):\n\n // ...\n static UIColor* fromProto(Color* protocolor) {\n float red = [protocolor red];\n float green = [protocolor green];\n float blue = [protocolor blue];\n FloatValue* alpha_wrapper = [protocolor alpha];\n float alpha = 1.0;\n if (alpha_wrapper != nil) {\n alpha = [alpha_wrapper value];\n }\n return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];\n }\n\n static Color* toProto(UIColor* color) {\n CGFloat red, green, blue, alpha;\n if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) {\n return nil;\n }\n Color* result = [[Color alloc] init];\n [result setRed:red];\n [result setGreen:green];\n [result setBlue:blue];\n if (alpha <= 0.9999) {\n [result setAlpha:floatWrapperWithValue(alpha)];\n }\n [result autorelease];\n return result;\n }\n // ...\n\n Example (JavaScript):\n\n // ...\n\n var protoToCssColor = function(rgb_color) {\n var redFrac = rgb_color.red || 0.0;\n var greenFrac = rgb_color.green || 0.0;\n var blueFrac = rgb_color.blue || 0.0;\n var red = Math.floor(redFrac * 255);\n var green = Math.floor(greenFrac * 255);\n var blue = Math.floor(blueFrac * 255);\n\n if (!('alpha' in rgb_color)) {\n return rgbToCssColor_(red, green, blue);\n }\n\n var alphaFrac = rgb_color.alpha.value || 0.0;\n var rgbParams = [red, green, blue].join(',');\n return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');\n };\n\n var rgbToCssColor_ = function(red, green, blue) {\n var rgbNumber = new Number((red << 16) | (green << 8) | blue);\n var hexString = rgbNumber.toString(16);\n var missingZeros = 6 - hexString.length;\n var resultBuilder = ['#'];\n for (var i = 0; i < missingZeros; i++) {\n resultBuilder.push('0');\n }\n resultBuilder.push(hexString);\n return resultBuilder.join('');\n };\n\n // ...",
"id": "Color",
"properties": {
"alpha": {
diff --git a/etc/api/file/v1/file-api.json b/etc/api/file/v1/file-api.json
index 12ae69b0b3..dda904c537 100644
--- a/etc/api/file/v1/file-api.json
+++ b/etc/api/file/v1/file-api.json
@@ -194,12 +194,12 @@
],
"parameters": {
"instanceId": {
- "description": "The name of the instance to create.\nThe name must be unique for the specified project and location.",
+ "description": "Required. The name of the instance to create.\nThe name must be unique for the specified project and location.",
"location": "query",
"type": "string"
},
"parent": {
- "description": "The instance's project and location, in the format\nprojects/{project_id}/locations/{location}. In Cloud Filestore,\nlocations map to GCP zones, for example **us-west1-b**.",
+ "description": "Required. The instance's project and location, in the format\nprojects/{project_id}/locations/{location}. In Cloud Filestore,\nlocations map to GCP zones, for example **us-west1-b**.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
@@ -227,7 +227,7 @@
],
"parameters": {
"name": {
- "description": "The instance resource name, in the format\nprojects/{project_id}/locations/{location}/instances/{instance_id}",
+ "description": "Required. The instance resource name, in the format\nprojects/{project_id}/locations/{location}/instances/{instance_id}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
"required": true,
@@ -252,7 +252,7 @@
],
"parameters": {
"name": {
- "description": "The instance resource name, in the format\nprojects/{project_id}/locations/{location}/instances/{instance_id}.",
+ "description": "Required. The instance resource name, in the format\nprojects/{project_id}/locations/{location}/instances/{instance_id}.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
"required": true,
@@ -298,7 +298,7 @@
"type": "string"
},
"parent": {
- "description": "The project and location for which to retrieve instance information,\nin the format projects/{project_id}/locations/{location}. In Cloud\nFilestore, locations map to GCP zones, for example **us-west1-b**. To\nretrieve instance information for all locations, use \"-\" for the {location}\nvalue.",
+ "description": "Required. The project and location for which to retrieve instance information,\nin the format projects/{project_id}/locations/{location}. In Cloud\nFilestore, locations map to GCP zones, for example **us-west1-b**. To\nretrieve instance information for all locations, use \"-\" for the {location}\nvalue.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
@@ -477,7 +477,7 @@
}
}
},
- "revision": "20200406",
+ "revision": "20200707",
"rootUrl": "https://file.googleapis.com/",
"schemas": {
"CancelOperationRequest": {
@@ -541,6 +541,10 @@
"description": "The MaintenanceSchedule contains the scheduling information of published\nmaintenance schedule.",
"type": "object"
},
+ "maintenanceSettings": {
+ "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings",
+ "description": "Optional. The MaintenanceSettings associated with instance."
+ },
"name": {
"description": "Unique name of the resource. It uses the form:\n `projects/{project_id}/locations/{location_id}/instances/{instance_id}`",
"type": "string"
@@ -633,6 +637,17 @@
},
"type": "object"
},
+ "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings": {
+ "description": "Maintenance settings associated with instance. Allows service producers and\nend users to assign settings that controls maintenance on this instance.",
+ "id": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings",
+ "properties": {
+ "exclude": {
+ "description": "Optional. Exclude instance from maintenance. When true, rollout service will not\nattempt maintenance on the instance. Rollout service will include the\ninstance in reported rollout progress as not attempted.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata": {
"description": "Node information for custom per-node SLO implementations.\nSSA does not support per-node SLO, but producers can populate per-node\ninformation in SloMetadata for custom precomputations.\nSSA Eligibility Exporter will emit per-node metric based on this information.",
"id": "GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata",
@@ -749,7 +764,7 @@
"type": "string"
},
"description": {
- "description": "Optional. The description of the instance (2048 characters or less).",
+ "description": "The description of the instance (2048 characters or less).",
"type": "string"
},
"etag": {
@@ -817,8 +832,8 @@
],
"enumDescriptions": [
"Not set.",
- "STANDARD tier. BASIC_HDD is the preferred term for this tier.",
- "PREMIUM tier. BASIC_SSD is the preferred term for this tier.",
+ "STANDARD tier.",
+ "PREMIUM tier.",
"BASIC instances offer a maximum capacity of 63.9 TB.\nBASIC_HDD is an alias for STANDARD Tier, offering economical\nperformance backed by HDD.",
"BASIC instances offer a maximum capacity of 63.9 TB.\nBASIC_SSD is an alias for PREMIUM Tier, and offers improved\nperformance backed by SSD.",
"HIGH_SCALE instances offer expanded capacity and performance scaling\ncapabilities."
diff --git a/etc/api/file/v1beta1/file-api.json b/etc/api/file/v1beta1/file-api.json
index 973dc47f90..0eb09d66c9 100644
--- a/etc/api/file/v1beta1/file-api.json
+++ b/etc/api/file/v1beta1/file-api.json
@@ -40,11 +40,6 @@
"location": "query",
"type": "string"
},
- "access_token": {
- "description": "OAuth access token.",
- "location": "query",
- "type": "string"
- },
"alt": {
"default": "json",
"description": "Data format for response.",
@@ -76,11 +71,6 @@
"location": "query",
"type": "string"
},
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
- "location": "query",
- "type": "string"
- },
"prettyPrint": {
"default": "true",
"description": "Returns response with indentations and line breaks.",
@@ -194,12 +184,12 @@
],
"parameters": {
"instanceId": {
- "description": "The name of the instance to create.\nThe name must be unique for the specified project and location.",
+ "description": "Required. The ID of the instance to create.\nThe ID must be unique within the specified project and location.\n\nThis value must start with a lowercase letter followed by up to 62\nlowercase letters, numbers, or hyphens, and cannot end with a hyphen.",
"location": "query",
"type": "string"
},
"parent": {
- "description": "The instance's project and location, in the format\nprojects/{project_id}/locations/{location}. In Cloud Filestore,\nlocations map to GCP zones, for example **us-west1-b**.",
+ "description": "Required. The instance's project and location, in the format\nprojects/{project_id}/locations/{location}. In Cloud Filestore,\nlocations map to GCP zones, for example **us-west1-b**.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
@@ -227,7 +217,7 @@
],
"parameters": {
"name": {
- "description": "The instance resource name, in the format\nprojects/{project_id}/locations/{location}/instances/{instance_id}",
+ "description": "Required. The instance resource name, in the format\nprojects/{project_id}/locations/{location}/instances/{instance_id}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
"required": true,
@@ -252,7 +242,7 @@
],
"parameters": {
"name": {
- "description": "The instance resource name, in the format\nprojects/{project_id}/locations/{location}/instances/{instance_id}.",
+ "description": "Required. The instance resource name, in the format\nprojects/{project_id}/locations/{location}/instances/{instance_id}.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
"required": true,
@@ -298,7 +288,7 @@
"type": "string"
},
"parent": {
- "description": "The project and location for which to retrieve instance information,\nin the format projects/{project_id}/locations/{location}. In Cloud\nFilestore, locations map to GCP zones, for example **us-west1-b**. To\nretrieve instance information for all locations, use \"-\" for the {location}\nvalue.",
+ "description": "Required. The project and location for which to retrieve instance information,\nin the format projects/{project_id}/locations/{location}. In Cloud\nFilestore, locations map to GCP zones, for example **us-west1-b**. To\nretrieve instance information for all locations, use \"-\" for the {location}\nvalue.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
@@ -330,7 +320,7 @@
"type": "string"
},
"updateMask": {
- "description": "Mask of fields to update. At least one path must be supplied in this\nfield. The elements of the repeated paths field may only include these\nfields:\n\n* \"description\"\n* \"file_shares\"\n* \"labels\"",
+ "description": "Required. Mask of fields to update. At least one path must be supplied in this\nfield. The elements of the repeated paths field may only include these\nfields:\n\n* \"description\"\n* \"file_shares\"\n* \"labels\"",
"format": "google-fieldmask",
"location": "query",
"type": "string"
@@ -477,7 +467,7 @@
}
}
},
- "revision": "20200406",
+ "revision": "20200613",
"rootUrl": "https://file.googleapis.com/",
"schemas": {
"CancelOperationRequest": {
@@ -504,6 +494,13 @@
"name": {
"description": "The name of the file share (must be 16 characters or less).",
"type": "string"
+ },
+ "nfsExportOptions": {
+ "description": "Nfs Export Options.\nThere is a limit of 10 export options per file share.",
+ "items": {
+ "$ref": "NfsExportOptions"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -541,6 +538,10 @@
"description": "The MaintenanceSchedule contains the scheduling information of published\nmaintenance schedule.",
"type": "object"
},
+ "maintenanceSettings": {
+ "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings",
+ "description": "Optional. The MaintenanceSettings associated with instance."
+ },
"name": {
"description": "Unique name of the resource. It uses the form:\n `projects/{project_id}/locations/{location_id}/instances/{instance_id}`",
"type": "string"
@@ -633,6 +634,17 @@
},
"type": "object"
},
+ "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings": {
+ "description": "Maintenance settings associated with instance. Allows service producers and\nend users to assign settings that controls maintenance on this instance.",
+ "id": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings",
+ "properties": {
+ "exclude": {
+ "description": "Optional. Exclude instance from maintenance. When true, rollout service will not\nattempt maintenance on the instance. Rollout service will include the\ninstance in reported rollout progress as not attempted.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata": {
"description": "Node information for custom per-node SLO implementations.\nSSA does not support per-node SLO, but producers can populate per-node\ninformation in SloMetadata for custom precomputations.\nSSA Eligibility Exporter will emit per-node metric based on this information.",
"id": "GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata",
@@ -749,7 +761,7 @@
"type": "string"
},
"description": {
- "description": "Optional. The description of the instance (2048 characters or less).",
+ "description": "The description of the instance (2048 characters or less).",
"type": "string"
},
"etag": {
@@ -789,7 +801,8 @@
"READY",
"REPAIRING",
"DELETING",
- "ERROR"
+ "ERROR",
+ "RESTORING"
],
"enumDescriptions": [
"State not set.",
@@ -797,7 +810,8 @@
"The instance is available for use.",
"Work is being done on the instance. You can get further details from the\n`statusMessage` field of the `Instance` resource.",
"The instance is shutting down.",
- "The instance is experiencing an issue and might be unusable. You can get\nfurther details from the `statusMessage` field of the `Instance`\nresource."
+ "The instance is experiencing an issue and might be unusable. You can get\nfurther details from the `statusMessage` field of the `Instance`\nresource.",
+ "The instance is restoring a snapshot or backup to an existing file share\nand may be unusable during this time."
],
"type": "string"
},
@@ -960,6 +974,58 @@
},
"type": "object"
},
+ "NfsExportOptions": {
+ "description": "NFS export options specifications.",
+ "id": "NfsExportOptions",
+ "properties": {
+ "accessMode": {
+ "description": "Either READ_ONLY, for allowing only read requests on the exported\ndirectory, or READ_WRITE, for allowing both read and write requests.\nThe default is READ_WRITE.",
+ "enum": [
+ "ACCESS_MODE_UNSPECIFIED",
+ "READ_ONLY",
+ "READ_WRITE"
+ ],
+ "enumDescriptions": [
+ "AccessMode not set.",
+ "The client can only read the file share.",
+ "The client can read and write the file share (default)."
+ ],
+ "type": "string"
+ },
+ "anonGid": {
+ "description": "An integer representing the anonymous group id with a default value of\n65534.\nAnon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be\nreturned if this field is specified for other squash_mode settings.",
+ "format": "int64",
+ "type": "string"
+ },
+ "anonUid": {
+ "description": "An integer representing the anonymous user id with a default value of\n65534.\nAnon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be\nreturned if this field is specified for other squash_mode settings.",
+ "format": "int64",
+ "type": "string"
+ },
+ "ipRanges": {
+ "description": "List of either an IPv4 addresses in the format\n{octet 1}.{octet 2}.{octet 3}.{octet 4} or CIDR ranges in the format\n{octet 1}.{octet 2}.{octet 3}.{octet 4}/{mask size} which may mount the\nfile share.\nOverlapping IP ranges are not allowed, both within and across\nNfsExportOptions. An error will be returned.\nThe limit is 64 IP ranges/addresses for each FileShareConfig among all\nNfsExportOptions.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "squashMode": {
+ "description": "Either NO_ROOT_SQUASH, for allowing root access on the exported directory,\nor ROOT_SQUASH, for not allowing root access. The default is\nNO_ROOT_SQUASH.",
+ "enum": [
+ "SQUASH_MODE_UNSPECIFIED",
+ "NO_ROOT_SQUASH",
+ "ROOT_SQUASH"
+ ],
+ "enumDescriptions": [
+ "SquashMode not set.",
+ "The Root user has root access to the file share (default).",
+ "The Root user has squashed access to the anonymous uid/gid."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Operation": {
"description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
"id": "Operation",
diff --git a/etc/api/firebase/v1beta1/firebase-api.json b/etc/api/firebase/v1beta1/firebase-api.json
index acbf72ef4d..9d886d6869 100644
--- a/etc/api/firebase/v1beta1/firebase-api.json
+++ b/etc/api/firebase/v1beta1/firebase-api.json
@@ -183,7 +183,7 @@
"projects": {
"methods": {
"addFirebase": {
- "description": "Adds Firebase resources to the specified existing\n[Google Cloud Platform (GCP) `Project`]\n(https://cloud.google.com/resource-manager/reference/rest/v1/projects).\n \n Since a FirebaseProject is actually also a GCP `Project`, a\n`FirebaseProject` uses underlying GCP identifiers (most importantly,\nthe `projectId`) as its own for easy interop with GCP APIs.\n \n The result of this call is an [`Operation`](../../v1beta1/operations).\nPoll the `Operation` to track the provisioning process by calling\nGetOperation until\n[`done`](../../v1beta1/operations#Operation.FIELDS.done) is `true`. When\n`done` is `true`, the `Operation` has either succeeded or failed. If the\n`Operation` succeeded, its\n[`response`](../../v1beta1/operations#Operation.FIELDS.response) is set to\na FirebaseProject; if the `Operation` failed, its\n[`error`](../../v1beta1/operations#Operation.FIELDS.error) is set to a\ngoogle.rpc.Status. The `Operation` is automatically deleted after\ncompletion, so there is no need to call\nDeleteOperation.\n \n This method does not modify any billing account information on the\nunderlying GCP `Project`.\n \n To call `AddFirebase`, a member must be an Editor or Owner for the\nexisting GCP `Project`. Service accounts cannot call `AddFirebase`.",
+ "description": "Adds Firebase resources to the specified existing\n[Google Cloud Platform (GCP) `Project`]\n(https://cloud.google.com/resource-manager/reference/rest/v1/projects).\n \n Since a FirebaseProject is actually also a GCP `Project`, a\n`FirebaseProject` uses underlying GCP identifiers (most importantly,\nthe `PROJECT_NUMBER`) as its own for easy interop with GCP APIs.\n \n The result of this call is an [`Operation`](../../v1beta1/operations).\nPoll the `Operation` to track the provisioning process by calling\nGetOperation until\n[`done`](../../v1beta1/operations#Operation.FIELDS.done) is `true`. When\n`done` is `true`, the `Operation` has either succeeded or failed. If the\n`Operation` succeeded, its\n[`response`](../../v1beta1/operations#Operation.FIELDS.response) is set to\na FirebaseProject; if the `Operation` failed, its\n[`error`](../../v1beta1/operations#Operation.FIELDS.error) is set to a\ngoogle.rpc.Status. The `Operation` is automatically deleted after\ncompletion, so there is no need to call\nDeleteOperation.\n \n This method does not modify any billing account information on the\nunderlying GCP `Project`.\n \n To call `AddFirebase`, a project member or service account must have\nthe following permissions (the IAM roles of Editor and Owner contain these\npermissions):\n`firebase.projects.update`, `resourcemanager.projects.get`,\n`serviceusage.services.enable`, and `serviceusage.services.get`.",
"flatPath": "v1beta1/projects/{projectsId}:addFirebase",
"httpMethod": "POST",
"id": "firebase.projects.addFirebase",
@@ -192,7 +192,7 @@
],
"parameters": {
"project": {
- "description": "The resource name of the GCP `Project` to which Firebase resources will be\nadded, in the format:\n projects/projectId\nAfter calling `AddFirebase`, the\n[`projectId`](https://cloud.google.com/resource-manager/reference/rest/v1/projects#Project.FIELDS.project_id)\nof the GCP `Project` is also the `projectId` of the FirebaseProject.",
+ "description": "The resource name of the GCP `Project` to which Firebase resources will be\nadded, in the format:\n projects/PROJECT_NUMBER\nAfter calling `AddFirebase`, the\n[`project_id`](https://cloud.google.com/resource-manager/reference/rest/v1/projects#Project.FIELDS.project_id)\nof the GCP `Project` is also the `project_id` of the FirebaseProject.",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -221,7 +221,7 @@
],
"parameters": {
"parent": {
- "description": "The parent `FirebaseProject` to link to an existing Google Analytics\naccount, in the format:\n projects/projectId",
+ "description": "The parent `FirebaseProject` to link to an existing Google Analytics\naccount, in the format:\n projects/PROJECT_NUMBER",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -250,7 +250,7 @@
],
"parameters": {
"name": {
- "description": "The fully qualified resource name of the Project, in the format:\n projects/projectId",
+ "description": "The fully qualified resource name of the Project, in the format:\n projects/PROJECT_NUMBER",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -278,7 +278,7 @@
],
"parameters": {
"name": {
- "description": "The fully qualified resource name of the Project, in the format:\n projects/projectId/adminSdkConfig",
+ "description": "The fully qualified resource name of the Project, in the format:\n projects/PROJECT_NUMBER/adminSdkConfig",
"location": "path",
"pattern": "^projects/[^/]+/adminSdkConfig$",
"required": true,
@@ -306,7 +306,7 @@
],
"parameters": {
"name": {
- "description": "The fully qualified resource name, in the format:\n projects/projectId/analyticsDetails",
+ "description": "The fully qualified resource name, in the format:\n projects/PROJECT_NUMBER/analyticsDetails",
"location": "path",
"pattern": "^projects/[^/]+/analyticsDetails$",
"required": true,
@@ -399,7 +399,7 @@
],
"parameters": {
"parent": {
- "description": "The parent `FirebaseProject` to unlink from its Google Analytics account,\nin the format:\n projects/projectId",
+ "description": "The parent `FirebaseProject` to unlink from its Google Analytics account,\nin the format:\n projects/PROJECT_NUMBER",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -439,7 +439,7 @@
"type": "string"
},
"parent": {
- "description": "The parent Project for which to list Apps, in the format:\n projects/projectId",
+ "description": "The parent Project for which to list Apps, in the format:\n projects/PROJECT_NUMBER",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -471,7 +471,7 @@
],
"parameters": {
"parent": {
- "description": "The parent Project in which to create an App, in the format:\n projects/projectId",
+ "description": "The parent Project in which to create an App, in the format:\n projects/PROJECT_NUMBER",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -500,7 +500,7 @@
],
"parameters": {
"name": {
- "description": "The fully qualified resource name of the App, in the format:\n projects/projectId/androidApps/appId\n As an appId is a unique identifier, the Unique Resource\nfrom Sub-Collection access pattern may be used here, in the format:\n projects/-/androidApps/appId",
+ "description": "The fully qualified resource name of the App, in the format:\n projects/PROJECT_NUMBER/androidApps/APP_ID\n As an APP_ID is a unique identifier, the Unique Resource\nfrom Sub-Collection access pattern may be used here, in the format:\n projects/-/androidApps/APP_ID",
"location": "path",
"pattern": "^projects/[^/]+/androidApps/[^/]+$",
"required": true,
@@ -528,7 +528,7 @@
],
"parameters": {
"name": {
- "description": "The resource name of the App configuration to download, in the format:\n projects/projectId/androidApps/appId/config\n As an appId is a unique identifier, the Unique Resource\nfrom Sub-Collection access pattern may be used here, in the format:\n projects/-/androidApps/appId",
+ "description": "The resource name of the App configuration to download, in the format:\n projects/PROJECT_NUMBER/androidApps/APP_ID/config\n As an APP_ID is a unique identifier, the Unique Resource\nfrom Sub-Collection access pattern may be used here, in the format:\n projects/-/androidApps/APP_ID",
"location": "path",
"pattern": "^projects/[^/]+/androidApps/[^/]+/config$",
"required": true,
@@ -567,7 +567,7 @@
"type": "string"
},
"parent": {
- "description": "The parent Project for which to list Apps, in the format:\n projects/projectId",
+ "description": "The parent Project for which to list Apps, in the format:\n projects/PROJECT_NUMBER",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -602,7 +602,7 @@
"type": "string"
},
"updateMask": {
- "description": "Specifies which fields to update.\n Note that the fields `name`, `appId`, `projectId`, and `packageName`\nare all immutable.",
+ "description": "Specifies which fields to update.\n Note that the fields `name`, `app_id`, `project_id`, and `package_name`\nare all immutable.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
@@ -634,7 +634,7 @@
],
"parameters": {
"parent": {
- "description": "The parent App to which a SHA certificate will be added, in the format:\n projects/projectId/androidApps/appId\n As an appId is a unique identifier, the Unique Resource\nfrom Sub-Collection access pattern may be used here, in the format:\n projects/-/androidApps/appId",
+ "description": "The parent App to which a SHA certificate will be added, in the format:\n projects/PROJECT_NUMBER/androidApps/APP_ID\n As an APP_ID is a unique identifier, the Unique Resource\nfrom Sub-Collection access pattern may be used here, in the format:\n projects/-/androidApps/APP_ID",
"location": "path",
"pattern": "^projects/[^/]+/androidApps/[^/]+$",
"required": true,
@@ -663,7 +663,7 @@
],
"parameters": {
"name": {
- "description": "The fully qualified resource name of the `sha-key`, in the format:\n projects/projectId/androidApps/appId/sha/shaId\n You can obtain the full name from the response of\n[`ListShaCertificates`](../projects.androidApps.sha/list) or the original\n[`CreateShaCertificate`](../projects.androidApps.sha/create).",
+ "description": "The fully qualified resource name of the `sha-key`, in the format:\n projects/PROJECT_NUMBER/androidApps/APP_ID/sha/SHA_ID\n You can obtain the full name from the response of\n[`ListShaCertificates`](../projects.androidApps.sha/list) or the original\n[`CreateShaCertificate`](../projects.androidApps.sha/create).",
"location": "path",
"pattern": "^projects/[^/]+/androidApps/[^/]+/sha/[^/]+$",
"required": true,
@@ -689,7 +689,7 @@
],
"parameters": {
"parent": {
- "description": "The parent App for which to list SHA certificates, in the format:\n projects/projectId/androidApps/appId\n As an appId is a unique identifier, the Unique Resource\nfrom Sub-Collection access pattern may be used here, in the format:\n projects/-/androidApps/appId",
+ "description": "The parent App for which to list SHA certificates, in the format:\n projects/PROJECT_NUMBER/androidApps/APP_ID\n As an APP_ID is a unique identifier, the Unique Resource\nfrom Sub-Collection access pattern may be used here, in the format:\n projects/-/androidApps/APP_ID",
"location": "path",
"pattern": "^projects/[^/]+/androidApps/[^/]+$",
"required": true,
@@ -714,7 +714,7 @@
"availableLocations": {
"methods": {
"list": {
- "description": "Returns a list of valid Google Cloud Platform (GCP) resource locations for\nthe specified Project (including a FirebaseProject).\n \n One of these locations can be selected as the Project's [_default_ GCP\nresource location](https://firebase.google.com/docs/projects/locations),\nwhich is the geographical location where project resources, such as Cloud\nFirestore, will be provisioned by default. However, if the default GCP\nresource location has already been set for the Project, then this setting\ncannot be changed.\n \n This call checks for any possible\n[location\nrestrictions](https://cloud.google.com/resource-manager/docs/organization-policy/defining-locations)\nfor the specified Project and, thus, might return a subset of all possible\nGCP resource locations. To list all GCP resource locations (regardless of\nany restrictions), call the endpoint without specifying a `projectId` (that\nis, `/v1beta1/{parent=projects/-}/listAvailableLocations`).\n \n To call `ListAvailableLocations` with a specified project, a member\nmust be at minimum a Viewer of the project. Calls without a specified\nproject do not require any specific project permissions.",
+ "description": "Returns a list of valid Google Cloud Platform (GCP) resource locations for\nthe specified Project (including a FirebaseProject).\n \n One of these locations can be selected as the Project's [_default_ GCP\nresource location](https://firebase.google.com/docs/projects/locations),\nwhich is the geographical location where project resources, such as Cloud\nFirestore, will be provisioned by default. However, if the default GCP\nresource location has already been set for the Project, then this setting\ncannot be changed.\n \n This call checks for any possible\n[location\nrestrictions](https://cloud.google.com/resource-manager/docs/organization-policy/defining-locations)\nfor the specified Project and, thus, might return a subset of all possible\nGCP resource locations. To list all GCP resource locations (regardless of\nany restrictions), call the endpoint without specifying a `PROJECT_NUMBER`\n(that is, `/v1beta1/{parent=projects/-}/listAvailableLocations`). \n To call `ListAvailableLocations` with a specified project, a member\nmust be at minimum a Viewer of the project. Calls without a specified\nproject do not require any specific project permissions.",
"flatPath": "v1beta1/projects/{projectsId}/availableLocations",
"httpMethod": "GET",
"id": "firebase.projects.availableLocations.list",
@@ -734,7 +734,7 @@
"type": "string"
},
"parent": {
- "description": "The Project for which to list GCP resource locations, in the format:\n projects/projectId\n If no project is specified (that is, `projects/-`), the returned list\ndoes not take into account org-specific or project-specific location\nrestrictions.",
+ "description": "The Project for which to list GCP resource locations, in the format:\n projects/PROJECT_NUMBER\n If no project is specified (that is, `projects/-`), the returned list\ndoes not take into account org-specific or project-specific location\nrestrictions.",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -766,7 +766,7 @@
],
"parameters": {
"parent": {
- "description": "The resource name of the Project for which the default GCP resource\nlocation will be set, in the format:\n projects/projectId",
+ "description": "The resource name of the Project for which the default GCP resource\nlocation will be set, in the format:\n projects/PROJECT_NUMBER",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -799,7 +799,7 @@
],
"parameters": {
"parent": {
- "description": "The parent Project in which to create an App, in the format:\n projects/projectId",
+ "description": "The parent Project in which to create an App, in the format:\n projects/PROJECT_NUMBER",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -828,7 +828,7 @@
],
"parameters": {
"name": {
- "description": "The fully qualified resource name of the App, in the format:\nprojects/projectId/iosApps/appId\n As an appId is a unique identifier, the Unique Resource\nfrom Sub-Collection access pattern may be used here, in the format:\n projects/-/iosApps/appId",
+ "description": "The fully qualified resource name of the App, in the format:\nprojects/PROJECT_NUMBER/iosApps/APP_ID\n As an APP_ID is a unique identifier, the Unique Resource\nfrom Sub-Collection access pattern may be used here, in the format:\n projects/-/iosApps/APP_ID",
"location": "path",
"pattern": "^projects/[^/]+/iosApps/[^/]+$",
"required": true,
@@ -856,7 +856,7 @@
],
"parameters": {
"name": {
- "description": "The resource name of the App configuration to download, in the format:\n projects/projectId/iosApps/appId/config\n As an appId is a unique identifier, the Unique Resource\nfrom Sub-Collection access pattern may be used here, in the format:\n projects/-/iosApps/appId",
+ "description": "The resource name of the App configuration to download, in the format:\n projects/PROJECT_NUMBER/iosApps/APP_ID/config\n As an APP_ID is a unique identifier, the Unique Resource\nfrom Sub-Collection access pattern may be used here, in the format:\n projects/-/iosApps/APP_ID",
"location": "path",
"pattern": "^projects/[^/]+/iosApps/[^/]+/config$",
"required": true,
@@ -895,7 +895,7 @@
"type": "string"
},
"parent": {
- "description": "The parent Project for which to list Apps, in the format:\n projects/projectId",
+ "description": "The parent Project for which to list Apps, in the format:\n projects/PROJECT_NUMBER",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -962,7 +962,7 @@
],
"parameters": {
"parent": {
- "description": "The parent Project in which to create an App, in the format:\n projects/projectId",
+ "description": "The parent Project in which to create an App, in the format:\n projects/PROJECT_NUMBER",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -991,7 +991,7 @@
],
"parameters": {
"name": {
- "description": "The fully qualified resource name of the App, in the format:\n projects/projectId/webApps/appId\n As an appId is a unique identifier, the Unique Resource\nfrom Sub-Collection access pattern may be used here, in the format:\n projects/-/webApps/appId",
+ "description": "The fully qualified resource name of the App, in the format:\n projects/PROJECT_NUMBER/webApps/APP_ID\n As an APP_ID is a unique identifier, the Unique Resource\nfrom Sub-Collection access pattern may be used here, in the format:\n projects/-/webApps/APP_ID",
"location": "path",
"pattern": "^projects/[^/]+/webApps/[^/]+$",
"required": true,
@@ -1019,7 +1019,7 @@
],
"parameters": {
"name": {
- "description": "The resource name of the App configuration to download, in the format:\n projects/projectId/webApps/appId/config\n As an appId is a unique identifier, the Unique Resource\nfrom Sub-Collection access pattern may be used here, in the format:\n projects/-/webApps/appId",
+ "description": "The resource name of the App configuration to download, in the format:\n projects/PROJECT_NUMBER/webApps/APP_ID/config\n As an APP_ID is a unique identifier, the Unique Resource\nfrom Sub-Collection access pattern may be used here, in the format:\n projects/-/webApps/APP_ID",
"location": "path",
"pattern": "^projects/[^/]+/webApps/[^/]+/config$",
"required": true,
@@ -1058,7 +1058,7 @@
"type": "string"
},
"parent": {
- "description": "The parent Project for which to list Apps, in the format:\n projects/projectId",
+ "description": "The parent Project for which to list Apps, in the format:\n projects/PROJECT_NUMBER",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
@@ -1116,7 +1116,7 @@
}
}
},
- "revision": "20200407",
+ "revision": "20200707",
"rootUrl": "https://firebase.googleapis.com/",
"schemas": {
"AddFirebaseRequest": {
@@ -1611,7 +1611,7 @@
"type": "string"
},
"project": {
- "description": "The resource name of the GCP `Project` to which Firebase resources can be\nadded, in the format:\n projects/projectId",
+ "description": "The resource name of the GCP `Project` to which Firebase resources can be\nadded, in the format:\n projects/PROJECT_NUMBER",
"type": "string"
}
},
@@ -1663,7 +1663,7 @@
"type": "string"
},
"name": {
- "description": "The fully qualified resource name of the `sha-key`, in the format:\n projects/projectId/androidApps/appId/sha/shaId",
+ "description": "The fully qualified resource name of the `sha-key`, in the format:\n projects/PROJECT_NUMBER/androidApps/APP_ID/sha/SHA_ID",
"type": "string"
},
"shaHash": {
@@ -1738,7 +1738,7 @@
"id": "StreamMapping",
"properties": {
"app": {
- "description": "The fully qualified resource name of the Firebase App associated with the\nGoogle Analytics data stream, in the format:\n projects/projectId/androidApps/appId\nor\nprojects/projectId/iosApps/appId\nor\nprojects/projectId/webApps/appId",
+ "description": "The fully qualified resource name of the Firebase App associated with the\nGoogle Analytics data stream, in the format:\n projects/PROJECT_NUMBER/androidApps/APP_ID\nor\nprojects/PROJECT_NUMBER/iosApps/APP_ID\nor\nprojects/PROJECT_NUMBER/webApps/APP_ID",
"type": "string"
},
"measurementId": {
@@ -1825,7 +1825,7 @@
"type": "string"
},
"measurementId": {
- "description": "The unique Google-assigned identifier of the Google Analytics web stream\nassociated with the Firebase Web App. Firebase SDKs use this ID to interact\nwith Google Analytics APIs.\n \n This field is only present if the App is linked to a web stream in a\nGoogle Analytics App + Web property. Learn more about this ID and Google\nAnalytics web streams in the [Analytics\ndocumentation](https://support.google.com/analytics/topic/9303475).\n \n To generate a `measurementId` and link the Web App with a Google\nAnalytics web stream, call\n[`AddGoogleAnalytics`](../../v1beta1/projects/addGoogleAnalytics).",
+ "description": "This field will no longer be provided here. Instead, use\n`GetAnalyticsDetails`",
"type": "string"
},
"messagingSenderId": {
diff --git a/etc/api/firebasedynamiclinks/v1/firebasedynamiclinks-api.json b/etc/api/firebasedynamiclinks/v1/firebasedynamiclinks-api.json
index 2e559aac42..088d653980 100644
--- a/etc/api/firebasedynamiclinks/v1/firebasedynamiclinks-api.json
+++ b/etc/api/firebasedynamiclinks/v1/firebasedynamiclinks-api.json
@@ -224,7 +224,7 @@
}
}
},
- "revision": "20200410",
+ "revision": "20200706",
"rootUrl": "https://firebasedynamiclinks.googleapis.com/",
"schemas": {
"AnalyticsInfo": {
diff --git a/etc/api/firebasehosting/v1/firebasehosting-api.json b/etc/api/firebasehosting/v1/firebasehosting-api.json
new file mode 100644
index 0000000000..9fea86b52f
--- /dev/null
+++ b/etc/api/firebasehosting/v1/firebasehosting-api.json
@@ -0,0 +1,289 @@
+{
+ "basePath": "",
+ "baseUrl": "https://firebasehosting.googleapis.com/",
+ "batchPath": "batch",
+ "canonicalName": "Firebase Hosting",
+ "description": "The Firebase Hosting REST API enables programmatic and customizable deployments to your Firebase-hosted sites. Use this REST API to deploy new or updated hosting configurations and content files.",
+ "discoveryVersion": "v1",
+ "documentationLink": "https://firebase.google.com/docs/hosting/",
+ "fullyEncodeReservedExpansion": true,
+ "icons": {
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
+ },
+ "id": "firebasehosting:v1",
+ "kind": "discovery#restDescription",
+ "mtlsRootUrl": "https://firebasehosting.mtls.googleapis.com/",
+ "name": "firebasehosting",
+ "ownerDomain": "google.com",
+ "ownerName": "Google",
+ "parameters": {
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "alt": {
+ "default": "json",
+ "description": "Data format for response.",
+ "enum": [
+ "json",
+ "media",
+ "proto"
+ ],
+ "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",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "key": {
+ "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",
+ "type": "string"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "quotaUser": {
+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "protocol": "rest",
+ "resources": {
+ "operations": {
+ "methods": {
+ "cancel": {
+ "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.",
+ "flatPath": "v1/operations/{operationsId}:cancel",
+ "httpMethod": "POST",
+ "id": "firebasehosting.operations.cancel",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource to be cancelled.",
+ "location": "path",
+ "pattern": "^operations/.*$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}:cancel",
+ "request": {
+ "$ref": "CancelOperationRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ }
+ },
+ "delete": {
+ "description": "Deletes a long-running operation. This method indicates that the client is\nno longer interested in the operation result. It does not cancel the\noperation. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`.",
+ "flatPath": "v1/operations/{operationsId}",
+ "httpMethod": "DELETE",
+ "id": "firebasehosting.operations.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource to be deleted.",
+ "location": "path",
+ "pattern": "^operations/.*$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "Empty"
+ }
+ },
+ "list": {
+ "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{name=users/*}/operations\"` to their service configuration.\nFor backwards compatibility, the default name includes the operations\ncollection id, however overriding users must ensure the name binding\nis the parent resource, without the operations collection id.",
+ "flatPath": "v1/operations",
+ "httpMethod": "GET",
+ "id": "firebasehosting.operations.list",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "The standard list filter.",
+ "location": "query",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the operation's parent resource.",
+ "location": "path",
+ "pattern": "^operations$",
+ "required": true,
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "The standard list page size.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "The standard list page token.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "ListOperationsResponse"
+ }
+ }
+ }
+ }
+ },
+ "revision": "20200709",
+ "rootUrl": "https://firebasehosting.googleapis.com/",
+ "schemas": {
+ "CancelOperationRequest": {
+ "description": "The request message for Operations.CancelOperation.",
+ "id": "CancelOperationRequest",
+ "properties": {},
+ "type": "object"
+ },
+ "Empty": {
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
+ },
+ "ListOperationsResponse": {
+ "description": "The response message for Operations.ListOperations.",
+ "id": "ListOperationsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "The standard List next-page token.",
+ "type": "string"
+ },
+ "operations": {
+ "description": "A list of operations that matches the specified filter in the request.",
+ "items": {
+ "$ref": "Operation"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Operation": {
+ "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
+ "id": "Operation",
+ "properties": {
+ "done": {
+ "description": "If the value is `false`, it means the operation is still in progress.\nIf `true`, the operation is completed, and either `error` or `response` is\navailable.",
+ "type": "boolean"
+ },
+ "error": {
+ "$ref": "Status",
+ "description": "The error result of the operation in case of failure or cancellation."
+ },
+ "metadata": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.",
+ "type": "object"
+ },
+ "name": {
+ "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should be a resource name ending with `operations/{unique_id}`.",
+ "type": "string"
+ },
+ "response": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "Status": {
+ "description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors).",
+ "id": "Status",
+ "properties": {
+ "code": {
+ "description": "The status code, which should be an enum value of google.rpc.Code.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "details": {
+ "description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.",
+ "items": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "servicePath": "",
+ "title": "Firebase Hosting API",
+ "version": "v1",
+ "version_module": true
+}
\ No newline at end of file
diff --git a/etc/api/firebasehosting/v1beta1/firebasehosting-api.json b/etc/api/firebasehosting/v1beta1/firebasehosting-api.json
index 74c69ddca3..b6722498d4 100644
--- a/etc/api/firebasehosting/v1beta1/firebasehosting-api.json
+++ b/etc/api/firebasehosting/v1beta1/firebasehosting-api.json
@@ -149,6 +149,71 @@
}
},
"sites": {
+ "methods": {
+ "getConfig": {
+ "description": "Gets the Hosting metadata for a specific site.",
+ "flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/config",
+ "httpMethod": "GET",
+ "id": "firebasehosting.projects.sites.getConfig",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The site for which to get the SiteConfig, in the format:\nsites/site-name/config",
+ "location": "path",
+ "pattern": "^projects/[^/]+/sites/[^/]+/config$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "response": {
+ "$ref": "SiteConfig"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/firebase",
+ "https://www.googleapis.com/auth/firebase.readonly"
+ ]
+ },
+ "updateConfig": {
+ "description": "Sets the Hosting metadata for a specific site.",
+ "flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/config",
+ "httpMethod": "PATCH",
+ "id": "firebasehosting.projects.sites.updateConfig",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The site for which to update the SiteConfig, in the format:\nsites/site-name/config",
+ "location": "path",
+ "pattern": "^projects/[^/]+/sites/[^/]+/config$",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "A set of field names from your [site configuration](../sites.SiteConfig)\nthat you want to update.\n A field will be overwritten if, and only if, it's in the mask.\n If a mask is not provided then a default mask of only\n[`max_versions`](../sites.SiteConfig.max_versions) will be used.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "request": {
+ "$ref": "SiteConfig"
+ },
+ "response": {
+ "$ref": "SiteConfig"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/firebase"
+ ]
+ }
+ },
"resources": {
"channels": {
"resources": {
@@ -164,7 +229,7 @@
],
"parameters": {
"parent": {
- "description": "The site that the release belongs to, in the format:\nsites/site-name",
+ "description": "Required. The site that the release belongs to, in the format:\nsites/site-name",
"location": "path",
"pattern": "^projects/[^/]+/sites/[^/]+/channels/[^/]+$",
"required": true,
@@ -231,6 +296,161 @@
}
}
},
+ "domains": {
+ "methods": {
+ "create": {
+ "description": "Creates a domain mapping on the specified site.",
+ "flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/domains",
+ "httpMethod": "POST",
+ "id": "firebasehosting.projects.sites.domains.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The parent to create the domain association for, in the format:\nsites/site-name",
+ "location": "path",
+ "pattern": "^projects/[^/]+/sites/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+parent}/domains",
+ "request": {
+ "$ref": "Domain"
+ },
+ "response": {
+ "$ref": "Domain"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/firebase"
+ ]
+ },
+ "delete": {
+ "description": "Deletes the existing domain mapping on the specified site.",
+ "flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/domains/{domainsId}",
+ "httpMethod": "DELETE",
+ "id": "firebasehosting.projects.sites.domains.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the domain association to delete.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/sites/[^/]+/domains/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/firebase"
+ ]
+ },
+ "get": {
+ "description": "Gets a domain mapping on the specified site.",
+ "flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/domains/{domainsId}",
+ "httpMethod": "GET",
+ "id": "firebasehosting.projects.sites.domains.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the domain configuration to get.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/sites/[^/]+/domains/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "response": {
+ "$ref": "Domain"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/firebase",
+ "https://www.googleapis.com/auth/firebase.readonly"
+ ]
+ },
+ "list": {
+ "description": "Lists the domains for the specified site.",
+ "flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/domains",
+ "httpMethod": "GET",
+ "id": "firebasehosting.projects.sites.domains.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "The page size to return. Defaults to 50.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "The next_page_token from a previous request, if provided.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. The parent for which to list domains, in the format:\nsites/site-name",
+ "location": "path",
+ "pattern": "^projects/[^/]+/sites/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+parent}/domains",
+ "response": {
+ "$ref": "ListDomainsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/firebase",
+ "https://www.googleapis.com/auth/firebase.readonly"
+ ]
+ },
+ "update": {
+ "description": "Updates the specified domain mapping, creating the mapping as if it does\nnot exist.",
+ "flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/domains/{domainsId}",
+ "httpMethod": "PUT",
+ "id": "firebasehosting.projects.sites.domains.update",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the domain association to update or create, if an\nassociation doesn't already exist.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/sites/[^/]+/domains/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "request": {
+ "$ref": "Domain"
+ },
+ "response": {
+ "$ref": "Domain"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/firebase"
+ ]
+ }
+ }
+ },
"releases": {
"methods": {
"create": {
@@ -243,7 +463,7 @@
],
"parameters": {
"parent": {
- "description": "The site that the release belongs to, in the format:\nsites/site-name",
+ "description": "Required. The site that the release belongs to, in the format:\nsites/site-name",
"location": "path",
"pattern": "^projects/[^/]+/sites/[^/]+$",
"required": true,
@@ -307,6 +527,239 @@
]
}
}
+ },
+ "versions": {
+ "methods": {
+ "create": {
+ "description": "Creates a new version for a site.",
+ "flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/versions",
+ "httpMethod": "POST",
+ "id": "firebasehosting.projects.sites.versions.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The parent to create the version for, in the format:\nsites/site-name",
+ "location": "path",
+ "pattern": "^projects/[^/]+/sites/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "sizeBytes": {
+ "description": "The self-reported size of the version. This value is used for a pre-emptive\nquota check for legacy version uploads.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "versionId": {
+ "description": "A unique id for the new version. This is only specified for legacy version\ncreations.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+parent}/versions",
+ "request": {
+ "$ref": "Version"
+ },
+ "response": {
+ "$ref": "Version"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/firebase"
+ ]
+ },
+ "delete": {
+ "description": "Deletes the specified version.",
+ "flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/versions/{versionsId}",
+ "httpMethod": "DELETE",
+ "id": "firebasehosting.projects.sites.versions.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the version to be deleted, in the format:\nsites/site-name/versions/versionID",
+ "location": "path",
+ "pattern": "^projects/[^/]+/sites/[^/]+/versions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/firebase"
+ ]
+ },
+ "list": {
+ "description": "Lists the versions that have been created on the specified site.\nWill include filtering in the future.",
+ "flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/versions",
+ "httpMethod": "GET",
+ "id": "firebasehosting.projects.sites.versions.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "The filter string used to return a subset of versions in the response.\nCurrently supported fields for filtering are: name, status,\nand create_time. Filter processing will be implemented in accordance\nwith go/filtering.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "The maximum number of versions to return. The service may return fewer than\nthis value.\nIf unspecified, at most 25 versions will be returned.\nThe maximum value is 100; values above 100 will be coerced to 100",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "The next_page_token from a previous request, if provided.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. The parent for which to list files, in the format:\nsites/site-name",
+ "location": "path",
+ "pattern": "^projects/[^/]+/sites/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+parent}/versions",
+ "response": {
+ "$ref": "ListVersionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/firebase",
+ "https://www.googleapis.com/auth/firebase.readonly"
+ ]
+ },
+ "patch": {
+ "description": "Updates the specified metadata for a version. Note that this method will\nfail with `FAILED_PRECONDITION` in the event of an invalid state\ntransition. The only valid transition for a version is currently from a\n`CREATED` status to a `FINALIZED` status.\nUse [`DeleteVersion`](../sites.versions/delete) to set the status of a\nversion to `DELETED`.",
+ "flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/versions/{versionsId}",
+ "httpMethod": "PATCH",
+ "id": "firebasehosting.projects.sites.versions.patch",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The unique identifier for a version, in the format:\nsites/site-name/versions/versionID\nThis name is provided in the response body when you call the\n[`CreateVersion`](../sites.versions/create) endpoint.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/sites/[^/]+/versions/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "A set of field names from your [version](../sites.versions) that you want\nto update.\n A field will be overwritten if, and only if, it's in the mask.\n If a mask is not provided then a default mask of only\n[`status`](../sites.versions#Version.FIELDS.status) will be used.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "request": {
+ "$ref": "Version"
+ },
+ "response": {
+ "$ref": "Version"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/firebase"
+ ]
+ },
+ "populateFiles": {
+ "description": "Adds content files to a version.\nEach file must be under 2 GB.",
+ "flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/versions/{versionsId}:populateFiles",
+ "httpMethod": "POST",
+ "id": "firebasehosting.projects.sites.versions.populateFiles",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The version to add files to, in the format:\nsites/site-name/versions/versionID",
+ "location": "path",
+ "pattern": "^projects/[^/]+/sites/[^/]+/versions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+parent}:populateFiles",
+ "request": {
+ "$ref": "PopulateVersionFilesRequest"
+ },
+ "response": {
+ "$ref": "PopulateVersionFilesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/firebase"
+ ]
+ }
+ },
+ "resources": {
+ "files": {
+ "methods": {
+ "list": {
+ "description": "Lists the remaining files to be uploaded for the specified version.",
+ "flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/versions/{versionsId}/files",
+ "httpMethod": "GET",
+ "id": "firebasehosting.projects.sites.versions.files.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "The page size to return. Defaults to 1000.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "The next_page_token from a previous request, if provided. This will be the\nencoded version of a firebase.hosting.proto.metadata.ListFilesPageToken.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. The parent to list files for, in the format:\nsites/site-name/versions/versionID",
+ "location": "path",
+ "pattern": "^projects/[^/]+/sites/[^/]+/versions/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "status": {
+ "description": "The type of files in the version that should be listed.",
+ "enum": [
+ "STATUS_UNSPECIFIED",
+ "EXPECTED",
+ "ACTIVE"
+ ],
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+parent}/files",
+ "response": {
+ "$ref": "ListVersionFilesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/firebase",
+ "https://www.googleapis.com/auth/firebase.readonly"
+ ]
+ }
+ }
+ }
+ }
}
}
}
@@ -393,7 +846,7 @@
],
"parameters": {
"parent": {
- "description": "The site that the release belongs to, in the format:\nsites/site-name",
+ "description": "Required. The site that the release belongs to, in the format:\nsites/site-name",
"location": "path",
"pattern": "^sites/[^/]+/channels/[^/]+$",
"required": true,
@@ -627,7 +1080,7 @@
],
"parameters": {
"parent": {
- "description": "The site that the release belongs to, in the format:\nsites/site-name",
+ "description": "Required. The site that the release belongs to, in the format:\nsites/site-name",
"location": "path",
"pattern": "^sites/[^/]+$",
"required": true,
@@ -694,31 +1147,6 @@
},
"versions": {
"methods": {
- "clone": {
- "description": "Creates a new version on the target site using the content\nof the specified version.",
- "flatPath": "v1beta1/sites/{sitesId}/versions:clone",
- "httpMethod": "POST",
- "id": "firebasehosting.sites.versions.clone",
- "parameterOrder": [
- "parent"
- ],
- "parameters": {
- "parent": {
- "description": "Required. The target site where the cloned version will reside,\nin the format: `sites/{site}`",
- "location": "path",
- "pattern": "^sites/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/{+parent}/versions:clone",
- "request": {
- "$ref": "CloneVersionRequest"
- },
- "response": {
- "$ref": "Operation"
- }
- },
"create": {
"description": "Creates a new version for a site.",
"flatPath": "v1beta1/sites/{sitesId}/versions",
@@ -821,7 +1249,13 @@
"path": "v1beta1/{+parent}/versions",
"response": {
"$ref": "ListVersionsResponse"
- }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/firebase",
+ "https://www.googleapis.com/auth/firebase.readonly"
+ ]
},
"patch": {
"description": "Updates the specified metadata for a version. Note that this method will\nfail with `FAILED_PRECONDITION` in the event of an invalid state\ntransition. The only valid transition for a version is currently from a\n`CREATED` status to a `FINALIZED` status.\nUse [`DeleteVersion`](../sites.versions/delete) to set the status of a\nversion to `DELETED`.",
@@ -859,7 +1293,7 @@
]
},
"populateFiles": {
- "description": "Adds content files to a version.",
+ "description": "Adds content files to a version.\nEach file must be under 2 GB.",
"flatPath": "v1beta1/sites/{sitesId}/versions/{versionsId}:populateFiles",
"httpMethod": "POST",
"id": "firebasehosting.sites.versions.populateFiles",
@@ -947,7 +1381,7 @@
}
}
},
- "revision": "20200325",
+ "revision": "20200709",
"rootUrl": "https://firebasehosting.googleapis.com/",
"schemas": {
"ActingUser": {
@@ -995,29 +1429,6 @@
},
"type": "object"
},
- "CloneVersionRequest": {
- "description": "The request sent to CloneVersion.",
- "id": "CloneVersionRequest",
- "properties": {
- "exclude": {
- "$ref": "PathFilter",
- "description": "If provided, only paths that do not match any of the regexes in this\nlist will be included in the new version."
- },
- "finalize": {
- "description": "If true, immediately finalize the version after cloning is complete.",
- "type": "boolean"
- },
- "include": {
- "$ref": "PathFilter",
- "description": "If provided, only paths that match one or more regexes in this list\nwill be included in the new version."
- },
- "sourceVersion": {
- "description": "Required. The name of the version to be cloned, in the format:\n`sites/{site}/versions/{version}`",
- "type": "string"
- }
- },
- "type": "object"
- },
"CloudRunRewrite": {
"description": "A configured rewrite that directs requests to a Cloud Run service. If the\nCloud Run service does not exist when setting or updating your Firebase\nHosting configuration, then the request fails. Any errors from the Cloud Run\nservice are passed to the end user (for example, if you delete a service, any\nrequests directed to that service receive a `404` error).",
"id": "CloudRunRewrite",
@@ -1192,11 +1603,11 @@
"type": "object"
},
"Header": {
- "description": "A [`header`](/docs/hosting/full-config#headers) defines custom headers to\nadd to a response should the request URL path match the pattern.",
+ "description": "A [`header`](/docs/hosting/full-config#headers) is an object that specifies\na URL pattern that, if matched to the request URL path, triggers Hosting to\napply the specified custom response headers.",
"id": "Header",
"properties": {
"glob": {
- "description": "The user-supplied [glob\npattern](/docs/hosting/full-config#glob_pattern_matching) to match\nagainst the request URL path.",
+ "description": "The user-supplied\n[glob](/docs/hosting/full-config#glob_pattern_matching) to match\nagainst the request URL path.",
"type": "string"
},
"headers": {
@@ -1214,6 +1625,7 @@
"type": "object"
},
"ListDomainsResponse": {
+ "description": "The response to listing Domains.",
"id": "ListDomainsResponse",
"properties": {
"domains": {
@@ -1316,21 +1728,8 @@
},
"type": "object"
},
- "PathFilter": {
- "description": "A representation of filter path.",
- "id": "PathFilter",
- "properties": {
- "regexes": {
- "description": "An array of regexes to filter by.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
"PopulateVersionFilesRequest": {
+ "description": "The request to populate a Version's Files.",
"id": "PopulateVersionFilesRequest",
"properties": {
"files": {
@@ -1377,11 +1776,11 @@
"type": "object"
},
"Redirect": {
- "description": "A [`redirect`](/docs/hosting/full-config#redirects) represents the\nconfiguration for returning an HTTP redirect response given a matching\nrequest URL path.",
+ "description": "A [`redirect`](/docs/hosting/full-config#redirects) object specifies a URL\npattern that, if matched to the request URL path, triggers Hosting to\nrespond with a redirect to the specified destination path.",
"id": "Redirect",
"properties": {
"glob": {
- "description": "The user-supplied [glob\npattern](/docs/hosting/full-config#glob_pattern_matching) to match\nagainst the request URL path.",
+ "description": "The user-supplied\n[glob](/docs/hosting/full-config#glob_pattern_matching) to match\nagainst the request URL path.",
"type": "string"
},
"location": {
@@ -1445,7 +1844,7 @@
"type": "object"
},
"Rewrite": {
- "description": "A [`rewrite`](/docs/hosting/full-config#rewrites) represents an internal\ncontent rewrite on the version. If the pattern matches, the request will be\nhandled as if it were to the destination path specified in the\nconfiguration.",
+ "description": "A [`rewrite`](/docs/hosting/full-config#rewrites) object specifies a URL\npattern that, if matched to the request URL path, triggers Hosting to\nrespond as if the service were given the specified destination URL.",
"id": "Rewrite",
"properties": {
"dynamicLinks": {
@@ -1457,7 +1856,7 @@
"type": "string"
},
"glob": {
- "description": "The user-supplied [glob\npattern](/docs/hosting/full-config#glob_pattern_matching) to match\nagainst the request URL path.",
+ "description": "The user-supplied\n[glob](/docs/hosting/full-config#glob_pattern_matching) to match\nagainst the request URL path.",
"type": "string"
},
"path": {
@@ -1476,7 +1875,7 @@
"type": "object"
},
"ServingConfig": {
- "description": "The configuration for how incoming requests to a site should be routed and\nprocessed before serving content. The patterns are matched and applied\naccording to a specific\n[priority order](/docs/hosting/full-config#hosting_priority_order).",
+ "description": "The configuration for how incoming requests to a site should be routed and\nprocessed before serving content. The URL request paths are matched against\nthe specified URL patterns in the configuration, then Hosting applies the\napplicable configuration according to a specific\n[priority order](/docs/hosting/full-config#hosting_priority_order).",
"id": "ServingConfig",
"properties": {
"appAssociation": {
@@ -1496,21 +1895,21 @@
"type": "boolean"
},
"headers": {
- "description": "A list of custom response headers that are added to the content if the\nrequest URL path matches the glob.",
+ "description": "An array of objects, where each object specifies a URL pattern that, if\nmatched to the request URL path, triggers Hosting to apply the specified\ncustom response headers.",
"items": {
"$ref": "Header"
},
"type": "array"
},
"redirects": {
- "description": "A list of globs that will cause the response to redirect to another\nlocation.",
+ "description": "An array of objects (called redirect rules), where each rule specifies a\nURL pattern that, if matched to the request URL path, triggers Hosting to\nrespond with a redirect to the specified destination path.",
"items": {
"$ref": "Redirect"
},
"type": "array"
},
"rewrites": {
- "description": "A list of rewrites that will act as if the service were given the\ndestination URL.",
+ "description": "An array of objects (called rewrite rules), where each rule specifies a URL\npattern that, if matched to the request URL path, triggers Hosting to\nrespond as if the service were given the specified destination URL.",
"items": {
"$ref": "Rewrite"
},
@@ -1537,6 +1936,10 @@
"description": "A `SiteConfig` contains metadata associated with a specific site that\ncontrols Firebase Hosting serving behavior",
"id": "SiteConfig",
"properties": {
+ "cloudLoggingEnabled": {
+ "description": "Whether or not web requests made by site visitors are logged via Cloud\nLogging.",
+ "type": "boolean"
+ },
"maxVersions": {
"description": "The number of FINALIZED versions that will be held for a site before\nautomatic deletion. When a new version is deployed, content for versions\nin storage in excess of this number will be deleted, and will no longer be\nbilled for storage usage. Oldest versions will be deleted first; sites are\ncreated with an unlimited number of max_versions by default.",
"format": "int64",
@@ -1635,8 +2038,7 @@
"FINALIZED",
"DELETED",
"ABANDONED",
- "EXPIRED",
- "CLONING"
+ "EXPIRED"
],
"enumDescriptions": [
"The default status; should not be intentionally used.",
@@ -1644,8 +2046,7 @@
"All content has been added to the version, and the version can no longer be\nchanged.",
"The version has been deleted.",
"The version was not updated to `FINALIZED` within 12 hours and was\nautomatically deleted.",
- "The version is outside the site-configured limit for the number of\nretained versions, so the version's content is scheduled for deletion.",
- "The version is being cloned from another version. All content is still\nbeing copied over."
+ "The version is outside the site-configured limit for the number of\nretained versions, so the version's content is scheduled for deletion."
],
"type": "string"
},
diff --git a/etc/api/firebaseml/v1/firebaseml-api.json b/etc/api/firebaseml/v1/firebaseml-api.json
new file mode 100644
index 0000000000..4532127610
--- /dev/null
+++ b/etc/api/firebaseml/v1/firebaseml-api.json
@@ -0,0 +1,331 @@
+{
+ "auth": {
+ "oauth2": {
+ "scopes": {
+ "https://www.googleapis.com/auth/cloud-platform": {
+ "description": "View and manage your data across Google Cloud Platform services"
+ }
+ }
+ }
+ },
+ "basePath": "",
+ "baseUrl": "https://firebaseml.googleapis.com/",
+ "batchPath": "batch",
+ "canonicalName": "Firebase ML",
+ "description": "Access custom machine learning models hosted via Firebase ML.",
+ "discoveryVersion": "v1",
+ "documentationLink": "https://firebase.google.com",
+ "fullyEncodeReservedExpansion": true,
+ "icons": {
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
+ },
+ "id": "firebaseml:v1",
+ "kind": "discovery#restDescription",
+ "mtlsRootUrl": "https://firebaseml.mtls.googleapis.com/",
+ "name": "firebaseml",
+ "ownerDomain": "google.com",
+ "ownerName": "Google",
+ "parameters": {
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "alt": {
+ "default": "json",
+ "description": "Data format for response.",
+ "enum": [
+ "json",
+ "media",
+ "proto"
+ ],
+ "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",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "key": {
+ "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",
+ "type": "string"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "quotaUser": {
+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "protocol": "rest",
+ "resources": {
+ "operations": {
+ "methods": {
+ "cancel": {
+ "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.",
+ "flatPath": "v1/operations/{operationsId}:cancel",
+ "httpMethod": "POST",
+ "id": "firebaseml.operations.cancel",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource to be cancelled.",
+ "location": "path",
+ "pattern": "^operations/.*$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}:cancel",
+ "request": {
+ "$ref": "CancelOperationRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Deletes a long-running operation. This method indicates that the client is\nno longer interested in the operation result. It does not cancel the\noperation. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`.",
+ "flatPath": "v1/operations/{operationsId}",
+ "httpMethod": "DELETE",
+ "id": "firebaseml.operations.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource to be deleted.",
+ "location": "path",
+ "pattern": "^operations/.*$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "list": {
+ "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{name=users/*}/operations\"` to their service configuration.\nFor backwards compatibility, the default name includes the operations\ncollection id, however overriding users must ensure the name binding\nis the parent resource, without the operations collection id.",
+ "flatPath": "v1/operations",
+ "httpMethod": "GET",
+ "id": "firebaseml.operations.list",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "The standard list filter.",
+ "location": "query",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the operation's parent resource.",
+ "location": "path",
+ "pattern": "^operations$",
+ "required": true,
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "The standard list page size.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "The standard list page token.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "ListOperationsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ }
+ },
+ "revision": "20200708",
+ "rootUrl": "https://firebaseml.googleapis.com/",
+ "schemas": {
+ "CancelOperationRequest": {
+ "description": "The request message for Operations.CancelOperation.",
+ "id": "CancelOperationRequest",
+ "properties": {},
+ "type": "object"
+ },
+ "Empty": {
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
+ },
+ "ListOperationsResponse": {
+ "description": "The response message for Operations.ListOperations.",
+ "id": "ListOperationsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "The standard List next-page token.",
+ "type": "string"
+ },
+ "operations": {
+ "description": "A list of operations that matches the specified filter in the request.",
+ "items": {
+ "$ref": "Operation"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ModelOperationMetadata": {
+ "description": "This is returned in the longrunning operations\nfor create/update.",
+ "id": "ModelOperationMetadata",
+ "properties": {
+ "basicOperationStatus": {
+ "enum": [
+ "BASIC_OPERATION_STATUS_UNSPECIFIED",
+ "BASIC_OPERATION_STATUS_UPLOADING",
+ "BASIC_OPERATION_STATUS_VERIFYING"
+ ],
+ "enumDescriptions": [
+ "The status is unspecified",
+ "The model file is being uploaded",
+ "The model file is being verified"
+ ],
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the model we are creating/updating\nThe name must have the form `projects/{project_id}/models/{model_id}`",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Operation": {
+ "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
+ "id": "Operation",
+ "properties": {
+ "done": {
+ "description": "If the value is `false`, it means the operation is still in progress.\nIf `true`, the operation is completed, and either `error` or `response` is\navailable.",
+ "type": "boolean"
+ },
+ "error": {
+ "$ref": "Status",
+ "description": "The error result of the operation in case of failure or cancellation."
+ },
+ "metadata": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.",
+ "type": "object"
+ },
+ "name": {
+ "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should be a resource name ending with `operations/{unique_id}`.",
+ "type": "string"
+ },
+ "response": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "Status": {
+ "description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors).",
+ "id": "Status",
+ "properties": {
+ "code": {
+ "description": "The status code, which should be an enum value of google.rpc.Code.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "details": {
+ "description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.",
+ "items": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "servicePath": "",
+ "title": "Firebase ML API",
+ "version": "v1",
+ "version_module": true
+}
\ No newline at end of file
diff --git a/etc/api/firebaseml/v1beta2/firebaseml-api.json b/etc/api/firebaseml/v1beta2/firebaseml-api.json
new file mode 100644
index 0000000000..dbd5f31e60
--- /dev/null
+++ b/etc/api/firebaseml/v1beta2/firebaseml-api.json
@@ -0,0 +1,502 @@
+{
+ "auth": {
+ "oauth2": {
+ "scopes": {
+ "https://www.googleapis.com/auth/cloud-platform": {
+ "description": "View and manage your data across Google Cloud Platform services"
+ }
+ }
+ }
+ },
+ "basePath": "",
+ "baseUrl": "https://firebaseml.googleapis.com/",
+ "batchPath": "batch",
+ "canonicalName": "Firebase ML",
+ "description": "Access custom machine learning models hosted via Firebase ML.",
+ "discoveryVersion": "v1",
+ "documentationLink": "https://firebase.google.com",
+ "fullyEncodeReservedExpansion": true,
+ "icons": {
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
+ },
+ "id": "firebaseml:v1beta2",
+ "kind": "discovery#restDescription",
+ "mtlsRootUrl": "https://firebaseml.mtls.googleapis.com/",
+ "name": "firebaseml",
+ "ownerDomain": "google.com",
+ "ownerName": "Google",
+ "parameters": {
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "alt": {
+ "default": "json",
+ "description": "Data format for response.",
+ "enum": [
+ "json",
+ "media",
+ "proto"
+ ],
+ "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",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "key": {
+ "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",
+ "type": "string"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "quotaUser": {
+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "protocol": "rest",
+ "resources": {
+ "projects": {
+ "resources": {
+ "models": {
+ "methods": {
+ "create": {
+ "description": "Creates a model in Firebase ML.\nThe longrunning operation will eventually return a Model",
+ "flatPath": "v1beta2/projects/{projectsId}/models",
+ "httpMethod": "POST",
+ "id": "firebaseml.projects.models.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The parent project resource where the model is to be created.\nThe parent must have the form `projects/{project_id}`",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+parent}/models",
+ "request": {
+ "$ref": "Model"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Deletes a model",
+ "flatPath": "v1beta2/projects/{projectsId}/models/{modelsId}",
+ "httpMethod": "DELETE",
+ "id": "firebaseml.projects.models.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the model to delete.\nThe name must have the form `projects/{project_id}/models/{model_id}`",
+ "location": "path",
+ "pattern": "^projects/[^/]+/models/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+name}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets a model resource.",
+ "flatPath": "v1beta2/projects/{projectsId}/models/{modelsId}",
+ "httpMethod": "GET",
+ "id": "firebaseml.projects.models.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the model to get.\nThe name must have the form `projects/{project_id}/models/{model_id}`",
+ "location": "path",
+ "pattern": "^projects/[^/]+/models/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+name}",
+ "response": {
+ "$ref": "Model"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "list": {
+ "description": "Lists the models",
+ "flatPath": "v1beta2/projects/{projectsId}/models",
+ "httpMethod": "GET",
+ "id": "firebaseml.projects.models.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "A filter for the list\ne.g. 'tags: abc' to list models which are tagged with \"abc\"",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "The maximum number of items to return",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "The next_page_token value returned from a previous List request, if any.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. The name of the parent to list models for.\nThe parent must have the form `projects/{project_id}'",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+parent}/models",
+ "response": {
+ "$ref": "ListModelsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "patch": {
+ "description": "Updates a model. The longrunning operation will eventually return a Model.",
+ "flatPath": "v1beta2/projects/{projectsId}/models/{modelsId}",
+ "httpMethod": "PATCH",
+ "id": "firebaseml.projects.models.patch",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The resource name of the Model.\nModel names have the form `projects/{project_id}/models/{model_id}`\nThe name is ignored when creating a model.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/models/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "The update mask",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+name}",
+ "request": {
+ "$ref": "Model"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "operations": {
+ "methods": {
+ "get": {
+ "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.",
+ "flatPath": "v1beta2/projects/{projectsId}/operations/{operationsId}",
+ "httpMethod": "GET",
+ "id": "firebaseml.projects.operations.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/operations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+name}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "revision": "20200708",
+ "rootUrl": "https://firebaseml.googleapis.com/",
+ "schemas": {
+ "Empty": {
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
+ },
+ "ListModelsResponse": {
+ "description": "The response for list models",
+ "id": "ListModelsResponse",
+ "properties": {
+ "models": {
+ "description": "The list of models",
+ "items": {
+ "$ref": "Model"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "Token to retrieve the next page of results, or empty if there are no\nmore results in the list.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Model": {
+ "description": "An ML model hosted in Firebase ML",
+ "id": "Model",
+ "properties": {
+ "activeOperations": {
+ "description": "Output only. Lists operation ids associated with this model whose status is NOT done.",
+ "items": {
+ "$ref": "Operation"
+ },
+ "type": "array"
+ },
+ "createTime": {
+ "description": "Output only. Timestamp when this model was created in Firebase ML.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Required. The name of the model to create. The name can be up to 32 characters long\nand can consist only of ASCII Latin letters A-Z and a-z, underscores(_)\nand ASCII digits 0-9. It must start with a letter.",
+ "type": "string"
+ },
+ "etag": {
+ "description": "Output only. See RFC7232\nhttps://tools.ietf.org/html/rfc7232#section-2.3",
+ "type": "string"
+ },
+ "modelHash": {
+ "description": "Output only. The model_hash will change if a new file is available for download.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The resource name of the Model.\nModel names have the form `projects/{project_id}/models/{model_id}`\nThe name is ignored when creating a model.",
+ "type": "string"
+ },
+ "state": {
+ "$ref": "ModelState",
+ "description": "State common to all model types.\nIncludes publishing and validation information."
+ },
+ "tags": {
+ "description": "User defined tags which can be used to group/filter models during listing",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "tfliteModel": {
+ "$ref": "TfLiteModel",
+ "description": "A TFLite Model"
+ },
+ "updateTime": {
+ "description": "Output only. Timestamp when this model was updated in Firebase ML.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ModelOperationMetadata": {
+ "description": "This is returned in the longrunning operations\nfor create/update.",
+ "id": "ModelOperationMetadata",
+ "properties": {
+ "basicOperationStatus": {
+ "enum": [
+ "BASIC_OPERATION_STATUS_UNSPECIFIED",
+ "BASIC_OPERATION_STATUS_UPLOADING",
+ "BASIC_OPERATION_STATUS_VERIFYING"
+ ],
+ "enumDescriptions": [
+ "The status is unspecified",
+ "The model file is being uploaded",
+ "The model file is being verified"
+ ],
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the model we are creating/updating\nThe name must have the form `projects/{project_id}/models/{model_id}`",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ModelState": {
+ "description": "State common to all model types.\nIncludes publishing and validation information.",
+ "id": "ModelState",
+ "properties": {
+ "published": {
+ "description": "Indicates if this model has been published.",
+ "type": "boolean"
+ },
+ "validationError": {
+ "$ref": "Status",
+ "description": "Output only. Indicates the latest validation error on the model if any.\nA model may have validation errors if there were problems during\nthe model creation/update.\ne.g. in the case of a TfLiteModel, if a tflite model file was\nmissing or in the wrong format.\nThis field will be empty for valid models."
+ }
+ },
+ "type": "object"
+ },
+ "Operation": {
+ "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
+ "id": "Operation",
+ "properties": {
+ "done": {
+ "description": "If the value is `false`, it means the operation is still in progress.\nIf `true`, the operation is completed, and either `error` or `response` is\navailable.",
+ "type": "boolean"
+ },
+ "error": {
+ "$ref": "Status",
+ "description": "The error result of the operation in case of failure or cancellation."
+ },
+ "metadata": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.",
+ "type": "object"
+ },
+ "name": {
+ "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should be a resource name ending with `operations/{unique_id}`.",
+ "type": "string"
+ },
+ "response": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "Status": {
+ "description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors).",
+ "id": "Status",
+ "properties": {
+ "code": {
+ "description": "The status code, which should be an enum value of google.rpc.Code.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "details": {
+ "description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.",
+ "items": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "TfLiteModel": {
+ "description": "Information that is specific to TfLite models.",
+ "id": "TfLiteModel",
+ "properties": {
+ "gcsTfliteUri": {
+ "description": "The TfLite file containing the model. (Stored in Google Cloud).\nThe gcs_tflite_uri should have form: gs://some-bucket/some-model.tflite\nNote: If you update the file in the original location, it is\nnecessary to call UpdateModel for ML to pick up and validate the\nupdated file.",
+ "type": "string"
+ },
+ "sizeBytes": {
+ "description": "Output only. The size of the TFLite model",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "servicePath": "",
+ "title": "Firebase ML API",
+ "version": "v1beta2",
+ "version_module": true
+}
\ No newline at end of file
diff --git a/etc/api/firebaserules/v1/firebaserules-api.json b/etc/api/firebaserules/v1/firebaserules-api.json
index a54e8cdeff..447ac2e910 100644
--- a/etc/api/firebaserules/v1/firebaserules-api.json
+++ b/etc/api/firebaserules/v1/firebaserules-api.json
@@ -472,7 +472,7 @@
}
}
},
- "revision": "20200303",
+ "revision": "20200610",
"rootUrl": "https://firebaserules.googleapis.com/",
"schemas": {
"Arg": {
diff --git a/etc/api/firestore/v1/firestore-api.json b/etc/api/firestore/v1/firestore-api.json
index a7988903b4..a506987954 100644
--- a/etc/api/firestore/v1/firestore-api.json
+++ b/etc/api/firestore/v1/firestore-api.json
@@ -1102,7 +1102,7 @@
}
}
},
- "revision": "20200311",
+ "revision": "20200522",
"rootUrl": "https://firestore.googleapis.com/",
"schemas": {
"ArrayValue": {
diff --git a/etc/api/firestore/v1beta1/firestore-api.json b/etc/api/firestore/v1beta1/firestore-api.json
index 900b06829f..7c9cda3fa3 100644
--- a/etc/api/firestore/v1beta1/firestore-api.json
+++ b/etc/api/firestore/v1beta1/firestore-api.json
@@ -791,7 +791,7 @@
}
}
},
- "revision": "20200311",
+ "revision": "20200522",
"rootUrl": "https://firestore.googleapis.com/",
"schemas": {
"ArrayValue": {
diff --git a/etc/api/firestore/v1beta2/firestore-api.json b/etc/api/firestore/v1beta2/firestore-api.json
index 0a61fbe529..50891d9eaa 100644
--- a/etc/api/firestore/v1beta2/firestore-api.json
+++ b/etc/api/firestore/v1beta2/firestore-api.json
@@ -415,7 +415,7 @@
}
}
},
- "revision": "20200311",
+ "revision": "20200522",
"rootUrl": "https://firestore.googleapis.com/",
"schemas": {
"Empty": {
diff --git a/etc/api/fitness/v1/fitness-api.json b/etc/api/fitness/v1/fitness-api.json
index cb13495384..bfad00c1ea 100644
--- a/etc/api/fitness/v1/fitness-api.json
+++ b/etc/api/fitness/v1/fitness-api.json
@@ -59,35 +59,62 @@
}
}
},
- "basePath": "/fitness/v1/users/",
- "baseUrl": "https://www.googleapis.com/fitness/v1/users/",
+ "basePath": "",
+ "baseUrl": "https://www.googleapis.com/",
"batchPath": "batch/fitness/v1",
- "description": "Stores and accesses user data in the fitness store from apps on any platform.",
+ "description": "The Fitness API for managing users' fitness tracking data.",
"discoveryVersion": "v1",
- "documentationLink": "https://developers.google.com/fit/rest/",
- "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/iuUg3nKvw8ifICOqBNJ37HGT-yg\"",
+ "documentationLink": "https://developers.google.com/fit/rest/v1/get-started",
"icons": {
- "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
- "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"id": "fitness:v1",
"kind": "discovery#restDescription",
+ "mtlsRootUrl": "https://www.mtls.googleapis.com/",
"name": "fitness",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "alt": {
- "default": "json",
- "description": "Data format for the response.",
+ "$.xgafv": {
+ "description": "V1 error format.",
"enum": [
- "json"
+ "1",
+ "2"
],
"enumDescriptions": [
- "Responses with Content-Type of application/json"
+ "v1 error format",
+ "v2 error format"
],
"location": "query",
"type": "string"
},
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "alt": {
+ "default": "json",
+ "description": "Data format for response.",
+ "enum": [
+ "json",
+ "media",
+ "proto"
+ ],
+ "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",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
@@ -110,12 +137,17 @@
"type": "boolean"
},
"quotaUser": {
- "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
+ "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",
"type": "string"
},
- "userIp": {
- "description": "Deprecated. Please use quotaUser instead.",
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
}
@@ -127,7 +159,8 @@
"dataSources": {
"methods": {
"create": {
- "description": "Creates a new data source that is unique across all data sources belonging to this user.\n\nA data source is a unique source of sensor data. Data sources can expose raw data coming from hardware sensors on local or companion devices. They can also expose derived data, created by transforming or merging other data sources. Multiple data sources can exist for the same data type. Every data point in every dataset inserted into or read from the Fitness API has an associated data source.\n\nEach data source produces a unique stream of dataset updates, with a unique data source identifier. Not all changes to data source affect the data stream ID, so that data collected by updated versions of the same application/device can still be considered to belong to the same data source.\n\nData sources are identified using a string generated by the server, based on the contents of the source being created. The dataStreamId field should not be set when invoking this method. It will be automatically generated by the server with the correct format. If a dataStreamId is set, it must match the format that the server would generate. This format is a combination of some fields from the data source, and has a specific order. If it doesn't match, the request will fail with an error.\n\nSpecifying a DataType which is not a known type (beginning with \"com.google.\") will create a DataSource with a custom data type. Custom data types are only readable by the application that created them. Custom data types are deprecated; use standard data types instead.\n\nIn addition to the data source fields included in the data source ID, the developer project number that is authenticated when creating the data source is included. This developer project number is obfuscated when read by any other developer reading public data types.",
+ "description": "Creates a new data source that is unique across all data sources belonging\nto this user.\n\nA data source is a unique source of sensor data. Data sources can expose\nraw data coming from hardware sensors on local or companion devices. They\ncan also expose derived data, created by transforming or merging other data\nsources. Multiple data sources can exist for the same data type. Every data\npoint in every dataset inserted into or read from the Fitness API has an\nassociated data source.\n\nEach data source produces a unique stream of dataset updates, with a\nunique data source identifier. Not all changes to data source affect the\ndata stream ID, so that data collected by updated versions of the same\napplication/device can still be considered to belong to the same data\nsource.\n\nData sources are identified using a string generated by the server, based\non the contents of the source being created. The dataStreamId\nfield should not be set when invoking this method. It\nwill be automatically generated by the server with the correct format. If\na dataStreamId is set, it must match the format that the\nserver would generate. This format is a combination of some fields from the\ndata source, and has a specific order. If it doesn't match, the request\nwill fail with an error.\n\nSpecifying a DataType which is not a known type (beginning with\n\"com.google.\") will create a DataSource with a custom data type.\nCustom data types are only readable by the application that created them.\nCustom data types are deprecated; use standard data types\ninstead.\n\nIn addition to the data source fields included in the data source ID, the\ndeveloper project number that is authenticated when creating the data\nsource is included. This developer project number is obfuscated when read\nby any other developer reading public data types.",
+ "flatPath": "fitness/v1/users/{userId}/dataSources",
"httpMethod": "POST",
"id": "fitness.users.dataSources.create",
"parameterOrder": [
@@ -135,13 +168,13 @@
],
"parameters": {
"userId": {
- "description": "Create the data source for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
+ "description": "Create the data source for the person identified. Use me to\nindicate the authenticated user. Only me is supported at this\ntime.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{userId}/dataSources",
+ "path": "fitness/v1/users/{userId}/dataSources",
"request": {
"$ref": "DataSource"
},
@@ -161,7 +194,8 @@
]
},
"delete": {
- "description": "Deletes the specified data source. The request will fail if the data source contains any data points.",
+ "description": "Deletes the specified data source. The request will fail if the data\nsource contains any data points.",
+ "flatPath": "fitness/v1/users/{userId}/dataSources/{dataSourceId}",
"httpMethod": "DELETE",
"id": "fitness.users.dataSources.delete",
"parameterOrder": [
@@ -176,13 +210,13 @@
"type": "string"
},
"userId": {
- "description": "Retrieve a data source for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
+ "description": "Retrieve a data source for the person identified. Use me to\nindicate the authenticated user. Only me is supported at this\ntime.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{userId}/dataSources/{dataSourceId}",
+ "path": "fitness/v1/users/{userId}/dataSources/{dataSourceId}",
"response": {
"$ref": "DataSource"
},
@@ -200,6 +234,7 @@
},
"get": {
"description": "Returns the specified data source.",
+ "flatPath": "fitness/v1/users/{userId}/dataSources/{dataSourceId}",
"httpMethod": "GET",
"id": "fitness.users.dataSources.get",
"parameterOrder": [
@@ -214,13 +249,13 @@
"type": "string"
},
"userId": {
- "description": "Retrieve a data source for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
+ "description": "Retrieve a data source for the person identified. Use me to\nindicate the authenticated user. Only me is supported at this\ntime.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{userId}/dataSources/{dataSourceId}",
+ "path": "fitness/v1/users/{userId}/dataSources/{dataSourceId}",
"response": {
"$ref": "DataSource"
},
@@ -246,7 +281,8 @@
]
},
"list": {
- "description": "Lists all data sources that are visible to the developer, using the OAuth scopes provided. The list is not exhaustive; the user may have private data sources that are only visible to other developers, or calls using other scopes.",
+ "description": "Lists all data sources that are visible to the developer, using the OAuth\nscopes provided. The list is not exhaustive; the user may have private\ndata sources that are only visible to other developers, or calls using\nother scopes.",
+ "flatPath": "fitness/v1/users/{userId}/dataSources",
"httpMethod": "GET",
"id": "fitness.users.dataSources.list",
"parameterOrder": [
@@ -254,19 +290,19 @@
],
"parameters": {
"dataTypeName": {
- "description": "The names of data types to include in the list. If not specified, all data sources will be returned.",
+ "description": "The names of data types to include in the list. If not specified, all\ndata sources will be returned.",
"location": "query",
"repeated": true,
"type": "string"
},
"userId": {
- "description": "List data sources for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
+ "description": "List data sources for the person identified. Use me to\nindicate the authenticated user. Only me is supported at this\ntime.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{userId}/dataSources",
+ "path": "fitness/v1/users/{userId}/dataSources",
"response": {
"$ref": "ListDataSourcesResponse"
},
@@ -292,7 +328,8 @@
]
},
"update": {
- "description": "Updates the specified data source. The dataStreamId, dataType, type, dataStreamName, and device properties with the exception of version, cannot be modified.\n\nData sources are identified by their dataStreamId.",
+ "description": "Updates the specified data source. The dataStreamId,\ndataType, type, dataStreamName, and\ndevice properties with the exception of version,\ncannot be modified.\n\nData sources are identified by their dataStreamId.",
+ "flatPath": "fitness/v1/users/{userId}/dataSources/{dataSourceId}",
"httpMethod": "PUT",
"id": "fitness.users.dataSources.update",
"parameterOrder": [
@@ -307,13 +344,13 @@
"type": "string"
},
"userId": {
- "description": "Update the data source for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
+ "description": "Update the data source for the person identified. Use me to\nindicate the authenticated user. Only me is supported at this\ntime.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{userId}/dataSources/{dataSourceId}",
+ "path": "fitness/v1/users/{userId}/dataSources/{dataSourceId}",
"request": {
"$ref": "DataSource"
},
@@ -338,6 +375,7 @@
"methods": {
"list": {
"description": "Queries for user's data point changes for a particular data source.",
+ "flatPath": "fitness/v1/users/{userId}/dataSources/{dataSourceId}/dataPointChanges",
"httpMethod": "GET",
"id": "fitness.users.dataSources.dataPointChanges.list",
"parameterOrder": [
@@ -352,24 +390,24 @@
"type": "string"
},
"limit": {
- "description": "If specified, no more than this many data point changes will be included in the response.",
+ "description": "If specified, no more than this many data point changes will be included\nin the response.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.",
+ "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\nnextPageToken from the previous response.",
"location": "query",
"type": "string"
},
"userId": {
- "description": "List data points for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
+ "description": "List data points for the person identified. Use me to indicate\nthe authenticated user. Only me is supported at this time.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{userId}/dataSources/{dataSourceId}/dataPointChanges",
+ "path": "fitness/v1/users/{userId}/dataSources/{dataSourceId}/dataPointChanges",
"response": {
"$ref": "ListDataPointChangesResponse"
},
@@ -399,7 +437,8 @@
"datasets": {
"methods": {
"delete": {
- "description": "Performs an inclusive delete of all data points whose start and end times have any overlap with the time range specified by the dataset ID. For most data types, the entire data point will be deleted. For data types where the time span represents a consistent value (such as com.google.activity.segment), and a data point straddles either end point of the dataset, only the overlapping portion of the data point will be deleted.",
+ "description": "Performs an inclusive delete of all data points whose start and end times\nhave any overlap with the time range specified by the dataset ID. For most\ndata types, the entire data point will be deleted. For data types where the\ntime span represents a consistent value (such as\ncom.google.activity.segment), and a data point straddles\neither end point of the dataset, only the overlapping portion of the data\npoint will be deleted.",
+ "flatPath": "fitness/v1/users/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}",
"httpMethod": "DELETE",
"id": "fitness.users.dataSources.datasets.delete",
"parameterOrder": [
@@ -421,7 +460,7 @@
"type": "string"
},
"datasetId": {
- "description": "Dataset identifier that is a composite of the minimum data point start time and maximum data point end time represented as nanoseconds from the epoch. The ID is formatted like: \"startTime-endTime\" where startTime and endTime are 64 bit integers.",
+ "description": "Dataset identifier that is a composite of the minimum data point start time\nand maximum data point end time represented as nanoseconds from the epoch.\nThe ID is formatted like: \"startTime-endTime\"\nwhere startTime and endTime are 64 bit integers.",
"location": "path",
"required": true,
"type": "string"
@@ -433,13 +472,13 @@
"type": "string"
},
"userId": {
- "description": "Delete a dataset for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
+ "description": "Delete a dataset for the person identified. Use me to indicate\nthe authenticated user. Only me is supported at this time.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{userId}/dataSources/{dataSourceId}/datasets/{datasetId}",
+ "path": "fitness/v1/users/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}",
"scopes": [
"https://www.googleapis.com/auth/fitness.activity.write",
"https://www.googleapis.com/auth/fitness.blood_glucose.write",
@@ -453,7 +492,8 @@
]
},
"get": {
- "description": "Returns a dataset containing all data points whose start and end times overlap with the specified range of the dataset minimum start time and maximum end time. Specifically, any data point whose start time is less than or equal to the dataset end time and whose end time is greater than or equal to the dataset start time.",
+ "description": "Returns a dataset containing all data points whose start and end times\noverlap with the specified range of the dataset minimum start time and\nmaximum end time. Specifically, any data point whose start time is less\nthan or equal to the dataset end time and whose end time is greater than or\nequal to the dataset start time.",
+ "flatPath": "fitness/v1/users/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}",
"httpMethod": "GET",
"id": "fitness.users.dataSources.datasets.get",
"parameterOrder": [
@@ -469,30 +509,30 @@
"type": "string"
},
"datasetId": {
- "description": "Dataset identifier that is a composite of the minimum data point start time and maximum data point end time represented as nanoseconds from the epoch. The ID is formatted like: \"startTime-endTime\" where startTime and endTime are 64 bit integers.",
+ "description": "Dataset identifier that is a composite of the minimum data point start time\nand maximum data point end time represented as nanoseconds from the epoch.\nThe ID is formatted like: \"startTime-endTime\"\nwhere startTime and endTime are 64 bit integers.",
"location": "path",
"required": true,
"type": "string"
},
"limit": {
- "description": "If specified, no more than this many data points will be included in the dataset. If there are more data points in the dataset, nextPageToken will be set in the dataset response.",
+ "description": "If specified, no more than this many data points will be included in the\ndataset. If there are more data points in the dataset, nextPageToken\nwill be set in the dataset response.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "The continuation token, which is used to page through large datasets. To get the next page of a dataset, set this parameter to the value of nextPageToken from the previous response. Each subsequent call will yield a partial dataset with data point end timestamps that are strictly smaller than those in the previous partial response.",
+ "description": "The continuation token, which is used to page through large datasets.\nTo get the next page of a dataset, set this parameter to the value of\nnextPageToken from the previous response. Each subsequent\ncall will yield a partial dataset with data point end timestamps that are\nstrictly smaller than those in the previous partial response.",
"location": "query",
"type": "string"
},
"userId": {
- "description": "Retrieve a dataset for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
+ "description": "Retrieve a dataset for the person identified. Use me to\nindicate the authenticated user. Only me is supported at this\ntime.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{userId}/dataSources/{dataSourceId}/datasets/{datasetId}",
+ "path": "fitness/v1/users/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}",
"response": {
"$ref": "Dataset"
},
@@ -518,7 +558,8 @@
]
},
"patch": {
- "description": "Adds data points to a dataset. The dataset need not be previously created. All points within the given dataset will be returned with subsquent calls to retrieve this dataset. Data points can belong to more than one dataset. This method does not use patch semantics.",
+ "description": "Adds data points to a dataset. The dataset need not be previously created.\nAll points within the given dataset will be returned with subsquent calls\nto retrieve this dataset. Data points can belong to more than one dataset.\nThis method does not use patch semantics.",
+ "flatPath": "fitness/v1/users/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}",
"httpMethod": "PATCH",
"id": "fitness.users.dataSources.datasets.patch",
"parameterOrder": [
@@ -528,7 +569,7 @@
],
"parameters": {
"currentTimeMillis": {
- "description": "The client's current time in milliseconds since epoch. Note that the minStartTimeNs and maxEndTimeNs properties in the request body are in nanoseconds instead of milliseconds.",
+ "description": "The client's current time in milliseconds since epoch. Note that the\nminStartTimeNs and maxEndTimeNs properties in\nthe request body are in nanoseconds instead of milliseconds.",
"format": "int64",
"location": "query",
"type": "string"
@@ -540,19 +581,19 @@
"type": "string"
},
"datasetId": {
- "description": "Dataset identifier that is a composite of the minimum data point start time and maximum data point end time represented as nanoseconds from the epoch. The ID is formatted like: \"startTime-endTime\" where startTime and endTime are 64 bit integers.",
+ "description": "Dataset identifier that is a composite of the minimum data point start time\nand maximum data point end time represented as nanoseconds from the epoch.\nThe ID is formatted like: \"startTime-endTime\"\nwhere startTime and endTime are 64 bit integers.",
"location": "path",
"required": true,
"type": "string"
},
"userId": {
- "description": "Patch a dataset for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
+ "description": "Patch a dataset for the person identified. Use me to indicate\nthe authenticated user. Only me is supported at this time.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{userId}/dataSources/{dataSourceId}/datasets/{datasetId}",
+ "path": "fitness/v1/users/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}",
"request": {
"$ref": "Dataset"
},
@@ -578,7 +619,8 @@
"dataset": {
"methods": {
"aggregate": {
- "description": "Aggregates data of a certain type or stream into buckets divided by a given type of boundary. Multiple data sets of multiple types and from multiple sources can be aggregated into exactly one bucket type per request.",
+ "description": "Aggregates data of a certain type or stream into buckets divided by a given\ntype of boundary. Multiple data sets of multiple types and from multiple\nsources can be aggregated into exactly one bucket type per request.",
+ "flatPath": "fitness/v1/users/{userId}/dataset:aggregate",
"httpMethod": "POST",
"id": "fitness.users.dataset.aggregate",
"parameterOrder": [
@@ -586,13 +628,13 @@
],
"parameters": {
"userId": {
- "description": "Aggregate data for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
+ "description": "Aggregate data for the person identified. Use me to indicate\nthe authenticated user. Only me is supported at this time.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{userId}/dataset:aggregate",
+ "path": "fitness/v1/users/{userId}/dataset:aggregate",
"request": {
"$ref": "AggregateRequest"
},
@@ -626,6 +668,7 @@
"methods": {
"delete": {
"description": "Deletes a session specified by the given session ID.",
+ "flatPath": "fitness/v1/users/{userId}/sessions/{sessionId}",
"httpMethod": "DELETE",
"id": "fitness.users.sessions.delete",
"parameterOrder": [
@@ -646,19 +689,20 @@
"type": "string"
},
"userId": {
- "description": "Delete a session for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
+ "description": "Delete a session for the person identified. Use me to indicate\nthe authenticated user. Only me is supported at this time.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{userId}/sessions/{sessionId}",
+ "path": "fitness/v1/users/{userId}/sessions/{sessionId}",
"scopes": [
"https://www.googleapis.com/auth/fitness.activity.write"
]
},
"list": {
"description": "Lists sessions previously created.",
+ "flatPath": "fitness/v1/users/{userId}/sessions",
"httpMethod": "GET",
"id": "fitness.users.sessions.list",
"parameterOrder": [
@@ -673,33 +717,33 @@
"type": "integer"
},
"endTime": {
- "description": "An RFC3339 timestamp. Only sessions ending between the start and end times will be included in the response.",
+ "description": "An RFC3339 timestamp.\nOnly sessions ending between the start and end times will be included in\nthe response. If this time is omitted but startTime is\nspecified, all sessions from startTime to the end of time will\nbe returned.",
"location": "query",
"type": "string"
},
"includeDeleted": {
- "description": "If true, deleted sessions will be returned. When set to true, sessions returned in this response will only have an ID and will not have any other fields.",
+ "description": "If true, and if both startTime and endTime are\nomitted, session deletions will be returned.",
"location": "query",
"type": "boolean"
},
"pageToken": {
- "description": "The continuation token, which is used for incremental syncing. To get the next batch of changes, set this parameter to the value of nextPageToken from the previous response. This token is treated as a timestamp (in millis since epoch). If specified, the API returns sessions modified since this time. The page token is ignored if either start or end time is specified. If none of start time, end time, and the page token is specified, sessions modified in the last 30 days are returned.",
+ "description": "The continuation token, which is used for incremental syncing.\nTo get the next batch of changes, set this parameter to the value of\nnextPageToken from the previous response. The page token is\nignored if either start or end time is specified. If none of start time,\nend time, and the page token is specified, sessions modified in the last\n30 days are returned.",
"location": "query",
"type": "string"
},
"startTime": {
- "description": "An RFC3339 timestamp. Only sessions ending between the start and end times will be included in the response.",
+ "description": "An RFC3339 timestamp.\nOnly sessions ending between the start and end times will be included in\nthe response. If this time is omitted but endTime is specified,\nall sessions from the start of time up to endTime will be\nreturned.",
"location": "query",
"type": "string"
},
"userId": {
- "description": "List sessions for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
+ "description": "List sessions for the person identified. Use me to indicate\nthe authenticated user. Only me is supported at this time.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{userId}/sessions",
+ "path": "fitness/v1/users/{userId}/sessions",
"response": {
"$ref": "ListSessionsResponse"
},
@@ -726,6 +770,7 @@
},
"update": {
"description": "Updates or insert a given session.",
+ "flatPath": "fitness/v1/users/{userId}/sessions/{sessionId}",
"httpMethod": "PUT",
"id": "fitness.users.sessions.update",
"parameterOrder": [
@@ -746,13 +791,13 @@
"type": "string"
},
"userId": {
- "description": "Create sessions for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
+ "description": "Create sessions for the person identified. Use me to indicate\nthe authenticated user. Only me is supported at this time.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "{userId}/sessions/{sessionId}",
+ "path": "fitness/v1/users/{userId}/sessions/{sessionId}",
"request": {
"$ref": "Session"
},
@@ -768,7 +813,7 @@
}
}
},
- "revision": "20200407",
+ "revision": "20200707",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"AggregateBucket": {
@@ -787,7 +832,7 @@
"type": "array"
},
"endTimeMillis": {
- "description": "The end time for the aggregated data, in milliseconds since epoch, inclusive.",
+ "description": "The end time for the aggregated data, in milliseconds since epoch,\ninclusive.",
"format": "int64",
"type": "string"
},
@@ -796,25 +841,25 @@
"description": "Available for Bucket.Type.SESSION"
},
"startTimeMillis": {
- "description": "The start time for the aggregated data, in milliseconds since epoch, inclusive.",
+ "description": "The start time for the aggregated data, in milliseconds since epoch,\ninclusive.",
"format": "int64",
"type": "string"
},
"type": {
- "description": "The type of a bucket signifies how the data aggregation is performed in the bucket.",
+ "description": "The type of a bucket signifies how the data aggregation is performed in the\nbucket.",
"enum": [
- "activitySegment",
- "activityType",
- "session",
+ "unknown",
"time",
- "unknown"
+ "session",
+ "activityType",
+ "activitySegment"
],
"enumDescriptions": [
"",
- "",
- "",
- "",
- ""
+ "Denotes that bucketing by time is requested. When this is specified, the\ntimeBucketDurationMillis field is used to determine how many buckets will\nbe returned.",
+ "Denotes that bucketing by session is requested. When this is specified,\nonly data that occurs within sessions that begin and end within the\ndataset time frame, is included in the results.",
+ "Denotes that bucketing by activity type is requested. When this is\nspecified, there will be one bucket for each unique activity type that\na user participated in, during the dataset time frame of interest.",
+ "Denotes that bucketing by individual activity segment is requested. This\nwill aggregate data by the time boundaries specified by each activity\nsegment occurring within the dataset time frame of interest."
],
"type": "string"
}
@@ -826,11 +871,11 @@
"id": "AggregateBy",
"properties": {
"dataSourceId": {
- "description": "A data source ID to aggregate. Only data from the specified data source ID will be included in the aggregation. If specified, this data source must exist; the OAuth scopes in the supplied credentials must grant read access to this data type. The dataset in the response will have the same data source ID. Note: Data can be aggregated by either the dataTypeName or the dataSourceId, not both.",
+ "description": "A data source ID to aggregate. Only data from the specified data source ID\nwill be included in the aggregation. If specified, this data source must\nexist; the OAuth scopes in the supplied credentials must grant read access\nto this data type. The dataset in the response will have the same data\nsource ID. Note: Data can be aggregated by either the dataTypeName or the\ndataSourceId, not both.",
"type": "string"
},
"dataTypeName": {
- "description": "The data type to aggregate. All data sources providing this data type will contribute data to the aggregation. The response will contain a single dataset for this data type name. The dataset will have a data source ID of derived::com.google.android.gms:aggregated. If the user has no data for this data type, an empty data set will be returned. Note: Data can be aggregated by either the dataTypeName or the dataSourceId, not both.",
+ "description": "The data type to aggregate. All data sources providing this data type will\ncontribute data to the aggregation. The response will contain a single\ndataset for this data type name. The dataset will have a data source ID of\nderived: