From 6ad96afe4b3eb2aa47bb85deefe9a6147a8e114c Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 4 Nov 2020 05:20:28 -0800 Subject: [PATCH 01/19] fix(admin): update the API #### admin:datatransfer_v1 The following keys were changed: - baseUrl - batchPath - mtlsRootUrl - rootUrl #### admin:directory_v1 The following keys were changed: - baseUrl - batchPath - mtlsRootUrl - rootUrl - schemas.UserPosixAccount.description --- discovery/admin-datatransfer_v1.json | 10 +- discovery/admin-directory_v1.json | 12 +- src/apis/admin/datatransfer_v1.ts | 10 +- src/apis/admin/directory_v1.ts | 222 +++++++++++++-------------- 4 files changed, 127 insertions(+), 127 deletions(-) diff --git a/discovery/admin-datatransfer_v1.json b/discovery/admin-datatransfer_v1.json index 61c5273fa0..6e7993465e 100644 --- a/discovery/admin-datatransfer_v1.json +++ b/discovery/admin-datatransfer_v1.json @@ -12,8 +12,8 @@ } }, "basePath": "", - "baseUrl": "https://www.googleapis.com/", - "batchPath": "batch/admin/datatransfer_v1", + "baseUrl": "https://admin.googleapis.com/", + "batchPath": "batch", "canonicalName": "DataTransfer", "description": "Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain.", "discoveryVersion": "v1", @@ -25,7 +25,7 @@ }, "id": "admin:datatransfer_v1", "kind": "discovery#restDescription", - "mtlsRootUrl": "https://www.mtls.googleapis.com/", + "mtlsRootUrl": "https://admin.mtls.googleapis.com/", "name": "admin", "ownerDomain": "google.com", "ownerName": "Google", @@ -272,8 +272,8 @@ } } }, - "revision": "20200819", - "rootUrl": "https://www.googleapis.com/", + "revision": "20201031", + "rootUrl": "https://admin.googleapis.com/", "schemas": { "Application": { "description": "The JSON template for an Application resource. STEPLADDER: Generated unstable field number for field 'kind'. (See http://go/stepladder-help#fieldNumber) STEPLADDER: Generated unstable field number for field 'etag'. (See http://go/stepladder-help#fieldNumber)", diff --git a/discovery/admin-directory_v1.json b/discovery/admin-directory_v1.json index fea9226929..6c445e78a2 100644 --- a/discovery/admin-directory_v1.json +++ b/discovery/admin-directory_v1.json @@ -87,8 +87,8 @@ } }, "basePath": "", - "baseUrl": "https://www.googleapis.com/", - "batchPath": "batch/admin/directory_v1", + "baseUrl": "https://admin.googleapis.com/", + "batchPath": "batch", "canonicalName": "directory", "description": "Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain.", "discoveryVersion": "v1", @@ -100,7 +100,7 @@ }, "id": "admin:directory_v1", "kind": "discovery#restDescription", - "mtlsRootUrl": "https://www.mtls.googleapis.com/", + "mtlsRootUrl": "https://admin.mtls.googleapis.com/", "name": "admin", "ownerDomain": "google.com", "ownerName": "Google", @@ -4139,8 +4139,8 @@ } } }, - "revision": "20201020", - "rootUrl": "https://www.googleapis.com/", + "revision": "20201103", + "rootUrl": "https://admin.googleapis.com/", "schemas": { "Alias": { "description": "JSON template for Alias object in Directory API.", @@ -6921,7 +6921,7 @@ "type": "object" }, "UserPosixAccount": { - "description": "JSON template for a POSIX account entry. Description of the field family: go/fbs-posix.", + "description": "JSON template for a POSIX account entry.", "id": "UserPosixAccount", "properties": { "accountId": { diff --git a/src/apis/admin/datatransfer_v1.ts b/src/apis/admin/datatransfer_v1.ts index 3243d5eef2..5dfbb8c072 100644 --- a/src/apis/admin/datatransfer_v1.ts +++ b/src/apis/admin/datatransfer_v1.ts @@ -374,7 +374,7 @@ export namespace admin_datatransfer_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -517,7 +517,7 @@ export namespace admin_datatransfer_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -684,7 +684,7 @@ export namespace admin_datatransfer_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -830,7 +830,7 @@ export namespace admin_datatransfer_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -981,7 +981,7 @@ export namespace admin_datatransfer_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { diff --git a/src/apis/admin/directory_v1.ts b/src/apis/admin/directory_v1.ts index 648e07058f..34f30cf865 100644 --- a/src/apis/admin/directory_v1.ts +++ b/src/apis/admin/directory_v1.ts @@ -2162,7 +2162,7 @@ export namespace admin_directory_v1 { width?: number | null; } /** - * JSON template for a POSIX account entry. Description of the field family: go/fbs-posix. + * JSON template for a POSIX account entry. */ export interface Schema$UserPosixAccount { /** @@ -2433,7 +2433,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -2568,7 +2568,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -2697,7 +2697,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -2872,7 +2872,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -3019,7 +3019,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -3190,7 +3190,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -3339,7 +3339,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -3471,7 +3471,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -3682,7 +3682,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -3893,7 +3893,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -4206,7 +4206,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -4381,7 +4381,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -4545,7 +4545,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -4696,7 +4696,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -4847,7 +4847,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -5006,7 +5006,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -5145,7 +5145,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -5292,7 +5292,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -5427,7 +5427,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -5602,7 +5602,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -5741,7 +5741,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -5889,7 +5889,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -6021,7 +6021,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -6188,7 +6188,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -6328,7 +6328,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -6479,7 +6479,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -6627,7 +6627,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -6781,7 +6781,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -6935,7 +6935,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -7141,7 +7141,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -7285,7 +7285,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -7418,7 +7418,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -7581,7 +7581,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -7723,7 +7723,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -7859,7 +7859,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -8012,7 +8012,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -8155,7 +8155,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -8309,7 +8309,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -8464,7 +8464,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -8701,7 +8701,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -8825,7 +8825,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -9001,7 +9001,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -9149,7 +9149,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -9353,7 +9353,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -9494,7 +9494,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -9646,7 +9646,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -9782,7 +9782,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -9935,7 +9935,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -10089,7 +10089,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -10305,7 +10305,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -10458,7 +10458,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -10599,7 +10599,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -10754,7 +10754,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -10893,7 +10893,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -11050,7 +11050,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -11207,7 +11207,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -11434,7 +11434,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -11582,7 +11582,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -11749,7 +11749,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -11895,7 +11895,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -12064,7 +12064,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -12233,7 +12233,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -12456,7 +12456,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -12592,7 +12592,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -12735,7 +12735,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -12874,7 +12874,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -13019,7 +13019,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -13153,7 +13153,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -13298,7 +13298,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -13527,7 +13527,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -13667,7 +13667,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -13816,7 +13816,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -13959,7 +13959,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -14147,7 +14147,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -14286,7 +14286,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -14435,7 +14435,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -14572,7 +14572,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -14723,7 +14723,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -14874,7 +14874,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -15079,7 +15079,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -15217,7 +15217,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -15363,7 +15363,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -15495,7 +15495,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -15642,7 +15642,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -15790,7 +15790,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -15988,7 +15988,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -16124,7 +16124,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -16253,7 +16253,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -16408,7 +16408,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -16548,7 +16548,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -16730,7 +16730,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -16953,7 +16953,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -17109,7 +17109,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -17238,7 +17238,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -17463,7 +17463,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -17584,7 +17584,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -17712,7 +17712,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -17937,7 +17937,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -18117,7 +18117,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -18433,7 +18433,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -18580,7 +18580,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -18715,7 +18715,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -18876,7 +18876,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -19051,7 +19051,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -19188,7 +19188,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -19338,7 +19338,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -19488,7 +19488,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -19654,7 +19654,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -19776,7 +19776,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { @@ -19910,7 +19910,7 @@ export namespace admin_directory_v1 { options = {}; } - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const rootUrl = options.rootUrl || 'https://admin.googleapis.com/'; const parameters = { options: Object.assign( { From 5538218423db1eb53a0bfc6e2cc546a97e5aa44d Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 4 Nov 2020 05:20:28 -0800 Subject: [PATCH 02/19] feat(apigateway): update the API #### apigateway:v1beta The following keys were added: - schemas.ApigatewayBinding.properties.bindingId.type The following keys were changed: - schemas.ApigatewayApiConfig.description --- discovery/apigateway-v1beta.json | 7 +++++-- src/apis/apigateway/v1beta.ts | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/discovery/apigateway-v1beta.json b/discovery/apigateway-v1beta.json index 6ba277398e..8ecb9ca654 100644 --- a/discovery/apigateway-v1beta.json +++ b/discovery/apigateway-v1beta.json @@ -1083,7 +1083,7 @@ } } }, - "revision": "20200924", + "revision": "20201029", "rootUrl": "https://apigateway.googleapis.com/", "schemas": { "ApigatewayApi": { @@ -1147,7 +1147,7 @@ "type": "object" }, "ApigatewayApiConfig": { - "description": "An API Configuration is an association of an API Controller Config and a Gateway Config. For APIs with a Managed Service API Controller, this resource is associated with one or more Service Configs and a Service Rollout. Initially, this resource will extract the Gateway Config from the API Controller Config.", + "description": "An API Configuration is a combination of settings for both the Managed Service and Gateways serving this API Config.", "id": "ApigatewayApiConfig", "properties": { "createTime": { @@ -1342,6 +1342,9 @@ "description": "Associates `members` with a `role`.", "id": "ApigatewayBinding", "properties": { + "bindingId": { + "type": "string" + }, "condition": { "$ref": "ApigatewayExpr", "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)." diff --git a/src/apis/apigateway/v1beta.ts b/src/apis/apigateway/v1beta.ts index cacda338e5..17d780d28c 100644 --- a/src/apis/apigateway/v1beta.ts +++ b/src/apis/apigateway/v1beta.ts @@ -157,7 +157,7 @@ export namespace apigateway_v1beta { updateTime?: string | null; } /** - * An API Configuration is an association of an API Controller Config and a Gateway Config. For APIs with a Managed Service API Controller, this resource is associated with one or more Service Configs and a Service Rollout. Initially, this resource will extract the Gateway Config from the API Controller Config. + * An API Configuration is a combination of settings for both the Managed Service and Gateways serving this API Config. */ export interface Schema$ApigatewayApiConfig { /** @@ -279,6 +279,7 @@ export namespace apigateway_v1beta { * Associates `members` with a `role`. */ export interface Schema$ApigatewayBinding { + bindingId?: string | null; /** * 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). */ From 7a479c90c71b771c0ff7ae5aa8754317131ba850 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 4 Nov 2020 05:20:28 -0800 Subject: [PATCH 03/19] feat(binaryauthorization)!: update the API BREAKING CHANGE: This release has breaking changes. #### binaryauthorization:v1 The following keys were deleted: - schemas.Binding.properties.bindingId.description --- discovery/binaryauthorization-v1.json | 3 +-- src/apis/binaryauthorization/v1.ts | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/discovery/binaryauthorization-v1.json b/discovery/binaryauthorization-v1.json index 1c32c34314..c86f8f33a5 100644 --- a/discovery/binaryauthorization-v1.json +++ b/discovery/binaryauthorization-v1.json @@ -522,7 +522,7 @@ } } }, - "revision": "20201016", + "revision": "20201030", "rootUrl": "https://binaryauthorization.googleapis.com/", "schemas": { "AdmissionRule": { @@ -659,7 +659,6 @@ "id": "Binding", "properties": { "bindingId": { - "description": "A client-specified ID for this binding. Expected to be globally unique to support the internal bindings-by-ID API.", "type": "string" }, "condition": { diff --git a/src/apis/binaryauthorization/v1.ts b/src/apis/binaryauthorization/v1.ts index 035bac00b1..c77c0a971f 100644 --- a/src/apis/binaryauthorization/v1.ts +++ b/src/apis/binaryauthorization/v1.ts @@ -212,9 +212,6 @@ export namespace binaryauthorization_v1 { * Associates `members` with a `role`. */ export interface Schema$Binding { - /** - * A client-specified ID for this binding. Expected to be globally unique to support the internal bindings-by-ID API. - */ bindingId?: string | null; /** * 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). From f7c8b037fe68ebe1b8d7bc1cde9321b3215e1b04 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 4 Nov 2020 05:20:28 -0800 Subject: [PATCH 04/19] fix(chat): update the API #### chat:v1 The following keys were changed: - schemas.User.properties.isAnonymous.description --- discovery/chat-v1.json | 4 ++-- src/apis/chat/v1.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/discovery/chat-v1.json b/discovery/chat-v1.json index 6d04a2bb0c..f9631d4b1a 100644 --- a/discovery/chat-v1.json +++ b/discovery/chat-v1.json @@ -372,7 +372,7 @@ } } }, - "revision": "20201019", + "revision": "20201028", "rootUrl": "https://chat.googleapis.com/", "schemas": { "ActionParameter": { @@ -1247,7 +1247,7 @@ "type": "string" }, "isAnonymous": { - "description": "Set to true if none of the depending services (Gaia, PeopleApi) returns any info for this user.", + "description": "True when the user is deleted or the user's proifle is not visible.", "type": "boolean" }, "name": { diff --git a/src/apis/chat/v1.ts b/src/apis/chat/v1.ts index aaa75d21b5..bf37806c97 100644 --- a/src/apis/chat/v1.ts +++ b/src/apis/chat/v1.ts @@ -672,7 +672,7 @@ export namespace chat_v1 { */ domainId?: string | null; /** - * Set to true if none of the depending services (Gaia, PeopleApi) returns any info for this user. + * True when the user is deleted or the user's proifle is not visible. */ isAnonymous?: boolean | null; /** From 5c7794b9eea577385914fbf3b6d39d35de4a70bc Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 4 Nov 2020 05:20:28 -0800 Subject: [PATCH 05/19] feat(cloudiot)!: update the API BREAKING CHANGE: This release has breaking changes. #### cloudiot:v1 The following keys were deleted: - schemas.Binding.properties.bindingId.description --- discovery/cloudiot-v1.json | 3 +-- src/apis/cloudiot/v1.ts | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/discovery/cloudiot-v1.json b/discovery/cloudiot-v1.json index 4a23c740ed..de6ac27212 100644 --- a/discovery/cloudiot-v1.json +++ b/discovery/cloudiot-v1.json @@ -938,7 +938,7 @@ } } }, - "revision": "20200922", + "revision": "20201027", "rootUrl": "https://cloudiot.googleapis.com/", "schemas": { "BindDeviceToGatewayRequest": { @@ -967,7 +967,6 @@ "id": "Binding", "properties": { "bindingId": { - "description": "A client-specified ID for this binding. Expected to be globally unique to support the internal bindings-by-ID API.", "type": "string" }, "condition": { diff --git a/src/apis/cloudiot/v1.ts b/src/apis/cloudiot/v1.ts index 89befe00aa..424204729c 100644 --- a/src/apis/cloudiot/v1.ts +++ b/src/apis/cloudiot/v1.ts @@ -144,9 +144,6 @@ export namespace cloudiot_v1 { * Associates `members` with a `role`. */ export interface Schema$Binding { - /** - * A client-specified ID for this binding. Expected to be globally unique to support the internal bindings-by-ID API. - */ bindingId?: string | null; /** * 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). From db515864fee7653c57f430cf84c0fcb57f1dd8b5 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 4 Nov 2020 05:20:28 -0800 Subject: [PATCH 06/19] feat(compute): update the API #### compute:alpha The following keys were added: - resources.backendBuckets.methods.setEdgeSecurityPolicy.description - resources.backendBuckets.methods.setEdgeSecurityPolicy.httpMethod - resources.backendBuckets.methods.setEdgeSecurityPolicy.id - resources.backendBuckets.methods.setEdgeSecurityPolicy.parameterOrder - resources.backendBuckets.methods.setEdgeSecurityPolicy.parameters.backendBucket.description - resources.backendBuckets.methods.setEdgeSecurityPolicy.parameters.backendBucket.location - resources.backendBuckets.methods.setEdgeSecurityPolicy.parameters.backendBucket.required - resources.backendBuckets.methods.setEdgeSecurityPolicy.parameters.backendBucket.type - resources.backendBuckets.methods.setEdgeSecurityPolicy.parameters.project.description - resources.backendBuckets.methods.setEdgeSecurityPolicy.parameters.project.location - resources.backendBuckets.methods.setEdgeSecurityPolicy.parameters.project.pattern - resources.backendBuckets.methods.setEdgeSecurityPolicy.parameters.project.required - resources.backendBuckets.methods.setEdgeSecurityPolicy.parameters.project.type - resources.backendBuckets.methods.setEdgeSecurityPolicy.parameters.requestId.description - resources.backendBuckets.methods.setEdgeSecurityPolicy.parameters.requestId.location - resources.backendBuckets.methods.setEdgeSecurityPolicy.parameters.requestId.type - resources.backendBuckets.methods.setEdgeSecurityPolicy.path - resources.backendBuckets.methods.setEdgeSecurityPolicy.request.$ref - resources.backendBuckets.methods.setEdgeSecurityPolicy.response.$ref - resources.backendBuckets.methods.setEdgeSecurityPolicy.scopes - resources.backendServices.methods.setEdgeSecurityPolicy.description - resources.backendServices.methods.setEdgeSecurityPolicy.httpMethod - resources.backendServices.methods.setEdgeSecurityPolicy.id - resources.backendServices.methods.setEdgeSecurityPolicy.parameterOrder - resources.backendServices.methods.setEdgeSecurityPolicy.parameters.backendService.description - resources.backendServices.methods.setEdgeSecurityPolicy.parameters.backendService.location - resources.backendServices.methods.setEdgeSecurityPolicy.parameters.backendService.required - resources.backendServices.methods.setEdgeSecurityPolicy.parameters.backendService.type - resources.backendServices.methods.setEdgeSecurityPolicy.parameters.project.description - resources.backendServices.methods.setEdgeSecurityPolicy.parameters.project.location - resources.backendServices.methods.setEdgeSecurityPolicy.parameters.project.pattern - resources.backendServices.methods.setEdgeSecurityPolicy.parameters.project.required - resources.backendServices.methods.setEdgeSecurityPolicy.parameters.project.type - resources.backendServices.methods.setEdgeSecurityPolicy.parameters.requestId.description - resources.backendServices.methods.setEdgeSecurityPolicy.parameters.requestId.location - resources.backendServices.methods.setEdgeSecurityPolicy.parameters.requestId.type - resources.backendServices.methods.setEdgeSecurityPolicy.path - resources.backendServices.methods.setEdgeSecurityPolicy.request.$ref - resources.backendServices.methods.setEdgeSecurityPolicy.response.$ref - resources.backendServices.methods.setEdgeSecurityPolicy.scopes - schemas.AttachedDisk.properties.forceAttach.description - schemas.AttachedDisk.properties.forceAttach.type - schemas.BackendBucket.properties.edgeSecurityPolicy.description - schemas.BackendBucket.properties.edgeSecurityPolicy.type - schemas.BackendService.properties.edgeSecurityPolicy.description - schemas.BackendService.properties.edgeSecurityPolicy.type - schemas.InterconnectAttachment.properties.dataplaneVersion.description - schemas.InterconnectAttachment.properties.dataplaneVersion.format - schemas.InterconnectAttachment.properties.dataplaneVersion.type The following keys were changed: - schemas.LocationPolicy.description - schemas.SecurityPolicy.properties.type.enum - schemas.SecurityPolicy.properties.type.enumDescriptions --- discovery/compute-alpha.json | 105 ++++++++- src/apis/compute/alpha.ts | 430 ++++++++++++++++++++++++++++++++++- 2 files changed, 531 insertions(+), 4 deletions(-) diff --git a/discovery/compute-alpha.json b/discovery/compute-alpha.json index 5330ba6181..afa239161f 100644 --- a/discovery/compute-alpha.json +++ b/discovery/compute-alpha.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": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/-j-4kEaw-IymDYPchM3d5GvWF38\"", + "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/axYSpezpsrRN9uJAkuL9_ckfG58\"", "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" @@ -1320,6 +1320,46 @@ "https://www.googleapis.com/auth/compute" ] }, + "setEdgeSecurityPolicy": { + "description": "Sets the edge security policy for the specified backend bucket.", + "httpMethod": "POST", + "id": "compute.backendBuckets.setEdgeSecurityPolicy", + "parameterOrder": [ + "project", + "backendBucket" + ], + "parameters": { + "backendBucket": { + "description": "Name of the BackendService resource to which the security policy should be set. The name should conform to 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" + }, + "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": "projects/{project}/global/backendBuckets/{backendBucket}/setEdgeSecurityPolicy", + "request": { + "$ref": "SecurityPolicyReference" + }, + "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", @@ -1817,6 +1857,46 @@ "https://www.googleapis.com/auth/compute" ] }, + "setEdgeSecurityPolicy": { + "description": "Sets the edge security policy for the specified backend service.", + "httpMethod": "POST", + "id": "compute.backendServices.setEdgeSecurityPolicy", + "parameterOrder": [ + "project", + "backendService" + ], + "parameters": { + "backendService": { + "description": "Name of the BackendService resource to which the edge security policy should be set. The name should conform to 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" + }, + "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": "projects/{project}/global/backendServices/{backendService}/setEdgeSecurityPolicy", + "request": { + "$ref": "SecurityPolicyReference" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, "setSecurityPolicy": { "description": "Sets the security policy for the specified backend service.", "httpMethod": "POST", @@ -33350,7 +33430,7 @@ } } }, - "revision": "20201007", + "revision": "20201019", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -34481,6 +34561,10 @@ "format": "int64", "type": "string" }, + "forceAttach": { + "description": "[Input Only] Whether to force attach the regional disk even if it's currently attached to another instance. If you try to force attach a zonal disk to an instance, you will receive an error.", + "type": "boolean" + }, "guestOsFeatures": { "description": "A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.", "items": { @@ -35600,6 +35684,10 @@ "description": "An optional textual description of the resource; provided by the client when the resource is created.", "type": "string" }, + "edgeSecurityPolicy": { + "description": "[Output Only] The resource URL for the edge security policy associated with this backend bucket.", + "type": "string" + }, "enableCdn": { "description": "If true, enable Cloud CDN for this BackendBucket.", "type": "boolean" @@ -35904,6 +35992,10 @@ "description": "An optional description of this resource. Provide this property when you create the resource.", "type": "string" }, + "edgeSecurityPolicy": { + "description": "[Output Only] The resource URL for the edge security policy associated with this backend service.", + "type": "string" + }, "enableCDN": { "description": "If true, enables Cloud CDN for the backend service. Only applicable if the loadBalancingScheme is EXTERNAL and the protocol is HTTP or HTTPS.", "type": "boolean" @@ -46678,6 +46770,11 @@ "description": "[Output Only] IPv4 address + prefix length to be configured on the customer router subinterface for this interconnect attachment.", "type": "string" }, + "dataplaneVersion": { + "description": "[Output Only] Dataplane version for this InterconnectAttachment.", + "format": "int32", + "type": "integer" + }, "description": { "description": "An optional description of this resource.", "type": "string" @@ -48473,7 +48570,7 @@ "type": "object" }, "LocationPolicy": { - "description": "Configuration for location policy among multiple possible locations (e.g. preferences for zone selection among zones in a single region). Note that this message has a copy in logs/proto/bigcluster/bulk_apis.proto.", + "description": "Configuration for location policy among multiple possible locations (e.g. preferences for zone selection among zones in a single region).", "id": "LocationPolicy", "properties": { "locations": { @@ -59834,9 +59931,11 @@ "description": "The type indicates the intended use of the security policy. CLOUD_ARMOR policies apply to backend services. FIREWALL policies apply to organizations.", "enum": [ "CLOUD_ARMOR", + "CLOUD_ARMOR_EDGE", "FIREWALL" ], "enumDescriptions": [ + "", "", "" ], diff --git a/src/apis/compute/alpha.ts b/src/apis/compute/alpha.ts index 0ff31e4a47..d179cff645 100644 --- a/src/apis/compute/alpha.ts +++ b/src/apis/compute/alpha.ts @@ -834,6 +834,10 @@ export namespace compute_alpha { * The size of the disk in GB. */ diskSizeGb?: string | null; + /** + * [Input Only] Whether to force attach the regional disk even if it's currently attached to another instance. If you try to force attach a zonal disk to an instance, you will receive an error. + */ + forceAttach?: boolean | null; /** * A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options. */ @@ -1555,6 +1559,10 @@ export namespace compute_alpha { * An optional textual description of the resource; provided by the client when the resource is created. */ description?: string | null; + /** + * [Output Only] The resource URL for the edge security policy associated with this backend bucket. + */ + edgeSecurityPolicy?: string | null; /** * If true, enable Cloud CDN for this BackendBucket. */ @@ -1757,6 +1765,10 @@ export namespace compute_alpha { * An optional description of this resource. Provide this property when you create the resource. */ description?: string | null; + /** + * [Output Only] The resource URL for the edge security policy associated with this backend service. + */ + edgeSecurityPolicy?: string | null; /** * If true, enables Cloud CDN for the backend service. Only applicable if the loadBalancingScheme is EXTERNAL and the protocol is HTTP or HTTPS. */ @@ -7496,6 +7508,10 @@ export namespace compute_alpha { * [Output Only] IPv4 address + prefix length to be configured on the customer router subinterface for this interconnect attachment. */ customerRouterIpAddress?: string | null; + /** + * [Output Only] Dataplane version for this InterconnectAttachment. + */ + dataplaneVersion?: number | null; /** * An optional description of this resource. */ @@ -8344,7 +8360,7 @@ export namespace compute_alpha { diskType?: string | null; } /** - * Configuration for location policy among multiple possible locations (e.g. preferences for zone selection among zones in a single region). Note that this message has a copy in logs/proto/bigcluster/bulk_apis.proto. + * Configuration for location policy among multiple possible locations (e.g. preferences for zone selection among zones in a single region). */ export interface Schema$LocationPolicy { /** @@ -21208,6 +21224,7 @@ export namespace compute_alpha { * // "creationTimestamp": "my_creationTimestamp", * // "customResponseHeaders": [], * // "description": "my_description", + * // "edgeSecurityPolicy": "my_edgeSecurityPolicy", * // "enableCdn": false, * // "id": "my_id", * // "kind": "my_kind", @@ -21500,6 +21517,7 @@ export namespace compute_alpha { * // "creationTimestamp": "my_creationTimestamp", * // "customResponseHeaders": [], * // "description": "my_description", + * // "edgeSecurityPolicy": "my_edgeSecurityPolicy", * // "enableCdn": false, * // "id": "my_id", * // "kind": "my_kind", @@ -21844,6 +21862,7 @@ export namespace compute_alpha { * // "creationTimestamp": "my_creationTimestamp", * // "customResponseHeaders": [], * // "description": "my_description", + * // "edgeSecurityPolicy": "my_edgeSecurityPolicy", * // "enableCdn": false, * // "id": "my_id", * // "kind": "my_kind", @@ -21975,6 +21994,180 @@ export namespace compute_alpha { } } + /** + * Sets the edge security policy for the specified backend bucket. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/compute.googleapis.com + * // - Login into gcloud by running: + * // `$ gcloud auth application-default login` + * // - Install the npm module by running: + * // `$ npm install googleapis` + * + * const {google} = require('googleapis'); + * const compute = google.compute('alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/compute', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await compute.backendBuckets.setEdgeSecurityPolicy({ + * // Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035. + * backendBucket: 'placeholder-value', + * // Project ID for this request. + * project: + * '(?:(?:[-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])?))', + * // 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. + * // + * // For 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. + * // + * // The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "securityPolicy": "my_securityPolicy" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "clientOperationId": "my_clientOperationId", + * // "creationTimestamp": "my_creationTimestamp", + * // "description": "my_description", + * // "endTime": "my_endTime", + * // "error": {}, + * // "httpErrorMessage": "my_httpErrorMessage", + * // "httpErrorStatusCode": 0, + * // "id": "my_id", + * // "insertTime": "my_insertTime", + * // "kind": "my_kind", + * // "name": "my_name", + * // "operationType": "my_operationType", + * // "progress": 0, + * // "region": "my_region", + * // "selfLink": "my_selfLink", + * // "selfLinkWithId": "my_selfLinkWithId", + * // "startTime": "my_startTime", + * // "status": "my_status", + * // "statusMessage": "my_statusMessage", + * // "targetId": "my_targetId", + * // "targetLink": "my_targetLink", + * // "user": "my_user", + * // "warnings": [], + * // "zone": "my_zone" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + setEdgeSecurityPolicy( + params: Params$Resource$Backendbuckets$Setedgesecuritypolicy, + options: StreamMethodOptions + ): GaxiosPromise; + setEdgeSecurityPolicy( + params?: Params$Resource$Backendbuckets$Setedgesecuritypolicy, + options?: MethodOptions + ): GaxiosPromise; + setEdgeSecurityPolicy( + params: Params$Resource$Backendbuckets$Setedgesecuritypolicy, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setEdgeSecurityPolicy( + params: Params$Resource$Backendbuckets$Setedgesecuritypolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setEdgeSecurityPolicy( + params: Params$Resource$Backendbuckets$Setedgesecuritypolicy, + callback: BodyResponseCallback + ): void; + setEdgeSecurityPolicy( + callback: BodyResponseCallback + ): void; + setEdgeSecurityPolicy( + paramsOrCallback?: + | Params$Resource$Backendbuckets$Setedgesecuritypolicy + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Backendbuckets$Setedgesecuritypolicy; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Backendbuckets$Setedgesecuritypolicy; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/alpha/projects/{project}/global/backendBuckets/{backendBucket}/setEdgeSecurityPolicy' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, + options + ), + params, + requiredParams: ['project', 'backendBucket'], + pathParams: ['backendBucket', 'project'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Sets the access control policy on the specified resource. Replaces any existing policy. * @example @@ -22327,6 +22520,7 @@ export namespace compute_alpha { * // "creationTimestamp": "my_creationTimestamp", * // "customResponseHeaders": [], * // "description": "my_description", + * // "edgeSecurityPolicy": "my_edgeSecurityPolicy", * // "enableCdn": false, * // "id": "my_id", * // "kind": "my_kind", @@ -22632,6 +22826,30 @@ export namespace compute_alpha { */ requestBody?: Schema$BackendBucket; } + export interface Params$Resource$Backendbuckets$Setedgesecuritypolicy + extends StandardParameters { + /** + * Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035. + */ + backendBucket?: string; + /** + * Project ID for this request. + */ + project?: string; + /** + * 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. + * + * For 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. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$SecurityPolicyReference; + } export interface Params$Resource$Backendbuckets$Setiampolicy extends StandardParameters { /** @@ -23420,6 +23638,7 @@ export namespace compute_alpha { * // "customRequestHeaders": [], * // "customResponseHeaders": [], * // "description": "my_description", + * // "edgeSecurityPolicy": "my_edgeSecurityPolicy", * // "enableCDN": false, * // "failoverPolicy": {}, * // "fingerprint": "my_fingerprint", @@ -23749,6 +23968,7 @@ export namespace compute_alpha { * // "customRequestHeaders": [], * // "customResponseHeaders": [], * // "description": "my_description", + * // "edgeSecurityPolicy": "my_edgeSecurityPolicy", * // "enableCDN": false, * // "failoverPolicy": {}, * // "fingerprint": "my_fingerprint", @@ -24116,6 +24336,7 @@ export namespace compute_alpha { * // "customRequestHeaders": [], * // "customResponseHeaders": [], * // "description": "my_description", + * // "edgeSecurityPolicy": "my_edgeSecurityPolicy", * // "enableCDN": false, * // "failoverPolicy": {}, * // "fingerprint": "my_fingerprint", @@ -24265,6 +24486,180 @@ export namespace compute_alpha { } } + /** + * Sets the edge security policy for the specified backend service. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/compute.googleapis.com + * // - Login into gcloud by running: + * // `$ gcloud auth application-default login` + * // - Install the npm module by running: + * // `$ npm install googleapis` + * + * const {google} = require('googleapis'); + * const compute = google.compute('alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/compute', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await compute.backendServices.setEdgeSecurityPolicy({ + * // Name of the BackendService resource to which the edge security policy should be set. The name should conform to RFC1035. + * backendService: 'placeholder-value', + * // Project ID for this request. + * project: + * '(?:(?:[-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])?))', + * // 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. + * // + * // For 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. + * // + * // The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "securityPolicy": "my_securityPolicy" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "clientOperationId": "my_clientOperationId", + * // "creationTimestamp": "my_creationTimestamp", + * // "description": "my_description", + * // "endTime": "my_endTime", + * // "error": {}, + * // "httpErrorMessage": "my_httpErrorMessage", + * // "httpErrorStatusCode": 0, + * // "id": "my_id", + * // "insertTime": "my_insertTime", + * // "kind": "my_kind", + * // "name": "my_name", + * // "operationType": "my_operationType", + * // "progress": 0, + * // "region": "my_region", + * // "selfLink": "my_selfLink", + * // "selfLinkWithId": "my_selfLinkWithId", + * // "startTime": "my_startTime", + * // "status": "my_status", + * // "statusMessage": "my_statusMessage", + * // "targetId": "my_targetId", + * // "targetLink": "my_targetLink", + * // "user": "my_user", + * // "warnings": [], + * // "zone": "my_zone" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + setEdgeSecurityPolicy( + params: Params$Resource$Backendservices$Setedgesecuritypolicy, + options: StreamMethodOptions + ): GaxiosPromise; + setEdgeSecurityPolicy( + params?: Params$Resource$Backendservices$Setedgesecuritypolicy, + options?: MethodOptions + ): GaxiosPromise; + setEdgeSecurityPolicy( + params: Params$Resource$Backendservices$Setedgesecuritypolicy, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setEdgeSecurityPolicy( + params: Params$Resource$Backendservices$Setedgesecuritypolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setEdgeSecurityPolicy( + params: Params$Resource$Backendservices$Setedgesecuritypolicy, + callback: BodyResponseCallback + ): void; + setEdgeSecurityPolicy( + callback: BodyResponseCallback + ): void; + setEdgeSecurityPolicy( + paramsOrCallback?: + | Params$Resource$Backendservices$Setedgesecuritypolicy + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Backendservices$Setedgesecuritypolicy; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Backendservices$Setedgesecuritypolicy; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/alpha/projects/{project}/global/backendServices/{backendService}/setEdgeSecurityPolicy' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, + options + ), + params, + requiredParams: ['project', 'backendService'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Sets the security policy for the specified backend service. * @example @@ -24644,6 +25039,7 @@ export namespace compute_alpha { * // "customRequestHeaders": [], * // "customResponseHeaders": [], * // "description": "my_description", + * // "edgeSecurityPolicy": "my_edgeSecurityPolicy", * // "enableCDN": false, * // "failoverPolicy": {}, * // "fingerprint": "my_fingerprint", @@ -25009,6 +25405,30 @@ export namespace compute_alpha { */ requestBody?: Schema$BackendService; } + export interface Params$Resource$Backendservices$Setedgesecuritypolicy + extends StandardParameters { + /** + * Name of the BackendService resource to which the edge security policy should be set. The name should conform to RFC1035. + */ + backendService?: string; + /** + * Project ID for this request. + */ + project?: string; + /** + * 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. + * + * For 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. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$SecurityPolicyReference; + } export interface Params$Resource$Backendservices$Setsecuritypolicy extends StandardParameters { /** @@ -53186,6 +53606,7 @@ export namespace compute_alpha { * // "deviceName": "my_deviceName", * // "diskEncryptionKey": {}, * // "diskSizeGb": "my_diskSizeGb", + * // "forceAttach": false, * // "guestOsFeatures": [], * // "index": 0, * // "initializeParams": {}, @@ -63795,6 +64216,7 @@ export namespace compute_alpha { * // "cloudRouterIpAddress": "my_cloudRouterIpAddress", * // "creationTimestamp": "my_creationTimestamp", * // "customerRouterIpAddress": "my_customerRouterIpAddress", + * // "dataplaneVersion": 0, * // "description": "my_description", * // "edgeAvailabilityDomain": "my_edgeAvailabilityDomain", * // "encryption": "my_encryption", @@ -64117,6 +64539,7 @@ export namespace compute_alpha { * // "cloudRouterIpAddress": "my_cloudRouterIpAddress", * // "creationTimestamp": "my_creationTimestamp", * // "customerRouterIpAddress": "my_customerRouterIpAddress", + * // "dataplaneVersion": 0, * // "description": "my_description", * // "edgeAvailabilityDomain": "my_edgeAvailabilityDomain", * // "encryption": "my_encryption", @@ -64489,6 +64912,7 @@ export namespace compute_alpha { * // "cloudRouterIpAddress": "my_cloudRouterIpAddress", * // "creationTimestamp": "my_creationTimestamp", * // "customerRouterIpAddress": "my_customerRouterIpAddress", + * // "dataplaneVersion": 0, * // "description": "my_description", * // "edgeAvailabilityDomain": "my_edgeAvailabilityDomain", * // "encryption": "my_encryption", @@ -94079,6 +94503,7 @@ export namespace compute_alpha { * // "customRequestHeaders": [], * // "customResponseHeaders": [], * // "description": "my_description", + * // "edgeSecurityPolicy": "my_edgeSecurityPolicy", * // "enableCDN": false, * // "failoverPolicy": {}, * // "fingerprint": "my_fingerprint", @@ -94408,6 +94833,7 @@ export namespace compute_alpha { * // "customRequestHeaders": [], * // "customResponseHeaders": [], * // "description": "my_description", + * // "edgeSecurityPolicy": "my_edgeSecurityPolicy", * // "enableCDN": false, * // "failoverPolicy": {}, * // "fingerprint": "my_fingerprint", @@ -94779,6 +95205,7 @@ export namespace compute_alpha { * // "customRequestHeaders": [], * // "customResponseHeaders": [], * // "description": "my_description", + * // "edgeSecurityPolicy": "my_edgeSecurityPolicy", * // "enableCDN": false, * // "failoverPolicy": {}, * // "fingerprint": "my_fingerprint", @@ -95139,6 +95566,7 @@ export namespace compute_alpha { * // "customRequestHeaders": [], * // "customResponseHeaders": [], * // "description": "my_description", + * // "edgeSecurityPolicy": "my_edgeSecurityPolicy", * // "enableCDN": false, * // "failoverPolicy": {}, * // "fingerprint": "my_fingerprint", From e170eac336aaf4bf4df1c796ee82a052de000e7e Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 4 Nov 2020 05:20:29 -0800 Subject: [PATCH 07/19] feat(containeranalysis)!: update the API BREAKING CHANGE: This release has breaking changes. #### containeranalysis:v1alpha1 The following keys were deleted: - schemas.Binding.properties.bindingId.description #### containeranalysis:v1beta1 The following keys were deleted: - schemas.Binding.properties.bindingId.description --- discovery/containeranalysis-v1alpha1.json | 3 +-- discovery/containeranalysis-v1beta1.json | 3 +-- src/apis/containeranalysis/v1alpha1.ts | 3 --- src/apis/containeranalysis/v1beta1.ts | 3 --- 4 files changed, 2 insertions(+), 10 deletions(-) diff --git a/discovery/containeranalysis-v1alpha1.json b/discovery/containeranalysis-v1alpha1.json index e0ef6952ad..29d38a39f2 100644 --- a/discovery/containeranalysis-v1alpha1.json +++ b/discovery/containeranalysis-v1alpha1.json @@ -1217,7 +1217,7 @@ } } }, - "revision": "20200925", + "revision": "20201030", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "Artifact": { @@ -1297,7 +1297,6 @@ "id": "Binding", "properties": { "bindingId": { - "description": "A client-specified ID for this binding. Expected to be globally unique to support the internal bindings-by-ID API.", "type": "string" }, "condition": { diff --git a/discovery/containeranalysis-v1beta1.json b/discovery/containeranalysis-v1beta1.json index 23cb836444..5787215473 100644 --- a/discovery/containeranalysis-v1beta1.json +++ b/discovery/containeranalysis-v1beta1.json @@ -853,7 +853,7 @@ } } }, - "revision": "20200925", + "revision": "20201030", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AliasContext": { @@ -1029,7 +1029,6 @@ "id": "Binding", "properties": { "bindingId": { - "description": "A client-specified ID for this binding. Expected to be globally unique to support the internal bindings-by-ID API.", "type": "string" }, "condition": { diff --git a/src/apis/containeranalysis/v1alpha1.ts b/src/apis/containeranalysis/v1alpha1.ts index 9acb0ea430..ffd1ee68ca 100644 --- a/src/apis/containeranalysis/v1alpha1.ts +++ b/src/apis/containeranalysis/v1alpha1.ts @@ -184,9 +184,6 @@ export namespace containeranalysis_v1alpha1 { * Associates `members` with a `role`. */ export interface Schema$Binding { - /** - * A client-specified ID for this binding. Expected to be globally unique to support the internal bindings-by-ID API. - */ bindingId?: string | null; /** * 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). diff --git a/src/apis/containeranalysis/v1beta1.ts b/src/apis/containeranalysis/v1beta1.ts index a386d15505..b205b68e68 100644 --- a/src/apis/containeranalysis/v1beta1.ts +++ b/src/apis/containeranalysis/v1beta1.ts @@ -237,9 +237,6 @@ export namespace containeranalysis_v1beta1 { * Associates `members` with a `role`. */ export interface Schema$Binding { - /** - * A client-specified ID for this binding. Expected to be globally unique to support the internal bindings-by-ID API. - */ bindingId?: string | null; /** * 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). From d4017af4500f1db81194585679529de179c3ce4a Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 4 Nov 2020 05:20:29 -0800 Subject: [PATCH 08/19] fix(dfareporting): update the API #### dfareporting:v3.3 The following keys were changed: - resources.dimensionValues.methods.query.parameters.profileId.description - resources.files.methods.list.parameters.profileId.description - resources.reports.methods.delete.parameters.profileId.description - resources.reports.methods.get.parameters.profileId.description - resources.reports.methods.insert.parameters.profileId.description - resources.reports.methods.list.parameters.profileId.description - resources.reports.methods.run.parameters.profileId.description - resources.reports.methods.update.parameters.profileId.description - resources.reports.resources.compatibleFields.methods.query.parameters.profileId.description - resources.reports.resources.files.methods.get.parameters.profileId.description - resources.reports.resources.files.methods.list.parameters.profileId.description - schemas.CompanionSetting.properties.enabledSizes.description - schemas.Creative.properties.authoringSource.enum - schemas.Creative.properties.authoringSource.enumDescriptions - schemas.Placement.properties.name.description - schemas.SiteCompanionSetting.properties.enabledSizes.description - schemas.SiteTranscodeSetting.properties.enabledVideoFormats.description - schemas.TranscodeSetting.properties.enabledVideoFormats.description - title #### dfareporting:v3.4 The following keys were changed: - resources.dimensionValues.methods.query.parameters.profileId.description - resources.files.methods.list.parameters.profileId.description - resources.reports.methods.delete.parameters.profileId.description - resources.reports.methods.get.parameters.profileId.description - resources.reports.methods.insert.parameters.profileId.description - resources.reports.methods.list.parameters.profileId.description - resources.reports.methods.run.parameters.profileId.description - resources.reports.methods.update.parameters.profileId.description - resources.reports.resources.compatibleFields.methods.query.parameters.profileId.description - resources.reports.resources.files.methods.get.parameters.profileId.description - resources.reports.resources.files.methods.list.parameters.profileId.description - schemas.CompanionSetting.properties.enabledSizes.description - schemas.Creative.properties.authoringSource.enum - schemas.Creative.properties.authoringSource.enumDescriptions - schemas.Placement.properties.name.description - schemas.SiteCompanionSetting.properties.enabledSizes.description - schemas.SiteTranscodeSetting.properties.enabledVideoFormats.description - schemas.TranscodeSetting.properties.enabledVideoFormats.description - title --- discovery/dfareporting-v3.3.json | 40 ++++++++++++----------- discovery/dfareporting-v3.4.json | 40 ++++++++++++----------- src/apis/dfareporting/v3.3.ts | 56 ++++++++++++++++---------------- src/apis/dfareporting/v3.4.ts | 56 ++++++++++++++++---------------- 4 files changed, 98 insertions(+), 94 deletions(-) diff --git a/discovery/dfareporting-v3.3.json b/discovery/dfareporting-v3.3.json index 7d29560c0e..c9cb209b37 100644 --- a/discovery/dfareporting-v3.3.json +++ b/discovery/dfareporting-v3.3.json @@ -4004,7 +4004,7 @@ "type": "string" }, "profileId": { - "description": "The DFA user profile ID.", + "description": "The Campaign Manager 360 user profile ID.", "format": "int64", "location": "path", "required": true, @@ -4669,7 +4669,7 @@ "type": "string" }, "profileId": { - "description": "The DFA profile ID.", + "description": "The Campaign Manager 360 user profile ID.", "format": "int64", "location": "path", "required": true, @@ -7796,7 +7796,7 @@ ], "parameters": { "profileId": { - "description": "The DFA user profile ID.", + "description": "The Campaign Manager 360 user profile ID.", "format": "int64", "location": "path", "required": true, @@ -7826,7 +7826,7 @@ ], "parameters": { "profileId": { - "description": "The DFA user profile ID.", + "description": "The Campaign Manager 360 user profile ID.", "format": "int64", "location": "path", "required": true, @@ -7858,7 +7858,7 @@ ], "parameters": { "profileId": { - "description": "The DFA user profile ID.", + "description": "The Campaign Manager 360 user profile ID.", "format": "int64", "location": "path", "required": true, @@ -7900,7 +7900,7 @@ "type": "string" }, "profileId": { - "description": "The DFA user profile ID.", + "description": "The Campaign Manager 360 user profile ID.", "format": "int64", "location": "path", "required": true, @@ -8006,7 +8006,7 @@ ], "parameters": { "profileId": { - "description": "The DFA profile ID.", + "description": "The Campaign Manager 360 user profile ID.", "format": "int64", "location": "path", "required": true, @@ -8045,7 +8045,7 @@ ], "parameters": { "profileId": { - "description": "The DFA user profile ID.", + "description": "The Campaign Manager 360 user profile ID.", "format": "int64", "location": "path", "required": true, @@ -8084,7 +8084,7 @@ ], "parameters": { "profileId": { - "description": "The DFA user profile ID.", + "description": "The Campaign Manager 360 user profile ID.", "format": "int64", "location": "path", "required": true, @@ -8125,7 +8125,7 @@ "type": "string" }, "profileId": { - "description": "The DFA user profile ID.", + "description": "The Campaign Manager 360 user profile ID.", "format": "int64", "location": "path", "required": true, @@ -8173,7 +8173,7 @@ "type": "string" }, "profileId": { - "description": "The DFA profile ID.", + "description": "The Campaign Manager 360 user profile ID.", "format": "int64", "location": "path", "required": true, @@ -9638,7 +9638,7 @@ } } }, - "revision": "20200921", + "revision": "20201102", "rootUrl": "https://dfareporting.googleapis.com/", "schemas": { "Account": { @@ -11119,7 +11119,7 @@ "type": "boolean" }, "enabledSizes": { - "description": "Whitelist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes.", + "description": "Allowlist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes.", "items": { "$ref": "Size" }, @@ -11590,9 +11590,11 @@ "enum": [ "CREATIVE_AUTHORING_SOURCE_DCM", "CREATIVE_AUTHORING_SOURCE_DBM", - "CREATIVE_AUTHORING_SOURCE_STUDIO" + "CREATIVE_AUTHORING_SOURCE_STUDIO", + "CREATIVE_AUTHORING_SOURCE_GWD" ], "enumDescriptions": [ + "", "", "", "" @@ -16587,7 +16589,7 @@ "description": "Lookback window settings for this placement." }, "name": { - "description": "Name of this placement.This is a required field and must be less than 256 characters long.", + "description": "Name of this placement.This is a required field and must be less than or equal to 256 characters long.", "type": "string" }, "paymentApproved": { @@ -18514,7 +18516,7 @@ "type": "boolean" }, "enabledSizes": { - "description": "Whitelist of companion sizes to be served via this site template. Set this list to null or empty to serve all companion sizes.", + "description": "Allowlist of companion sizes to be served via this site template. Set this list to null or empty to serve all companion sizes.", "items": { "$ref": "Size" }, @@ -18650,7 +18652,7 @@ "id": "SiteTranscodeSetting", "properties": { "enabledVideoFormats": { - "description": "Whitelist of video formats to be served to this site template. Set this list to null or empty to serve all video formats.", + "description": "Allowlist of video formats to be served to this site template. Set this list to null or empty to serve all video formats.", "items": { "format": "int32", "type": "integer" @@ -19340,7 +19342,7 @@ "id": "TranscodeSetting", "properties": { "enabledVideoFormats": { - "description": "Whitelist of video formats to be served to this placement. Set this list to null or empty to serve all video formats.", + "description": "Allowlist of video formats to be served to this placement. Set this list to null or empty to serve all video formats.", "items": { "format": "int32", "type": "integer" @@ -19960,6 +19962,6 @@ } }, "servicePath": "dfareporting/v3.3/", - "title": "DCM/DFA Reporting And Trafficking API", + "title": "Campaign Manager 360 API", "version": "v3.3" } \ No newline at end of file diff --git a/discovery/dfareporting-v3.4.json b/discovery/dfareporting-v3.4.json index 7ca404c063..d285941219 100644 --- a/discovery/dfareporting-v3.4.json +++ b/discovery/dfareporting-v3.4.json @@ -4036,7 +4036,7 @@ "type": "string" }, "profileId": { - "description": "The DFA user profile ID.", + "description": "The Campaign Manager 360 user profile ID.", "format": "int64", "location": "path", "required": true, @@ -4701,7 +4701,7 @@ "type": "string" }, "profileId": { - "description": "The DFA profile ID.", + "description": "The Campaign Manager 360 user profile ID.", "format": "int64", "location": "path", "required": true, @@ -7828,7 +7828,7 @@ ], "parameters": { "profileId": { - "description": "The DFA user profile ID.", + "description": "The Campaign Manager 360 user profile ID.", "format": "int64", "location": "path", "required": true, @@ -7858,7 +7858,7 @@ ], "parameters": { "profileId": { - "description": "The DFA user profile ID.", + "description": "The Campaign Manager 360 user profile ID.", "format": "int64", "location": "path", "required": true, @@ -7890,7 +7890,7 @@ ], "parameters": { "profileId": { - "description": "The DFA user profile ID.", + "description": "The Campaign Manager 360 user profile ID.", "format": "int64", "location": "path", "required": true, @@ -7932,7 +7932,7 @@ "type": "string" }, "profileId": { - "description": "The DFA user profile ID.", + "description": "The Campaign Manager 360 user profile ID.", "format": "int64", "location": "path", "required": true, @@ -8038,7 +8038,7 @@ ], "parameters": { "profileId": { - "description": "The DFA profile ID.", + "description": "The Campaign Manager 360 user profile ID.", "format": "int64", "location": "path", "required": true, @@ -8077,7 +8077,7 @@ ], "parameters": { "profileId": { - "description": "The DFA user profile ID.", + "description": "The Campaign Manager 360 user profile ID.", "format": "int64", "location": "path", "required": true, @@ -8116,7 +8116,7 @@ ], "parameters": { "profileId": { - "description": "The DFA user profile ID.", + "description": "The Campaign Manager 360 user profile ID.", "format": "int64", "location": "path", "required": true, @@ -8157,7 +8157,7 @@ "type": "string" }, "profileId": { - "description": "The DFA user profile ID.", + "description": "The Campaign Manager 360 user profile ID.", "format": "int64", "location": "path", "required": true, @@ -8205,7 +8205,7 @@ "type": "string" }, "profileId": { - "description": "The DFA profile ID.", + "description": "The Campaign Manager 360 user profile ID.", "format": "int64", "location": "path", "required": true, @@ -9670,7 +9670,7 @@ } } }, - "revision": "20200921", + "revision": "20201102", "rootUrl": "https://dfareporting.googleapis.com/", "schemas": { "Account": { @@ -11235,7 +11235,7 @@ "type": "boolean" }, "enabledSizes": { - "description": "Whitelist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes.", + "description": "Allowlist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes.", "items": { "$ref": "Size" }, @@ -11718,9 +11718,11 @@ "enum": [ "CREATIVE_AUTHORING_SOURCE_DCM", "CREATIVE_AUTHORING_SOURCE_DBM", - "CREATIVE_AUTHORING_SOURCE_STUDIO" + "CREATIVE_AUTHORING_SOURCE_STUDIO", + "CREATIVE_AUTHORING_SOURCE_GWD" ], "enumDescriptions": [ + "", "", "", "" @@ -17226,7 +17228,7 @@ "description": "Lookback window settings for this placement." }, "name": { - "description": "Name of this placement.This is a required field and must be less than 256 characters long.", + "description": "Name of this placement.This is a required field and must be less than or equal to 256 characters long.", "type": "string" }, "paymentApproved": { @@ -19245,7 +19247,7 @@ "type": "boolean" }, "enabledSizes": { - "description": "Whitelist of companion sizes to be served via this site template. Set this list to null or empty to serve all companion sizes.", + "description": "Allowlist of companion sizes to be served via this site template. Set this list to null or empty to serve all companion sizes.", "items": { "$ref": "Size" }, @@ -19381,7 +19383,7 @@ "id": "SiteTranscodeSetting", "properties": { "enabledVideoFormats": { - "description": "Whitelist of video formats to be served to this site template. Set this list to null or empty to serve all video formats.", + "description": "Allowlist of video formats to be served to this site template. Set this list to null or empty to serve all video formats.", "items": { "format": "int32", "type": "integer" @@ -20079,7 +20081,7 @@ "id": "TranscodeSetting", "properties": { "enabledVideoFormats": { - "description": "Whitelist of video formats to be served to this placement. Set this list to null or empty to serve all video formats.", + "description": "Allowlist of video formats to be served to this placement. Set this list to null or empty to serve all video formats.", "items": { "format": "int32", "type": "integer" @@ -20707,6 +20709,6 @@ } }, "servicePath": "dfareporting/v3.4/", - "title": "DCM/DFA Reporting And Trafficking API", + "title": "Campaign Manager 360 API", "version": "v3.4" } \ No newline at end of file diff --git a/src/apis/dfareporting/v3.3.ts b/src/apis/dfareporting/v3.3.ts index ecad9f4452..1f0f9e374e 100644 --- a/src/apis/dfareporting/v3.3.ts +++ b/src/apis/dfareporting/v3.3.ts @@ -99,7 +99,7 @@ export namespace dfareporting_v3_3 { } /** - * DCM/DFA Reporting And Trafficking API + * Campaign Manager 360 API * * Manage your DoubleClick Campaign Manager ad campaigns and reports. * @@ -1366,7 +1366,7 @@ export namespace dfareporting_v3_3 { */ companionsDisabled?: boolean | null; /** - * Whitelist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes. + * Allowlist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes. */ enabledSizes?: Schema$Size[]; /** @@ -4505,7 +4505,7 @@ export namespace dfareporting_v3_3 { */ lookbackConfiguration?: Schema$LookbackConfiguration; /** - * Name of this placement.This is a required field and must be less than 256 characters long. + * Name of this placement.This is a required field and must be less than or equal to 256 characters long. */ name?: string | null; /** @@ -5592,7 +5592,7 @@ export namespace dfareporting_v3_3 { */ companionsDisabled?: boolean | null; /** - * Whitelist of companion sizes to be served via this site template. Set this list to null or empty to serve all companion sizes. + * Allowlist of companion sizes to be served via this site template. Set this list to null or empty to serve all companion sizes. */ enabledSizes?: Schema$Size[]; /** @@ -5713,7 +5713,7 @@ export namespace dfareporting_v3_3 { */ export interface Schema$SiteTranscodeSetting { /** - * Whitelist of video formats to be served to this site template. Set this list to null or empty to serve all video formats. + * Allowlist of video formats to be served to this site template. Set this list to null or empty to serve all video formats. */ enabledVideoFormats?: number[] | null; /** @@ -6140,7 +6140,7 @@ export namespace dfareporting_v3_3 { */ export interface Schema$TranscodeSetting { /** - * Whitelist of video formats to be served to this placement. Set this list to null or empty to serve all video formats. + * Allowlist of video formats to be served to this placement. Set this list to null or empty to serve all video formats. */ enabledVideoFormats?: number[] | null; /** @@ -20862,7 +20862,7 @@ export namespace dfareporting_v3_3 { * maxResults: 'placeholder-value', * // The value of the nextToken from the previous result page. * pageToken: 'placeholder-value', - * // The DFA user profile ID. + * // The Campaign Manager 360 user profile ID. * profileId: 'placeholder-value', * * // Request body metadata @@ -20994,7 +20994,7 @@ export namespace dfareporting_v3_3 { */ pageToken?: string; /** - * The DFA user profile ID. + * The Campaign Manager 360 user profile ID. */ profileId?: string; @@ -23239,7 +23239,7 @@ export namespace dfareporting_v3_3 { * maxResults: 'placeholder-value', * // The value of the nextToken from the previous result page. * pageToken: 'placeholder-value', - * // The DFA profile ID. + * // The Campaign Manager 360 user profile ID. * profileId: 'placeholder-value', * // The scope that defines which results are returned. * scope: 'placeholder-value', @@ -23369,7 +23369,7 @@ export namespace dfareporting_v3_3 { */ pageToken?: string; /** - * The DFA profile ID. + * The Campaign Manager 360 user profile ID. */ profileId?: string; /** @@ -34761,7 +34761,7 @@ export namespace dfareporting_v3_3 { * * // Do the magic * const res = await dfareporting.reports.delete({ - * // The DFA user profile ID. + * // The Campaign Manager 360 user profile ID. * profileId: 'placeholder-value', * // The ID of the report. * reportId: 'placeholder-value', @@ -34884,7 +34884,7 @@ export namespace dfareporting_v3_3 { * * // Do the magic * const res = await dfareporting.reports.get({ - * // The DFA user profile ID. + * // The Campaign Manager 360 user profile ID. * profileId: 'placeholder-value', * // The ID of the report. * reportId: 'placeholder-value', @@ -35031,7 +35031,7 @@ export namespace dfareporting_v3_3 { * * // Do the magic * const res = await dfareporting.reports.insert({ - * // The DFA user profile ID. + * // The Campaign Manager 360 user profile ID. * profileId: 'placeholder-value', * * // Request body metadata @@ -35204,7 +35204,7 @@ export namespace dfareporting_v3_3 { * maxResults: 'placeholder-value', * // The value of the nextToken from the previous result page. * pageToken: 'placeholder-value', - * // The DFA user profile ID. + * // The Campaign Manager 360 user profile ID. * profileId: 'placeholder-value', * // The scope that defines which results are returned. * scope: 'placeholder-value', @@ -35512,7 +35512,7 @@ export namespace dfareporting_v3_3 { * * // Do the magic * const res = await dfareporting.reports.run({ - * // The DFA profile ID. + * // The Campaign Manager 360 user profile ID. * profileId: 'placeholder-value', * // The ID of the report. * reportId: 'placeholder-value', @@ -35653,7 +35653,7 @@ export namespace dfareporting_v3_3 { * * // Do the magic * const res = await dfareporting.reports.update({ - * // The DFA user profile ID. + * // The Campaign Manager 360 user profile ID. * profileId: 'placeholder-value', * // The ID of the report. * reportId: 'placeholder-value', @@ -35801,7 +35801,7 @@ export namespace dfareporting_v3_3 { export interface Params$Resource$Reports$Delete extends StandardParameters { /** - * The DFA user profile ID. + * The Campaign Manager 360 user profile ID. */ profileId?: string; /** @@ -35811,7 +35811,7 @@ export namespace dfareporting_v3_3 { } export interface Params$Resource$Reports$Get extends StandardParameters { /** - * The DFA user profile ID. + * The Campaign Manager 360 user profile ID. */ profileId?: string; /** @@ -35821,7 +35821,7 @@ export namespace dfareporting_v3_3 { } export interface Params$Resource$Reports$Insert extends StandardParameters { /** - * The DFA user profile ID. + * The Campaign Manager 360 user profile ID. */ profileId?: string; @@ -35840,7 +35840,7 @@ export namespace dfareporting_v3_3 { */ pageToken?: string; /** - * The DFA user profile ID. + * The Campaign Manager 360 user profile ID. */ profileId?: string; /** @@ -35873,7 +35873,7 @@ export namespace dfareporting_v3_3 { } export interface Params$Resource$Reports$Run extends StandardParameters { /** - * The DFA profile ID. + * The Campaign Manager 360 user profile ID. */ profileId?: string; /** @@ -35887,7 +35887,7 @@ export namespace dfareporting_v3_3 { } export interface Params$Resource$Reports$Update extends StandardParameters { /** - * The DFA user profile ID. + * The Campaign Manager 360 user profile ID. */ profileId?: string; /** @@ -35934,7 +35934,7 @@ export namespace dfareporting_v3_3 { * * // Do the magic * const res = await dfareporting.reports.compatibleFields.query({ - * // The DFA user profile ID. + * // The Campaign Manager 360 user profile ID. * profileId: 'placeholder-value', * * // Request body metadata @@ -36070,7 +36070,7 @@ export namespace dfareporting_v3_3 { export interface Params$Resource$Reports$Compatiblefields$Query extends StandardParameters { /** - * The DFA user profile ID. + * The Campaign Manager 360 user profile ID. */ profileId?: string; @@ -36115,7 +36115,7 @@ export namespace dfareporting_v3_3 { * const res = await dfareporting.reports.files.get({ * // The ID of the report file. * fileId: 'placeholder-value', - * // The DFA user profile ID. + * // The Campaign Manager 360 user profile ID. * profileId: 'placeholder-value', * // The ID of the report. * reportId: 'placeholder-value', @@ -36259,7 +36259,7 @@ export namespace dfareporting_v3_3 { * maxResults: 'placeholder-value', * // The value of the nextToken from the previous result page. * pageToken: 'placeholder-value', - * // The DFA profile ID. + * // The Campaign Manager 360 user profile ID. * profileId: 'placeholder-value', * // The ID of the parent report. * reportId: 'placeholder-value', @@ -36378,7 +36378,7 @@ export namespace dfareporting_v3_3 { */ fileId?: string; /** - * The DFA user profile ID. + * The Campaign Manager 360 user profile ID. */ profileId?: string; /** @@ -36397,7 +36397,7 @@ export namespace dfareporting_v3_3 { */ pageToken?: string; /** - * The DFA profile ID. + * The Campaign Manager 360 user profile ID. */ profileId?: string; /** diff --git a/src/apis/dfareporting/v3.4.ts b/src/apis/dfareporting/v3.4.ts index 2dfcc3b271..041cb6ef9f 100644 --- a/src/apis/dfareporting/v3.4.ts +++ b/src/apis/dfareporting/v3.4.ts @@ -99,7 +99,7 @@ export namespace dfareporting_v3_4 { } /** - * DCM/DFA Reporting And Trafficking API + * Campaign Manager 360 API * * Manage your DoubleClick Campaign Manager ad campaigns and reports. * @@ -1435,7 +1435,7 @@ export namespace dfareporting_v3_4 { */ companionsDisabled?: boolean | null; /** - * Whitelist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes. + * Allowlist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes. */ enabledSizes?: Schema$Size[]; /** @@ -4942,7 +4942,7 @@ export namespace dfareporting_v3_4 { */ lookbackConfiguration?: Schema$LookbackConfiguration; /** - * Name of this placement.This is a required field and must be less than 256 characters long. + * Name of this placement.This is a required field and must be less than or equal to 256 characters long. */ name?: string | null; /** @@ -6049,7 +6049,7 @@ export namespace dfareporting_v3_4 { */ companionsDisabled?: boolean | null; /** - * Whitelist of companion sizes to be served via this site template. Set this list to null or empty to serve all companion sizes. + * Allowlist of companion sizes to be served via this site template. Set this list to null or empty to serve all companion sizes. */ enabledSizes?: Schema$Size[]; /** @@ -6170,7 +6170,7 @@ export namespace dfareporting_v3_4 { */ export interface Schema$SiteTranscodeSetting { /** - * Whitelist of video formats to be served to this site template. Set this list to null or empty to serve all video formats. + * Allowlist of video formats to be served to this site template. Set this list to null or empty to serve all video formats. */ enabledVideoFormats?: number[] | null; /** @@ -6605,7 +6605,7 @@ export namespace dfareporting_v3_4 { */ export interface Schema$TranscodeSetting { /** - * Whitelist of video formats to be served to this placement. Set this list to null or empty to serve all video formats. + * Allowlist of video formats to be served to this placement. Set this list to null or empty to serve all video formats. */ enabledVideoFormats?: number[] | null; /** @@ -21519,7 +21519,7 @@ export namespace dfareporting_v3_4 { * maxResults: 'placeholder-value', * // The value of the nextToken from the previous result page. * pageToken: 'placeholder-value', - * // The DFA user profile ID. + * // The Campaign Manager 360 user profile ID. * profileId: 'placeholder-value', * * // Request body metadata @@ -21651,7 +21651,7 @@ export namespace dfareporting_v3_4 { */ pageToken?: string; /** - * The DFA user profile ID. + * The Campaign Manager 360 user profile ID. */ profileId?: string; @@ -23893,7 +23893,7 @@ export namespace dfareporting_v3_4 { * maxResults: 'placeholder-value', * // The value of the nextToken from the previous result page. * pageToken: 'placeholder-value', - * // The DFA profile ID. + * // The Campaign Manager 360 user profile ID. * profileId: 'placeholder-value', * // The scope that defines which results are returned. * scope: 'placeholder-value', @@ -24023,7 +24023,7 @@ export namespace dfareporting_v3_4 { */ pageToken?: string; /** - * The DFA profile ID. + * The Campaign Manager 360 user profile ID. */ profileId?: string; /** @@ -35422,7 +35422,7 @@ export namespace dfareporting_v3_4 { * * // Do the magic * const res = await dfareporting.reports.delete({ - * // The DFA user profile ID. + * // The Campaign Manager 360 user profile ID. * profileId: 'placeholder-value', * // The ID of the report. * reportId: 'placeholder-value', @@ -35545,7 +35545,7 @@ export namespace dfareporting_v3_4 { * * // Do the magic * const res = await dfareporting.reports.get({ - * // The DFA user profile ID. + * // The Campaign Manager 360 user profile ID. * profileId: 'placeholder-value', * // The ID of the report. * reportId: 'placeholder-value', @@ -35694,7 +35694,7 @@ export namespace dfareporting_v3_4 { * * // Do the magic * const res = await dfareporting.reports.insert({ - * // The DFA user profile ID. + * // The Campaign Manager 360 user profile ID. * profileId: 'placeholder-value', * * // Request body metadata @@ -35871,7 +35871,7 @@ export namespace dfareporting_v3_4 { * maxResults: 'placeholder-value', * // The value of the nextToken from the previous result page. * pageToken: 'placeholder-value', - * // The DFA user profile ID. + * // The Campaign Manager 360 user profile ID. * profileId: 'placeholder-value', * // The scope that defines which results are returned. * scope: 'placeholder-value', @@ -36183,7 +36183,7 @@ export namespace dfareporting_v3_4 { * * // Do the magic * const res = await dfareporting.reports.run({ - * // The DFA profile ID. + * // The Campaign Manager 360 user profile ID. * profileId: 'placeholder-value', * // The ID of the report. * reportId: 'placeholder-value', @@ -36324,7 +36324,7 @@ export namespace dfareporting_v3_4 { * * // Do the magic * const res = await dfareporting.reports.update({ - * // The DFA user profile ID. + * // The Campaign Manager 360 user profile ID. * profileId: 'placeholder-value', * // The ID of the report. * reportId: 'placeholder-value', @@ -36476,7 +36476,7 @@ export namespace dfareporting_v3_4 { export interface Params$Resource$Reports$Delete extends StandardParameters { /** - * The DFA user profile ID. + * The Campaign Manager 360 user profile ID. */ profileId?: string; /** @@ -36486,7 +36486,7 @@ export namespace dfareporting_v3_4 { } export interface Params$Resource$Reports$Get extends StandardParameters { /** - * The DFA user profile ID. + * The Campaign Manager 360 user profile ID. */ profileId?: string; /** @@ -36496,7 +36496,7 @@ export namespace dfareporting_v3_4 { } export interface Params$Resource$Reports$Insert extends StandardParameters { /** - * The DFA user profile ID. + * The Campaign Manager 360 user profile ID. */ profileId?: string; @@ -36515,7 +36515,7 @@ export namespace dfareporting_v3_4 { */ pageToken?: string; /** - * The DFA user profile ID. + * The Campaign Manager 360 user profile ID. */ profileId?: string; /** @@ -36548,7 +36548,7 @@ export namespace dfareporting_v3_4 { } export interface Params$Resource$Reports$Run extends StandardParameters { /** - * The DFA profile ID. + * The Campaign Manager 360 user profile ID. */ profileId?: string; /** @@ -36562,7 +36562,7 @@ export namespace dfareporting_v3_4 { } export interface Params$Resource$Reports$Update extends StandardParameters { /** - * The DFA user profile ID. + * The Campaign Manager 360 user profile ID. */ profileId?: string; /** @@ -36609,7 +36609,7 @@ export namespace dfareporting_v3_4 { * * // Do the magic * const res = await dfareporting.reports.compatibleFields.query({ - * // The DFA user profile ID. + * // The Campaign Manager 360 user profile ID. * profileId: 'placeholder-value', * * // Request body metadata @@ -36749,7 +36749,7 @@ export namespace dfareporting_v3_4 { export interface Params$Resource$Reports$Compatiblefields$Query extends StandardParameters { /** - * The DFA user profile ID. + * The Campaign Manager 360 user profile ID. */ profileId?: string; @@ -36794,7 +36794,7 @@ export namespace dfareporting_v3_4 { * const res = await dfareporting.reports.files.get({ * // The ID of the report file. * fileId: 'placeholder-value', - * // The DFA user profile ID. + * // The Campaign Manager 360 user profile ID. * profileId: 'placeholder-value', * // The ID of the report. * reportId: 'placeholder-value', @@ -36938,7 +36938,7 @@ export namespace dfareporting_v3_4 { * maxResults: 'placeholder-value', * // The value of the nextToken from the previous result page. * pageToken: 'placeholder-value', - * // The DFA profile ID. + * // The Campaign Manager 360 user profile ID. * profileId: 'placeholder-value', * // The ID of the parent report. * reportId: 'placeholder-value', @@ -37057,7 +37057,7 @@ export namespace dfareporting_v3_4 { */ fileId?: string; /** - * The DFA user profile ID. + * The Campaign Manager 360 user profile ID. */ profileId?: string; /** @@ -37076,7 +37076,7 @@ export namespace dfareporting_v3_4 { */ pageToken?: string; /** - * The DFA profile ID. + * The Campaign Manager 360 user profile ID. */ profileId?: string; /** From 6415aeb98d8687f231749ab0a7317b37f17b76e0 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 4 Nov 2020 05:20:29 -0800 Subject: [PATCH 09/19] fix(eventarc): update the API #### eventarc:v1beta1 The following keys were changed: - schemas.CloudRunService.properties.region.description --- discovery/eventarc-v1beta1.json | 4 ++-- src/apis/eventarc/v1beta1.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/discovery/eventarc-v1beta1.json b/discovery/eventarc-v1beta1.json index 5ded6111da..d95208c450 100644 --- a/discovery/eventarc-v1beta1.json +++ b/discovery/eventarc-v1beta1.json @@ -559,7 +559,7 @@ } } }, - "revision": "20201020", + "revision": "20201023", "rootUrl": "https://eventarc.googleapis.com/", "schemas": { "AuditConfig": { @@ -647,7 +647,7 @@ "type": "string" }, "region": { - "description": "Optional. The region the Cloud Run service is deployed in. If not set, the location of the trigger is used. For triggers in the \"global\" location, setting this field is mandatory.", + "description": "Required. The region the Cloud Run service is deployed in.", "type": "string" }, "service": { diff --git a/src/apis/eventarc/v1beta1.ts b/src/apis/eventarc/v1beta1.ts index 5c5f774cd3..48148925fb 100644 --- a/src/apis/eventarc/v1beta1.ts +++ b/src/apis/eventarc/v1beta1.ts @@ -179,7 +179,7 @@ export namespace eventarc_v1beta1 { */ path?: string | null; /** - * Optional. The region the Cloud Run service is deployed in. If not set, the location of the trigger is used. For triggers in the "global" location, setting this field is mandatory. + * Required. The region the Cloud Run service is deployed in. */ region?: string | null; /** From dd491e337b3418dc9761ba1e7e403e3b4dff1ac8 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 4 Nov 2020 05:20:29 -0800 Subject: [PATCH 10/19] feat(gameservices)!: update the API BREAKING CHANGE: This release has breaking changes. #### gameservices:v1beta The following keys were deleted: - schemas.Binding.properties.bindingId.description #### gameservices:v1 The following keys were deleted: - schemas.Binding.properties.bindingId.description --- discovery/gameservices-v1.json | 3 +-- discovery/gameservices-v1beta.json | 3 +-- src/apis/gameservices/v1.ts | 3 --- src/apis/gameservices/v1beta.ts | 3 --- 4 files changed, 2 insertions(+), 10 deletions(-) diff --git a/discovery/gameservices-v1.json b/discovery/gameservices-v1.json index aa2512587a..161b434196 100644 --- a/discovery/gameservices-v1.json +++ b/discovery/gameservices-v1.json @@ -1312,7 +1312,7 @@ } } }, - "revision": "20201022", + "revision": "20201029", "rootUrl": "https://gameservices.googleapis.com/", "schemas": { "AuditConfig": { @@ -1402,7 +1402,6 @@ "id": "Binding", "properties": { "bindingId": { - "description": "A client-specified ID for this binding. Expected to be globally unique to support the internal bindings-by-ID API.", "type": "string" }, "condition": { diff --git a/discovery/gameservices-v1beta.json b/discovery/gameservices-v1beta.json index c56931d076..d59a40f293 100644 --- a/discovery/gameservices-v1beta.json +++ b/discovery/gameservices-v1beta.json @@ -1312,7 +1312,7 @@ } } }, - "revision": "20201022", + "revision": "20201029", "rootUrl": "https://gameservices.googleapis.com/", "schemas": { "AuditConfig": { @@ -1402,7 +1402,6 @@ "id": "Binding", "properties": { "bindingId": { - "description": "A client-specified ID for this binding. Expected to be globally unique to support the internal bindings-by-ID API.", "type": "string" }, "condition": { diff --git a/src/apis/gameservices/v1.ts b/src/apis/gameservices/v1.ts index 43cb4aefc5..ff2319f136 100644 --- a/src/apis/gameservices/v1.ts +++ b/src/apis/gameservices/v1.ts @@ -164,9 +164,6 @@ export namespace gameservices_v1 { * Associates `members` with a `role`. */ export interface Schema$Binding { - /** - * A client-specified ID for this binding. Expected to be globally unique to support the internal bindings-by-ID API. - */ bindingId?: string | null; /** * 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). diff --git a/src/apis/gameservices/v1beta.ts b/src/apis/gameservices/v1beta.ts index 0cabe6e222..4f9193146e 100644 --- a/src/apis/gameservices/v1beta.ts +++ b/src/apis/gameservices/v1beta.ts @@ -164,9 +164,6 @@ export namespace gameservices_v1beta { * Associates `members` with a `role`. */ export interface Schema$Binding { - /** - * A client-specified ID for this binding. Expected to be globally unique to support the internal bindings-by-ID API. - */ bindingId?: string | null; /** * 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). From bc22ef4824549032d506db0984b81db7d36d198f Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 4 Nov 2020 05:20:29 -0800 Subject: [PATCH 11/19] feat(genomics): update the API #### genomics:v2alpha1 The following keys were added: - schemas.NFSMount.description - schemas.NFSMount.id - schemas.NFSMount.properties.target.description - schemas.NFSMount.properties.target.type - schemas.NFSMount.type - schemas.Volume.properties.nfsMount.$ref - schemas.Volume.properties.nfsMount.description --- discovery/genomics-v2alpha1.json | 17 ++++++++++++++++- src/apis/genomics/v2alpha1.ts | 13 +++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/discovery/genomics-v2alpha1.json b/discovery/genomics-v2alpha1.json index 171f95853e..2d9dc0616d 100644 --- a/discovery/genomics-v2alpha1.json +++ b/discovery/genomics-v2alpha1.json @@ -301,7 +301,7 @@ } } }, - "revision": "20200930", + "revision": "20201102", "rootUrl": "https://genomics.googleapis.com/", "schemas": { "Accelerator": { @@ -793,6 +793,17 @@ }, "type": "object" }, + "NFSMount": { + "description": "Configuration for an `NFSMount` to be attached to the VM.", + "id": "NFSMount", + "properties": { + "target": { + "description": "A target NFS mount. The target must be specified as `address:/mount\".", + "type": "string" + } + }, + "type": "object" + }, "Network": { "description": "VM networking options.", "id": "Network", @@ -1248,6 +1259,10 @@ "$ref": "ExistingDisk", "description": "Configuration for a existing disk." }, + "nfsMount": { + "$ref": "NFSMount", + "description": "Configuration for an NFS mount." + }, "persistentDisk": { "$ref": "PersistentDisk", "description": "Configuration for a persistent disk." diff --git a/src/apis/genomics/v2alpha1.ts b/src/apis/genomics/v2alpha1.ts index 6cb231377d..28f82836d1 100644 --- a/src/apis/genomics/v2alpha1.ts +++ b/src/apis/genomics/v2alpha1.ts @@ -469,6 +469,15 @@ export namespace genomics_v2alpha1 { */ usePrivateAddress?: boolean | null; } + /** + * Configuration for an `NFSMount` to be attached to the VM. + */ + export interface Schema$NFSMount { + /** + * A target NFS mount. The target must be specified as `address:/mount". + */ + target?: string | null; + } /** * This resource represents a long-running operation that is the result of a network API call. */ @@ -793,6 +802,10 @@ export namespace genomics_v2alpha1 { * Configuration for a existing disk. */ existingDisk?: Schema$ExistingDisk; + /** + * Configuration for an NFS mount. + */ + nfsMount?: Schema$NFSMount; /** * Configuration for a persistent disk. */ From 95416e38f315a18e4da8c1c094e7dffc7b19c0ee Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 4 Nov 2020 05:20:29 -0800 Subject: [PATCH 12/19] feat(iam)!: update the API BREAKING CHANGE: This release has breaking changes. #### iam:v1 The following keys were deleted: - schemas.Binding.properties.bindingId.description - schemas.Binding.properties.bindingId.type The following keys were changed: - schemas.ServiceAccountKey.description --- discovery/iam-v1.json | 8 ++------ src/apis/iam/v1.ts | 6 +----- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/discovery/iam-v1.json b/discovery/iam-v1.json index 80ce5a8c81..37ee4be576 100644 --- a/discovery/iam-v1.json +++ b/discovery/iam-v1.json @@ -1250,7 +1250,7 @@ } } }, - "revision": "20201022", + "revision": "20201029", "rootUrl": "https://iam.googleapis.com/", "schemas": { "AdminAuditData": { @@ -1338,10 +1338,6 @@ "description": "Associates `members` with a `role`.", "id": "Binding", "properties": { - "bindingId": { - "description": "A client-specified ID for this binding. Expected to be globally unique to support the internal bindings-by-ID API.", - "type": "string" - }, "condition": { "$ref": "Expr", "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)." @@ -1991,7 +1987,7 @@ "type": "object" }, "ServiceAccountKey": { - "description": "Represents a service account key. A service account has two sets of key-pairs: user-managed, and system-managed. User-managed key-pairs can be created and deleted by users. Users are responsible for rotating these keys periodically to ensure security of their service accounts. Users retain the private key of these key-pairs, and Google retains ONLY the public key. System-managed keys are automatically rotated by Google, and are used for signing for a maximum of two weeks. The rotation process is probabilistic, and usage of the new key will gradually ramp up and down over the key's lifetime. We recommend caching the public key set for a service account for no more than 24 hours to ensure you have access to the latest keys. Public keys for all service accounts are also published at the OAuth2 Service Account API.", + "description": "Represents a service account key. A service account has two sets of key-pairs: user-managed, and system-managed. User-managed key-pairs can be created and deleted by users. Users are responsible for rotating these keys periodically to ensure security of their service accounts. Users retain the private key of these key-pairs, and Google retains ONLY the public key. System-managed keys are automatically rotated by Google, and are used for signing for a maximum of two weeks. The rotation process is probabilistic, and usage of the new key will gradually ramp up and down over the key's lifetime. If you cache the public key set for a service account, we recommend that you update the cache every 15 minutes. User-managed keys can be added and removed at any time, so it is important to update the cache frequently. For Google-managed keys, Google will publish a key at least 6 hours before it is first used for signing and will keep publishing it for at least 6 hours after it was last used for signing. Public keys for all service accounts are also published at the OAuth2 Service Account API.", "id": "ServiceAccountKey", "properties": { "keyAlgorithm": { diff --git a/src/apis/iam/v1.ts b/src/apis/iam/v1.ts index 1bb8a61e77..7cffe3d493 100644 --- a/src/apis/iam/v1.ts +++ b/src/apis/iam/v1.ts @@ -188,10 +188,6 @@ export namespace iam_v1 { * Associates `members` with a `role`. */ export interface Schema$Binding { - /** - * A client-specified ID for this binding. Expected to be globally unique to support the internal bindings-by-ID API. - */ - bindingId?: string | null; /** * 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). */ @@ -622,7 +618,7 @@ export namespace iam_v1 { uniqueId?: string | null; } /** - * Represents a service account key. A service account has two sets of key-pairs: user-managed, and system-managed. User-managed key-pairs can be created and deleted by users. Users are responsible for rotating these keys periodically to ensure security of their service accounts. Users retain the private key of these key-pairs, and Google retains ONLY the public key. System-managed keys are automatically rotated by Google, and are used for signing for a maximum of two weeks. The rotation process is probabilistic, and usage of the new key will gradually ramp up and down over the key's lifetime. We recommend caching the public key set for a service account for no more than 24 hours to ensure you have access to the latest keys. Public keys for all service accounts are also published at the OAuth2 Service Account API. + * Represents a service account key. A service account has two sets of key-pairs: user-managed, and system-managed. User-managed key-pairs can be created and deleted by users. Users are responsible for rotating these keys periodically to ensure security of their service accounts. Users retain the private key of these key-pairs, and Google retains ONLY the public key. System-managed keys are automatically rotated by Google, and are used for signing for a maximum of two weeks. The rotation process is probabilistic, and usage of the new key will gradually ramp up and down over the key's lifetime. If you cache the public key set for a service account, we recommend that you update the cache every 15 minutes. User-managed keys can be added and removed at any time, so it is important to update the cache frequently. For Google-managed keys, Google will publish a key at least 6 hours before it is first used for signing and will keep publishing it for at least 6 hours after it was last used for signing. Public keys for all service accounts are also published at the OAuth2 Service Account API. */ export interface Schema$ServiceAccountKey { /** From ec97b3f8ab664ffec4dd327056a6bfbdcce4a457 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 4 Nov 2020 05:20:29 -0800 Subject: [PATCH 13/19] fix(licensing): update the API --- src/apis/licensing/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apis/licensing/README.md b/src/apis/licensing/README.md index 05ee7b5b5b..6495c3b1d4 100644 --- a/src/apis/licensing/README.md +++ b/src/apis/licensing/README.md @@ -2,7 +2,7 @@ # licensing -> Licensing API to view and manage licenses for your domain +> The Google Enterprise License Manager API's allows you to license apps for all the users of a domain managed by you. ## Installation From 9a4c52053951f79b519b34e96c3095bcd80e4f89 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 4 Nov 2020 05:20:30 -0800 Subject: [PATCH 14/19] feat(networkmanagement): update the API #### networkmanagement:v1beta1 The following keys were added: - schemas.Binding.properties.bindingId.type - schemas.LatencyDistribution.description - schemas.LatencyDistribution.id - schemas.LatencyDistribution.properties.latencyPercentiles.description - schemas.LatencyDistribution.properties.latencyPercentiles.items.$ref - schemas.LatencyDistribution.properties.latencyPercentiles.type - schemas.LatencyDistribution.type - schemas.LatencyPercentile.description - schemas.LatencyPercentile.id - schemas.LatencyPercentile.properties.latencyMicros.description - schemas.LatencyPercentile.properties.latencyMicros.format - schemas.LatencyPercentile.properties.latencyMicros.type - schemas.LatencyPercentile.properties.percent.description - schemas.LatencyPercentile.properties.percent.format - schemas.LatencyPercentile.properties.percent.type - schemas.LatencyPercentile.type - schemas.ProbingDetails.properties.probingLatency.$ref - schemas.ProbingDetails.properties.probingLatency.description --- discovery/networkmanagement-v1beta1.json | 40 +++++++++++++++++++++++- src/apis/networkmanagement/v1beta1.ts | 27 ++++++++++++++++ 2 files changed, 66 insertions(+), 1 deletion(-) diff --git a/discovery/networkmanagement-v1beta1.json b/discovery/networkmanagement-v1beta1.json index 59ce7b8c5b..2c7f792e82 100644 --- a/discovery/networkmanagement-v1beta1.json +++ b/discovery/networkmanagement-v1beta1.json @@ -591,7 +591,7 @@ } } }, - "revision": "20200917", + "revision": "20201029", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": { @@ -687,6 +687,9 @@ "description": "Associates `members` with a `role`.", "id": "Binding", "properties": { + "bindingId": { + "type": "string" + }, "condition": { "$ref": "Expr", "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)." @@ -1195,6 +1198,37 @@ }, "type": "object" }, + "LatencyDistribution": { + "description": "Describes measured latency distribution.", + "id": "LatencyDistribution", + "properties": { + "latencyPercentiles": { + "description": "Representative latency percentiles.", + "items": { + "$ref": "LatencyPercentile" + }, + "type": "array" + } + }, + "type": "object" + }, + "LatencyPercentile": { + "description": "Latency percentile rank and value.", + "id": "LatencyPercentile", + "properties": { + "latencyMicros": { + "description": "percent-th percentile of latency observed, in microseconds. Fraction of percent/100 of samples have latency lower or equal to the value of this field.", + "format": "int64", + "type": "string" + }, + "percent": { + "description": "Percentage of samples this data point applies to.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "ListConnectivityTestsResponse": { "description": "Response for the `ListConnectivityTests` method.", "id": "ListConnectivityTestsResponse", @@ -1537,6 +1571,10 @@ "$ref": "Status", "description": "The details of an internal failure or a cancellation of reachability analysis." }, + "probingLatency": { + "$ref": "LatencyDistribution", + "description": "One way probing latency distribution. The latency is measured as duration of packet traversal of Google Cloud network, from source to destination endpoint." + }, "result": { "description": "The overall reachability result of the test.", "enum": [ diff --git a/src/apis/networkmanagement/v1beta1.ts b/src/apis/networkmanagement/v1beta1.ts index f655de5e4d..074d89461c 100644 --- a/src/apis/networkmanagement/v1beta1.ts +++ b/src/apis/networkmanagement/v1beta1.ts @@ -166,6 +166,7 @@ export namespace networkmanagement_v1beta1 { * Associates `members` with a `role`. */ export interface Schema$Binding { + bindingId?: string | null; /** * 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). */ @@ -527,6 +528,28 @@ export namespace networkmanagement_v1beta1 { */ uri?: string | null; } + /** + * Describes measured latency distribution. + */ + export interface Schema$LatencyDistribution { + /** + * Representative latency percentiles. + */ + latencyPercentiles?: Schema$LatencyPercentile[]; + } + /** + * Latency percentile rank and value. + */ + export interface Schema$LatencyPercentile { + /** + * percent-th percentile of latency observed, in microseconds. Fraction of percent/100 of samples have latency lower or equal to the value of this field. + */ + latencyMicros?: string | null; + /** + * Percentage of samples this data point applies to. + */ + percent?: number | null; + } /** * Response for the `ListConnectivityTests` method. */ @@ -757,6 +780,10 @@ export namespace networkmanagement_v1beta1 { * The details of an internal failure or a cancellation of reachability analysis. */ error?: Schema$Status; + /** + * One way probing latency distribution. The latency is measured as duration of packet traversal of Google Cloud network, from source to destination endpoint. + */ + probingLatency?: Schema$LatencyDistribution; /** * The overall reachability result of the test. */ From 45fe5d8b5bb626795f3f835304edd2ee73b513a9 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 4 Nov 2020 05:20:30 -0800 Subject: [PATCH 15/19] feat(policytroubleshooter): update the API #### policytroubleshooter:v1beta The following keys were added: - schemas.GoogleIamV1Binding.properties.bindingId.type #### policytroubleshooter:v1 The following keys were added: - schemas.GoogleIamV1Binding.properties.bindingId.type --- discovery/policytroubleshooter-v1.json | 5 ++++- discovery/policytroubleshooter-v1beta.json | 5 ++++- src/apis/policytroubleshooter/v1.ts | 1 + src/apis/policytroubleshooter/v1beta.ts | 1 + 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/discovery/policytroubleshooter-v1.json b/discovery/policytroubleshooter-v1.json index 03062d74ce..e8aa1150ce 100644 --- a/discovery/policytroubleshooter-v1.json +++ b/discovery/policytroubleshooter-v1.json @@ -128,7 +128,7 @@ } } }, - "revision": "20200801", + "revision": "20201031", "rootUrl": "https://policytroubleshooter.googleapis.com/", "schemas": { "GoogleCloudPolicytroubleshooterV1AccessTuple": { @@ -422,6 +422,9 @@ "description": "Associates `members` with a `role`.", "id": "GoogleIamV1Binding", "properties": { + "bindingId": { + "type": "string" + }, "condition": { "$ref": "GoogleTypeExpr", "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)." diff --git a/discovery/policytroubleshooter-v1beta.json b/discovery/policytroubleshooter-v1beta.json index 89c86283a0..b5a687d456 100644 --- a/discovery/policytroubleshooter-v1beta.json +++ b/discovery/policytroubleshooter-v1beta.json @@ -128,7 +128,7 @@ } } }, - "revision": "20200801", + "revision": "20201031", "rootUrl": "https://policytroubleshooter.googleapis.com/", "schemas": { "GoogleCloudPolicytroubleshooterV1betaAccessTuple": { @@ -422,6 +422,9 @@ "description": "Associates `members` with a `role`.", "id": "GoogleIamV1Binding", "properties": { + "bindingId": { + "type": "string" + }, "condition": { "$ref": "GoogleTypeExpr", "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)." diff --git a/src/apis/policytroubleshooter/v1.ts b/src/apis/policytroubleshooter/v1.ts index ca125a79a2..c3cdb83876 100644 --- a/src/apis/policytroubleshooter/v1.ts +++ b/src/apis/policytroubleshooter/v1.ts @@ -267,6 +267,7 @@ export namespace policytroubleshooter_v1 { * Associates `members` with a `role`. */ export interface Schema$GoogleIamV1Binding { + bindingId?: string | null; /** * 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). */ diff --git a/src/apis/policytroubleshooter/v1beta.ts b/src/apis/policytroubleshooter/v1beta.ts index 2b7100fbbc..8c73ede693 100644 --- a/src/apis/policytroubleshooter/v1beta.ts +++ b/src/apis/policytroubleshooter/v1beta.ts @@ -267,6 +267,7 @@ export namespace policytroubleshooter_v1beta { * Associates `members` with a `role`. */ export interface Schema$GoogleIamV1Binding { + bindingId?: string | null; /** * 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). */ From 1e127d1e1287677c86284066fb31caa4da24a7d4 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 4 Nov 2020 05:20:30 -0800 Subject: [PATCH 16/19] feat(privateca)!: update the API BREAKING CHANGE: This release has breaking changes. #### privateca:v1beta1 The following keys were deleted: - schemas.Binding.properties.bindingId.type --- discovery/privateca-v1beta1.json | 7 ++----- src/apis/privateca/v1beta1.ts | 3 +-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/discovery/privateca-v1beta1.json b/discovery/privateca-v1beta1.json index afc2f46c3c..011765ec58 100644 --- a/discovery/privateca-v1beta1.json +++ b/discovery/privateca-v1beta1.json @@ -12,7 +12,7 @@ "baseUrl": "https://privateca.googleapis.com/", "batchPath": "batch", "canonicalName": "Certificate Authority Service", - "description": "The Certificate Authority Service API is a highly-available, scalable service that enables you to simplify and automate the management of private certificate authorities (CAs) while staying in control of your private keys.\" ", + "description": "", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/", "fullyEncodeReservedExpansion": true, @@ -1292,7 +1292,7 @@ } } }, - "revision": "20201029", + "revision": "20201022", "rootUrl": "https://privateca.googleapis.com/", "schemas": { "AccessUrls": { @@ -1437,9 +1437,6 @@ "description": "Associates `members` with a `role`.", "id": "Binding", "properties": { - "bindingId": { - "type": "string" - }, "condition": { "$ref": "Expr", "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)." diff --git a/src/apis/privateca/v1beta1.ts b/src/apis/privateca/v1beta1.ts index 6293b752f3..a867db4b06 100644 --- a/src/apis/privateca/v1beta1.ts +++ b/src/apis/privateca/v1beta1.ts @@ -101,7 +101,7 @@ export namespace privateca_v1beta1 { /** * Certificate Authority API * - * The Certificate Authority Service API is a highly-available, scalable service that enables you to simplify and automate the management of private certificate authorities (CAs) while staying in control of your private keys." + * * * @example * ```js @@ -218,7 +218,6 @@ export namespace privateca_v1beta1 { * Associates `members` with a `role`. */ export interface Schema$Binding { - bindingId?: string | null; /** * 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). */ From fd93c3590388fc0fcf5db48a8ef683869a89b9d2 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 4 Nov 2020 05:20:30 -0800 Subject: [PATCH 17/19] fix(reseller): update the API --- src/apis/reseller/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apis/reseller/README.md b/src/apis/reseller/README.md index fd9f327a0d..4f78d957a2 100644 --- a/src/apis/reseller/README.md +++ b/src/apis/reseller/README.md @@ -2,7 +2,7 @@ # reseller -> Creates and manages your customers and their subscriptions. +> Perform common functions that are available on the Google Apps Reseller Console at scale like placing orders and viewing customer information ## Installation From 7be2a05501c97d9ec90e0288711715fa4ce06fab Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 4 Nov 2020 05:20:30 -0800 Subject: [PATCH 18/19] feat(securitycenter): update the API #### securitycenter:v1beta1 The following keys were added: - schemas.Binding.properties.bindingId.type #### securitycenter:v1 The following keys were added: - schemas.Binding.properties.bindingId.type --- discovery/securitycenter-v1.json | 5 ++++- discovery/securitycenter-v1beta1.json | 5 ++++- src/apis/securitycenter/v1.ts | 1 + src/apis/securitycenter/v1beta1.ts | 1 + 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/discovery/securitycenter-v1.json b/discovery/securitycenter-v1.json index bc69c3a81f..d1979afac3 100644 --- a/discovery/securitycenter-v1.json +++ b/discovery/securitycenter-v1.json @@ -1056,7 +1056,7 @@ } } }, - "revision": "20200925", + "revision": "20201030", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Asset": { @@ -1179,6 +1179,9 @@ "description": "Associates `members` with a `role`.", "id": "Binding", "properties": { + "bindingId": { + "type": "string" + }, "condition": { "$ref": "Expr", "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)." diff --git a/discovery/securitycenter-v1beta1.json b/discovery/securitycenter-v1beta1.json index 98673d1a93..fa86604cfc 100644 --- a/discovery/securitycenter-v1beta1.json +++ b/discovery/securitycenter-v1beta1.json @@ -896,7 +896,7 @@ } } }, - "revision": "20200925", + "revision": "20201030", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Asset": { @@ -1015,6 +1015,9 @@ "description": "Associates `members` with a `role`.", "id": "Binding", "properties": { + "bindingId": { + "type": "string" + }, "condition": { "$ref": "Expr", "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)." diff --git a/src/apis/securitycenter/v1.ts b/src/apis/securitycenter/v1.ts index af6e17f34b..a214d02217 100644 --- a/src/apis/securitycenter/v1.ts +++ b/src/apis/securitycenter/v1.ts @@ -199,6 +199,7 @@ export namespace securitycenter_v1 { * Associates `members` with a `role`. */ export interface Schema$Binding { + bindingId?: string | null; /** * 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). */ diff --git a/src/apis/securitycenter/v1beta1.ts b/src/apis/securitycenter/v1beta1.ts index db894eb7ca..c21d17f27d 100644 --- a/src/apis/securitycenter/v1beta1.ts +++ b/src/apis/securitycenter/v1beta1.ts @@ -195,6 +195,7 @@ export namespace securitycenter_v1beta1 { * Associates `members` with a `role`. */ export interface Schema$Binding { + bindingId?: string | null; /** * 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). */ From 819ab79ff3212b1e38a25f5290d87f4d7edf0609 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 4 Nov 2020 05:20:30 -0800 Subject: [PATCH 19/19] feat: regenerate index files --- discovery/index.json | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/discovery/index.json b/discovery/index.json index 789ad2af3b..3f3e9aabe2 100644 --- a/discovery/index.json +++ b/discovery/index.json @@ -2789,10 +2789,9 @@ "id": "licensing:v1", "name": "licensing", "version": "v1", - "title": "Licensing API", - "description": "Licensing API to view and manage licenses for your domain", - "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/licensing/v1/rest", - "discoveryLink": "./apis/licensing/v1/rest", + "title": "Enterprise License Manager API", + "description": "The Google Enterprise License Manager API's allows you to license apps for all the users of a domain managed by you.", + "discoveryRestUrl": "https://licensing.googleapis.com/$discovery/rest?version=v1", "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" @@ -3451,18 +3450,14 @@ "id": "reseller:v1", "name": "reseller", "version": "v1", - "title": "Enterprise Apps Reseller API", - "description": "Creates and manages your customers and their subscriptions.", - "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/reseller/v1/rest", - "discoveryLink": "./apis/reseller/v1/rest", + "title": "Google Workspace Reseller API", + "description": "Perform common functions that are available on the Google Apps Reseller Console at scale like placing orders and viewing customer information", + "discoveryRestUrl": "https://reseller.googleapis.com/$discovery/rest?version=v1", "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" }, "documentationLink": "https://developers.google.com/google-apps/reseller/", - "labels": [ - "limited_availability" - ], "preferred": true }, {