From f370bd63a3efb1b9d151ee1d5d61babdfcbc3175 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 9 Jan 2026 01:38:11 +0000 Subject: [PATCH 01/26] fix(analyticshub): update the API #### analyticshub:v1 The following keys were changed: - schemas.GooglePubsubV1Subscription.properties.name.description --- discovery/analyticshub-v1.json | 4 ++-- src/apis/analyticshub/v1.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/discovery/analyticshub-v1.json b/discovery/analyticshub-v1.json index 9ce496befbf..0873b1d129e 100644 --- a/discovery/analyticshub-v1.json +++ b/discovery/analyticshub-v1.json @@ -1247,7 +1247,7 @@ } } }, - "revision": "20251020", + "revision": "20251208", "rootUrl": "https://analyticshub.googleapis.com/", "schemas": { "ApproveQueryTemplateRequest": { @@ -1823,7 +1823,7 @@ "type": "array" }, "name": { - "description": "Required. Name of the subscription. Format is `projects/{project}/subscriptions/{sub}`.", + "description": "Required. Identifier. Name of the subscription. Format is `projects/{project}/subscriptions/{sub}`.", "type": "string" }, "pushConfig": { diff --git a/src/apis/analyticshub/v1.ts b/src/apis/analyticshub/v1.ts index 4e97923e0f4..675ba4f7cd4 100644 --- a/src/apis/analyticshub/v1.ts +++ b/src/apis/analyticshub/v1.ts @@ -566,7 +566,7 @@ export namespace analyticshub_v1 { */ messageTransforms?: Schema$MessageTransform[]; /** - * Required. Name of the subscription. Format is `projects/{project\}/subscriptions/{sub\}`. + * Required. Identifier. Name of the subscription. Format is `projects/{project\}/subscriptions/{sub\}`. */ name?: string | null; /** From 36a855550f141faefb57510bfa1ecf47275681e4 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 9 Jan 2026 01:38:11 +0000 Subject: [PATCH 02/26] feat(androidpublisher): update the API #### androidpublisher:v3 The following keys were added: - schemas.ManagedProductTaxAndComplianceSettings.properties.regionalProductAgeRatingInfos.description - schemas.ManagedProductTaxAndComplianceSettings.properties.regionalProductAgeRatingInfos.items.$ref - schemas.ManagedProductTaxAndComplianceSettings.properties.regionalProductAgeRatingInfos.type - schemas.OneTimeProductTaxAndComplianceSettings.properties.regionalProductAgeRatingInfos.description - schemas.OneTimeProductTaxAndComplianceSettings.properties.regionalProductAgeRatingInfos.items.$ref - schemas.OneTimeProductTaxAndComplianceSettings.properties.regionalProductAgeRatingInfos.type - schemas.RegionalProductAgeRatingInfo.description - schemas.RegionalProductAgeRatingInfo.id - schemas.RegionalProductAgeRatingInfo.properties.productAgeRatingTier.description - schemas.RegionalProductAgeRatingInfo.properties.productAgeRatingTier.enum - schemas.RegionalProductAgeRatingInfo.properties.productAgeRatingTier.enumDescriptions - schemas.RegionalProductAgeRatingInfo.properties.productAgeRatingTier.type - schemas.RegionalProductAgeRatingInfo.properties.regionCode.description - schemas.RegionalProductAgeRatingInfo.properties.regionCode.type - schemas.RegionalProductAgeRatingInfo.type - schemas.SubscriptionTaxAndComplianceSettings.properties.regionalProductAgeRatingInfos.description - schemas.SubscriptionTaxAndComplianceSettings.properties.regionalProductAgeRatingInfos.items.$ref - schemas.SubscriptionTaxAndComplianceSettings.properties.regionalProductAgeRatingInfos.type --- discovery/androidpublisher-v3.json | 52 +++++++++++++++++++++++++++++- src/apis/androidpublisher/v3.ts | 25 ++++++++++++++ 2 files changed, 76 insertions(+), 1 deletion(-) diff --git a/discovery/androidpublisher-v3.json b/discovery/androidpublisher-v3.json index 4785e98cc89..d277e099fb5 100644 --- a/discovery/androidpublisher-v3.json +++ b/discovery/androidpublisher-v3.json @@ -5555,7 +5555,7 @@ } } }, - "revision": "20251215", + "revision": "20260105", "rootUrl": "https://androidpublisher.googleapis.com/", "schemas": { "Abi": { @@ -8990,6 +8990,13 @@ "description": "Product tax category code to assign to the in-app product. Product tax category determines the transaction tax rates applied to the product. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.", "type": "string" }, + "regionalProductAgeRatingInfos": { + "description": "Regional age rating information. Currently this field is only supported for region code `US`.", + "items": { + "$ref": "RegionalProductAgeRatingInfo" + }, + "type": "array" + }, "taxRateInfoByRegionCode": { "additionalProperties": { "$ref": "RegionalTaxRateInfo" @@ -9654,6 +9661,13 @@ "description": "Product tax category code to assign to the one-time product. Product tax category determines the transaction tax rates applied to the product. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.", "type": "string" }, + "regionalProductAgeRatingInfos": { + "description": "Regional age rating information. Currently this field is only supported for region code `US`.", + "items": { + "$ref": "RegionalProductAgeRatingInfo" + }, + "type": "array" + }, "regionalTaxConfigs": { "description": "Regional tax configuration.", "items": { @@ -10603,6 +10617,35 @@ }, "type": "object" }, + "RegionalProductAgeRatingInfo": { + "description": "Details about the age rating for a specific geographic region.", + "id": "RegionalProductAgeRatingInfo", + "properties": { + "productAgeRatingTier": { + "description": "The age rating tier of a product for the given region.", + "enum": [ + "PRODUCT_AGE_RATING_TIER_UNKNOWN", + "PRODUCT_AGE_RATING_TIER_EVERYONE", + "PRODUCT_AGE_RATING_TIER_THIRTEEN_AND_ABOVE", + "PRODUCT_AGE_RATING_TIER_SIXTEEN_AND_ABOVE", + "PRODUCT_AGE_RATING_TIER_EIGHTEEN_AND_ABOVE" + ], + "enumDescriptions": [ + "Unknown age rating tier.", + "Age rating tier for products that are appropriate for all ages.", + "Age rating tier for products that are appropriate for 13 years and above.", + "Age rating tier for products that are appropriate for 16 years and above.", + "Age rating tier for products that are appropriate for 18 years and above." + ], + "type": "string" + }, + "regionCode": { + "description": "Region code this configuration applies to, as defined by ISO 3166-2, e.g. \"US\".", + "type": "string" + } + }, + "type": "object" + }, "RegionalSubscriptionOfferConfig": { "description": "Configuration for a subscription offer in a single region.", "id": "RegionalSubscriptionOfferConfig", @@ -11878,6 +11921,13 @@ "description": "Product tax category code to assign to the subscription. Product tax category determines the transaction tax rates applied to the subscription. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.", "type": "string" }, + "regionalProductAgeRatingInfos": { + "description": "Regional age rating information. Currently this field is only supported for region code `US`.", + "items": { + "$ref": "RegionalProductAgeRatingInfo" + }, + "type": "array" + }, "taxRateInfoByRegionCode": { "additionalProperties": { "$ref": "RegionalTaxRateInfo" diff --git a/src/apis/androidpublisher/v3.ts b/src/apis/androidpublisher/v3.ts index 38709a045e6..3d39b03279f 100644 --- a/src/apis/androidpublisher/v3.ts +++ b/src/apis/androidpublisher/v3.ts @@ -2529,6 +2529,10 @@ export namespace androidpublisher_v3 { * Product tax category code to assign to the in-app product. Product tax category determines the transaction tax rates applied to the product. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information. */ productTaxCategoryCode?: string | null; + /** + * Regional age rating information. Currently this field is only supported for region code `US`. + */ + regionalProductAgeRatingInfos?: Schema$RegionalProductAgeRatingInfo[]; /** * A mapping from region code to tax rate details. The keys are region codes as defined by Unicode's "CLDR". */ @@ -2985,6 +2989,10 @@ export namespace androidpublisher_v3 { * Product tax category code to assign to the one-time product. Product tax category determines the transaction tax rates applied to the product. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information. */ productTaxCategoryCode?: string | null; + /** + * Regional age rating information. Currently this field is only supported for region code `US`. + */ + regionalProductAgeRatingInfos?: Schema$RegionalProductAgeRatingInfo[]; /** * Regional tax configuration. */ @@ -3656,6 +3664,19 @@ export namespace androidpublisher_v3 { */ regionCode?: string | null; } + /** + * Details about the age rating for a specific geographic region. + */ + export interface Schema$RegionalProductAgeRatingInfo { + /** + * The age rating tier of a product for the given region. + */ + productAgeRatingTier?: string | null; + /** + * Region code this configuration applies to, as defined by ISO 3166-2, e.g. "US". + */ + regionCode?: string | null; + } /** * Configuration for a subscription offer in a single region. */ @@ -4556,6 +4577,10 @@ export namespace androidpublisher_v3 { * Product tax category code to assign to the subscription. Product tax category determines the transaction tax rates applied to the subscription. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information. */ productTaxCategoryCode?: string | null; + /** + * Regional age rating information. Currently this field is only supported for region code `US`. + */ + regionalProductAgeRatingInfos?: Schema$RegionalProductAgeRatingInfo[]; /** * A mapping from region code to tax rate details. The keys are region codes as defined by Unicode's "CLDR". */ From efdcfa3578c4d5fe3d68e5b757f1e25a211506ca Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 9 Jan 2026 01:38:11 +0000 Subject: [PATCH 03/26] fix(appsmarket): update the API --- discovery/appsmarket-v2.json | 283 ++++++++++++++ src/apis/appsmarket/README.md | 28 ++ src/apis/appsmarket/index.ts | 45 +++ src/apis/appsmarket/package.json | 43 +++ src/apis/appsmarket/tsconfig.json | 10 + src/apis/appsmarket/v2.ts | 527 ++++++++++++++++++++++++++ src/apis/appsmarket/webpack.config.js | 79 ++++ 7 files changed, 1015 insertions(+) create mode 100644 discovery/appsmarket-v2.json create mode 100644 src/apis/appsmarket/README.md create mode 100644 src/apis/appsmarket/index.ts create mode 100644 src/apis/appsmarket/package.json create mode 100644 src/apis/appsmarket/tsconfig.json create mode 100644 src/apis/appsmarket/v2.ts create mode 100644 src/apis/appsmarket/webpack.config.js diff --git a/discovery/appsmarket-v2.json b/discovery/appsmarket-v2.json new file mode 100644 index 00000000000..a1ce94a8b3c --- /dev/null +++ b/discovery/appsmarket-v2.json @@ -0,0 +1,283 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/appsmarketplace.license": { + "description": "View your installed application's licensing information" + } + } + } + }, + "basePath": "", + "baseUrl": "https://appsmarket.googleapis.com/", + "batchPath": "batch", + "canonicalName": "G Suite Marketplace API", + "description": "Lets your Google Workspace Marketplace applications integrate with Google's installtion and licensing services. ", + "discoveryVersion": "v1", + "documentationLink": "https://developers.google.com/workspace/marketplace", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "appsmarket:v2", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://appsmarket.mtls.googleapis.com/", + "name": "appsmarket", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "customerLicense": { + "methods": { + "get": { + "description": "Gets the status of a license for a customer to determine if they have access for a given app.", + "flatPath": "appsmarket/v2/customerLicense/{applicationId}/{customerId}", + "httpMethod": "GET", + "id": "appsmarket.customerLicense.get", + "parameterOrder": [ + "applicationId", + "customerId" + ], + "parameters": { + "applicationId": { + "description": "Application Id", + "location": "path", + "required": true, + "type": "string" + }, + "customerId": { + "description": "Customer Id", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "appsmarket/v2/customerLicense/{applicationId}/{customerId}", + "response": { + "$ref": "CustomerLicense" + }, + "scopes": [ + "https://www.googleapis.com/auth/appsmarketplace.license" + ] + } + } + }, + "userLicense": { + "methods": { + "get": { + "description": "Gets the user's licensing status for their permission to use a given app.", + "flatPath": "appsmarket/v2/userLicense/{applicationId}/{userId}", + "httpMethod": "GET", + "id": "appsmarket.userLicense.get", + "parameterOrder": [ + "applicationId", + "userId" + ], + "parameters": { + "applicationId": { + "description": "Application Id", + "location": "path", + "required": true, + "type": "string" + }, + "userId": { + "description": "User Id", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "appsmarket/v2/userLicense/{applicationId}/{userId}", + "response": { + "$ref": "UserLicense" + }, + "scopes": [ + "https://www.googleapis.com/auth/appsmarketplace.license" + ] + } + } + } + }, + "revision": "20251217", + "rootUrl": "https://appsmarket.googleapis.com/", + "schemas": { + "CustomerLicense": { + "id": "CustomerLicense", + "properties": { + "applicationId": { + "description": "The ID of the application corresponding to this license query.", + "type": "string" + }, + "customerId": { + "description": "The domain name of the customer.", + "type": "string" + }, + "editions": { + "deprecated": true, + "description": "(Deprecated)", + "items": { + "$ref": "Editions" + }, + "type": "array" + }, + "id": { + "description": "The ID of the customer license.", + "type": "string" + }, + "kind": { + "description": "The type of API resource. This is always appsmarket#customerLicense.", + "type": "string" + }, + "state": { + "description": "The customer's license status. One of: - `ACTIVE`: The customer has a valid license. - `UNLICENSED`: There is no license: either this customer has never installed your application, or else has deleted it.", + "type": "string" + } + }, + "type": "object" + }, + "Editions": { + "id": "Editions", + "properties": { + "assignedSeats": { + "deprecated": true, + "description": "(Deprecated)", + "format": "int32", + "type": "integer" + }, + "editionId": { + "deprecated": true, + "description": "(Deprecated)", + "type": "string" + }, + "seatCount": { + "deprecated": true, + "description": "(Deprecated)", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "UserLicense": { + "id": "UserLicense", + "properties": { + "applicationId": { + "description": "The ID of the application corresponding to the license query.", + "type": "string" + }, + "customerId": { + "description": "The domain name of the user.", + "type": "string" + }, + "editionId": { + "deprecated": true, + "description": "(Deprecated)", + "type": "string" + }, + "enabled": { + "description": "The domain administrator has activated the application for this domain.", + "type": "boolean" + }, + "id": { + "description": "The ID of user license.", + "type": "string" + }, + "kind": { + "description": "The type of API resource. This is always appsmarket#userLicense.", + "type": "string" + }, + "state": { + "description": "The user's licensing status. One of: - `ACTIVE`: The user has a valid license and should be permitted to use the application. - `UNLICENSED`: The administrator of this user's domain never assigned a seat for the application to this user. - `EXPIRED`: The administrator assigned a seat to this user, but the license is expired.", + "type": "string" + }, + "userId": { + "description": "The email address of the user.", + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Google Workspace Marketplace API", + "version": "v2", + "version_module": true +} \ No newline at end of file diff --git a/src/apis/appsmarket/README.md b/src/apis/appsmarket/README.md new file mode 100644 index 00000000000..526cfa1d1cc --- /dev/null +++ b/src/apis/appsmarket/README.md @@ -0,0 +1,28 @@ +Google Inc. logo + +# appsmarket + +> Lets your Google Workspace Marketplace applications integrate with Google's installtion and licensing services. + +## Installation + +```sh +$ npm install @googleapis/appsmarket +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/googleapis/google-api-nodejs-client). +Information on classes can be found in [Googleapis Documentation](https://googleapis.dev/nodejs/googleapis/latest/appsmarket/classes/Appsmarket.html). + +## License +This library is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/googleapis/google-api-nodejs-client/blob/main/LICENSE). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/main/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/googleapis/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/appsmarket/index.ts b/src/apis/appsmarket/index.ts new file mode 100644 index 00000000000..6a30b2b0ece --- /dev/null +++ b/src/apis/appsmarket/index.ts @@ -0,0 +1,45 @@ +// Copyright 2020 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/*! THIS FILE IS AUTO-GENERATED */ + +import {AuthPlus, getAPI, GoogleConfigurable} from 'googleapis-common'; +import {appsmarket_v2} from './v2'; + +export const VERSIONS = { + v2: appsmarket_v2.Appsmarket, +}; + +export function appsmarket(version: 'v2'): appsmarket_v2.Appsmarket; +export function appsmarket( + options: appsmarket_v2.Options +): appsmarket_v2.Appsmarket; +export function appsmarket( + this: GoogleConfigurable, + versionOrOptions: 'v2' | appsmarket_v2.Options +) { + return getAPI('appsmarket', versionOrOptions, VERSIONS, this); +} + +const auth = new AuthPlus(); +export {auth}; +export {appsmarket_v2}; +export { + AuthPlus, + GlobalOptions, + APIRequestContext, + GoogleConfigurable, + StreamMethodOptions, + MethodOptions, + BodyResponseCallback, +} from 'googleapis-common'; diff --git a/src/apis/appsmarket/package.json b/src/apis/appsmarket/package.json new file mode 100644 index 00000000000..fe7195f1a45 --- /dev/null +++ b/src/apis/appsmarket/package.json @@ -0,0 +1,43 @@ +{ + "name": "@googleapis/appsmarket", + "version": "0.1.0", + "description": "appsmarket", + "main": "build/index.js", + "types": "build/index.d.ts", + "keywords": [ + "google" + ], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/googleapis/google-api-nodejs-client", + "bugs": { + "url": "https://github.com/googleapis/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/googleapis/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=12.0.0" + }, + "scripts": { + "fix": "gts fix", + "lint": "gts check", + "compile": "tsc -p .", + "prepare": "npm run compile", + "webpack": "webpack" + }, + "dependencies": { + "googleapis-common": "^8.0.0" + }, + "devDependencies": { + "@microsoft/api-documenter": "^7.8.10", + "@microsoft/api-extractor": "^7.8.10", + "gts": "^6.0.0", + "null-loader": "^4.0.0", + "ts-loader": "^9.0.0", + "typescript": "5.7.3", + "webpack": "^5.0.0", + "webpack-cli": "^5.0.0" + } +} diff --git a/src/apis/appsmarket/tsconfig.json b/src/apis/appsmarket/tsconfig.json new file mode 100644 index 00000000000..e0810904968 --- /dev/null +++ b/src/apis/appsmarket/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "./node_modules/gts/tsconfig-google.json", + "compilerOptions": { + "rootDir": ".", + "outDir": "build" + }, + "include": [ + "*.ts", + ] +} diff --git a/src/apis/appsmarket/v2.ts b/src/apis/appsmarket/v2.ts new file mode 100644 index 00000000000..74ad40c6172 --- /dev/null +++ b/src/apis/appsmarket/v2.ts @@ -0,0 +1,527 @@ +// Copyright 2020 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable @typescript-eslint/no-unused-vars */ +/* eslint-disable @typescript-eslint/no-empty-interface */ +/* eslint-disable @typescript-eslint/no-namespace */ +/* eslint-disable no-irregular-whitespace */ + +import { + OAuth2Client, + JWT, + Compute, + UserRefreshClient, + BaseExternalAccountClient, + GaxiosResponseWithHTTP2, + GoogleConfigurable, + createAPIRequest, + MethodOptions, + StreamMethodOptions, + GlobalOptions, + GoogleAuth, + BodyResponseCallback, + APIRequestContext, +} from 'googleapis-common'; +import {Readable} from 'stream'; + +export namespace appsmarket_v2 { + export interface Options extends GlobalOptions { + version: 'v2'; + } + + interface StandardParameters { + /** + * Auth client or API Key for the request + */ + auth?: + | string + | OAuth2Client + | JWT + | Compute + | UserRefreshClient + | BaseExternalAccountClient + | GoogleAuth; + + /** + * V1 error format. + */ + '$.xgafv'?: string; + /** + * OAuth access token. + */ + access_token?: string; + /** + * Data format for response. + */ + alt?: string; + /** + * JSONP + */ + callback?: string; + /** + * Selector specifying which fields to include in a partial response. + */ + fields?: string; + /** + * API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. + */ + key?: string; + /** + * OAuth 2.0 token for the current user. + */ + oauth_token?: string; + /** + * Returns response with indentations and line breaks. + */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + */ + quotaUser?: string; + /** + * Legacy upload protocol for media (e.g. "media", "multipart"). + */ + uploadType?: string; + /** + * Upload protocol for media (e.g. "raw", "multipart"). + */ + upload_protocol?: string; + } + + /** + * Google Workspace Marketplace API + * + * Lets your Google Workspace Marketplace applications integrate with Google's installtion and licensing services. + * + * @example + * ```js + * const {google} = require('googleapis'); + * const appsmarket = google.appsmarket('v2'); + * ``` + */ + export class Appsmarket { + context: APIRequestContext; + customerLicense: Resource$Customerlicense; + userLicense: Resource$Userlicense; + + constructor(options: GlobalOptions, google?: GoogleConfigurable) { + this.context = { + _options: options || {}, + google, + }; + + this.customerLicense = new Resource$Customerlicense(this.context); + this.userLicense = new Resource$Userlicense(this.context); + } + } + + export interface Schema$CustomerLicense { + /** + * The ID of the application corresponding to this license query. + */ + applicationId?: string | null; + /** + * The domain name of the customer. + */ + customerId?: string | null; + /** + * (Deprecated) + */ + editions?: Schema$Editions[]; + /** + * The ID of the customer license. + */ + id?: string | null; + /** + * The type of API resource. This is always appsmarket#customerLicense. + */ + kind?: string | null; + /** + * The customer's license status. One of: - `ACTIVE`: The customer has a valid license. - `UNLICENSED`: There is no license: either this customer has never installed your application, or else has deleted it. + */ + state?: string | null; + } + export interface Schema$Editions { + /** + * (Deprecated) + */ + assignedSeats?: number | null; + /** + * (Deprecated) + */ + editionId?: string | null; + /** + * (Deprecated) + */ + seatCount?: number | null; + } + export interface Schema$UserLicense { + /** + * The ID of the application corresponding to the license query. + */ + applicationId?: string | null; + /** + * The domain name of the user. + */ + customerId?: string | null; + /** + * (Deprecated) + */ + editionId?: string | null; + /** + * The domain administrator has activated the application for this domain. + */ + enabled?: boolean | null; + /** + * The ID of user license. + */ + id?: string | null; + /** + * The type of API resource. This is always appsmarket#userLicense. + */ + kind?: string | null; + /** + * The user's licensing status. One of: - `ACTIVE`: The user has a valid license and should be permitted to use the application. - `UNLICENSED`: The administrator of this user's domain never assigned a seat for the application to this user. - `EXPIRED`: The administrator assigned a seat to this user, but the license is expired. + */ + state?: string | null; + /** + * The email address of the user. + */ + userId?: string | null; + } + + export class Resource$Customerlicense { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Gets the status of a license for a customer to determine if they have access for a given app. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/appsmarket.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const appsmarket = google.appsmarket('v2'); + * + * 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/appsmarketplace.license'], + * }); + * + * // 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 appsmarket.customerLicense.get({ + * // Application Id + * applicationId: 'placeholder-value', + * // Customer Id + * customerId: 'placeholder-value', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "applicationId": "my_applicationId", + * // "customerId": "my_customerId", + * // "editions": [], + * // "id": "my_id", + * // "kind": "my_kind", + * // "state": "my_state" + * // } + * } + * + * 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. + */ + get( + params: Params$Resource$Customerlicense$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Customerlicense$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Customerlicense$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Customerlicense$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Customerlicense$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Customerlicense$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Customerlicense$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Customerlicense$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://appsmarket.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/appsmarket/v2/customerLicense/{applicationId}/{customerId}' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['applicationId', 'customerId'], + pathParams: ['applicationId', 'customerId'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Customerlicense$Get extends StandardParameters { + /** + * Application Id + */ + applicationId?: string; + /** + * Customer Id + */ + customerId?: string; + } + + export class Resource$Userlicense { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Gets the user's licensing status for their permission to use a given app. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/appsmarket.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const appsmarket = google.appsmarket('v2'); + * + * 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/appsmarketplace.license'], + * }); + * + * // 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 appsmarket.userLicense.get({ + * // Application Id + * applicationId: 'placeholder-value', + * // User Id + * userId: 'placeholder-value', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "applicationId": "my_applicationId", + * // "customerId": "my_customerId", + * // "editionId": "my_editionId", + * // "enabled": false, + * // "id": "my_id", + * // "kind": "my_kind", + * // "state": "my_state", + * // "userId": "my_userId" + * // } + * } + * + * 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. + */ + get( + params: Params$Resource$Userlicense$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Userlicense$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Userlicense$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Userlicense$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Userlicense$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Userlicense$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || {}) as Params$Resource$Userlicense$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Userlicense$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://appsmarket.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/appsmarket/v2/userLicense/{applicationId}/{userId}' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['applicationId', 'userId'], + pathParams: ['applicationId', 'userId'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Userlicense$Get extends StandardParameters { + /** + * Application Id + */ + applicationId?: string; + /** + * User Id + */ + userId?: string; + } +} diff --git a/src/apis/appsmarket/webpack.config.js b/src/apis/appsmarket/webpack.config.js new file mode 100644 index 00000000000..b1bf58fd06f --- /dev/null +++ b/src/apis/appsmarket/webpack.config.js @@ -0,0 +1,79 @@ +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Use `npm run webpack` to produce Webpack bundle for this library. + +const path = require('path'); + +module.exports = { + entry: './index.ts', + resolve: { + extensions: ['.ts', '.js', '.json'], + fallback: { + crypto: false, + child_process: false, + fs: false, + http2: false, + buffer: 'browserify', + process: false, + os: false, + querystring: false, + path: false, + stream: 'stream-browserify', + url: false, + util: false, + zlib: false, + }, + }, + output: { + library: 'Appsmarket', + filename: 'appsmarket.min.js', + path: path.resolve(__dirname, 'dist'), + }, + module: { + rules: [ + { + test: /node_modules[\\/]google-auth-library[\\/]src[\\/]crypto[\\/]node[\\/]crypto/, + use: 'null-loader', + }, + { + test: /node_modules[\\/]https-proxy-agent[\\/]/, + use: 'null-loader', + }, + { + test: /node_modules[\\/]gcp-metadata[\\/]/, + use: 'null-loader', + }, + { + test: /node_modules[\\/]gtoken[\\/]/, + use: 'null-loader', + }, + { + test: /node_modules[\\/]pkginfo[\\/]/, + use: 'null-loader', + }, + { + test: /node_modules[\\/]semver[\\/]/, + use: 'null-loader', + }, + { + test: /\.ts$/, + use: 'ts-loader', + exclude: /node_modules/, + }, + ], + }, + mode: 'production', + plugins: [], +}; From e0e919b9163de7bc96f41a365352971b44b58df6 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 9 Jan 2026 01:38:11 +0000 Subject: [PATCH 04/26] feat(backupdr): update the API #### backupdr:v1 The following keys were added: - schemas.AlloyDBClusterBackupPlanAssociationProperties.description - schemas.AlloyDBClusterBackupPlanAssociationProperties.id - schemas.AlloyDBClusterBackupPlanAssociationProperties.type - schemas.BackupPlanAssociation.properties.alloydbClusterBackupPlanAssociationProperties.$ref - schemas.BackupPlanAssociation.properties.alloydbClusterBackupPlanAssociationProperties.description - schemas.BackupPlanAssociation.properties.alloydbClusterBackupPlanAssociationProperties.readOnly - schemas.BackupPlanAssociation.properties.filestoreInstanceBackupPlanAssociationProperties.$ref - schemas.BackupPlanAssociation.properties.filestoreInstanceBackupPlanAssociationProperties.description - schemas.BackupPlanAssociation.properties.filestoreInstanceBackupPlanAssociationProperties.readOnly - schemas.FilestoreInstanceBackupPlanAssociationProperties.description - schemas.FilestoreInstanceBackupPlanAssociationProperties.id - schemas.FilestoreInstanceBackupPlanAssociationProperties.properties.instanceCreateTime.description - schemas.FilestoreInstanceBackupPlanAssociationProperties.properties.instanceCreateTime.format - schemas.FilestoreInstanceBackupPlanAssociationProperties.properties.instanceCreateTime.readOnly - schemas.FilestoreInstanceBackupPlanAssociationProperties.properties.instanceCreateTime.type - schemas.FilestoreInstanceBackupPlanAssociationProperties.type The following keys were changed: - resources.projects.resources.locations.resources.backupPlanAssociations.methods.create.parameters.parent.description - resources.projects.resources.locations.resources.backupPlanAssociations.methods.fetchForResourceType.parameters.resourceType.description - resources.projects.resources.locations.resources.backupPlanAssociations.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.backupPlans.methods.create.parameters.parent.description - resources.projects.resources.locations.resources.backupPlans.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.backupPlans.resources.revisions.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.backupVaults.resources.dataSources.resources.backups.methods.fetchForResourceType.parameters.resourceType.description - resources.projects.resources.locations.resources.dataSourceReferences.methods.fetchForResourceType.parameters.resourceType.description - resources.projects.resources.locations.resources.managementServers.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.managementServers.methods.msComplianceMetadata.parameters.parent.description - resources.projects.resources.locations.resources.resourceBackupConfigs.methods.list.parameters.parent.description - schemas.BackupConfigDetails.properties.backupDrPlanConfig.description - schemas.BackupConfigDetails.properties.backupDrTemplateConfig.description - schemas.BackupConfigDetails.properties.type.enumDescriptions - schemas.BackupDrPlanConfig.description - schemas.BackupDrTemplateConfig.description - schemas.BackupPlan.properties.backupVaultServiceAccount.description - schemas.BackupPlan.properties.logRetentionDays.description - schemas.BackupWindow.properties.endHourOfDay.description - schemas.BackupWindow.properties.startHourOfDay.description - schemas.DataSourceGcpResourceInfo.description - schemas.DataSourceGcpResourceInfo.properties.gcpResourcename.description - schemas.DataSourceGcpResourceInfo.properties.location.description - schemas.DataSourceGcpResourceInfo.properties.type.description - schemas.DataSourceReference.properties.dataSourceGcpResourceInfo.description - schemas.FetchMsComplianceMetadataResponse.properties.isAssuredWorkload.description - schemas.InitializeServiceRequest.properties.requestId.description - schemas.ManagementServer.properties.oauth2ClientId.description - schemas.NetworkConfig.properties.peeringMode.enumDescriptions - schemas.StandardSchedule.properties.timeZone.description --- discovery/backupdr-v1.json | 93 +++++++++++++++++++++----------- src/apis/backupdr/v1.ts | 105 +++++++++++++++++++++++-------------- 2 files changed, 127 insertions(+), 71 deletions(-) diff --git a/discovery/backupdr-v1.json b/discovery/backupdr-v1.json index f51f9c65843..d7e717a74eb 100644 --- a/discovery/backupdr-v1.json +++ b/discovery/backupdr-v1.json @@ -225,7 +225,7 @@ "type": "string" }, "parent": { - "description": "Required. The backup plan association project and location in the format `projects/{project_id}/locations/{location}`. In Cloud BackupDR locations map to GCP regions, for example **us-central1**.", + "description": "Required. The backup plan association project and location in the format `projects/{project_id}/locations/{location}`. In Backup and DR locations map to Google Cloud regions, for example **us-central1**.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -316,7 +316,7 @@ "type": "string" }, "resourceType": { - "description": "Required. The type of the GCP resource. Ex: sql.googleapis.com/Instance", + "description": "Required. The type of the Google Cloud resource. Ex: sql.googleapis.com/Instance", "location": "query", "type": "string" } @@ -380,7 +380,7 @@ "type": "string" }, "parent": { - "description": "Required. The project and location for which to retrieve backup Plan Associations information, in the format `projects/{project_id}/locations/{location}`. In Cloud BackupDR, locations map to GCP regions, for example **us-central1**. To retrieve backup plan associations for all locations, use \"-\" for the `{location}` value.", + "description": "Required. The project and location for which to retrieve backup Plan Associations information, in the format `projects/{project_id}/locations/{location}`. In Backup and DR, locations map to Google Cloud regions, for example **us-central1**. To retrieve backup plan associations for all locations, use \"-\" for the `{location}` value.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -481,7 +481,7 @@ "type": "string" }, "parent": { - "description": "Required. The `BackupPlan` project and location in the format `projects/{project}/locations/{location}`. In Cloud BackupDR locations map to GCP regions, for example **us-central1**.", + "description": "Required. The `BackupPlan` project and location in the format `projects/{project}/locations/{location}`. In Google Cloud Backup and DR locations map to Google Cloud regions, for example **us-central1**.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -590,7 +590,7 @@ "type": "string" }, "parent": { - "description": "Required. The project and location for which to retrieve `BackupPlans` information. Format: `projects/{project}/locations/{location}`. In Cloud BackupDR, locations map to GCP regions, for e.g. **us-central1**. To retrieve backup plans for all locations, use \"-\" for the `{location}` value.", + "description": "Required. The project and location for which to retrieve `BackupPlans` information. Format: `projects/{project}/locations/{location}`. In Google Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. To retrieve backup plans for all locations, use \"-\" for the `{location}` value.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -694,7 +694,7 @@ "type": "string" }, "parent": { - "description": "Required. The project and location for which to retrieve `BackupPlanRevisions` information. Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`. In Cloud BackupDR, locations map to GCP regions, for e.g. **us-central1**.", + "description": "Required. The project and location for which to retrieve `BackupPlanRevisions` information. Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`. In Google Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/backupPlans/[^/]+$", "required": true, @@ -1401,7 +1401,7 @@ "type": "string" }, "resourceType": { - "description": "Required. The type of the GCP resource. Ex: sqladmin.googleapis.com/Instance", + "description": "Required. The type of the Google Cloud resource. Ex: sqladmin.googleapis.com/Instance", "location": "query", "type": "string" }, @@ -1643,7 +1643,7 @@ "type": "string" }, "resourceType": { - "description": "Required. The type of the GCP resource. Ex: sql.googleapis.com/Instance", + "description": "Required. The type of the Google Cloud resource. Ex: sql.googleapis.com/Instance", "location": "query", "type": "string" } @@ -1886,7 +1886,7 @@ "type": "string" }, "parent": { - "description": "Required. The project and location for which to retrieve management servers information, in the format 'projects/{project_id}/locations/{location}'. In Cloud BackupDR, locations map to Google Cloud regions, for example **us-central1**. To retrieve management servers for all locations, use \"-\" for the '{location}' value.", + "description": "Required. The project and location for which to retrieve management servers information, in the format 'projects/{project_id}/locations/{location}'. In Google Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. To retrieve management servers for all locations, use \"-\" for the '{location}' value.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -1911,7 +1911,7 @@ ], "parameters": { "parent": { - "description": "Required. The project and location to be used to check CSS metadata for target project information, in the format 'projects/{project_id}/locations/{location}'. In Cloud BackupDR, locations map to Google Cloud regions, for example **us-central1**.", + "description": "Required. The project and location to be used to check CSS metadata for target project information, in the format 'projects/{project_id}/locations/{location}'. In Google Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/managementServers$", "required": true, @@ -2148,7 +2148,7 @@ "type": "string" }, "parent": { - "description": "Required. The project and location for which to retrieve resource backup configs. Format: 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**.", + "description": "Required. The project and location for which to retrieve resource backup configs. Format: 'projects/{project_id}/locations/{location}'. In Google Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -2262,7 +2262,7 @@ } } }, - "revision": "20251130", + "revision": "20251227", "rootUrl": "https://backupdr.googleapis.com/", "schemas": { "AbandonBackupRequest": { @@ -2426,6 +2426,12 @@ }, "type": "object" }, + "AlloyDBClusterBackupPlanAssociationProperties": { + "description": "Properties for an AlloyDB cluster backup plan association.", + "id": "AlloyDBClusterBackupPlanAssociationProperties", + "properties": {}, + "type": "object" + }, "AlloyDBClusterDataSourceProperties": { "description": "AlloyDBClusterDataSourceProperties represents the properties of a AlloyDB cluster resource that are stored in the DataSource. .", "id": "AlloyDBClusterDataSourceProperties", @@ -2956,11 +2962,11 @@ }, "backupDrPlanConfig": { "$ref": "BackupDrPlanConfig", - "description": "Backup and DR's Backup Plan specific data." + "description": "Google Cloud Backup and DR's Backup Plan specific data." }, "backupDrTemplateConfig": { "$ref": "BackupDrTemplateConfig", - "description": "Backup and DR's Template specific data." + "description": "Google Cloud Backup and DR's Template specific data." }, "backupLocations": { "description": "The locations where the backups are to be stored.", @@ -3015,8 +3021,8 @@ "Backup config type is unspecified.", "Backup config is Cloud SQL instance's automated backup config.", "Backup config is Compute Engine Resource Policy.", - "Backup config is Backup and DR's Backup Plan.", - "Backup config is Backup and DR's Template." + "Backup config is Google Cloud Backup and DR's Backup Plan.", + "Backup config is Google Cloud Backup and DR's Template." ], "readOnly": true, "type": "string" @@ -3070,7 +3076,7 @@ "type": "object" }, "BackupDrPlanConfig": { - "description": "BackupDrPlanConfig has additional information about Backup and DR's Plan backup configuration.", + "description": "BackupDrPlanConfig has additional information about Google Cloud Backup and DR's Plan backup configuration.", "id": "BackupDrPlanConfig", "properties": { "backupDrPlanRules": { @@ -3102,7 +3108,7 @@ "type": "object" }, "BackupDrTemplateConfig": { - "description": "BackupDrTemplateConfig has additional information about Backup and DR's Template backup configuration.", + "description": "Provides additional information about Google Cloud Backup and DR's Template backup configuration.", "id": "BackupDrTemplateConfig", "properties": { "firstPartyManagementUri": { @@ -3203,7 +3209,7 @@ "type": "string" }, "backupVaultServiceAccount": { - "description": "Output only. The Google Cloud Platform Service Account to be used by the BackupVault for taking backups. Specify the email address of the Backup Vault Service Account.", + "description": "Output only. The Google Cloud service account to be used by the BackupVault for taking backups. Specify the email address of the Backup Vault Service Account.", "readOnly": true, "type": "string" }, @@ -3229,7 +3235,7 @@ "type": "object" }, "logRetentionDays": { - "description": "Optional. Applicable only for CloudSQL resource_type. Configures how long logs will be stored. It is defined in “days”. This value should be greater than or equal to minimum enforced log retention duration of the backup vault.", + "description": "Optional. Applicable only for Cloud SQL resource_type. Configures how long logs will be stored. It is defined in “days”. This value should be greater than or equal to minimum enforced log retention duration of the backup vault.", "format": "int64", "type": "string" }, @@ -3299,6 +3305,11 @@ "description": "A BackupPlanAssociation represents a single BackupPlanAssociation which contains details like workload, backup plan etc", "id": "BackupPlanAssociation", "properties": { + "alloydbClusterBackupPlanAssociationProperties": { + "$ref": "AlloyDBClusterBackupPlanAssociationProperties", + "description": "Output only. AlloyDB cluster's backup plan association properties.", + "readOnly": true + }, "backupPlan": { "description": "Required. Resource name of backup plan which needs to be applied on workload. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}", "type": "string" @@ -3329,6 +3340,11 @@ "readOnly": true, "type": "string" }, + "filestoreInstanceBackupPlanAssociationProperties": { + "$ref": "FilestoreInstanceBackupPlanAssociationProperties", + "description": "Output only. Filestore instance's backup plan association properties.", + "readOnly": true + }, "name": { "description": "Output only. Identifier. The resource name of BackupPlanAssociation in below format Format : projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}", "readOnly": true, @@ -3591,12 +3607,12 @@ "id": "BackupWindow", "properties": { "endHourOfDay": { - "description": "Required. The hour of day (1-24) when the window end for e.g. if value of end hour of day is 10 that mean backup window end time is 10:00. End hour of day should be greater than start hour of day. 0 <= start_hour_of_day < end_hour_of_day <= 24 End hour of day is not include in backup window that mean if end_hour_of_day= 10 jobs should start before 10:00.", + "description": "Required. The hour of day (1-24) when the window end for example if value of end hour of day is 10 that mean backup window end time is 10:00. End hour of day should be greater than start hour of day. 0 <= start_hour_of_day < end_hour_of_day <= 24 End hour of day is not include in backup window that mean if end_hour_of_day= 10 jobs should start before 10:00.", "format": "int32", "type": "integer" }, "startHourOfDay": { - "description": "Required. The hour of day (0-23) when the window starts for e.g. if value of start hour of day is 6 that mean backup window start at 6:00.", + "description": "Required. The hour of day (0-23) when the window starts for example if value of start hour of day is 6 that mean backup window start at 6:00.", "format": "int32", "type": "integer" } @@ -4279,7 +4295,7 @@ "type": "object" }, "DataSourceGcpResourceInfo": { - "description": "The GCP resource that the DataSource is associated with.", + "description": "The Google Cloud resource that the DataSource is associated with.", "id": "DataSourceGcpResourceInfo", "properties": { "cloudSqlInstanceProperties": { @@ -4288,17 +4304,17 @@ "readOnly": true }, "gcpResourcename": { - "description": "Output only. The resource name of the GCP resource. Ex: projects/{project}/zones/{zone}/instances/{instance}", + "description": "Output only. The resource name of the Google Cloud resource. Ex: projects/{project}/zones/{zone}/instances/{instance}", "readOnly": true, "type": "string" }, "location": { - "description": "Output only. The location of the GCP resource. Ex: //\"global\"/\"unspecified\"", + "description": "Output only. The location of the Google Cloud resource. Ex: //\"global\"/\"unspecified\"", "readOnly": true, "type": "string" }, "type": { - "description": "Output only. The type of the GCP resource. Ex: compute.googleapis.com/Instance", + "description": "Output only. The type of the Google Cloud resource. Ex: compute.googleapis.com/Instance", "readOnly": true, "type": "string" } @@ -4348,7 +4364,7 @@ }, "dataSourceGcpResourceInfo": { "$ref": "DataSourceGcpResourceInfo", - "description": "Output only. The GCP resource that the DataSource is associated with.", + "description": "Output only. The Google Cloud resource that the DataSource is associated with.", "readOnly": true }, "name": { @@ -4813,7 +4829,7 @@ "id": "FetchMsComplianceMetadataResponse", "properties": { "isAssuredWorkload": { - "description": "The ms compliance metadata of the target project, if the project is an assured workloads project, values will be true, otherwise false.", + "description": "The ms compliance metadata of the target project, if the project is an Assured Workloads project, values will be true, otherwise false.", "type": "boolean" } }, @@ -4844,6 +4860,19 @@ }, "type": "object" }, + "FilestoreInstanceBackupPlanAssociationProperties": { + "description": "Filestore instance's BPA properties.", + "id": "FilestoreInstanceBackupPlanAssociationProperties", + "properties": { + "instanceCreateTime": { + "description": "Output only. The time when the instance was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "FinalizeBackupRequest": { "description": "Message for finalizing a Backup.", "id": "FinalizeBackupRequest", @@ -5031,7 +5060,7 @@ "description": "Optional. The configuration for initializing a Cloud SQL instance." }, "requestId": { - "description": "Optional. 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. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he 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).", + "description": "Optional. 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. The server will guarantee that for at least 60 minutes since the first request. 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).", "type": "string" }, "resourceType": { @@ -5461,7 +5490,7 @@ "type": "array" }, "oauth2ClientId": { - "description": "Output only. The OAuth 2.0 client id is required to make API calls to the BackupDR instance API of this ManagementServer. This is the value that should be provided in the 'aud' field of the OIDC ID Token (see openid specification https://openid.net/specs/openid-connect-core-1_0.html#IDToken).", + "description": "Output only. The OAuth 2.0 client id is required to make API calls to the Backup and DR instance API of this ManagementServer. This is the value that should be provided in the 'aud' field of the OIDC ID Token (see openid specification https://openid.net/specs/openid-connect-core-1_0.html#IDToken).", "readOnly": true, "type": "string" }, @@ -5578,7 +5607,7 @@ ], "enumDescriptions": [ "Peering mode not set.", - "Connect using Private Service Access to the Management Server. Private services access provides an IP address range for multiple Google Cloud services, including Cloud BackupDR." + "Connect using Private Service Access to the Management Server. Private services access provides an IP address range for multiple Google Cloud services, including Google Cloud Backup and DR." ], "type": "string" } @@ -6344,7 +6373,7 @@ "type": "string" }, "timeZone": { - "description": "Required. The time zone to be used when interpreting the schedule. The value of this field must be a time zone name from the IANA tz database. See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for the list of valid timezone names. For e.g., Europe/Paris.", + "description": "Required. The time zone to be used when interpreting the schedule. The value of this field must be a time zone name from the IANA tz database. See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for the list of valid timezone names. For example, Europe/Paris.", "type": "string" }, "weekDayOfMonth": { diff --git a/src/apis/backupdr/v1.ts b/src/apis/backupdr/v1.ts index b652b663a07..13bd47bf22f 100644 --- a/src/apis/backupdr/v1.ts +++ b/src/apis/backupdr/v1.ts @@ -234,6 +234,10 @@ export namespace backupdr_v1 { */ values?: string[] | null; } + /** + * Properties for an AlloyDB cluster backup plan association. + */ + export interface Schema$AlloyDBClusterBackupPlanAssociationProperties {} /** * AlloyDbClusterBackupProperties represents AlloyDB cluster backup properties. . */ @@ -568,11 +572,11 @@ export namespace backupdr_v1 { */ backupConfigSourceDisplayName?: string | null; /** - * Backup and DR's Backup Plan specific data. + * Google Cloud Backup and DR's Backup Plan specific data. */ backupDrPlanConfig?: Schema$BackupDrPlanConfig; /** - * Backup and DR's Template specific data. + * Google Cloud Backup and DR's Template specific data. */ backupDrTemplateConfig?: Schema$BackupDrTemplateConfig; /** @@ -626,7 +630,7 @@ export namespace backupdr_v1 { lastSuccessfulBackupConsistencyTime?: string | null; } /** - * BackupDrPlanConfig has additional information about Backup and DR's Plan backup configuration. + * BackupDrPlanConfig has additional information about Google Cloud Backup and DR's Plan backup configuration. */ export interface Schema$BackupDrPlanConfig { /** @@ -648,7 +652,7 @@ export namespace backupdr_v1 { ruleId?: string | null; } /** - * BackupDrTemplateConfig has additional information about Backup and DR's Template backup configuration. + * Provides additional information about Google Cloud Backup and DR's Template backup configuration. */ export interface Schema$BackupDrTemplateConfig { /** @@ -720,7 +724,7 @@ export namespace backupdr_v1 { */ backupVault?: string | null; /** - * Output only. The Google Cloud Platform Service Account to be used by the BackupVault for taking backups. Specify the email address of the Backup Vault Service Account. + * Output only. The Google Cloud service account to be used by the BackupVault for taking backups. Specify the email address of the Backup Vault Service Account. */ backupVaultServiceAccount?: string | null; /** @@ -740,7 +744,7 @@ export namespace backupdr_v1 { */ labels?: {[key: string]: string} | null; /** - * Optional. Applicable only for CloudSQL resource_type. Configures how long logs will be stored. It is defined in “days”. This value should be greater than or equal to minimum enforced log retention duration of the backup vault. + * Optional. Applicable only for Cloud SQL resource_type. Configures how long logs will be stored. It is defined in “days”. This value should be greater than or equal to minimum enforced log retention duration of the backup vault. */ logRetentionDays?: string | null; /** @@ -780,6 +784,10 @@ export namespace backupdr_v1 { * A BackupPlanAssociation represents a single BackupPlanAssociation which contains details like workload, backup plan etc */ export interface Schema$BackupPlanAssociation { + /** + * Output only. AlloyDB cluster's backup plan association properties. + */ + alloydbClusterBackupPlanAssociationProperties?: Schema$AlloyDBClusterBackupPlanAssociationProperties; /** * Required. Resource name of backup plan which needs to be applied on workload. Format: projects/{project\}/locations/{location\}/backupPlans/{backupPlanId\} */ @@ -804,6 +812,10 @@ export namespace backupdr_v1 { * Output only. Resource name of data source which will be used as storage location for backups taken. Format : projects/{project\}/locations/{location\}/backupVaults/{backupvault\}/dataSources/{datasource\} */ dataSource?: string | null; + /** + * Output only. Filestore instance's backup plan association properties. + */ + filestoreInstanceBackupPlanAssociationProperties?: Schema$FilestoreInstanceBackupPlanAssociationProperties; /** * Output only. Identifier. The resource name of BackupPlanAssociation in below format Format : projects/{project\}/locations/{location\}/backupPlanAssociations/{backupPlanAssociationId\} */ @@ -953,11 +965,11 @@ export namespace backupdr_v1 { */ export interface Schema$BackupWindow { /** - * Required. The hour of day (1-24) when the window end for e.g. if value of end hour of day is 10 that mean backup window end time is 10:00. End hour of day should be greater than start hour of day. 0 <= start_hour_of_day < end_hour_of_day <= 24 End hour of day is not include in backup window that mean if end_hour_of_day= 10 jobs should start before 10:00. + * Required. The hour of day (1-24) when the window end for example if value of end hour of day is 10 that mean backup window end time is 10:00. End hour of day should be greater than start hour of day. 0 <= start_hour_of_day < end_hour_of_day <= 24 End hour of day is not include in backup window that mean if end_hour_of_day= 10 jobs should start before 10:00. */ endHourOfDay?: number | null; /** - * Required. The hour of day (0-23) when the window starts for e.g. if value of start hour of day is 6 that mean backup window start at 6:00. + * Required. The hour of day (0-23) when the window starts for example if value of start hour of day is 6 that mean backup window start at 6:00. */ startHourOfDay?: number | null; } @@ -1442,7 +1454,7 @@ export namespace backupdr_v1 { type?: string | null; } /** - * The GCP resource that the DataSource is associated with. + * The Google Cloud resource that the DataSource is associated with. */ export interface Schema$DataSourceGcpResourceInfo { /** @@ -1450,15 +1462,15 @@ export namespace backupdr_v1 { */ cloudSqlInstanceProperties?: Schema$CloudSqlInstanceDataSourceReferenceProperties; /** - * Output only. The resource name of the GCP resource. Ex: projects/{project\}/zones/{zone\}/instances/{instance\} + * Output only. The resource name of the Google Cloud resource. Ex: projects/{project\}/zones/{zone\}/instances/{instance\} */ gcpResourcename?: string | null; /** - * Output only. The location of the GCP resource. Ex: //"global"/"unspecified" + * Output only. The location of the Google Cloud resource. Ex: //"global"/"unspecified" */ location?: string | null; /** - * Output only. The type of the GCP resource. Ex: compute.googleapis.com/Instance + * Output only. The type of the Google Cloud resource. Ex: compute.googleapis.com/Instance */ type?: string | null; } @@ -1487,7 +1499,7 @@ export namespace backupdr_v1 { */ dataSourceBackupCount?: string | null; /** - * Output only. The GCP resource that the DataSource is associated with. + * Output only. The Google Cloud resource that the DataSource is associated with. */ dataSourceGcpResourceInfo?: Schema$DataSourceGcpResourceInfo; /** @@ -1827,7 +1839,7 @@ export namespace backupdr_v1 { */ export interface Schema$FetchMsComplianceMetadataResponse { /** - * The ms compliance metadata of the target project, if the project is an assured workloads project, values will be true, otherwise false. + * The ms compliance metadata of the target project, if the project is an Assured Workloads project, values will be true, otherwise false. */ isAssuredWorkload?: boolean | null; } @@ -1848,6 +1860,15 @@ export namespace backupdr_v1 { */ unreachable?: string[] | null; } + /** + * Filestore instance's BPA properties. + */ + export interface Schema$FilestoreInstanceBackupPlanAssociationProperties { + /** + * Output only. The time when the instance was created. + */ + instanceCreateTime?: string | null; + } /** * Message for finalizing a Backup. */ @@ -1979,7 +2000,7 @@ export namespace backupdr_v1 { */ cloudSqlInstanceInitializationConfig?: Schema$CloudSqlInstanceInitializationConfig; /** - * Optional. 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. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he 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). + * Optional. 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. The server will guarantee that for at least 60 minutes since the first request. 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 | null; /** @@ -2270,7 +2291,7 @@ export namespace backupdr_v1 { */ networks?: Schema$NetworkConfig[]; /** - * Output only. The OAuth 2.0 client id is required to make API calls to the BackupDR instance API of this ManagementServer. This is the value that should be provided in the 'aud' field of the OIDC ID Token (see openid specification https://openid.net/specs/openid-connect-core-1_0.html#IDToken). + * Output only. The OAuth 2.0 client id is required to make API calls to the Backup and DR instance API of this ManagementServer. This is the value that should be provided in the 'aud' field of the OIDC ID Token (see openid specification https://openid.net/specs/openid-connect-core-1_0.html#IDToken). */ oauth2ClientId?: string | null; /** @@ -2781,7 +2802,7 @@ export namespace backupdr_v1 { */ recurrenceType?: string | null; /** - * Required. The time zone to be used when interpreting the schedule. The value of this field must be a time zone name from the IANA tz database. See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for the list of valid timezone names. For e.g., Europe/Paris. + * Required. The time zone to be used when interpreting the schedule. The value of this field must be a time zone name from the IANA tz database. See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for the list of valid timezone names. For example, Europe/Paris. */ timeZone?: string | null; /** @@ -3476,7 +3497,7 @@ export namespace backupdr_v1 { * const res = await backupdr.projects.locations.backupPlanAssociations.create({ * // Required. The name of the backup plan association to create. The name must be unique for the specified project and location. * backupPlanAssociationId: 'placeholder-value', - * // Required. The backup plan association project and location in the format `projects/{project_id\}/locations/{location\}`. In Cloud BackupDR locations map to GCP regions, for example **us-central1**. + * // Required. The backup plan association project and location in the format `projects/{project_id\}/locations/{location\}`. In Backup and DR locations map to Google Cloud regions, for example **us-central1**. * parent: 'projects/my-project/locations/my-location', * // Optional. 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. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he 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', @@ -3485,12 +3506,14 @@ export namespace backupdr_v1 { * requestBody: { * // request body parameters * // { + * // "alloydbClusterBackupPlanAssociationProperties": {}, * // "backupPlan": "my_backupPlan", * // "backupPlanRevisionId": "my_backupPlanRevisionId", * // "backupPlanRevisionName": "my_backupPlanRevisionName", * // "cloudSqlInstanceBackupPlanAssociationProperties": {}, * // "createTime": "my_createTime", * // "dataSource": "my_dataSource", + * // "filestoreInstanceBackupPlanAssociationProperties": {}, * // "name": "my_name", * // "resource": "my_resource", * // "resourceType": "my_resourceType", @@ -3792,7 +3815,7 @@ export namespace backupdr_v1 { * pageToken: 'placeholder-value', * // Required. The parent resource name. Format: projects/{project\}/locations/{location\} * parent: 'projects/my-project/locations/my-location', - * // Required. The type of the GCP resource. Ex: sql.googleapis.com/Instance + * // Required. The type of the Google Cloud resource. Ex: sql.googleapis.com/Instance * resourceType: 'placeholder-value', * }, * ); @@ -3949,12 +3972,14 @@ export namespace backupdr_v1 { * * // Example response * // { + * // "alloydbClusterBackupPlanAssociationProperties": {}, * // "backupPlan": "my_backupPlan", * // "backupPlanRevisionId": "my_backupPlanRevisionId", * // "backupPlanRevisionName": "my_backupPlanRevisionName", * // "cloudSqlInstanceBackupPlanAssociationProperties": {}, * // "createTime": "my_createTime", * // "dataSource": "my_dataSource", + * // "filestoreInstanceBackupPlanAssociationProperties": {}, * // "name": "my_name", * // "resource": "my_resource", * // "resourceType": "my_resourceType", @@ -4096,7 +4121,7 @@ export namespace backupdr_v1 { * pageSize: 'placeholder-value', * // Optional. A token identifying a page of results the server should return. * pageToken: 'placeholder-value', - * // Required. The project and location for which to retrieve backup Plan Associations information, in the format `projects/{project_id\}/locations/{location\}`. In Cloud BackupDR, locations map to GCP regions, for example **us-central1**. To retrieve backup plan associations for all locations, use "-" for the `{location\}` value. + * // Required. The project and location for which to retrieve backup Plan Associations information, in the format `projects/{project_id\}/locations/{location\}`. In Backup and DR, locations map to Google Cloud regions, for example **us-central1**. To retrieve backup plan associations for all locations, use "-" for the `{location\}` value. * parent: 'projects/my-project/locations/my-location', * }); * console.log(res.data); @@ -4257,12 +4282,14 @@ export namespace backupdr_v1 { * requestBody: { * // request body parameters * // { + * // "alloydbClusterBackupPlanAssociationProperties": {}, * // "backupPlan": "my_backupPlan", * // "backupPlanRevisionId": "my_backupPlanRevisionId", * // "backupPlanRevisionName": "my_backupPlanRevisionName", * // "cloudSqlInstanceBackupPlanAssociationProperties": {}, * // "createTime": "my_createTime", * // "dataSource": "my_dataSource", + * // "filestoreInstanceBackupPlanAssociationProperties": {}, * // "name": "my_name", * // "resource": "my_resource", * // "resourceType": "my_resourceType", @@ -4538,7 +4565,7 @@ export namespace backupdr_v1 { */ backupPlanAssociationId?: string; /** - * Required. The backup plan association project and location in the format `projects/{project_id\}/locations/{location\}`. In Cloud BackupDR locations map to GCP regions, for example **us-central1**. + * Required. The backup plan association project and location in the format `projects/{project_id\}/locations/{location\}`. In Backup and DR locations map to Google Cloud regions, for example **us-central1**. */ parent?: string; /** @@ -4583,7 +4610,7 @@ export namespace backupdr_v1 { */ parent?: string; /** - * Required. The type of the GCP resource. Ex: sql.googleapis.com/Instance + * Required. The type of the Google Cloud resource. Ex: sql.googleapis.com/Instance */ resourceType?: string; } @@ -4607,7 +4634,7 @@ export namespace backupdr_v1 { */ pageToken?: string; /** - * Required. The project and location for which to retrieve backup Plan Associations information, in the format `projects/{project_id\}/locations/{location\}`. In Cloud BackupDR, locations map to GCP regions, for example **us-central1**. To retrieve backup plan associations for all locations, use "-" for the `{location\}` value. + * Required. The project and location for which to retrieve backup Plan Associations information, in the format `projects/{project_id\}/locations/{location\}`. In Backup and DR, locations map to Google Cloud regions, for example **us-central1**. To retrieve backup plan associations for all locations, use "-" for the `{location\}` value. */ parent?: string; } @@ -4685,7 +4712,7 @@ export namespace backupdr_v1 { * const res = await backupdr.projects.locations.backupPlans.create({ * // Required. The name of the `BackupPlan` to create. The name must be unique for the specified project and location.The name must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens. Pattern, /a-z{,62\}/. * backupPlanId: 'placeholder-value', - * // Required. The `BackupPlan` project and location in the format `projects/{project\}/locations/{location\}`. In Cloud BackupDR locations map to GCP regions, for example **us-central1**. + * // Required. The `BackupPlan` project and location in the format `projects/{project\}/locations/{location\}`. In Google Cloud Backup and DR locations map to Google Cloud regions, for example **us-central1**. * parent: 'projects/my-project/locations/my-location', * // Optional. 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. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he 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', @@ -5148,7 +5175,7 @@ export namespace backupdr_v1 { * pageSize: 'placeholder-value', * // Optional. The value of next_page_token received from a previous `ListBackupPlans` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListBackupPlans` must match the call that provided the page token. * pageToken: 'placeholder-value', - * // Required. The project and location for which to retrieve `BackupPlans` information. Format: `projects/{project\}/locations/{location\}`. In Cloud BackupDR, locations map to GCP regions, for e.g. **us-central1**. To retrieve backup plans for all locations, use "-" for the `{location\}` value. + * // Required. The project and location for which to retrieve `BackupPlans` information. Format: `projects/{project\}/locations/{location\}`. In Google Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. To retrieve backup plans for all locations, use "-" for the `{location\}` value. * parent: 'projects/my-project/locations/my-location', * }); * console.log(res.data); @@ -5430,7 +5457,7 @@ export namespace backupdr_v1 { */ backupPlanId?: string; /** - * Required. The `BackupPlan` project and location in the format `projects/{project\}/locations/{location\}`. In Cloud BackupDR locations map to GCP regions, for example **us-central1**. + * Required. The `BackupPlan` project and location in the format `projects/{project\}/locations/{location\}`. In Google Cloud Backup and DR locations map to Google Cloud regions, for example **us-central1**. */ parent?: string; /** @@ -5477,7 +5504,7 @@ export namespace backupdr_v1 { */ pageToken?: string; /** - * Required. The project and location for which to retrieve `BackupPlans` information. Format: `projects/{project\}/locations/{location\}`. In Cloud BackupDR, locations map to GCP regions, for e.g. **us-central1**. To retrieve backup plans for all locations, use "-" for the `{location\}` value. + * Required. The project and location for which to retrieve `BackupPlans` information. Format: `projects/{project\}/locations/{location\}`. In Google Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. To retrieve backup plans for all locations, use "-" for the `{location\}` value. */ parent?: string; } @@ -5681,7 +5708,7 @@ export namespace backupdr_v1 { * pageSize: 'placeholder-value', * // Optional. The value of next_page_token received from a previous `ListBackupPlans` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListBackupPlans` must match the call that provided the page token. * pageToken: 'placeholder-value', - * // Required. The project and location for which to retrieve `BackupPlanRevisions` information. Format: `projects/{project\}/locations/{location\}/backupPlans/{backup_plan\}`. In Cloud BackupDR, locations map to GCP regions, for e.g. **us-central1**. + * // Required. The project and location for which to retrieve `BackupPlanRevisions` information. Format: `projects/{project\}/locations/{location\}/backupPlans/{backup_plan\}`. In Google Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. * parent: * 'projects/my-project/locations/my-location/backupPlans/my-backupPlan', * }); @@ -5814,7 +5841,7 @@ export namespace backupdr_v1 { */ pageToken?: string; /** - * Required. The project and location for which to retrieve `BackupPlanRevisions` information. Format: `projects/{project\}/locations/{location\}/backupPlans/{backup_plan\}`. In Cloud BackupDR, locations map to GCP regions, for e.g. **us-central1**. + * Required. The project and location for which to retrieve `BackupPlanRevisions` information. Format: `projects/{project\}/locations/{location\}/backupPlans/{backup_plan\}`. In Google Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. */ parent?: string; } @@ -8800,7 +8827,7 @@ export namespace backupdr_v1 { * // Required. Datasources are the parent resource for the backups. Format: projects/{project\}/locations/{location\}/backupVaults/{backupVaultId\}/dataSources/{datasourceId\} * parent: * 'projects/my-project/locations/my-location/backupVaults/my-backupVault/dataSources/my-dataSource', - * // Required. The type of the GCP resource. Ex: sqladmin.googleapis.com/Instance + * // Required. The type of the Google Cloud resource. Ex: sqladmin.googleapis.com/Instance * resourceType: 'placeholder-value', * // Optional. This parameter is used to specify the view of the backup. If not specified, the default view is BASIC. * view: 'placeholder-value', @@ -9600,7 +9627,7 @@ export namespace backupdr_v1 { */ parent?: string; /** - * Required. The type of the GCP resource. Ex: sqladmin.googleapis.com/Instance + * Required. The type of the Google Cloud resource. Ex: sqladmin.googleapis.com/Instance */ resourceType?: string; /** @@ -9724,7 +9751,7 @@ export namespace backupdr_v1 { * pageToken: 'placeholder-value', * // Required. The parent resource name. Format: projects/{project\}/locations/{location\} * parent: 'projects/my-project/locations/my-location', - * // Required. The type of the GCP resource. Ex: sql.googleapis.com/Instance + * // Required. The type of the Google Cloud resource. Ex: sql.googleapis.com/Instance * resourceType: 'placeholder-value', * }, * ); @@ -10166,7 +10193,7 @@ export namespace backupdr_v1 { */ parent?: string; /** - * Required. The type of the GCP resource. Ex: sql.googleapis.com/Instance + * Required. The type of the Google Cloud resource. Ex: sql.googleapis.com/Instance */ resourceType?: string; } @@ -10847,7 +10874,7 @@ export namespace backupdr_v1 { * pageSize: 'placeholder-value', * // Optional. A token identifying a page of results the server should return. * pageToken: 'placeholder-value', - * // Required. The project and location for which to retrieve management servers information, in the format 'projects/{project_id\}/locations/{location\}'. In Cloud BackupDR, locations map to Google Cloud regions, for example **us-central1**. To retrieve management servers for all locations, use "-" for the '{location\}' value. + * // Required. The project and location for which to retrieve management servers information, in the format 'projects/{project_id\}/locations/{location\}'. In Google Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. To retrieve management servers for all locations, use "-" for the '{location\}' value. * parent: 'projects/my-project/locations/my-location', * }); * console.log(res.data); @@ -10994,7 +11021,7 @@ export namespace backupdr_v1 { * // Do the magic * const res = * await backupdr.projects.locations.managementServers.msComplianceMetadata({ - * // Required. The project and location to be used to check CSS metadata for target project information, in the format 'projects/{project_id\}/locations/{location\}'. In Cloud BackupDR, locations map to Google Cloud regions, for example **us-central1**. + * // Required. The project and location to be used to check CSS metadata for target project information, in the format 'projects/{project_id\}/locations/{location\}'. In Google Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. * parent: 'projects/my-project/locations/my-location/managementServers', * * // Request body metadata @@ -11486,13 +11513,13 @@ export namespace backupdr_v1 { */ pageToken?: string; /** - * Required. The project and location for which to retrieve management servers information, in the format 'projects/{project_id\}/locations/{location\}'. In Cloud BackupDR, locations map to Google Cloud regions, for example **us-central1**. To retrieve management servers for all locations, use "-" for the '{location\}' value. + * Required. The project and location for which to retrieve management servers information, in the format 'projects/{project_id\}/locations/{location\}'. In Google Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. To retrieve management servers for all locations, use "-" for the '{location\}' value. */ parent?: string; } export interface Params$Resource$Projects$Locations$Managementservers$Mscompliancemetadata extends StandardParameters { /** - * Required. The project and location to be used to check CSS metadata for target project information, in the format 'projects/{project_id\}/locations/{location\}'. In Cloud BackupDR, locations map to Google Cloud regions, for example **us-central1**. + * Required. The project and location to be used to check CSS metadata for target project information, in the format 'projects/{project_id\}/locations/{location\}'. In Google Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. */ parent?: string; @@ -12179,7 +12206,7 @@ export namespace backupdr_v1 { * pageSize: 'placeholder-value', * // Optional. A token identifying a page of results the server should return. * pageToken: 'placeholder-value', - * // Required. The project and location for which to retrieve resource backup configs. Format: 'projects/{project_id\}/locations/{location\}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. + * // Required. The project and location for which to retrieve resource backup configs. Format: 'projects/{project_id\}/locations/{location\}'. In Google Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. * parent: 'projects/my-project/locations/my-location', * }); * console.log(res.data); @@ -12316,7 +12343,7 @@ export namespace backupdr_v1 { */ pageToken?: string; /** - * Required. The project and location for which to retrieve resource backup configs. Format: 'projects/{project_id\}/locations/{location\}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. + * Required. The project and location for which to retrieve resource backup configs. Format: 'projects/{project_id\}/locations/{location\}'. In Google Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. */ parent?: string; } From 81a5f707b8c91e40948e5bdd1c6b8a85213f8e73 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 9 Jan 2026 01:38:11 +0000 Subject: [PATCH 05/26] feat(bigquery): update the API #### bigquery:v2 The following keys were added: - schemas.BigtableColumn.properties.protoConfig.$ref - schemas.BigtableColumn.properties.protoConfig.description - schemas.BigtableColumnFamily.properties.protoConfig.$ref - schemas.BigtableColumnFamily.properties.protoConfig.description - schemas.BigtableProtoConfig.description - schemas.BigtableProtoConfig.id - schemas.BigtableProtoConfig.properties.protoMessageName.description - schemas.BigtableProtoConfig.properties.protoMessageName.type - schemas.BigtableProtoConfig.properties.schemaBundleId.description - schemas.BigtableProtoConfig.properties.schemaBundleId.type - schemas.BigtableProtoConfig.type The following keys were changed: - endpoints - schemas.BigtableColumn.properties.encoding.description - schemas.BigtableColumnFamily.properties.encoding.description --- discovery/bigquery-v2.json | 44 +++++++++++++++++++++++++++++++++++--- src/apis/bigquery/v2.ts | 25 ++++++++++++++++++++-- 2 files changed, 64 insertions(+), 5 deletions(-) diff --git a/discovery/bigquery-v2.json b/discovery/bigquery-v2.json index 809ac780583..f6c5c289336 100644 --- a/discovery/bigquery-v2.json +++ b/discovery/bigquery-v2.json @@ -59,6 +59,11 @@ "endpointUrl": "https://bigquery.europe-west3.rep.googleapis.com/", "location": "europe-west3" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://bigquery.europe-west4.rep.googleapis.com/", + "location": "europe-west4" + }, { "description": "Regional Endpoint", "endpointUrl": "https://bigquery.europe-west6.rep.googleapis.com/", @@ -79,6 +84,16 @@ "endpointUrl": "https://bigquery.me-central2.rep.googleapis.com/", "location": "me-central2" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://bigquery.northamerica-northeast1.rep.googleapis.com/", + "location": "northamerica-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://bigquery.northamerica-northeast2.rep.googleapis.com/", + "location": "northamerica-northeast2" + }, { "description": "Regional Endpoint", "endpointUrl": "https://bigquery.us-central1.rep.googleapis.com/", @@ -2375,7 +2390,7 @@ } } }, - "revision": "20251012", + "revision": "20251130", "rootUrl": "https://bigquery.googleapis.com/", "schemas": { "AggregateClassificationMetrics": { @@ -3039,7 +3054,7 @@ "id": "BigtableColumn", "properties": { "encoding": { - "description": "Optional. The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. 'encoding' can also be set at the column family level. However, the setting at this level takes precedence if 'encoding' is set at both levels.", + "description": "Optional. The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. PROTO_BINARY - indicates values are encoded using serialized proto messages. This can only be used in combination with JSON type. 'encoding' can also be set at the column family level. However, the setting at this level takes precedence if 'encoding' is set at both levels.", "type": "string" }, "fieldName": { @@ -3050,6 +3065,10 @@ "description": "Optional. If this is set, only the latest version of value in this column are exposed. 'onlyReadLatest' can also be set at the column family level. However, the setting at this level takes precedence if 'onlyReadLatest' is set at both levels.", "type": "boolean" }, + "protoConfig": { + "$ref": "BigtableProtoConfig", + "description": "Optional. Protobuf-specific configurations, only takes effect when the encoding is PROTO_BINARY." + }, "qualifierEncoded": { "description": "[Required] Qualifier of the column. Columns in the parent column family that has this exact qualifier are exposed as `.` field. If the qualifier is valid UTF-8 string, it can be specified in the qualifier_string field. Otherwise, a base-64 encoded value must be set to qualifier_encoded. The column field name is the same as the column qualifier. However, if the qualifier is not a valid BigQuery field identifier i.e. does not match a-zA-Z*, a valid identifier must be provided as field_name.", "format": "byte", @@ -3078,7 +3097,7 @@ "type": "array" }, "encoding": { - "description": "Optional. The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. This can be overridden for a specific column by listing that column in 'columns' and specifying an encoding for it.", + "description": "Optional. The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. PROTO_BINARY - indicates values are encoded using serialized proto messages. This can only be used in combination with JSON type. This can be overridden for a specific column by listing that column in 'columns' and specifying an encoding for it.", "type": "string" }, "familyId": { @@ -3089,6 +3108,10 @@ "description": "Optional. If this is set only the latest version of value are exposed for all columns in this column family. This can be overridden for a specific column by listing that column in 'columns' and specifying a different setting for that column.", "type": "boolean" }, + "protoConfig": { + "$ref": "BigtableProtoConfig", + "description": "Optional. Protobuf-specific configurations, only takes effect when the encoding is PROTO_BINARY." + }, "type": { "description": "Optional. The type to convert the value in cells of this column family. The values are expected to be encoded using HBase Bytes.toBytes function when using the BINARY encoding value. Following BigQuery types are allowed (case-sensitive): * BYTES * STRING * INTEGER * FLOAT * BOOLEAN * JSON Default type is BYTES. This can be overridden for a specific column by listing that column in 'columns' and specifying a type for it.", "type": "string" @@ -3122,6 +3145,21 @@ }, "type": "object" }, + "BigtableProtoConfig": { + "description": "Information related to a Bigtable protobuf column.", + "id": "BigtableProtoConfig", + "properties": { + "protoMessageName": { + "description": "Optional. The fully qualified proto message name of the protobuf. In the format of \"foo.bar.Message\".", + "type": "string" + }, + "schemaBundleId": { + "description": "Optional. The ID of the Bigtable SchemaBundle resource associated with this protobuf. The ID should be referred to within the parent table, e.g., `foo` rather than `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/foo`. See [more details on Bigtable SchemaBundles](https://docs.cloud.google.com/bigtable/docs/create-manage-protobuf-schemas).", + "type": "string" + } + }, + "type": "object" + }, "BinaryClassificationMetrics": { "description": "Evaluation metrics for binary classification/classifier models.", "id": "BinaryClassificationMetrics", diff --git a/src/apis/bigquery/v2.ts b/src/apis/bigquery/v2.ts index 437d4a0a041..c29626a35d0 100644 --- a/src/apis/bigquery/v2.ts +++ b/src/apis/bigquery/v2.ts @@ -502,7 +502,7 @@ export namespace bigquery_v2 { */ export interface Schema$BigtableColumn { /** - * Optional. The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. 'encoding' can also be set at the column family level. However, the setting at this level takes precedence if 'encoding' is set at both levels. + * Optional. The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. PROTO_BINARY - indicates values are encoded using serialized proto messages. This can only be used in combination with JSON type. 'encoding' can also be set at the column family level. However, the setting at this level takes precedence if 'encoding' is set at both levels. */ encoding?: string | null; /** @@ -513,6 +513,10 @@ export namespace bigquery_v2 { * Optional. If this is set, only the latest version of value in this column are exposed. 'onlyReadLatest' can also be set at the column family level. However, the setting at this level takes precedence if 'onlyReadLatest' is set at both levels. */ onlyReadLatest?: boolean | null; + /** + * Optional. Protobuf-specific configurations, only takes effect when the encoding is PROTO_BINARY. + */ + protoConfig?: Schema$BigtableProtoConfig; /** * [Required] Qualifier of the column. Columns in the parent column family that has this exact qualifier are exposed as `.` field. If the qualifier is valid UTF-8 string, it can be specified in the qualifier_string field. Otherwise, a base-64 encoded value must be set to qualifier_encoded. The column field name is the same as the column qualifier. However, if the qualifier is not a valid BigQuery field identifier i.e. does not match a-zA-Z*, a valid identifier must be provided as field_name. */ @@ -535,7 +539,7 @@ export namespace bigquery_v2 { */ columns?: Schema$BigtableColumn[]; /** - * Optional. The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. This can be overridden for a specific column by listing that column in 'columns' and specifying an encoding for it. + * Optional. The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. PROTO_BINARY - indicates values are encoded using serialized proto messages. This can only be used in combination with JSON type. This can be overridden for a specific column by listing that column in 'columns' and specifying an encoding for it. */ encoding?: string | null; /** @@ -546,6 +550,10 @@ export namespace bigquery_v2 { * Optional. If this is set only the latest version of value are exposed for all columns in this column family. This can be overridden for a specific column by listing that column in 'columns' and specifying a different setting for that column. */ onlyReadLatest?: boolean | null; + /** + * Optional. Protobuf-specific configurations, only takes effect when the encoding is PROTO_BINARY. + */ + protoConfig?: Schema$BigtableProtoConfig; /** * Optional. The type to convert the value in cells of this column family. The values are expected to be encoded using HBase Bytes.toBytes function when using the BINARY encoding value. Following BigQuery types are allowed (case-sensitive): * BYTES * STRING * INTEGER * FLOAT * BOOLEAN * JSON Default type is BYTES. This can be overridden for a specific column by listing that column in 'columns' and specifying a type for it. */ @@ -572,6 +580,19 @@ export namespace bigquery_v2 { */ readRowkeyAsString?: boolean | null; } + /** + * Information related to a Bigtable protobuf column. + */ + export interface Schema$BigtableProtoConfig { + /** + * Optional. The fully qualified proto message name of the protobuf. In the format of "foo.bar.Message". + */ + protoMessageName?: string | null; + /** + * Optional. The ID of the Bigtable SchemaBundle resource associated with this protobuf. The ID should be referred to within the parent table, e.g., `foo` rather than `projects/{project\}/instances/{instance\}/tables/{table\}/schemaBundles/foo`. See [more details on Bigtable SchemaBundles](https://docs.cloud.google.com/bigtable/docs/create-manage-protobuf-schemas). + */ + schemaBundleId?: string | null; + } /** * Evaluation metrics for binary classification/classifier models. */ From b3fe8e92bb9bfb8a3fcb7f64507146455270e66a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 9 Jan 2026 01:38:11 +0000 Subject: [PATCH 06/26] fix(chat): update the API #### chat:v1 The following keys were changed: - schemas.Message.properties.privateMessageViewer.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 a2d42fa9581..1719c210e81 100644 --- a/discovery/chat-v1.json +++ b/discovery/chat-v1.json @@ -1535,7 +1535,7 @@ } } }, - "revision": "20251215", + "revision": "20260101", "rootUrl": "https://chat.googleapis.com/", "schemas": { "AccessSettings": { @@ -4731,7 +4731,7 @@ }, "privateMessageViewer": { "$ref": "User", - "description": "Optional. Immutable. Input for creating a message, otherwise output only. The user that can view the message. When set, the message is private and only visible to the specified user and the Chat app. To include this field in your request, you must call the Chat API using [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and omit the following: * [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments) * [Accessory widgets](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#Message.AccessoryWidget) For details, see [Send a message privately](https://developers.google.com/workspace/chat/create-messages#private)." + "description": "Optional. Immutable. Input for creating a message, otherwise output only. The user that can view the message. When set, the message is private and only visible to the specified user and the Chat app. To include this field in your request, you must call the Chat API using [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and omit the following: * [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments) For details, see [Send a message privately](https://developers.google.com/workspace/chat/create-messages#private)." }, "quotedMessageMetadata": { "$ref": "QuotedMessageMetadata", diff --git a/src/apis/chat/v1.ts b/src/apis/chat/v1.ts index b74ef895391..f7e606b7da2 100644 --- a/src/apis/chat/v1.ts +++ b/src/apis/chat/v1.ts @@ -2226,7 +2226,7 @@ export namespace chat_v1 { */ name?: string | null; /** - * Optional. Immutable. Input for creating a message, otherwise output only. The user that can view the message. When set, the message is private and only visible to the specified user and the Chat app. To include this field in your request, you must call the Chat API using [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and omit the following: * [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments) * [Accessory widgets](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#Message.AccessoryWidget) For details, see [Send a message privately](https://developers.google.com/workspace/chat/create-messages#private). + * Optional. Immutable. Input for creating a message, otherwise output only. The user that can view the message. When set, the message is private and only visible to the specified user and the Chat app. To include this field in your request, you must call the Chat API using [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and omit the following: * [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments) For details, see [Send a message privately](https://developers.google.com/workspace/chat/create-messages#private). */ privateMessageViewer?: Schema$User; /** From b1ca20317b53416a0753ad081d86722e5199337f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 9 Jan 2026 01:38:11 +0000 Subject: [PATCH 07/26] fix(cloudbuild): update the API #### cloudbuild:v1 The following keys were changed: - endpoints - schemas.DefaultServiceAccount.properties.name.description #### cloudbuild:v2 The following keys were changed: - endpoints --- discovery/cloudbuild-v1.json | 14 ++++++++++++-- discovery/cloudbuild-v2.json | 12 +++++++++++- src/apis/cloudbuild/v1.ts | 2 +- 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/discovery/cloudbuild-v1.json b/discovery/cloudbuild-v1.json index 1197a5180ca..c99c2175c6a 100644 --- a/discovery/cloudbuild-v1.json +++ b/discovery/cloudbuild-v1.json @@ -66,6 +66,11 @@ "endpointUrl": "https://cloudbuild.asia-southeast2.rep.googleapis.com/", "location": "asia-southeast2" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.asia-southeast3.rep.googleapis.com/", + "location": "asia-southeast3" + }, { "description": "Regional Endpoint", "endpointUrl": "https://cloudbuild.australia-southeast1.rep.googleapis.com/", @@ -141,6 +146,11 @@ "endpointUrl": "https://cloudbuild.europe-west9.rep.googleapis.com/", "location": "europe-west9" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-west15.rep.googleapis.com/", + "location": "europe-west15" + }, { "description": "Regional Endpoint", "endpointUrl": "https://cloudbuild.me-central1.rep.googleapis.com/", @@ -2573,7 +2583,7 @@ } } }, - "revision": "20251125", + "revision": "20260106", "rootUrl": "https://cloudbuild.googleapis.com/", "schemas": { "ApprovalConfig": { @@ -3905,7 +3915,7 @@ "id": "DefaultServiceAccount", "properties": { "name": { - "description": "Identifier. Format: `projects/{project}/locations/{location}/defaultServiceAccount", + "description": "Identifier. Format: `projects/{project}/locations/{location}/defaultServiceAccount`.", "type": "string" }, "serviceAccountEmail": { diff --git a/discovery/cloudbuild-v2.json b/discovery/cloudbuild-v2.json index 6c3d998895f..2fbd6cd654f 100644 --- a/discovery/cloudbuild-v2.json +++ b/discovery/cloudbuild-v2.json @@ -66,6 +66,11 @@ "endpointUrl": "https://cloudbuild.asia-southeast2.rep.googleapis.com/", "location": "asia-southeast2" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.asia-southeast3.rep.googleapis.com/", + "location": "asia-southeast3" + }, { "description": "Regional Endpoint", "endpointUrl": "https://cloudbuild.australia-southeast1.rep.googleapis.com/", @@ -141,6 +146,11 @@ "endpointUrl": "https://cloudbuild.europe-west9.rep.googleapis.com/", "location": "europe-west9" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-west15.rep.googleapis.com/", + "location": "europe-west15" + }, { "description": "Regional Endpoint", "endpointUrl": "https://cloudbuild.me-central1.rep.googleapis.com/", @@ -1087,7 +1097,7 @@ } } }, - "revision": "20251021", + "revision": "20260106", "rootUrl": "https://cloudbuild.googleapis.com/", "schemas": { "AuditConfig": { diff --git a/src/apis/cloudbuild/v1.ts b/src/apis/cloudbuild/v1.ts index fdb75f96178..d5320049e5a 100644 --- a/src/apis/cloudbuild/v1.ts +++ b/src/apis/cloudbuild/v1.ts @@ -1038,7 +1038,7 @@ export namespace cloudbuild_v1 { */ export interface Schema$DefaultServiceAccount { /** - * Identifier. Format: `projects/{project\}/locations/{location\}/defaultServiceAccount + * Identifier. Format: `projects/{project\}/locations/{location\}/defaultServiceAccount`. */ name?: string | null; /** From 346d9a228fd16c8dc37c9c4cde9773c49fd506d0 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 9 Jan 2026 01:38:11 +0000 Subject: [PATCH 08/26] feat(cloudfunctions): update the API #### cloudfunctions:v2alpha The following keys were added: - schemas.BuildConfigOverrides.description - schemas.BuildConfigOverrides.id - schemas.BuildConfigOverrides.properties.runtime.description - schemas.BuildConfigOverrides.properties.runtime.type - schemas.BuildConfigOverrides.type - schemas.ServiceConfigOverrides.description - schemas.ServiceConfigOverrides.id - schemas.ServiceConfigOverrides.properties.maxInstanceCount.description - schemas.ServiceConfigOverrides.properties.maxInstanceCount.format - schemas.ServiceConfigOverrides.properties.maxInstanceCount.type - schemas.ServiceConfigOverrides.type - schemas.SetupFunctionUpgradeConfigRequest.properties.buildConfigOverrides.$ref - schemas.SetupFunctionUpgradeConfigRequest.properties.buildConfigOverrides.description - schemas.SetupFunctionUpgradeConfigRequest.properties.serviceConfigOverrides.$ref - schemas.SetupFunctionUpgradeConfigRequest.properties.serviceConfigOverrides.description The following keys were changed: - schemas.UpgradeInfo.properties.upgradeState.enum - schemas.UpgradeInfo.properties.upgradeState.enumDescriptions #### cloudfunctions:v2beta The following keys were added: - schemas.BuildConfigOverrides.description - schemas.BuildConfigOverrides.id - schemas.BuildConfigOverrides.properties.runtime.description - schemas.BuildConfigOverrides.properties.runtime.type - schemas.BuildConfigOverrides.type - schemas.ServiceConfigOverrides.description - schemas.ServiceConfigOverrides.id - schemas.ServiceConfigOverrides.properties.maxInstanceCount.description - schemas.ServiceConfigOverrides.properties.maxInstanceCount.format - schemas.ServiceConfigOverrides.properties.maxInstanceCount.type - schemas.ServiceConfigOverrides.type - schemas.SetupFunctionUpgradeConfigRequest.properties.buildConfigOverrides.$ref - schemas.SetupFunctionUpgradeConfigRequest.properties.buildConfigOverrides.description - schemas.SetupFunctionUpgradeConfigRequest.properties.serviceConfigOverrides.$ref - schemas.SetupFunctionUpgradeConfigRequest.properties.serviceConfigOverrides.description The following keys were changed: - schemas.UpgradeInfo.properties.upgradeState.enum - schemas.UpgradeInfo.properties.upgradeState.enumDescriptions #### cloudfunctions:v2 The following keys were added: - schemas.BuildConfigOverrides.description - schemas.BuildConfigOverrides.id - schemas.BuildConfigOverrides.properties.runtime.description - schemas.BuildConfigOverrides.properties.runtime.type - schemas.BuildConfigOverrides.type - schemas.ServiceConfigOverrides.description - schemas.ServiceConfigOverrides.id - schemas.ServiceConfigOverrides.properties.maxInstanceCount.description - schemas.ServiceConfigOverrides.properties.maxInstanceCount.format - schemas.ServiceConfigOverrides.properties.maxInstanceCount.type - schemas.ServiceConfigOverrides.type - schemas.SetupFunctionUpgradeConfigRequest.properties.buildConfigOverrides.$ref - schemas.SetupFunctionUpgradeConfigRequest.properties.buildConfigOverrides.description - schemas.SetupFunctionUpgradeConfigRequest.properties.serviceConfigOverrides.$ref - schemas.SetupFunctionUpgradeConfigRequest.properties.serviceConfigOverrides.description The following keys were changed: - schemas.UpgradeInfo.properties.upgradeState.enum - schemas.UpgradeInfo.properties.upgradeState.enumDescriptions --- discovery/cloudfunctions-v2.json | 41 +++++++++++++++++++++++++-- discovery/cloudfunctions-v2alpha.json | 41 +++++++++++++++++++++++++-- discovery/cloudfunctions-v2beta.json | 41 +++++++++++++++++++++++++-- src/apis/cloudfunctions/v2.ts | 28 ++++++++++++++++++ src/apis/cloudfunctions/v2alpha.ts | 28 ++++++++++++++++++ src/apis/cloudfunctions/v2beta.ts | 28 ++++++++++++++++++ 6 files changed, 198 insertions(+), 9 deletions(-) diff --git a/discovery/cloudfunctions-v2.json b/discovery/cloudfunctions-v2.json index f673e2811f6..aa3bfba2f89 100644 --- a/discovery/cloudfunctions-v2.json +++ b/discovery/cloudfunctions-v2.json @@ -783,7 +783,7 @@ } } }, - "revision": "20251204", + "revision": "20260101", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AbortFunctionUpgradeRequest": { @@ -941,6 +941,17 @@ }, "type": "object" }, + "BuildConfigOverrides": { + "description": "Contains overrides related to the function's build configuration.", + "id": "BuildConfigOverrides", + "properties": { + "runtime": { + "description": "Optional. Specifies the desired runtime for the new Cloud Run function. (e.g., `\"nodejs20\"`, `\"python312\"`). Constraints: 1. This field CANNOT be used to change the runtime language (e.g., from `NODEJS` to `PYTHON`). The backend will enforce this. 2. This field can ONLY be used to upgrade the runtime version (e.g., `nodejs18` to `nodejs20`). Downgrading the version is not permitted. The backend will validate the version change. If provided and valid, this overrides the runtime of the Gen1 function.", + "type": "string" + } + }, + "type": "object" + }, "CommitFunctionUpgradeAsGen2Request": { "description": "Request for the `CommitFunctionUpgradeAsGen2` method.", "id": "CommitFunctionUpgradeAsGen2Request", @@ -2023,6 +2034,18 @@ }, "type": "object" }, + "ServiceConfigOverrides": { + "description": "Contains overrides related to the function's service configuration.", + "id": "ServiceConfigOverrides", + "properties": { + "maxInstanceCount": { + "description": "Optional. Specifies the maximum number of instances for the new Cloud Run function. If provided, this overrides the max_instance_count setting of the Gen1 function.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "SetIamPolicyRequest": { "description": "Request message for `SetIamPolicy` method.", "id": "SetIamPolicyRequest", @@ -2043,6 +2066,14 @@ "description": "Request for the `SetupFunctionUpgradeConfig` method.", "id": "SetupFunctionUpgradeConfigRequest", "properties": { + "buildConfigOverrides": { + "$ref": "BuildConfigOverrides", + "description": "Optional. Specifies overrides for the build process." + }, + "serviceConfigOverrides": { + "$ref": "ServiceConfigOverrides", + "description": "Optional. Specifies overrides for the service configuration." + }, "triggerServiceAccount": { "description": "Optional. The trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is `run.routes.invoke`. If empty, defaults to the Compute Engine default service account: `{project_number}-compute@developer.gserviceaccount.com`.", "type": "string" @@ -2197,7 +2228,9 @@ "REDIRECT_FUNCTION_UPGRADE_TRAFFIC_ERROR", "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC_ERROR", "COMMIT_FUNCTION_UPGRADE_ERROR", - "COMMIT_FUNCTION_UPGRADE_ERROR_ROLLBACK_SAFE" + "COMMIT_FUNCTION_UPGRADE_ERROR_ROLLBACK_SAFE", + "COMMIT_FUNCTION_UPGRADE_AS_GEN2_SUCCESSFUL", + "COMMIT_FUNCTION_UPGRADE_AS_GEN2_ERROR" ], "enumDescriptions": [ "Unspecified state. Most functions are in this upgrade state.", @@ -2211,7 +2244,9 @@ "RedirectFunctionUpgradeTraffic API was un-successful.", "RollbackFunctionUpgradeTraffic API was un-successful.", "CommitFunctionUpgrade API was un-successful and 1st gen function might have broken.", - "CommitFunctionUpgrade API was un-successful but safe to rollback traffic or abort." + "CommitFunctionUpgrade API was un-successful but safe to rollback traffic or abort.", + "Indicates that the `CommitFunctionUpgradeAsGen2` API call succeeded and the function was successfully migrated to the 2nd Gen stack.", + "CommitFunctionUpgradeAsGen2 API was un-successful and 1st gen function might have broken." ], "type": "string" } diff --git a/discovery/cloudfunctions-v2alpha.json b/discovery/cloudfunctions-v2alpha.json index ec009952b1b..f89efe0e88c 100644 --- a/discovery/cloudfunctions-v2alpha.json +++ b/discovery/cloudfunctions-v2alpha.json @@ -783,7 +783,7 @@ } } }, - "revision": "20251204", + "revision": "20260101", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AbortFunctionUpgradeRequest": { @@ -941,6 +941,17 @@ }, "type": "object" }, + "BuildConfigOverrides": { + "description": "Contains overrides related to the function's build configuration.", + "id": "BuildConfigOverrides", + "properties": { + "runtime": { + "description": "Optional. Specifies the desired runtime for the new Cloud Run function. (e.g., `\"nodejs20\"`, `\"python312\"`). Constraints: 1. This field CANNOT be used to change the runtime language (e.g., from `NODEJS` to `PYTHON`). The backend will enforce this. 2. This field can ONLY be used to upgrade the runtime version (e.g., `nodejs18` to `nodejs20`). Downgrading the version is not permitted. The backend will validate the version change. If provided and valid, this overrides the runtime of the Gen1 function.", + "type": "string" + } + }, + "type": "object" + }, "CommitFunctionUpgradeAsGen2Request": { "description": "Request for the `CommitFunctionUpgradeAsGen2` method.", "id": "CommitFunctionUpgradeAsGen2Request", @@ -2066,6 +2077,18 @@ }, "type": "object" }, + "ServiceConfigOverrides": { + "description": "Contains overrides related to the function's service configuration.", + "id": "ServiceConfigOverrides", + "properties": { + "maxInstanceCount": { + "description": "Optional. Specifies the maximum number of instances for the new Cloud Run function. If provided, this overrides the max_instance_count setting of the Gen1 function.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "SetIamPolicyRequest": { "description": "Request message for `SetIamPolicy` method.", "id": "SetIamPolicyRequest", @@ -2086,6 +2109,14 @@ "description": "Request for the `SetupFunctionUpgradeConfig` method.", "id": "SetupFunctionUpgradeConfigRequest", "properties": { + "buildConfigOverrides": { + "$ref": "BuildConfigOverrides", + "description": "Optional. Specifies overrides for the build process." + }, + "serviceConfigOverrides": { + "$ref": "ServiceConfigOverrides", + "description": "Optional. Specifies overrides for the service configuration." + }, "triggerServiceAccount": { "description": "Optional. The trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is `run.routes.invoke`. If empty, defaults to the Compute Engine default service account: `{project_number}-compute@developer.gserviceaccount.com`.", "type": "string" @@ -2240,7 +2271,9 @@ "REDIRECT_FUNCTION_UPGRADE_TRAFFIC_ERROR", "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC_ERROR", "COMMIT_FUNCTION_UPGRADE_ERROR", - "COMMIT_FUNCTION_UPGRADE_ERROR_ROLLBACK_SAFE" + "COMMIT_FUNCTION_UPGRADE_ERROR_ROLLBACK_SAFE", + "COMMIT_FUNCTION_UPGRADE_AS_GEN2_SUCCESSFUL", + "COMMIT_FUNCTION_UPGRADE_AS_GEN2_ERROR" ], "enumDescriptions": [ "Unspecified state. Most functions are in this upgrade state.", @@ -2254,7 +2287,9 @@ "RedirectFunctionUpgradeTraffic API was un-successful.", "RollbackFunctionUpgradeTraffic API was un-successful.", "CommitFunctionUpgrade API was un-successful and 1st gen function might have broken.", - "CommitFunctionUpgrade API was un-successful but safe to rollback traffic or abort." + "CommitFunctionUpgrade API was un-successful but safe to rollback traffic or abort.", + "Indicates that the `CommitFunctionUpgradeAsGen2` API call succeeded and the function was successfully migrated to the 2nd Gen stack.", + "CommitFunctionUpgradeAsGen2 API was un-successful and 1st gen function might have broken." ], "type": "string" } diff --git a/discovery/cloudfunctions-v2beta.json b/discovery/cloudfunctions-v2beta.json index 28e7d0f010a..058ba7cdf8d 100644 --- a/discovery/cloudfunctions-v2beta.json +++ b/discovery/cloudfunctions-v2beta.json @@ -783,7 +783,7 @@ } } }, - "revision": "20251204", + "revision": "20260101", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AbortFunctionUpgradeRequest": { @@ -941,6 +941,17 @@ }, "type": "object" }, + "BuildConfigOverrides": { + "description": "Contains overrides related to the function's build configuration.", + "id": "BuildConfigOverrides", + "properties": { + "runtime": { + "description": "Optional. Specifies the desired runtime for the new Cloud Run function. (e.g., `\"nodejs20\"`, `\"python312\"`). Constraints: 1. This field CANNOT be used to change the runtime language (e.g., from `NODEJS` to `PYTHON`). The backend will enforce this. 2. This field can ONLY be used to upgrade the runtime version (e.g., `nodejs18` to `nodejs20`). Downgrading the version is not permitted. The backend will validate the version change. If provided and valid, this overrides the runtime of the Gen1 function.", + "type": "string" + } + }, + "type": "object" + }, "CommitFunctionUpgradeAsGen2Request": { "description": "Request for the `CommitFunctionUpgradeAsGen2` method.", "id": "CommitFunctionUpgradeAsGen2Request", @@ -2066,6 +2077,18 @@ }, "type": "object" }, + "ServiceConfigOverrides": { + "description": "Contains overrides related to the function's service configuration.", + "id": "ServiceConfigOverrides", + "properties": { + "maxInstanceCount": { + "description": "Optional. Specifies the maximum number of instances for the new Cloud Run function. If provided, this overrides the max_instance_count setting of the Gen1 function.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "SetIamPolicyRequest": { "description": "Request message for `SetIamPolicy` method.", "id": "SetIamPolicyRequest", @@ -2086,6 +2109,14 @@ "description": "Request for the `SetupFunctionUpgradeConfig` method.", "id": "SetupFunctionUpgradeConfigRequest", "properties": { + "buildConfigOverrides": { + "$ref": "BuildConfigOverrides", + "description": "Optional. Specifies overrides for the build process." + }, + "serviceConfigOverrides": { + "$ref": "ServiceConfigOverrides", + "description": "Optional. Specifies overrides for the service configuration." + }, "triggerServiceAccount": { "description": "Optional. The trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is `run.routes.invoke`. If empty, defaults to the Compute Engine default service account: `{project_number}-compute@developer.gserviceaccount.com`.", "type": "string" @@ -2240,7 +2271,9 @@ "REDIRECT_FUNCTION_UPGRADE_TRAFFIC_ERROR", "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC_ERROR", "COMMIT_FUNCTION_UPGRADE_ERROR", - "COMMIT_FUNCTION_UPGRADE_ERROR_ROLLBACK_SAFE" + "COMMIT_FUNCTION_UPGRADE_ERROR_ROLLBACK_SAFE", + "COMMIT_FUNCTION_UPGRADE_AS_GEN2_SUCCESSFUL", + "COMMIT_FUNCTION_UPGRADE_AS_GEN2_ERROR" ], "enumDescriptions": [ "Unspecified state. Most functions are in this upgrade state.", @@ -2254,7 +2287,9 @@ "RedirectFunctionUpgradeTraffic API was un-successful.", "RollbackFunctionUpgradeTraffic API was un-successful.", "CommitFunctionUpgrade API was un-successful and 1st gen function might have broken.", - "CommitFunctionUpgrade API was un-successful but safe to rollback traffic or abort." + "CommitFunctionUpgrade API was un-successful but safe to rollback traffic or abort.", + "Indicates that the `CommitFunctionUpgradeAsGen2` API call succeeded and the function was successfully migrated to the 2nd Gen stack.", + "CommitFunctionUpgradeAsGen2 API was un-successful and 1st gen function might have broken." ], "type": "string" } diff --git a/src/apis/cloudfunctions/v2.ts b/src/apis/cloudfunctions/v2.ts index 8823ec39672..29d24343415 100644 --- a/src/apis/cloudfunctions/v2.ts +++ b/src/apis/cloudfunctions/v2.ts @@ -226,6 +226,15 @@ export namespace cloudfunctions_v2 { */ workerPool?: string | null; } + /** + * Contains overrides related to the function's build configuration. + */ + export interface Schema$BuildConfigOverrides { + /** + * Optional. Specifies the desired runtime for the new Cloud Run function. (e.g., `"nodejs20"`, `"python312"`). Constraints: 1. This field CANNOT be used to change the runtime language (e.g., from `NODEJS` to `PYTHON`). The backend will enforce this. 2. This field can ONLY be used to upgrade the runtime version (e.g., `nodejs18` to `nodejs20`). Downgrading the version is not permitted. The backend will validate the version change. If provided and valid, this overrides the runtime of the Gen1 function. + */ + runtime?: string | null; + } /** * Request for the `CommitFunctionUpgradeAsGen2` method. */ @@ -933,6 +942,15 @@ export namespace cloudfunctions_v2 { */ vpcConnectorEgressSettings?: string | null; } + /** + * Contains overrides related to the function's service configuration. + */ + export interface Schema$ServiceConfigOverrides { + /** + * Optional. Specifies the maximum number of instances for the new Cloud Run function. If provided, this overrides the max_instance_count setting of the Gen1 function. + */ + maxInstanceCount?: number | null; + } /** * Request message for `SetIamPolicy` method. */ @@ -950,6 +968,14 @@ export namespace cloudfunctions_v2 { * Request for the `SetupFunctionUpgradeConfig` method. */ export interface Schema$SetupFunctionUpgradeConfigRequest { + /** + * Optional. Specifies overrides for the build process. + */ + buildConfigOverrides?: Schema$BuildConfigOverrides; + /** + * Optional. Specifies overrides for the service configuration. + */ + serviceConfigOverrides?: Schema$ServiceConfigOverrides; /** * Optional. The trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is `run.routes.invoke`. If empty, defaults to the Compute Engine default service account: `{project_number\}-compute@developer.gserviceaccount.com`. */ @@ -3592,6 +3618,8 @@ export namespace cloudfunctions_v2 { * requestBody: { * // request body parameters * // { + * // "buildConfigOverrides": {}, + * // "serviceConfigOverrides": {}, * // "triggerServiceAccount": "my_triggerServiceAccount" * // } * }, diff --git a/src/apis/cloudfunctions/v2alpha.ts b/src/apis/cloudfunctions/v2alpha.ts index 09ba0d6a248..2f5b5d25c64 100644 --- a/src/apis/cloudfunctions/v2alpha.ts +++ b/src/apis/cloudfunctions/v2alpha.ts @@ -226,6 +226,15 @@ export namespace cloudfunctions_v2alpha { */ workerPool?: string | null; } + /** + * Contains overrides related to the function's build configuration. + */ + export interface Schema$BuildConfigOverrides { + /** + * Optional. Specifies the desired runtime for the new Cloud Run function. (e.g., `"nodejs20"`, `"python312"`). Constraints: 1. This field CANNOT be used to change the runtime language (e.g., from `NODEJS` to `PYTHON`). The backend will enforce this. 2. This field can ONLY be used to upgrade the runtime version (e.g., `nodejs18` to `nodejs20`). Downgrading the version is not permitted. The backend will validate the version change. If provided and valid, this overrides the runtime of the Gen1 function. + */ + runtime?: string | null; + } /** * Request for the `CommitFunctionUpgradeAsGen2` method. */ @@ -958,6 +967,15 @@ export namespace cloudfunctions_v2alpha { */ vpcConnectorEgressSettings?: string | null; } + /** + * Contains overrides related to the function's service configuration. + */ + export interface Schema$ServiceConfigOverrides { + /** + * Optional. Specifies the maximum number of instances for the new Cloud Run function. If provided, this overrides the max_instance_count setting of the Gen1 function. + */ + maxInstanceCount?: number | null; + } /** * Request message for `SetIamPolicy` method. */ @@ -975,6 +993,14 @@ export namespace cloudfunctions_v2alpha { * Request for the `SetupFunctionUpgradeConfig` method. */ export interface Schema$SetupFunctionUpgradeConfigRequest { + /** + * Optional. Specifies overrides for the build process. + */ + buildConfigOverrides?: Schema$BuildConfigOverrides; + /** + * Optional. Specifies overrides for the service configuration. + */ + serviceConfigOverrides?: Schema$ServiceConfigOverrides; /** * Optional. The trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is `run.routes.invoke`. If empty, defaults to the Compute Engine default service account: `{project_number\}-compute@developer.gserviceaccount.com`. */ @@ -3616,6 +3642,8 @@ export namespace cloudfunctions_v2alpha { * requestBody: { * // request body parameters * // { + * // "buildConfigOverrides": {}, + * // "serviceConfigOverrides": {}, * // "triggerServiceAccount": "my_triggerServiceAccount" * // } * }, diff --git a/src/apis/cloudfunctions/v2beta.ts b/src/apis/cloudfunctions/v2beta.ts index 4ed9cede95a..3ca5ad4628a 100644 --- a/src/apis/cloudfunctions/v2beta.ts +++ b/src/apis/cloudfunctions/v2beta.ts @@ -226,6 +226,15 @@ export namespace cloudfunctions_v2beta { */ workerPool?: string | null; } + /** + * Contains overrides related to the function's build configuration. + */ + export interface Schema$BuildConfigOverrides { + /** + * Optional. Specifies the desired runtime for the new Cloud Run function. (e.g., `"nodejs20"`, `"python312"`). Constraints: 1. This field CANNOT be used to change the runtime language (e.g., from `NODEJS` to `PYTHON`). The backend will enforce this. 2. This field can ONLY be used to upgrade the runtime version (e.g., `nodejs18` to `nodejs20`). Downgrading the version is not permitted. The backend will validate the version change. If provided and valid, this overrides the runtime of the Gen1 function. + */ + runtime?: string | null; + } /** * Request for the `CommitFunctionUpgradeAsGen2` method. */ @@ -958,6 +967,15 @@ export namespace cloudfunctions_v2beta { */ vpcConnectorEgressSettings?: string | null; } + /** + * Contains overrides related to the function's service configuration. + */ + export interface Schema$ServiceConfigOverrides { + /** + * Optional. Specifies the maximum number of instances for the new Cloud Run function. If provided, this overrides the max_instance_count setting of the Gen1 function. + */ + maxInstanceCount?: number | null; + } /** * Request message for `SetIamPolicy` method. */ @@ -975,6 +993,14 @@ export namespace cloudfunctions_v2beta { * Request for the `SetupFunctionUpgradeConfig` method. */ export interface Schema$SetupFunctionUpgradeConfigRequest { + /** + * Optional. Specifies overrides for the build process. + */ + buildConfigOverrides?: Schema$BuildConfigOverrides; + /** + * Optional. Specifies overrides for the service configuration. + */ + serviceConfigOverrides?: Schema$ServiceConfigOverrides; /** * Optional. The trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is `run.routes.invoke`. If empty, defaults to the Compute Engine default service account: `{project_number\}-compute@developer.gserviceaccount.com`. */ @@ -3616,6 +3642,8 @@ export namespace cloudfunctions_v2beta { * requestBody: { * // request body parameters * // { + * // "buildConfigOverrides": {}, + * // "serviceConfigOverrides": {}, * // "triggerServiceAccount": "my_triggerServiceAccount" * // } * }, From e92c9fbc08e7846a08515734df78df54acd76d1c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 9 Jan 2026 01:38:12 +0000 Subject: [PATCH 09/26] feat(compute): update the API #### compute:alpha The following keys were added: - resources.regionCompositeHealthChecks.methods.getHealth.description - resources.regionCompositeHealthChecks.methods.getHealth.flatPath - resources.regionCompositeHealthChecks.methods.getHealth.httpMethod - resources.regionCompositeHealthChecks.methods.getHealth.id - resources.regionCompositeHealthChecks.methods.getHealth.parameterOrder - resources.regionCompositeHealthChecks.methods.getHealth.parameters.compositeHealthCheck.description - resources.regionCompositeHealthChecks.methods.getHealth.parameters.compositeHealthCheck.location - resources.regionCompositeHealthChecks.methods.getHealth.parameters.compositeHealthCheck.pattern - resources.regionCompositeHealthChecks.methods.getHealth.parameters.compositeHealthCheck.required - resources.regionCompositeHealthChecks.methods.getHealth.parameters.compositeHealthCheck.type - resources.regionCompositeHealthChecks.methods.getHealth.parameters.project.description - resources.regionCompositeHealthChecks.methods.getHealth.parameters.project.location - resources.regionCompositeHealthChecks.methods.getHealth.parameters.project.pattern - resources.regionCompositeHealthChecks.methods.getHealth.parameters.project.required - resources.regionCompositeHealthChecks.methods.getHealth.parameters.project.type - resources.regionCompositeHealthChecks.methods.getHealth.parameters.region.description - resources.regionCompositeHealthChecks.methods.getHealth.parameters.region.location - resources.regionCompositeHealthChecks.methods.getHealth.parameters.region.pattern - resources.regionCompositeHealthChecks.methods.getHealth.parameters.region.required - resources.regionCompositeHealthChecks.methods.getHealth.parameters.region.type - resources.regionCompositeHealthChecks.methods.getHealth.path - resources.regionCompositeHealthChecks.methods.getHealth.response.$ref - resources.regionCompositeHealthChecks.methods.getHealth.scopes - schemas.CompositeHealthChecksGetHealthResponse.description - schemas.CompositeHealthChecksGetHealthResponse.id - schemas.CompositeHealthChecksGetHealthResponse.properties.healthSources.description - schemas.CompositeHealthChecksGetHealthResponse.properties.healthSources.items.$ref - schemas.CompositeHealthChecksGetHealthResponse.properties.healthSources.type - schemas.CompositeHealthChecksGetHealthResponse.properties.healthState.description - schemas.CompositeHealthChecksGetHealthResponse.properties.healthState.enum - schemas.CompositeHealthChecksGetHealthResponse.properties.healthState.enumDescriptions - schemas.CompositeHealthChecksGetHealthResponse.properties.healthState.type - schemas.CompositeHealthChecksGetHealthResponse.type - schemas.CompositeHealthChecksGetHealthResponseHealthSourceHealth.id - schemas.CompositeHealthChecksGetHealthResponseHealthSourceHealth.properties.healthState.description - schemas.CompositeHealthChecksGetHealthResponseHealthSourceHealth.properties.healthState.enum - schemas.CompositeHealthChecksGetHealthResponseHealthSourceHealth.properties.healthState.enumDescriptions - schemas.CompositeHealthChecksGetHealthResponseHealthSourceHealth.properties.healthState.type - schemas.CompositeHealthChecksGetHealthResponseHealthSourceHealth.properties.source.description - schemas.CompositeHealthChecksGetHealthResponseHealthSourceHealth.properties.source.type - schemas.CompositeHealthChecksGetHealthResponseHealthSourceHealth.type - schemas.FirewallPolicy.properties.rolloutOperation.$ref - schemas.FirewallPolicy.properties.rolloutOperation.description - schemas.FirewallPolicyRolloutOperation.description - schemas.FirewallPolicyRolloutOperation.id - schemas.FirewallPolicyRolloutOperation.properties.rolloutInput.$ref - schemas.FirewallPolicyRolloutOperation.properties.rolloutInput.description - schemas.FirewallPolicyRolloutOperation.properties.rolloutStatus.$ref - schemas.FirewallPolicyRolloutOperation.properties.rolloutStatus.description - schemas.FirewallPolicyRolloutOperation.type - schemas.FirewallPolicyRolloutOperationRolloutInput.description - schemas.FirewallPolicyRolloutOperationRolloutInput.id - schemas.FirewallPolicyRolloutOperationRolloutInput.properties.name.description - schemas.FirewallPolicyRolloutOperationRolloutInput.properties.name.type - schemas.FirewallPolicyRolloutOperationRolloutInput.properties.predefinedRolloutPlan.description - schemas.FirewallPolicyRolloutOperationRolloutInput.properties.predefinedRolloutPlan.enum - schemas.FirewallPolicyRolloutOperationRolloutInput.properties.predefinedRolloutPlan.enumDescriptions - schemas.FirewallPolicyRolloutOperationRolloutInput.properties.predefinedRolloutPlan.type - schemas.FirewallPolicyRolloutOperationRolloutInput.properties.retryUuid.description - schemas.FirewallPolicyRolloutOperationRolloutInput.properties.retryUuid.type - schemas.FirewallPolicyRolloutOperationRolloutInput.type - schemas.FirewallPolicyRolloutOperationRolloutStatus.description - schemas.FirewallPolicyRolloutOperationRolloutStatus.id - schemas.FirewallPolicyRolloutOperationRolloutStatus.properties.nextRollout.$ref - schemas.FirewallPolicyRolloutOperationRolloutStatus.properties.nextRollout.description - schemas.FirewallPolicyRolloutOperationRolloutStatus.properties.ongoingRollouts.description - schemas.FirewallPolicyRolloutOperationRolloutStatus.properties.ongoingRollouts.items.$ref - schemas.FirewallPolicyRolloutOperationRolloutStatus.properties.ongoingRollouts.type - schemas.FirewallPolicyRolloutOperationRolloutStatus.properties.previousRollout.$ref - schemas.FirewallPolicyRolloutOperationRolloutStatus.properties.previousRollout.description - schemas.FirewallPolicyRolloutOperationRolloutStatus.type - schemas.FirewallPolicyRolloutOperationRolloutStatusNextRollout.id - schemas.FirewallPolicyRolloutOperationRolloutStatusNextRollout.properties.rolloutId.description - schemas.FirewallPolicyRolloutOperationRolloutStatusNextRollout.properties.rolloutId.readOnly - schemas.FirewallPolicyRolloutOperationRolloutStatusNextRollout.properties.rolloutId.type - schemas.FirewallPolicyRolloutOperationRolloutStatusNextRollout.properties.rolloutPlan.description - schemas.FirewallPolicyRolloutOperationRolloutStatusNextRollout.properties.rolloutPlan.type - schemas.FirewallPolicyRolloutOperationRolloutStatusNextRollout.type - schemas.FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata.description - schemas.FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata.id - schemas.FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata.properties.rollout.description - schemas.FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata.properties.rollout.readOnly - schemas.FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata.properties.rollout.type - schemas.FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata.properties.rolloutPlan.description - schemas.FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata.properties.rolloutPlan.readOnly - schemas.FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata.properties.rolloutPlan.type - schemas.FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata.properties.state.description - schemas.FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata.properties.state.enum - schemas.FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata.properties.state.enumDescriptions - schemas.FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata.properties.state.readOnly - schemas.FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata.properties.state.type - schemas.FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata.type - schemas.InstanceGroupManagerStatus.properties.appliedAcceleratorTopologies.description - schemas.InstanceGroupManagerStatus.properties.appliedAcceleratorTopologies.items.$ref - schemas.InstanceGroupManagerStatus.properties.appliedAcceleratorTopologies.readOnly - schemas.InstanceGroupManagerStatus.properties.appliedAcceleratorTopologies.type - schemas.InstanceGroupManagerStatus.properties.currentInstanceStatuses.$ref - schemas.InstanceGroupManagerStatus.properties.currentInstanceStatuses.description - schemas.InstanceGroupManagerStatus.properties.currentInstanceStatuses.readOnly - schemas.InstanceGroupManagerStatusAcceleratorTopology.id - schemas.InstanceGroupManagerStatusAcceleratorTopology.properties.acceleratorTopology.description - schemas.InstanceGroupManagerStatusAcceleratorTopology.properties.acceleratorTopology.readOnly - schemas.InstanceGroupManagerStatusAcceleratorTopology.properties.acceleratorTopology.type - schemas.InstanceGroupManagerStatusAcceleratorTopology.properties.state.description - schemas.InstanceGroupManagerStatusAcceleratorTopology.properties.state.enum - schemas.InstanceGroupManagerStatusAcceleratorTopology.properties.state.enumDescriptions - schemas.InstanceGroupManagerStatusAcceleratorTopology.properties.state.readOnly - schemas.InstanceGroupManagerStatusAcceleratorTopology.properties.state.type - schemas.InstanceGroupManagerStatusAcceleratorTopology.properties.stateDetails.$ref - schemas.InstanceGroupManagerStatusAcceleratorTopology.properties.stateDetails.description - schemas.InstanceGroupManagerStatusAcceleratorTopology.properties.stateDetails.readOnly - schemas.InstanceGroupManagerStatusAcceleratorTopology.type - schemas.InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.id - schemas.InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.properties.error.description - schemas.InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.properties.error.properties.errors.description - schemas.InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.properties.error.properties.errors.items.properties.code.description - schemas.InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.properties.error.properties.errors.items.properties.code.type - schemas.InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.properties.error.properties.errors.items.properties.errorDetails.description - schemas.InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.properties.error.properties.errors.items.properties.errorDetails.items.properties.errorInfo.$ref - schemas.InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.properties.error.properties.errors.items.properties.errorDetails.items.properties.help.$ref - schemas.InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.properties.error.properties.errors.items.properties.errorDetails.items.properties.localizedMessage.$ref - schemas.InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.properties.error.properties.errors.items.properties.errorDetails.items.properties.quotaInfo.$ref - schemas.InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.properties.error.properties.errors.items.properties.errorDetails.items.type - schemas.InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.properties.error.properties.errors.items.properties.errorDetails.type - schemas.InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.properties.error.properties.errors.items.properties.location.description - schemas.InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.properties.error.properties.errors.items.properties.location.type - schemas.InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.properties.error.properties.errors.items.properties.message.description - schemas.InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.properties.error.properties.errors.items.properties.message.type - schemas.InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.properties.error.properties.errors.items.type - schemas.InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.properties.error.properties.errors.type - schemas.InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.properties.error.readOnly - schemas.InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.properties.error.type - schemas.InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.properties.timestamp.description - schemas.InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.properties.timestamp.format - schemas.InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.properties.timestamp.readOnly - schemas.InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.properties.timestamp.type - schemas.InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.type - schemas.InstanceGroupManagerStatusInstanceStatusSummary.description - schemas.InstanceGroupManagerStatusInstanceStatusSummary.id - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.deprovisioning.description - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.deprovisioning.format - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.deprovisioning.readOnly - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.deprovisioning.type - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.nonExistent.description - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.nonExistent.format - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.nonExistent.readOnly - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.nonExistent.type - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.pending.description - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.pending.format - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.pending.readOnly - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.pending.type - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.pendingStop.description - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.pendingStop.format - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.pendingStop.readOnly - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.pendingStop.type - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.provisioning.description - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.provisioning.format - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.provisioning.readOnly - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.provisioning.type - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.repairing.description - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.repairing.format - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.repairing.readOnly - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.repairing.type - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.running.description - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.running.format - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.running.readOnly - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.running.type - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.staging.description - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.staging.format - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.staging.readOnly - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.staging.type - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.stopped.description - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.stopped.format - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.stopped.readOnly - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.stopped.type - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.stopping.description - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.stopping.format - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.stopping.readOnly - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.stopping.type - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.suspended.description - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.suspended.format - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.suspended.readOnly - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.suspended.type - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.suspending.description - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.suspending.format - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.suspending.readOnly - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.suspending.type - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.terminated.description - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.terminated.format - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.terminated.readOnly - schemas.InstanceGroupManagerStatusInstanceStatusSummary.properties.terminated.type - schemas.InstanceGroupManagerStatusInstanceStatusSummary.type - schemas.MachineImageParams.properties.resourceManagerTags.additionalProperties.type - schemas.MachineImageParams.properties.resourceManagerTags.description - schemas.MachineImageParams.properties.resourceManagerTags.type - schemas.ReservationSlot.properties.shareSettings.$ref - schemas.ReservationSlot.properties.shareSettings.description The following keys were changed: - schemas.LicenseParams.properties.resourceManagerTags.description - schemas.MultiMigMember.properties.name.description - schemas.NetworkProfileProfileType.properties.rdmaSubtype.enumDescriptions - schemas.StoragePoolParams.properties.resourceManagerTags.description - schemas.VpnTunnel.properties.capacityTier.enumDescriptions #### compute:beta The following keys were added: - resources.regionMultiMigMembers.methods.get.description - resources.regionMultiMigMembers.methods.get.flatPath - resources.regionMultiMigMembers.methods.get.httpMethod - resources.regionMultiMigMembers.methods.get.id - resources.regionMultiMigMembers.methods.get.parameterOrder - resources.regionMultiMigMembers.methods.get.parameters.multiMig.description - resources.regionMultiMigMembers.methods.get.parameters.multiMig.location - resources.regionMultiMigMembers.methods.get.parameters.multiMig.pattern - resources.regionMultiMigMembers.methods.get.parameters.multiMig.required - resources.regionMultiMigMembers.methods.get.parameters.multiMig.type - resources.regionMultiMigMembers.methods.get.parameters.multiMigMember.description - resources.regionMultiMigMembers.methods.get.parameters.multiMigMember.location - resources.regionMultiMigMembers.methods.get.parameters.multiMigMember.pattern - resources.regionMultiMigMembers.methods.get.parameters.multiMigMember.required - resources.regionMultiMigMembers.methods.get.parameters.multiMigMember.type - resources.regionMultiMigMembers.methods.get.parameters.project.description - resources.regionMultiMigMembers.methods.get.parameters.project.location - resources.regionMultiMigMembers.methods.get.parameters.project.pattern - resources.regionMultiMigMembers.methods.get.parameters.project.required - resources.regionMultiMigMembers.methods.get.parameters.project.type - resources.regionMultiMigMembers.methods.get.parameters.region.description - resources.regionMultiMigMembers.methods.get.parameters.region.location - resources.regionMultiMigMembers.methods.get.parameters.region.pattern - resources.regionMultiMigMembers.methods.get.parameters.region.required - resources.regionMultiMigMembers.methods.get.parameters.region.type - resources.regionMultiMigMembers.methods.get.path - resources.regionMultiMigMembers.methods.get.response.$ref - resources.regionMultiMigMembers.methods.get.scopes - resources.regionMultiMigMembers.methods.list.description - resources.regionMultiMigMembers.methods.list.flatPath - resources.regionMultiMigMembers.methods.list.httpMethod - resources.regionMultiMigMembers.methods.list.id - resources.regionMultiMigMembers.methods.list.parameterOrder - resources.regionMultiMigMembers.methods.list.parameters.filter.description - resources.regionMultiMigMembers.methods.list.parameters.filter.location - resources.regionMultiMigMembers.methods.list.parameters.filter.type - resources.regionMultiMigMembers.methods.list.parameters.maxResults.default - resources.regionMultiMigMembers.methods.list.parameters.maxResults.description - resources.regionMultiMigMembers.methods.list.parameters.maxResults.format - resources.regionMultiMigMembers.methods.list.parameters.maxResults.location - resources.regionMultiMigMembers.methods.list.parameters.maxResults.minimum - resources.regionMultiMigMembers.methods.list.parameters.maxResults.type - resources.regionMultiMigMembers.methods.list.parameters.multiMig.description - resources.regionMultiMigMembers.methods.list.parameters.multiMig.location - resources.regionMultiMigMembers.methods.list.parameters.multiMig.required - resources.regionMultiMigMembers.methods.list.parameters.multiMig.type - resources.regionMultiMigMembers.methods.list.parameters.orderBy.description - resources.regionMultiMigMembers.methods.list.parameters.orderBy.location - resources.regionMultiMigMembers.methods.list.parameters.orderBy.type - resources.regionMultiMigMembers.methods.list.parameters.pageToken.description - resources.regionMultiMigMembers.methods.list.parameters.pageToken.location - resources.regionMultiMigMembers.methods.list.parameters.pageToken.type - resources.regionMultiMigMembers.methods.list.parameters.project.description - resources.regionMultiMigMembers.methods.list.parameters.project.location - resources.regionMultiMigMembers.methods.list.parameters.project.required - resources.regionMultiMigMembers.methods.list.parameters.project.type - resources.regionMultiMigMembers.methods.list.parameters.region.description - resources.regionMultiMigMembers.methods.list.parameters.region.location - resources.regionMultiMigMembers.methods.list.parameters.region.pattern - resources.regionMultiMigMembers.methods.list.parameters.region.required - resources.regionMultiMigMembers.methods.list.parameters.region.type - resources.regionMultiMigMembers.methods.list.parameters.returnPartialSuccess.description - resources.regionMultiMigMembers.methods.list.parameters.returnPartialSuccess.location - resources.regionMultiMigMembers.methods.list.parameters.returnPartialSuccess.type - resources.regionMultiMigMembers.methods.list.path - resources.regionMultiMigMembers.methods.list.response.$ref - resources.regionMultiMigMembers.methods.list.scopes - schemas.License.properties.params.$ref - schemas.License.properties.params.description - schemas.LicenseParams.description - schemas.LicenseParams.id - schemas.LicenseParams.properties.resourceManagerTags.additionalProperties.type - schemas.LicenseParams.properties.resourceManagerTags.description - schemas.LicenseParams.properties.resourceManagerTags.type - schemas.LicenseParams.type - schemas.MultiMigMember.description - schemas.MultiMigMember.id - schemas.MultiMigMember.properties.creationTimestamp.description - schemas.MultiMigMember.properties.creationTimestamp.readOnly - schemas.MultiMigMember.properties.creationTimestamp.type - schemas.MultiMigMember.properties.id.description - schemas.MultiMigMember.properties.id.format - schemas.MultiMigMember.properties.id.readOnly - schemas.MultiMigMember.properties.id.type - schemas.MultiMigMember.properties.kind.default - schemas.MultiMigMember.properties.kind.description - schemas.MultiMigMember.properties.kind.readOnly - schemas.MultiMigMember.properties.kind.type - schemas.MultiMigMember.properties.name.description - schemas.MultiMigMember.properties.name.readOnly - schemas.MultiMigMember.properties.name.type - schemas.MultiMigMember.properties.region.description - schemas.MultiMigMember.properties.region.readOnly - schemas.MultiMigMember.properties.region.type - schemas.MultiMigMember.properties.selfLink.description - schemas.MultiMigMember.properties.selfLink.readOnly - schemas.MultiMigMember.properties.selfLink.type - schemas.MultiMigMember.properties.status.$ref - schemas.MultiMigMember.properties.status.description - schemas.MultiMigMember.properties.status.readOnly - schemas.MultiMigMember.type - schemas.MultiMigMemberList.id - schemas.MultiMigMemberList.properties.id.description - schemas.MultiMigMemberList.properties.id.type - schemas.MultiMigMemberList.properties.items.description - schemas.MultiMigMemberList.properties.items.items.$ref - schemas.MultiMigMemberList.properties.items.type - schemas.MultiMigMemberList.properties.kind.default - schemas.MultiMigMemberList.properties.kind.description - schemas.MultiMigMemberList.properties.kind.readOnly - schemas.MultiMigMemberList.properties.kind.type - schemas.MultiMigMemberList.properties.nextPageToken.description - schemas.MultiMigMemberList.properties.nextPageToken.type - schemas.MultiMigMemberList.properties.selfLink.description - schemas.MultiMigMemberList.properties.selfLink.readOnly - schemas.MultiMigMemberList.properties.selfLink.type - schemas.MultiMigMemberList.properties.warning.description - schemas.MultiMigMemberList.properties.warning.properties.code.description - schemas.MultiMigMemberList.properties.warning.properties.code.enum - schemas.MultiMigMemberList.properties.warning.properties.code.enumDeprecated - schemas.MultiMigMemberList.properties.warning.properties.code.enumDescriptions - schemas.MultiMigMemberList.properties.warning.properties.code.type - schemas.MultiMigMemberList.properties.warning.properties.data.description - schemas.MultiMigMemberList.properties.warning.properties.data.items.properties.key.description - schemas.MultiMigMemberList.properties.warning.properties.data.items.properties.key.type - schemas.MultiMigMemberList.properties.warning.properties.data.items.properties.value.description - schemas.MultiMigMemberList.properties.warning.properties.data.items.properties.value.type - schemas.MultiMigMemberList.properties.warning.properties.data.items.type - schemas.MultiMigMemberList.properties.warning.properties.data.type - schemas.MultiMigMemberList.properties.warning.properties.message.description - schemas.MultiMigMemberList.properties.warning.properties.message.type - schemas.MultiMigMemberList.properties.warning.type - schemas.MultiMigMemberList.type - schemas.MultiMigMemberStatus.id - schemas.MultiMigMemberStatus.properties.instanceGroupManager.description - schemas.MultiMigMemberStatus.properties.instanceGroupManager.type - schemas.MultiMigMemberStatus.type - schemas.MultiMigStatus.properties.membersCount.description - schemas.MultiMigStatus.properties.membersCount.format - schemas.MultiMigStatus.properties.membersCount.readOnly - schemas.MultiMigStatus.properties.membersCount.type - schemas.NetworkInterface.properties.macAddress.description - schemas.NetworkInterface.properties.macAddress.readOnly - schemas.NetworkInterface.properties.macAddress.type - schemas.NetworkProfileNetworkFeatures.properties.allowAddressCreation.description - schemas.NetworkProfileNetworkFeatures.properties.allowAddressCreation.enum - schemas.NetworkProfileNetworkFeatures.properties.allowAddressCreation.enumDescriptions - schemas.NetworkProfileNetworkFeatures.properties.allowAddressCreation.type - schemas.NetworkProfileNetworkFeatures.properties.allowMultiNicInSameSubnetwork.description - schemas.NetworkProfileNetworkFeatures.properties.allowMultiNicInSameSubnetwork.enum - schemas.NetworkProfileNetworkFeatures.properties.allowMultiNicInSameSubnetwork.enumDescriptions - schemas.NetworkProfileNetworkFeatures.properties.allowMultiNicInSameSubnetwork.type - schemas.NetworkProfileNetworkFeatures.properties.allowSubnetworkCreation.description - schemas.NetworkProfileNetworkFeatures.properties.allowSubnetworkCreation.enum - schemas.NetworkProfileNetworkFeatures.properties.allowSubnetworkCreation.enumDescriptions - schemas.NetworkProfileNetworkFeatures.properties.allowSubnetworkCreation.type - schemas.NetworkProfileNetworkFeatures.properties.allowVpcFirewallRules.description - schemas.NetworkProfileNetworkFeatures.properties.allowVpcFirewallRules.enum - schemas.NetworkProfileNetworkFeatures.properties.allowVpcFirewallRules.enumDescriptions - schemas.NetworkProfileNetworkFeatures.properties.allowVpcFirewallRules.type - schemas.NetworkProfileNetworkFeatures.properties.predefinedNetworkInternalIpv6Range.description - schemas.NetworkProfileNetworkFeatures.properties.predefinedNetworkInternalIpv6Range.type - schemas.NetworkProfileNetworkFeatures.properties.predefinedSubnetworkRanges.description - schemas.NetworkProfileNetworkFeatures.properties.predefinedSubnetworkRanges.items.$ref - schemas.NetworkProfileNetworkFeatures.properties.predefinedSubnetworkRanges.type - schemas.NetworkProfileNetworkFeaturesPredefinedSubnetworkRange.id - schemas.NetworkProfileNetworkFeaturesPredefinedSubnetworkRange.properties.ipv6Range.description - schemas.NetworkProfileNetworkFeaturesPredefinedSubnetworkRange.properties.ipv6Range.type - schemas.NetworkProfileNetworkFeaturesPredefinedSubnetworkRange.properties.namePrefix.description - schemas.NetworkProfileNetworkFeaturesPredefinedSubnetworkRange.properties.namePrefix.type - schemas.NetworkProfileNetworkFeaturesPredefinedSubnetworkRange.type - schemas.StoragePool.properties.params.$ref - schemas.StoragePool.properties.params.description - schemas.StoragePoolParams.description - schemas.StoragePoolParams.id - schemas.StoragePoolParams.properties.resourceManagerTags.additionalProperties.type - schemas.StoragePoolParams.properties.resourceManagerTags.description - schemas.StoragePoolParams.properties.resourceManagerTags.type - schemas.StoragePoolParams.type - schemas.VpnTunnel.properties.capacityTier.description - schemas.VpnTunnel.properties.capacityTier.enum - schemas.VpnTunnel.properties.capacityTier.enumDescriptions - schemas.VpnTunnel.properties.capacityTier.type The following keys were changed: - schemas.Commitment.properties.type.enum - schemas.Commitment.properties.type.enumDescriptions - schemas.NetworkProfileProfileType.properties.rdmaSubtype.enum - schemas.NetworkProfileProfileType.properties.rdmaSubtype.enumDescriptions #### compute:v1 The following keys were added: - resources.autoscalers.methods.testIamPermissions.description - resources.autoscalers.methods.testIamPermissions.flatPath - resources.autoscalers.methods.testIamPermissions.httpMethod - resources.autoscalers.methods.testIamPermissions.id - resources.autoscalers.methods.testIamPermissions.parameterOrder - resources.autoscalers.methods.testIamPermissions.parameters.project.description - resources.autoscalers.methods.testIamPermissions.parameters.project.location - resources.autoscalers.methods.testIamPermissions.parameters.project.pattern - resources.autoscalers.methods.testIamPermissions.parameters.project.required - resources.autoscalers.methods.testIamPermissions.parameters.project.type - resources.autoscalers.methods.testIamPermissions.parameters.resource.description - resources.autoscalers.methods.testIamPermissions.parameters.resource.location - resources.autoscalers.methods.testIamPermissions.parameters.resource.pattern - resources.autoscalers.methods.testIamPermissions.parameters.resource.required - resources.autoscalers.methods.testIamPermissions.parameters.resource.type - resources.autoscalers.methods.testIamPermissions.parameters.zone.description - resources.autoscalers.methods.testIamPermissions.parameters.zone.location - resources.autoscalers.methods.testIamPermissions.parameters.zone.pattern - resources.autoscalers.methods.testIamPermissions.parameters.zone.required - resources.autoscalers.methods.testIamPermissions.parameters.zone.type - resources.autoscalers.methods.testIamPermissions.path - resources.autoscalers.methods.testIamPermissions.request.$ref - resources.autoscalers.methods.testIamPermissions.response.$ref - resources.autoscalers.methods.testIamPermissions.scopes - resources.healthChecks.methods.testIamPermissions.description - resources.healthChecks.methods.testIamPermissions.flatPath - resources.healthChecks.methods.testIamPermissions.httpMethod - resources.healthChecks.methods.testIamPermissions.id - resources.healthChecks.methods.testIamPermissions.parameterOrder - resources.healthChecks.methods.testIamPermissions.parameters.project.description - resources.healthChecks.methods.testIamPermissions.parameters.project.location - resources.healthChecks.methods.testIamPermissions.parameters.project.pattern - resources.healthChecks.methods.testIamPermissions.parameters.project.required - resources.healthChecks.methods.testIamPermissions.parameters.project.type - resources.healthChecks.methods.testIamPermissions.parameters.resource.description - resources.healthChecks.methods.testIamPermissions.parameters.resource.location - resources.healthChecks.methods.testIamPermissions.parameters.resource.pattern - resources.healthChecks.methods.testIamPermissions.parameters.resource.required - resources.healthChecks.methods.testIamPermissions.parameters.resource.type - resources.healthChecks.methods.testIamPermissions.path - resources.healthChecks.methods.testIamPermissions.request.$ref - resources.healthChecks.methods.testIamPermissions.response.$ref - resources.healthChecks.methods.testIamPermissions.scopes - resources.httpHealthChecks.methods.testIamPermissions.description - resources.httpHealthChecks.methods.testIamPermissions.flatPath - resources.httpHealthChecks.methods.testIamPermissions.httpMethod - resources.httpHealthChecks.methods.testIamPermissions.id - resources.httpHealthChecks.methods.testIamPermissions.parameterOrder - resources.httpHealthChecks.methods.testIamPermissions.parameters.project.description - resources.httpHealthChecks.methods.testIamPermissions.parameters.project.location - resources.httpHealthChecks.methods.testIamPermissions.parameters.project.pattern - resources.httpHealthChecks.methods.testIamPermissions.parameters.project.required - resources.httpHealthChecks.methods.testIamPermissions.parameters.project.type - resources.httpHealthChecks.methods.testIamPermissions.parameters.resource.description - resources.httpHealthChecks.methods.testIamPermissions.parameters.resource.location - resources.httpHealthChecks.methods.testIamPermissions.parameters.resource.pattern - resources.httpHealthChecks.methods.testIamPermissions.parameters.resource.required - resources.httpHealthChecks.methods.testIamPermissions.parameters.resource.type - resources.httpHealthChecks.methods.testIamPermissions.path - resources.httpHealthChecks.methods.testIamPermissions.request.$ref - resources.httpHealthChecks.methods.testIamPermissions.response.$ref - resources.httpHealthChecks.methods.testIamPermissions.scopes - resources.httpsHealthChecks.methods.testIamPermissions.description - resources.httpsHealthChecks.methods.testIamPermissions.flatPath - resources.httpsHealthChecks.methods.testIamPermissions.httpMethod - resources.httpsHealthChecks.methods.testIamPermissions.id - resources.httpsHealthChecks.methods.testIamPermissions.parameterOrder - resources.httpsHealthChecks.methods.testIamPermissions.parameters.project.description - resources.httpsHealthChecks.methods.testIamPermissions.parameters.project.location - resources.httpsHealthChecks.methods.testIamPermissions.parameters.project.pattern - resources.httpsHealthChecks.methods.testIamPermissions.parameters.project.required - resources.httpsHealthChecks.methods.testIamPermissions.parameters.project.type - resources.httpsHealthChecks.methods.testIamPermissions.parameters.resource.description - resources.httpsHealthChecks.methods.testIamPermissions.parameters.resource.location - resources.httpsHealthChecks.methods.testIamPermissions.parameters.resource.pattern - resources.httpsHealthChecks.methods.testIamPermissions.parameters.resource.required - resources.httpsHealthChecks.methods.testIamPermissions.parameters.resource.type - resources.httpsHealthChecks.methods.testIamPermissions.path - resources.httpsHealthChecks.methods.testIamPermissions.request.$ref - resources.httpsHealthChecks.methods.testIamPermissions.response.$ref - resources.httpsHealthChecks.methods.testIamPermissions.scopes - resources.regionAutoscalers.methods.testIamPermissions.description - resources.regionAutoscalers.methods.testIamPermissions.flatPath - resources.regionAutoscalers.methods.testIamPermissions.httpMethod - resources.regionAutoscalers.methods.testIamPermissions.id - resources.regionAutoscalers.methods.testIamPermissions.parameterOrder - resources.regionAutoscalers.methods.testIamPermissions.parameters.project.description - resources.regionAutoscalers.methods.testIamPermissions.parameters.project.location - resources.regionAutoscalers.methods.testIamPermissions.parameters.project.pattern - resources.regionAutoscalers.methods.testIamPermissions.parameters.project.required - resources.regionAutoscalers.methods.testIamPermissions.parameters.project.type - resources.regionAutoscalers.methods.testIamPermissions.parameters.region.description - resources.regionAutoscalers.methods.testIamPermissions.parameters.region.location - resources.regionAutoscalers.methods.testIamPermissions.parameters.region.pattern - resources.regionAutoscalers.methods.testIamPermissions.parameters.region.required - resources.regionAutoscalers.methods.testIamPermissions.parameters.region.type - resources.regionAutoscalers.methods.testIamPermissions.parameters.resource.description - resources.regionAutoscalers.methods.testIamPermissions.parameters.resource.location - resources.regionAutoscalers.methods.testIamPermissions.parameters.resource.pattern - resources.regionAutoscalers.methods.testIamPermissions.parameters.resource.required - resources.regionAutoscalers.methods.testIamPermissions.parameters.resource.type - resources.regionAutoscalers.methods.testIamPermissions.path - resources.regionAutoscalers.methods.testIamPermissions.request.$ref - resources.regionAutoscalers.methods.testIamPermissions.response.$ref - resources.regionAutoscalers.methods.testIamPermissions.scopes - resources.regionHealthChecks.methods.testIamPermissions.description - resources.regionHealthChecks.methods.testIamPermissions.flatPath - resources.regionHealthChecks.methods.testIamPermissions.httpMethod - resources.regionHealthChecks.methods.testIamPermissions.id - resources.regionHealthChecks.methods.testIamPermissions.parameterOrder - resources.regionHealthChecks.methods.testIamPermissions.parameters.project.description - resources.regionHealthChecks.methods.testIamPermissions.parameters.project.location - resources.regionHealthChecks.methods.testIamPermissions.parameters.project.pattern - resources.regionHealthChecks.methods.testIamPermissions.parameters.project.required - resources.regionHealthChecks.methods.testIamPermissions.parameters.project.type - resources.regionHealthChecks.methods.testIamPermissions.parameters.region.description - resources.regionHealthChecks.methods.testIamPermissions.parameters.region.location - resources.regionHealthChecks.methods.testIamPermissions.parameters.region.pattern - resources.regionHealthChecks.methods.testIamPermissions.parameters.region.required - resources.regionHealthChecks.methods.testIamPermissions.parameters.region.type - resources.regionHealthChecks.methods.testIamPermissions.parameters.resource.description - resources.regionHealthChecks.methods.testIamPermissions.parameters.resource.location - resources.regionHealthChecks.methods.testIamPermissions.parameters.resource.pattern - resources.regionHealthChecks.methods.testIamPermissions.parameters.resource.required - resources.regionHealthChecks.methods.testIamPermissions.parameters.resource.type - resources.regionHealthChecks.methods.testIamPermissions.path - resources.regionHealthChecks.methods.testIamPermissions.request.$ref - resources.regionHealthChecks.methods.testIamPermissions.response.$ref - resources.regionHealthChecks.methods.testIamPermissions.scopes - resources.regionNotificationEndpoints.methods.testIamPermissions.description - resources.regionNotificationEndpoints.methods.testIamPermissions.flatPath - resources.regionNotificationEndpoints.methods.testIamPermissions.httpMethod - resources.regionNotificationEndpoints.methods.testIamPermissions.id - resources.regionNotificationEndpoints.methods.testIamPermissions.parameterOrder - resources.regionNotificationEndpoints.methods.testIamPermissions.parameters.project.description - resources.regionNotificationEndpoints.methods.testIamPermissions.parameters.project.location - resources.regionNotificationEndpoints.methods.testIamPermissions.parameters.project.pattern - resources.regionNotificationEndpoints.methods.testIamPermissions.parameters.project.required - resources.regionNotificationEndpoints.methods.testIamPermissions.parameters.project.type - resources.regionNotificationEndpoints.methods.testIamPermissions.parameters.region.description - resources.regionNotificationEndpoints.methods.testIamPermissions.parameters.region.location - resources.regionNotificationEndpoints.methods.testIamPermissions.parameters.region.pattern - resources.regionNotificationEndpoints.methods.testIamPermissions.parameters.region.required - resources.regionNotificationEndpoints.methods.testIamPermissions.parameters.region.type - resources.regionNotificationEndpoints.methods.testIamPermissions.parameters.resource.description - resources.regionNotificationEndpoints.methods.testIamPermissions.parameters.resource.location - resources.regionNotificationEndpoints.methods.testIamPermissions.parameters.resource.pattern - resources.regionNotificationEndpoints.methods.testIamPermissions.parameters.resource.required - resources.regionNotificationEndpoints.methods.testIamPermissions.parameters.resource.type - resources.regionNotificationEndpoints.methods.testIamPermissions.path - resources.regionNotificationEndpoints.methods.testIamPermissions.request.$ref - resources.regionNotificationEndpoints.methods.testIamPermissions.response.$ref - resources.regionNotificationEndpoints.methods.testIamPermissions.scopes - resources.routes.methods.testIamPermissions.description - resources.routes.methods.testIamPermissions.flatPath - resources.routes.methods.testIamPermissions.httpMethod - resources.routes.methods.testIamPermissions.id - resources.routes.methods.testIamPermissions.parameterOrder - resources.routes.methods.testIamPermissions.parameters.project.description - resources.routes.methods.testIamPermissions.parameters.project.location - resources.routes.methods.testIamPermissions.parameters.project.pattern - resources.routes.methods.testIamPermissions.parameters.project.required - resources.routes.methods.testIamPermissions.parameters.project.type - resources.routes.methods.testIamPermissions.parameters.resource.description - resources.routes.methods.testIamPermissions.parameters.resource.location - resources.routes.methods.testIamPermissions.parameters.resource.pattern - resources.routes.methods.testIamPermissions.parameters.resource.required - resources.routes.methods.testIamPermissions.parameters.resource.type - resources.routes.methods.testIamPermissions.path - resources.routes.methods.testIamPermissions.request.$ref - resources.routes.methods.testIamPermissions.response.$ref - resources.routes.methods.testIamPermissions.scopes - resources.targetSslProxies.methods.testIamPermissions.description - resources.targetSslProxies.methods.testIamPermissions.flatPath - resources.targetSslProxies.methods.testIamPermissions.httpMethod - resources.targetSslProxies.methods.testIamPermissions.id - resources.targetSslProxies.methods.testIamPermissions.parameterOrder - resources.targetSslProxies.methods.testIamPermissions.parameters.project.description - resources.targetSslProxies.methods.testIamPermissions.parameters.project.location - resources.targetSslProxies.methods.testIamPermissions.parameters.project.pattern - resources.targetSslProxies.methods.testIamPermissions.parameters.project.required - resources.targetSslProxies.methods.testIamPermissions.parameters.project.type - resources.targetSslProxies.methods.testIamPermissions.parameters.resource.description - resources.targetSslProxies.methods.testIamPermissions.parameters.resource.location - resources.targetSslProxies.methods.testIamPermissions.parameters.resource.pattern - resources.targetSslProxies.methods.testIamPermissions.parameters.resource.required - resources.targetSslProxies.methods.testIamPermissions.parameters.resource.type - resources.targetSslProxies.methods.testIamPermissions.path - resources.targetSslProxies.methods.testIamPermissions.request.$ref - resources.targetSslProxies.methods.testIamPermissions.response.$ref - resources.targetSslProxies.methods.testIamPermissions.scopes - resources.targetTcpProxies.methods.testIamPermissions.description - resources.targetTcpProxies.methods.testIamPermissions.flatPath - resources.targetTcpProxies.methods.testIamPermissions.httpMethod - resources.targetTcpProxies.methods.testIamPermissions.id - resources.targetTcpProxies.methods.testIamPermissions.parameterOrder - resources.targetTcpProxies.methods.testIamPermissions.parameters.project.description - resources.targetTcpProxies.methods.testIamPermissions.parameters.project.location - resources.targetTcpProxies.methods.testIamPermissions.parameters.project.pattern - resources.targetTcpProxies.methods.testIamPermissions.parameters.project.required - resources.targetTcpProxies.methods.testIamPermissions.parameters.project.type - resources.targetTcpProxies.methods.testIamPermissions.parameters.resource.description - resources.targetTcpProxies.methods.testIamPermissions.parameters.resource.location - resources.targetTcpProxies.methods.testIamPermissions.parameters.resource.pattern - resources.targetTcpProxies.methods.testIamPermissions.parameters.resource.required - resources.targetTcpProxies.methods.testIamPermissions.parameters.resource.type - resources.targetTcpProxies.methods.testIamPermissions.path - resources.targetTcpProxies.methods.testIamPermissions.request.$ref - resources.targetTcpProxies.methods.testIamPermissions.response.$ref - resources.targetTcpProxies.methods.testIamPermissions.scopes - resources.urlMaps.methods.testIamPermissions.description - resources.urlMaps.methods.testIamPermissions.flatPath - resources.urlMaps.methods.testIamPermissions.httpMethod - resources.urlMaps.methods.testIamPermissions.id - resources.urlMaps.methods.testIamPermissions.parameterOrder - resources.urlMaps.methods.testIamPermissions.parameters.project.description - resources.urlMaps.methods.testIamPermissions.parameters.project.location - resources.urlMaps.methods.testIamPermissions.parameters.project.pattern - resources.urlMaps.methods.testIamPermissions.parameters.project.required - resources.urlMaps.methods.testIamPermissions.parameters.project.type - resources.urlMaps.methods.testIamPermissions.parameters.resource.description - resources.urlMaps.methods.testIamPermissions.parameters.resource.location - resources.urlMaps.methods.testIamPermissions.parameters.resource.pattern - resources.urlMaps.methods.testIamPermissions.parameters.resource.required - resources.urlMaps.methods.testIamPermissions.parameters.resource.type - resources.urlMaps.methods.testIamPermissions.path - resources.urlMaps.methods.testIamPermissions.request.$ref - resources.urlMaps.methods.testIamPermissions.response.$ref - resources.urlMaps.methods.testIamPermissions.scopes - schemas.BackendService.properties.networkPassThroughLbTrafficPolicy.$ref - schemas.BackendService.properties.networkPassThroughLbTrafficPolicy.description - schemas.BackendServiceNetworkPassThroughLbTrafficPolicy.id - schemas.BackendServiceNetworkPassThroughLbTrafficPolicy.properties.zonalAffinity.$ref - schemas.BackendServiceNetworkPassThroughLbTrafficPolicy.properties.zonalAffinity.description - schemas.BackendServiceNetworkPassThroughLbTrafficPolicy.type - schemas.BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.id - schemas.BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.properties.spillover.description - schemas.BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.properties.spillover.enum - schemas.BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.properties.spillover.enumDescriptions - schemas.BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.properties.spillover.type - schemas.BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.properties.spilloverRatio.description - schemas.BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.properties.spilloverRatio.format - schemas.BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.properties.spilloverRatio.type - schemas.BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.type - schemas.FirewallPolicyRuleMatcher.properties.destNetworkContext.description - schemas.FirewallPolicyRuleMatcher.properties.destNetworkContext.enum - schemas.FirewallPolicyRuleMatcher.properties.destNetworkContext.enumDescriptions - schemas.FirewallPolicyRuleMatcher.properties.destNetworkContext.type - schemas.FirewallPolicyRuleMatcher.properties.srcNetworkContext.description - schemas.FirewallPolicyRuleMatcher.properties.srcNetworkContext.enum - schemas.FirewallPolicyRuleMatcher.properties.srcNetworkContext.enumDescriptions - schemas.FirewallPolicyRuleMatcher.properties.srcNetworkContext.type - schemas.License.properties.params.$ref - schemas.License.properties.params.description - schemas.LicenseParams.description - schemas.LicenseParams.id - schemas.LicenseParams.properties.resourceManagerTags.additionalProperties.type - schemas.LicenseParams.properties.resourceManagerTags.description - schemas.LicenseParams.properties.resourceManagerTags.type - schemas.LicenseParams.type - schemas.NetworkProfileNetworkFeatures.properties.allowAddressCreation.description - schemas.NetworkProfileNetworkFeatures.properties.allowAddressCreation.enum - schemas.NetworkProfileNetworkFeatures.properties.allowAddressCreation.enumDescriptions - schemas.NetworkProfileNetworkFeatures.properties.allowAddressCreation.type - schemas.NetworkProfileNetworkFeatures.properties.allowFirewallPolicy.description - schemas.NetworkProfileNetworkFeatures.properties.allowFirewallPolicy.enum - schemas.NetworkProfileNetworkFeatures.properties.allowFirewallPolicy.enumDescriptions - schemas.NetworkProfileNetworkFeatures.properties.allowFirewallPolicy.type - schemas.NetworkProfileNetworkFeatures.properties.allowMultiNicInSameSubnetwork.description - schemas.NetworkProfileNetworkFeatures.properties.allowMultiNicInSameSubnetwork.enum - schemas.NetworkProfileNetworkFeatures.properties.allowMultiNicInSameSubnetwork.enumDescriptions - schemas.NetworkProfileNetworkFeatures.properties.allowMultiNicInSameSubnetwork.type - schemas.NetworkProfileNetworkFeatures.properties.allowSubnetworkCreation.description - schemas.NetworkProfileNetworkFeatures.properties.allowSubnetworkCreation.enum - schemas.NetworkProfileNetworkFeatures.properties.allowSubnetworkCreation.enumDescriptions - schemas.NetworkProfileNetworkFeatures.properties.allowSubnetworkCreation.type - schemas.NetworkProfileNetworkFeatures.properties.allowVpcFirewallRules.description - schemas.NetworkProfileNetworkFeatures.properties.allowVpcFirewallRules.enum - schemas.NetworkProfileNetworkFeatures.properties.allowVpcFirewallRules.enumDescriptions - schemas.NetworkProfileNetworkFeatures.properties.allowVpcFirewallRules.type - schemas.NetworkProfileNetworkFeatures.properties.firewallPolicyTypes.items.enum - schemas.NetworkProfileNetworkFeatures.properties.firewallPolicyTypes.items.enumDescriptions - schemas.NetworkProfileNetworkFeatures.properties.firewallPolicyTypes.items.type - schemas.NetworkProfileNetworkFeatures.properties.firewallPolicyTypes.type - schemas.NetworkProfileNetworkFeatures.properties.predefinedNetworkInternalIpv6Range.description - schemas.NetworkProfileNetworkFeatures.properties.predefinedNetworkInternalIpv6Range.type - schemas.NetworkProfileNetworkFeatures.properties.predefinedSubnetworkRanges.description - schemas.NetworkProfileNetworkFeatures.properties.predefinedSubnetworkRanges.items.$ref - schemas.NetworkProfileNetworkFeatures.properties.predefinedSubnetworkRanges.type - schemas.NetworkProfileNetworkFeaturesPredefinedSubnetworkRange.id - schemas.NetworkProfileNetworkFeaturesPredefinedSubnetworkRange.properties.ipv6Range.description - schemas.NetworkProfileNetworkFeaturesPredefinedSubnetworkRange.properties.ipv6Range.type - schemas.NetworkProfileNetworkFeaturesPredefinedSubnetworkRange.properties.namePrefix.description - schemas.NetworkProfileNetworkFeaturesPredefinedSubnetworkRange.properties.namePrefix.type - schemas.NetworkProfileNetworkFeaturesPredefinedSubnetworkRange.type - schemas.ReservationBlock.properties.inUseHostCount.description - schemas.ReservationBlock.properties.inUseHostCount.format - schemas.ReservationBlock.properties.inUseHostCount.readOnly - schemas.ReservationBlock.properties.inUseHostCount.type - schemas.ReservationSubBlock.properties.inUseHostCount.description - schemas.ReservationSubBlock.properties.inUseHostCount.format - schemas.ReservationSubBlock.properties.inUseHostCount.readOnly - schemas.ReservationSubBlock.properties.inUseHostCount.type - schemas.SourceInstanceProperties.properties.postKeyRevocationActionType.description - schemas.SourceInstanceProperties.properties.postKeyRevocationActionType.enum - schemas.SourceInstanceProperties.properties.postKeyRevocationActionType.enumDescriptions - schemas.SourceInstanceProperties.properties.postKeyRevocationActionType.type - schemas.StoragePool.properties.params.$ref - schemas.StoragePool.properties.params.description - schemas.StoragePoolParams.description - schemas.StoragePoolParams.id - schemas.StoragePoolParams.properties.resourceManagerTags.additionalProperties.type - schemas.StoragePoolParams.properties.resourceManagerTags.description - schemas.StoragePoolParams.properties.resourceManagerTags.type - schemas.StoragePoolParams.type The following keys were changed: - schemas.Commitment.properties.type.enum - schemas.Commitment.properties.type.enumDescriptions - schemas.NetworkProfileProfileType.properties.rdmaSubtype.enum - schemas.NetworkProfileProfileType.properties.rdmaSubtype.enumDescriptions --- discovery/compute-alpha.json | 435 ++++- discovery/compute-beta.json | 486 +++++- discovery/compute-v1.json | 706 ++++++++- src/apis/compute/alpha.ts | 457 +++++- src/apis/compute/beta.ts | 712 +++++++++ src/apis/compute/v1.ts | 2902 +++++++++++++++++++++++++++++----- 6 files changed, 5267 insertions(+), 431 deletions(-) diff --git a/discovery/compute-alpha.json b/discovery/compute-alpha.json index 9db4e2c08ef..1fbedc9c93b 100644 --- a/discovery/compute-alpha.json +++ b/discovery/compute-alpha.json @@ -28456,6 +28456,49 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, + "getHealth": { + "description": "Gets the most recent health check results for this\nregional CompositeHealthCheck.", + "flatPath": "projects/{project}/regions/{region}/compositeHealthChecks/{compositeHealthCheck}/getHealth", + "httpMethod": "GET", + "id": "compute.regionCompositeHealthChecks.getHealth", + "parameterOrder": [ + "project", + "region", + "compositeHealthCheck" + ], + "parameters": { + "compositeHealthCheck": { + "description": "Name of the CompositeHealthCheck resource to get health for.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "project": { + "description": "Name of the project scoping this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/regions/{region}/compositeHealthChecks/{compositeHealthCheck}/getHealth", + "response": { + "$ref": "CompositeHealthChecksGetHealthResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, "insert": { "description": "Create a CompositeHealthCheck in the specified project in the given region\nusing the parameters that are included in the request.", "flatPath": "projects/{project}/regions/{region}/compositeHealthChecks", @@ -53698,7 +53741,7 @@ } } }, - "revision": "20251210", + "revision": "20251230", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -61595,6 +61638,58 @@ }, "type": "object" }, + "CompositeHealthChecksGetHealthResponse": { + "description": "Response message for RegionCompositeHealthChecks.GetHealth", + "id": "CompositeHealthChecksGetHealthResponse", + "properties": { + "healthSources": { + "description": "Health sources and their corresponding health states.", + "items": { + "$ref": "CompositeHealthChecksGetHealthResponseHealthSourceHealth" + }, + "type": "array" + }, + "healthState": { + "description": "Health state of the CompositeHealthCheck.", + "enum": [ + "HEALTHY", + "UNHEALTHY", + "UNKNOWN" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "CompositeHealthChecksGetHealthResponseHealthSourceHealth": { + "id": "CompositeHealthChecksGetHealthResponseHealthSourceHealth", + "properties": { + "healthState": { + "description": "Health state of the associated HealthSource resource.", + "enum": [ + "HEALTHY", + "UNHEALTHY", + "UNKNOWN" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "source": { + "description": "URL of the associated HealthSource resource.", + "type": "string" + } + }, + "type": "object" + }, "CompositeHealthChecksScopedList": { "id": "CompositeHealthChecksScopedList", "properties": { @@ -65144,6 +65239,10 @@ "readOnly": true, "type": "string" }, + "rolloutOperation": { + "$ref": "FirewallPolicyRolloutOperation", + "description": "Configuration and status of the progressive rollout of this resource." + }, "ruleTupleCount": { "description": "Output only. [Output Only] Total count of all firewall policy rule tuples. A firewall\npolicy can not exceed a set number of tuples.", "format": "int32", @@ -65371,6 +65470,121 @@ }, "type": "object" }, + "FirewallPolicyRolloutOperation": { + "description": "Represents progressive rollout input parameters and current status.", + "id": "FirewallPolicyRolloutOperation", + "properties": { + "rolloutInput": { + "$ref": "FirewallPolicyRolloutOperationRolloutInput", + "description": "Input parameters to be used by the next not yet scheduled rollout." + }, + "rolloutStatus": { + "$ref": "FirewallPolicyRolloutOperationRolloutStatus", + "description": "[Output only] Current status of the rollout." + } + }, + "type": "object" + }, + "FirewallPolicyRolloutOperationRolloutInput": { + "description": "Represents progressive rollout input parameters.", + "id": "FirewallPolicyRolloutOperationRolloutInput", + "properties": { + "name": { + "description": "The name of the rollout plan. Ex.\norganizations//locations/global/rolloutPlans/.", + "type": "string" + }, + "predefinedRolloutPlan": { + "description": "Predefined rollout plan.", + "enum": [ + "DEFAULT_ROLLOUT_PLAN" + ], + "enumDescriptions": [ + "A default predefined rollout plan." + ], + "type": "string" + }, + "retryUuid": { + "description": "The UUID of the retry action. Only needed if this is a retry for an\nexisting rollout. This can be used after the user canceled a rollout\nand want to retry it with no changes.", + "type": "string" + } + }, + "type": "object" + }, + "FirewallPolicyRolloutOperationRolloutStatus": { + "description": "Represents progressive rollout current status.", + "id": "FirewallPolicyRolloutOperationRolloutStatus", + "properties": { + "nextRollout": { + "$ref": "FirewallPolicyRolloutOperationRolloutStatusNextRollout", + "description": "[Output only] The next rollout." + }, + "ongoingRollouts": { + "description": "[Output only] The ongoing rollout.", + "items": { + "$ref": "FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata" + }, + "type": "array" + }, + "previousRollout": { + "$ref": "FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata", + "description": "[Output only] The last previously executed rollout." + } + }, + "type": "object" + }, + "FirewallPolicyRolloutOperationRolloutStatusNextRollout": { + "id": "FirewallPolicyRolloutOperationRolloutStatusNextRollout", + "properties": { + "rolloutId": { + "description": "Output only. [Output only] The id of the next rollout.", + "readOnly": true, + "type": "string" + }, + "rolloutPlan": { + "description": "The name of the rollout plan to be used by the next not yet started\nrollout. This field is auto populated based on RolloutInput when a\nnew rollout is scheduled. This can be manually changed before the\nscheduled rollout starts.\nEx.\norganizations//locations/global/rolloutPlans/", + "type": "string" + } + }, + "type": "object" + }, + "FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata": { + "description": "Represents the status of the progressive rollout instance, either\ncompleted or ongoing.", + "id": "FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata", + "properties": { + "rollout": { + "description": "Output only. [Output only] The name of the rollout\norganizations//locations/global/rollouts/", + "readOnly": true, + "type": "string" + }, + "rolloutPlan": { + "description": "Output only. [Output only] The name of the rollout plan used by this rollout\norganizations//locations/global/rolloutPlans/", + "readOnly": true, + "type": "string" + }, + "state": { + "description": "Output only. [Output only] The state of the rollout.", + "enum": [ + "CANCELLED", + "COMPLETED", + "FAILED", + "PAUSED", + "PROCESSING", + "UNKNOWN" + ], + "enumDescriptions": [ + "The current Hierarchical Firewall Policy state was propagated to\nsome regions before being canceled. Use Rollout.Get API to see\nwhich regions get the current state. Use GetEffectiveFirewalls API\non the RB VPC in the regions that didn't get the current state to\nsee the effective state there.", + "The current Hierarchical Firewall Policy state is propagated\neverywhere.", + "The current Hierarchical Firewall Policy state is propagated\npartially, due to failures in some regions. Use Rollout.Get API to\nsee which regions were skipped.", + "The rollout is paused.", + "Rollout is in progress.", + "It is impossible to determine the current state of the iteration." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "FirewallPolicyRule": { "description": "Represents a rule that describes one or more match conditions along with\nthe action to be taken when traffic matches this condition (allow or deny).", "id": "FirewallPolicyRule", @@ -75787,6 +76001,14 @@ "description": "Output only. [Output only] Status of all-instances configuration on the group.", "readOnly": true }, + "appliedAcceleratorTopologies": { + "description": "Output only. [Output Only] The accelerator topology applied to this MIG.\nCurrently only one accelerator topology is supported.", + "items": { + "$ref": "InstanceGroupManagerStatusAcceleratorTopology" + }, + "readOnly": true, + "type": "array" + }, "autoscaler": { "description": "Output only. [Output Only] The URL of theAutoscaler\nthat targets this instance group manager.", "readOnly": true, @@ -75797,6 +76019,11 @@ "description": "Output only. [Output Only] The status of bulk instance operation.", "readOnly": true }, + "currentInstanceStatuses": { + "$ref": "InstanceGroupManagerStatusInstanceStatusSummary", + "description": "Output only. [Output Only] The list of instance statuses and the number of instances\nin this managed instance group that have the status. Currently only shown\nfor TPU MIGs", + "readOnly": true + }, "isStable": { "description": "Output only. [Output Only] A bit indicating whether the managed instance group is in a\nstable state. A stable state means that: none of the instances in the\nmanaged instance group is currently undergoing any type of change (for\nexample, creation, restart, or deletion); no future changes are scheduled\nfor instances in the managed instance group; and the managed instance\ngroup itself is not being modified.", "readOnly": true, @@ -75815,6 +76042,106 @@ }, "type": "object" }, + "InstanceGroupManagerStatusAcceleratorTopology": { + "id": "InstanceGroupManagerStatusAcceleratorTopology", + "properties": { + "acceleratorTopology": { + "description": "Output only. [Output Only] Topology in the format of: \"16x16\", \"4x4x4\", etc.\nThe value is the same as configured in the WorkloadPolicy.", + "readOnly": true, + "type": "string" + }, + "state": { + "description": "Output only. [Output Only] The state of the accelerator topology.", + "enum": [ + "ACTIVATING", + "ACTIVE", + "ACTIVE_DEGRADED", + "DEACTIVATING", + "FAILED", + "INCOMPLETE", + "REACTIVATING" + ], + "enumDescriptions": [ + "The accelerator topology is being activated.", + "The accelerator topology is active.", + "The accelerator topology is active but operating in degraded mode.", + "The accelerator topology is being deactivated.", + "The accelerator topology failed.", + "The configuration is incomplete and the accelerator topology cannot\nbe activated due to insufficient number of running VMs.", + "The accelerator topology is being reactivated." + ], + "readOnly": true, + "type": "string" + }, + "stateDetails": { + "$ref": "InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails", + "description": "Output only. [Output Only] The result of the latest accelerator topology state\ncheck.", + "readOnly": true + } + }, + "type": "object" + }, + "InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails": { + "id": "InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails", + "properties": { + "error": { + "description": "Output only. [Output Only] Encountered errors.", + "properties": { + "errors": { + "description": "[Output Only] The array of errors encountered while processing this\noperation.", + "items": { + "properties": { + "code": { + "description": "[Output Only] The error type identifier for this error.", + "type": "string" + }, + "errorDetails": { + "description": "[Output Only] An optional list of messages that contain the error\ndetails. There is a set of defined message types to use for providing\ndetails.The syntax depends on the error code. For example,\nQuotaExceededInfo will have details when the error code is\nQUOTA_EXCEEDED.", + "items": { + "properties": { + "errorInfo": { + "$ref": "ErrorInfo" + }, + "help": { + "$ref": "Help" + }, + "localizedMessage": { + "$ref": "LocalizedMessage" + }, + "quotaInfo": { + "$ref": "QuotaExceededInfo" + } + }, + "type": "object" + }, + "type": "array" + }, + "location": { + "description": "[Output Only] Indicates the field in the request that caused the error.\nThis property is optional.", + "type": "string" + }, + "message": { + "description": "[Output Only] An optional, human-readable error message.", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "readOnly": true, + "type": "object" + }, + "timestamp": { + "description": "Output only. [Output Only] Timestamp is shown only if there is an error. The field\nhas // RFC3339 //\ntext format.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "InstanceGroupManagerStatusAllInstancesConfig": { "id": "InstanceGroupManagerStatusAllInstancesConfig", "properties": { @@ -75909,6 +76236,91 @@ }, "type": "object" }, + "InstanceGroupManagerStatusInstanceStatusSummary": { + "description": "The list of instance statuses and the number of instances in this managed\ninstance group that have the status. For more information about how to\ninterpret each status check the instance lifecycle documentation.\nCurrently only shown for TPU MIGs.", + "id": "InstanceGroupManagerStatusInstanceStatusSummary", + "properties": { + "deprovisioning": { + "description": "Output only. [Output Only] The number of instances in the managed instance group\nthat have DEPROVISIONING status.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "nonExistent": { + "description": "Output only. [Output Only] The number of instances that have not been created yet or\nhave been deleted. Includes only instances that would be shown in the\nlistManagedInstances method and not all instances that have been\ndeleted in the lifetime of the MIG.\nDoes not include FlexStart instances that are waiting for the resources\navailability, they are considered as 'pending'.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "pending": { + "description": "Output only. [Output Only] The number of instances in the managed instance group\nthat have PENDING status, that is FlexStart instances that are waiting\nfor resources. Instances that do not exist because of the other reasons\nare counted as 'non_existent'.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "pendingStop": { + "description": "Output only. [Output Only] The number of instances in the managed instance group\nthat have PENDING_STOP status.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "provisioning": { + "description": "Output only. [Output Only] The number of instances in the managed instance group\nthat have PROVISIONING status.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "repairing": { + "description": "Output only. [Output Only] The number of instances in the managed instance group\nthat have REPAIRING status.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "running": { + "description": "Output only. [Output Only] The number of instances in the managed instance group\nthat have RUNNING status.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "staging": { + "description": "Output only. [Output Only] The number of instances in the managed instance group\nthat have STAGING status.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "stopped": { + "description": "Output only. [Output Only] The number of instances in the managed instance group\nthat have STOPPED status.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "stopping": { + "description": "Output only. [Output Only] The number of instances in the managed instance group\nthat have STOPPING status.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "suspended": { + "description": "Output only. [Output Only] The number of instances in the managed instance group\nthat have SUSPENDED status.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "suspending": { + "description": "Output only. [Output Only] The number of instances in the managed instance group\nthat have SUSPENDING status.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "terminated": { + "description": "Output only. [Output Only] The number of instances in the managed instance group\nthat have TERMINATED status.", + "format": "int32", + "readOnly": true, + "type": "integer" + } + }, + "type": "object" + }, "InstanceGroupManagerStatusStateful": { "id": "InstanceGroupManagerStatusStateful", "properties": { @@ -84426,7 +84838,7 @@ "additionalProperties": { "type": "string" }, - "description": "Input only. Resource manager tags to be bound to the license. Tag keys and values\nhave the same definition as resource\nmanager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and\nvalues are in the format `tagValues/{tag_value_id}`. The field is ignored\n(both PUT & PATCH) when empty.", + "description": "Input only. Resource manager tags to be bound to the license. Tag keys and values\nhave the same definition as resource\nmanager tags. Keys and values can be either in numeric format,\nsuch as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced\nformat such as `{org_id|project_id}/{tag_key_short_name}` and\n`{tag_value_short_name}`. The field is ignored (both PUT &\nPATCH) when empty.", "type": "object" } }, @@ -85393,6 +85805,13 @@ "type": "string" }, "type": "array" + }, + "resourceManagerTags": { + "additionalProperties": { + "type": "string" + }, + "description": "Input only. Resource manager tags to be bound to the machine image. Tag keys and values\nhave the same definition as resource\nmanager tags. Keys and values can be either in numeric format,\nsuch as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced\nformat such as `{org_id|project_id}/{tag_key_short_name}` and\n`{tag_value_short_name}`. The field is ignored (both PUT &\nPATCH) when empty.", + "type": "object" } }, "type": "object" @@ -86607,7 +87026,7 @@ "type": "string" }, "name": { - "description": "Output only. [Output Only] The name of this multi-MIG member generated by\nGoogle Compute Engine.", + "description": "Output only. [Output Only] Server-defined name for the multi-MIG member.", "readOnly": true, "type": "string" }, @@ -91465,7 +91884,7 @@ "enumDescriptions": [ "RDMA over Falcon.", "RDMA over Converged Ethernet (RoCE).", - "RDMA over RoCE for Bare Metal." + "RDMA over Converged Ethernet (RoCE) for Bare Metal." ], "type": "string" }, @@ -103421,6 +103840,10 @@ "readOnly": true, "type": "string" }, + "shareSettings": { + "$ref": "ShareSettings", + "description": "Specify share-settings to create a shared slot. Set to empty\nto inherit share settings from a parent resource." + }, "state": { "description": "Output only. [Output Only] State of the reservation slot.", "enum": [ @@ -115913,7 +116336,7 @@ "additionalProperties": { "type": "string" }, - "description": "Input only. Resource manager tags to be bound to the storage pool. Tag keys and values\nhave the same definition as resource\nmanager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and\nvalues are in the format `tagValues/{tag_value_id}`. The field is ignored\n(both PUT & PATCH) when empty.", + "description": "Input only. Resource manager tags to be bound to the storage pool. Tag keys and values\nhave the same definition as resource\nmanager tags. Keys and values can be either in numeric format,\nsuch as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced\nformat such as `{org_id|project_id}/{tag_key_short_name}` and\n`{tag_value_short_name}`. The field is ignored (both PUT &\nPATCH) when empty.", "type": "object" } }, @@ -124778,7 +125201,7 @@ "HIGH" ], "enumDescriptions": [ - "DEFAULT: A VPN tunnel which can support up to 1 Gbps.", + "DEFAULT: A VPN tunnel which can support up to 3 Gbps.", "HIGH: A VPN tunnel which can support up to 6 Gbps." ], "type": "string" diff --git a/discovery/compute-beta.json b/discovery/compute-beta.json index b826eed0dbd..a0c7f0cfdb8 100644 --- a/discovery/compute-beta.json +++ b/discovery/compute-beta.json @@ -31631,6 +31631,130 @@ } } }, + "regionMultiMigMembers": { + "methods": { + "get": { + "description": "Retrieves information about the specified multi-MIG member.", + "flatPath": "projects/{project}/regions/{region}/multiMigs/{multiMig}/multiMigMembers/{multiMigMember}", + "httpMethod": "GET", + "id": "compute.regionMultiMigMembers.get", + "parameterOrder": [ + "project", + "region", + "multiMig", + "multiMigMember" + ], + "parameters": { + "multiMig": { + "description": "The name of the multi-MIG.\nName should conform to RFC1035 or be a resource ID.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "multiMigMember": { + "description": "The name of the multi-MIG member.\nName should conform to RFC1035 or be a resource ID.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request. Region name should conform to RFC1035.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/regions/{region}/multiMigs/{multiMig}/multiMigMembers/{multiMigMember}", + "response": { + "$ref": "MultiMigMember" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, + "list": { + "description": "Retrieves a list of members of a specific multi-MIG.", + "flatPath": "projects/{project}/regions/{region}/multiMigs/{multiMig}/multiMigMembers", + "httpMethod": "GET", + "id": "compute.regionMultiMigMembers.list", + "parameterOrder": [ + "project", + "region", + "multiMig" + ], + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "default": "500", + "description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", + "format": "uint32", + "location": "query", + "minimum": "0", + "type": "integer" + }, + "multiMig": { + "description": "The name of the multi-MIG.\nName should conform to RFC1035 or be a resource ID.", + "location": "path", + "required": true, + "type": "string" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request. Region name should conform to RFC1035.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", + "location": "query", + "type": "boolean" + } + }, + "path": "projects/{project}/regions/{region}/multiMigs/{multiMig}/multiMigMembers", + "response": { + "$ref": "MultiMigMemberList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + } + } + }, "regionMultiMigs": { "methods": { "delete": { @@ -49456,7 +49580,7 @@ } } }, - "revision": "20251210", + "revision": "20251230", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -55688,9 +55812,15 @@ "MEMORY_OPTIMIZED_M3", "MEMORY_OPTIMIZED_M4", "MEMORY_OPTIMIZED_M4_6TB", + "MEMORY_OPTIMIZED_X4_1440_24T", "MEMORY_OPTIMIZED_X4_16TB", + "MEMORY_OPTIMIZED_X4_1920_32T", "MEMORY_OPTIMIZED_X4_24TB", "MEMORY_OPTIMIZED_X4_32TB", + "MEMORY_OPTIMIZED_X4_480_6T", + "MEMORY_OPTIMIZED_X4_480_8T", + "MEMORY_OPTIMIZED_X4_960_12T", + "MEMORY_OPTIMIZED_X4_960_16T", "STORAGE_OPTIMIZED_Z3", "TYPE_UNSPECIFIED" ], @@ -55722,9 +55852,15 @@ "", "", "", + "CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory.", "", + "CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory.", "", "", + "CUD bucket for X4 machine with 480 vCPUs and 6TB of memory.", + "CUD bucket for X4 machine with 480 vCPUs and 8TB of memory.", + "CUD bucket for X4 machine with 960 vCPUs and 12TB of memory.", + "CUD bucket for X4 machine with 960 vCPUs and 16TB of memory.", "", "Note for internal users: When adding a new enum Type for v1, make sure\nto also add it in the comment for the `optional Type type` definition.\nThis ensures that the public documentation displays the new enum Type." ], @@ -76525,6 +76661,10 @@ "description": "If true, indicates this is an OS license. Only one OS license can be\nattached to a disk or image at a time.", "type": "boolean" }, + "params": { + "$ref": "LicenseParams", + "description": "Input only. Additional params passed with the request, but not persisted\nas part of resource payload." + }, "removableFromDisk": { "description": "If true, this license can be removed from a disk's set of licenses, with no\nreplacement license needed.", "type": "boolean" @@ -76658,6 +76798,20 @@ }, "type": "object" }, + "LicenseParams": { + "description": "Additional license params.", + "id": "LicenseParams", + "properties": { + "resourceManagerTags": { + "additionalProperties": { + "type": "string" + }, + "description": "Input only. Resource manager tags to be bound to the license. Tag keys and values\nhave the same definition as resource\nmanager tags. Keys and values can be either in numeric format,\nsuch as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced\nformat such as `{org_id|project_id}/{tag_key_short_name}` and\n`{tag_value_short_name}`. The field is ignored (both PUT &\nPATCH) when empty.", + "type": "object" + } + }, + "type": "object" + }, "LicenseResourceCommitment": { "description": "Commitment for a particular license resource.", "id": "LicenseResourceCommitment", @@ -78256,6 +78410,216 @@ }, "type": "object" }, + "MultiMigMember": { + "description": "Represents a Multi-MIG member resource.", + "id": "MultiMigMember", + "properties": { + "creationTimestamp": { + "description": "Output only. [Output Only] Creation timestamp of this multi-MIG member inRFC3339 text format.", + "readOnly": true, + "type": "string" + }, + "id": { + "description": "Output only. [Output only] The unique identifier for this resource type. The server\ngenerates this identifier.", + "format": "uint64", + "readOnly": true, + "type": "string" + }, + "kind": { + "default": "compute#multiMigMember", + "description": "Output only. Type of the resource. Alwayscompute#multiMigMember for a list of multi-MIG members.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Output only. [Output Only] Server-defined name for the multi-MIG member.", + "readOnly": true, + "type": "string" + }, + "region": { + "description": "Output only. [Output Only] The URL of the region where the multi-MIG resides.", + "readOnly": true, + "type": "string" + }, + "selfLink": { + "description": "Output only. [Output Only] Server-defined fully-qualified URL for this resource.", + "readOnly": true, + "type": "string" + }, + "status": { + "$ref": "MultiMigMemberStatus", + "description": "Output only. [Output Only] The status of this multi-MIG member", + "readOnly": true + } + }, + "type": "object" + }, + "MultiMigMemberList": { + "id": "MultiMigMemberList", + "properties": { + "id": { + "description": "Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of multi-MIG member resources.", + "items": { + "$ref": "MultiMigMember" + }, + "type": "array" + }, + "kind": { + "default": "compute#multiMigMemberList", + "description": "Output only. Type of the resource. Alwayscompute#multiMigMember for a list of multi-MIG members.", + "readOnly": true, + "type": "string" + }, + "nextPageToken": { + "description": "This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "Output only. [Output only] Server-defined URL for this resource.", + "readOnly": true, + "type": "string" + }, + "warning": { + "description": "Informational warning message.", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "QUOTA_INFO_UNAVAILABLE", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed\noperation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as\ndeprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as\nexperimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden.\nDeprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the\nnetwork.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite\nthe mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "Quota information is not available to client requests (e.g:\nregions.list).", + "The user attempted to use a resource that requires a TOS they have not\naccepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", + "items": { + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "MultiMigMemberStatus": { + "id": "MultiMigMemberStatus", + "properties": { + "instanceGroupManager": { + "description": "[Output Only] URL of member instance group manager", + "type": "string" + } + }, + "type": "object" + }, "MultiMigResourcePolicies": { "description": "Resource policies message for a multi-MIG. Specifies the workload policy\nconfiguration of the multi-MIG.", "id": "MultiMigResourcePolicies", @@ -78277,6 +78641,12 @@ }, "readOnly": true, "type": "array" + }, + "membersCount": { + "description": "Output only. [Output Only] The number of instance group manager members in this\nmulti-MIG.", + "format": "int32", + "readOnly": true, + "type": "integer" } }, "type": "object" @@ -80950,6 +81320,11 @@ "readOnly": true, "type": "string" }, + "macAddress": { + "description": "Output only. [Output Only] MAC address assigned to this network interface.", + "readOnly": true, + "type": "string" + }, "name": { "description": "[Output Only] The name of the network interface, which is generated by the\nserver. For a VM, the network interface uses the nicN naming\nformat. Where N is a value between 0 and7. The default interface value is nic0.", "type": "string" @@ -82230,6 +82605,18 @@ }, "type": "array" }, + "allowAddressCreation": { + "description": "Specifies whether address creation is allowed.", + "enum": [ + "ADDRESS_CREATION_ALLOWED", + "ADDRESS_CREATION_BLOCKED" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, "allowAliasIpRanges": { "description": "Specifies whether alias IP ranges (and secondary address ranges) are\nallowed.", "enum": [ @@ -82374,6 +82761,18 @@ ], "type": "string" }, + "allowMultiNicInSameSubnetwork": { + "description": "Specifies whether multi-nic in the same subnetwork is allowed.", + "enum": [ + "MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED", + "MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, "allowMulticast": { "description": "Specifies whether multicast is allowed.", "enum": [ @@ -82482,6 +82881,30 @@ ], "type": "string" }, + "allowSubnetworkCreation": { + "description": "Specifies whether subnetwork creation is allowed.", + "enum": [ + "SUBNETWORK_CREATION_ALLOWED", + "SUBNETWORK_CREATION_BLOCKED" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "allowVpcFirewallRules": { + "description": "Specifies whether VPC firewall rules can be created under the network.", + "enum": [ + "VPC_FIREWALL_RULES_ALLOWED", + "VPC_FIREWALL_RULES_BLOCKED" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, "allowVpcPeering": { "description": "Specifies whether VPC peering is allowed.", "enum": [ @@ -82555,6 +82978,17 @@ ], "type": "string" }, + "predefinedNetworkInternalIpv6Range": { + "description": "Specifies a predefined internal IPv6 range for the network.", + "type": "string" + }, + "predefinedSubnetworkRanges": { + "description": "Predefined subnetwork ranges for the network.", + "items": { + "$ref": "NetworkProfileNetworkFeaturesPredefinedSubnetworkRange" + }, + "type": "array" + }, "subnetPurposes": { "description": "Specifies which subnetwork purposes are supported.", "items": { @@ -82648,6 +83082,20 @@ }, "type": "object" }, + "NetworkProfileNetworkFeaturesPredefinedSubnetworkRange": { + "id": "NetworkProfileNetworkFeaturesPredefinedSubnetworkRange", + "properties": { + "ipv6Range": { + "description": "The IPv6 range of the predefined subnetwork.", + "type": "string" + }, + "namePrefix": { + "description": "The naming prefix of the predefined subnetwork.", + "type": "string" + } + }, + "type": "object" + }, "NetworkProfileProfileType": { "id": "NetworkProfileProfileType", "properties": { @@ -82667,11 +83115,13 @@ "rdmaSubtype": { "enum": [ "FALCON", - "ROCE" + "ROCE", + "ROCE_METAL" ], "enumDescriptions": [ "RDMA over Falcon.", - "RDMA over Converged Ethernet (RoCE)." + "RDMA over Converged Ethernet (RoCE).", + "RDMA over Converged Ethernet (RoCE) for Bare Metal." ], "type": "string" }, @@ -102716,6 +103166,10 @@ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "type": "string" }, + "params": { + "$ref": "StoragePoolParams", + "description": "Input only. Additional params passed with the request, but not persisted\nas part of resource payload." + }, "performanceProvisioningType": { "description": "Provisioning type of the performance-related parameters of the pool,\nsuch as throughput and IOPS.", "enum": [ @@ -103417,6 +103871,20 @@ }, "type": "object" }, + "StoragePoolParams": { + "description": "Additional storage pool params.", + "id": "StoragePoolParams", + "properties": { + "resourceManagerTags": { + "additionalProperties": { + "type": "string" + }, + "description": "Input only. Resource manager tags to be bound to the storage pool. Tag keys and values\nhave the same definition as resource\nmanager tags. Keys and values can be either in numeric format,\nsuch as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced\nformat such as `{org_id|project_id}/{tag_key_short_name}` and\n`{tag_value_short_name}`. The field is ignored (both PUT &\nPATCH) when empty.", + "type": "object" + } + }, + "type": "object" + }, "StoragePoolResourceStatus": { "description": "[Output Only] Contains output only fields.", "id": "StoragePoolResourceStatus", @@ -111964,6 +112432,18 @@ "description": "Represents a Cloud VPN Tunnel resource.\n\nFor more information about VPN, read the\nthe Cloud VPN Overview.", "id": "VpnTunnel", "properties": { + "capacityTier": { + "description": "Capacity tier of the VPN tunnel. This is used for IPsec over Interconnect\ntunnels to indicate different bandwidth limits.", + "enum": [ + "DEFAULT", + "HIGH" + ], + "enumDescriptions": [ + "DEFAULT: A VPN tunnel which can support up to 3 Gbps.", + "HIGH: A VPN tunnel which can support up to 6 Gbps." + ], + "type": "string" + }, "cipherSuite": { "$ref": "VpnTunnelCipherSuite", "description": "User specified list of ciphers to use for the phase 1 and phase 2 of the\nIKE protocol." diff --git a/discovery/compute-v1.json b/discovery/compute-v1.json index 39af2d6a1ab..df9fe74755d 100644 --- a/discovery/compute-v1.json +++ b/discovery/compute-v1.json @@ -1062,6 +1062,52 @@ "https://www.googleapis.com/auth/compute" ] }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource.", + "flatPath": "projects/{project}/zones/{zone}/autoscalers/{resource}/testIamPermissions", + "httpMethod": "POST", + "id": "compute.autoscalers.testIamPermissions", + "parameterOrder": [ + "project", + "zone", + "resource" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/zones/{zone}/autoscalers/{resource}/testIamPermissions", + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, "update": { "description": "Updates an autoscaler in the specified project using the data\nincluded in the request.", "flatPath": "projects/{project}/zones/{zone}/autoscalers", @@ -7306,6 +7352,44 @@ "https://www.googleapis.com/auth/compute" ] }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource.", + "flatPath": "projects/{project}/global/healthChecks/{resource}/testIamPermissions", + "httpMethod": "POST", + "id": "compute.healthChecks.testIamPermissions", + "parameterOrder": [ + "project", + "resource" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/global/healthChecks/{resource}/testIamPermissions", + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, "update": { "description": "Updates a HealthCheck resource in the specified project using the data\nincluded in the request.", "flatPath": "projects/{project}/global/healthChecks/{healthCheck}", @@ -7557,6 +7641,44 @@ "https://www.googleapis.com/auth/compute" ] }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource.", + "flatPath": "projects/{project}/global/httpHealthChecks/{resource}/testIamPermissions", + "httpMethod": "POST", + "id": "compute.httpHealthChecks.testIamPermissions", + "parameterOrder": [ + "project", + "resource" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/global/httpHealthChecks/{resource}/testIamPermissions", + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, "update": { "description": "Updates a HttpHealthCheck resource in the specified project using the data\nincluded in the request.", "flatPath": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", @@ -7808,6 +7930,44 @@ "https://www.googleapis.com/auth/compute" ] }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource.", + "flatPath": "projects/{project}/global/httpsHealthChecks/{resource}/testIamPermissions", + "httpMethod": "POST", + "id": "compute.httpsHealthChecks.testIamPermissions", + "parameterOrder": [ + "project", + "resource" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/global/httpsHealthChecks/{resource}/testIamPermissions", + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, "update": { "description": "Updates a HttpsHealthCheck resource in the specified project using the data\nincluded in the request.", "flatPath": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", @@ -23103,6 +23263,52 @@ "https://www.googleapis.com/auth/compute" ] }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource.", + "flatPath": "projects/{project}/regions/{region}/autoscalers/{resource}/testIamPermissions", + "httpMethod": "POST", + "id": "compute.regionAutoscalers.testIamPermissions", + "parameterOrder": [ + "project", + "region", + "resource" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "region": { + "description": "The name of the region for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/regions/{region}/autoscalers/{resource}/testIamPermissions", + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, "update": { "description": "Updates an autoscaler in the specified project using\nthe data included in the request.", "flatPath": "projects/{project}/regions/{region}/autoscalers", @@ -25466,6 +25672,52 @@ "https://www.googleapis.com/auth/compute" ] }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource.", + "flatPath": "projects/{project}/regions/{region}/healthChecks/{resource}/testIamPermissions", + "httpMethod": "POST", + "id": "compute.regionHealthChecks.testIamPermissions", + "parameterOrder": [ + "project", + "region", + "resource" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "region": { + "description": "The name of the region for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/regions/{region}/healthChecks/{resource}/testIamPermissions", + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, "update": { "description": "Updates a HealthCheck resource in the specified project using the data\nincluded in the request.", "flatPath": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", @@ -29001,6 +29253,52 @@ "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource.", + "flatPath": "projects/{project}/regions/{region}/notificationEndpoints/{resource}/testIamPermissions", + "httpMethod": "POST", + "id": "compute.regionNotificationEndpoints.testIamPermissions", + "parameterOrder": [ + "project", + "region", + "resource" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "region": { + "description": "The name of the region for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/regions/{region}/notificationEndpoints/{resource}/testIamPermissions", + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] } } }, @@ -34435,6 +34733,44 @@ "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource.", + "flatPath": "projects/{project}/global/routes/{resource}/testIamPermissions", + "httpMethod": "POST", + "id": "compute.routes.testIamPermissions", + "parameterOrder": [ + "project", + "resource" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/global/routes/{resource}/testIamPermissions", + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] } } }, @@ -40175,6 +40511,44 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource.", + "flatPath": "projects/{project}/global/targetSslProxies/{resource}/testIamPermissions", + "httpMethod": "POST", + "id": "compute.targetSslProxies.testIamPermissions", + "parameterOrder": [ + "project", + "resource" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/global/targetSslProxies/{resource}/testIamPermissions", + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] } } }, @@ -40492,6 +40866,44 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource.", + "flatPath": "projects/{project}/global/targetTcpProxies/{resource}/testIamPermissions", + "httpMethod": "POST", + "id": "compute.targetTcpProxies.testIamPermissions", + "parameterOrder": [ + "project", + "resource" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/global/targetTcpProxies/{resource}/testIamPermissions", + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] } } }, @@ -41125,6 +41537,44 @@ "https://www.googleapis.com/auth/compute" ] }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource.", + "flatPath": "projects/{project}/global/urlMaps/{resource}/testIamPermissions", + "httpMethod": "POST", + "id": "compute.urlMaps.testIamPermissions", + "parameterOrder": [ + "project", + "resource" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/global/urlMaps/{resource}/testIamPermissions", + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, "update": { "description": "Updates the specified UrlMap resource with the data included in the\nrequest.", "flatPath": "projects/{project}/global/urlMaps/{urlMap}", @@ -42464,7 +42914,7 @@ } } }, - "revision": "20251210", + "revision": "20251230", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -45981,6 +46431,10 @@ "description": "The URL of the network to which this backend service belongs.\n\nThis field must be set for Internal Passthrough Network Load Balancers when\nthe haPolicy is enabled, and for External Passthrough Network Load\nBalancers when the haPolicy fastIpMove is enabled.\n\nThis field can only be specified when the load balancing scheme is set toINTERNAL, or when the load balancing scheme is set toEXTERNAL and haPolicy fastIpMove is enabled.", "type": "string" }, + "networkPassThroughLbTrafficPolicy": { + "$ref": "BackendServiceNetworkPassThroughLbTrafficPolicy", + "description": "Configures traffic steering properties of internal passthrough Network\nLoad Balancers.\n\nnetworkPassThroughLbTrafficPolicy cannot be specified with haPolicy." + }, "outlierDetection": { "$ref": "OutlierDetection", "description": "Settings controlling the ejection of unhealthy backend endpoints from the\nload balancing pool of each individual proxy instance that processes the\ntraffic for the given backend service. If not set, this feature is\nconsidered disabled.\n\nResults of the outlier detection algorithm (ejection of endpoints from the\nload balancing pool and returning them back to the pool) are executed\nindependently by each proxy instance of the load balancer. In most cases,\nmore than one proxy instance handles the traffic received by a backend\nservice. Thus, it is possible that an unhealthy endpoint is detected and\nejected by only some of the proxies, and while this happens, other proxies\nmay continue to send requests to the same unhealthy endpoint until they\ndetect and eject the unhealthy endpoint.\n\nApplicable backend endpoints can be:\n \n - VM instances in an Instance Group\n - Endpoints in a Zonal NEG (GCE_VM_IP, GCE_VM_IP_PORT)\n - Endpoints in a Hybrid Connectivity NEG (NON_GCP_PRIVATE_IP_PORT)\n - Serverless NEGs, that resolve to Cloud Run, App Engine, or Cloud\n Functions Services \n - Private Service Connect NEGs, that resolve to\n Google-managed regional API endpoints or managed services published using\n Private Service Connect\n\n\n\nApplicable backend service types can be:\n \n - A global backend service with the loadBalancingScheme set to\n INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED. \n - A regional backend\n service with the serviceProtocol set to HTTP, HTTPS, HTTP2 or H2C, and\n loadBalancingScheme set to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not\n supported for Serverless NEGs.\n\n\n\nNot supported when the backend service is referenced by a URL map that is\nbound to target gRPC proxy that has validateForProxyless field set to true." @@ -46990,6 +47444,41 @@ }, "type": "object" }, + "BackendServiceNetworkPassThroughLbTrafficPolicy": { + "id": "BackendServiceNetworkPassThroughLbTrafficPolicy", + "properties": { + "zonalAffinity": { + "$ref": "BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity", + "description": "When configured, new connections are load balanced across healthy backend\nendpoints in the local zone." + } + }, + "type": "object" + }, + "BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity": { + "id": "BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity", + "properties": { + "spillover": { + "description": "This field indicates whether zonal affinity is enabled or not. The\npossible values are:\n \n - ZONAL_AFFINITY_DISABLED: Default Value. Zonal Affinity\n is disabled. The load balancer distributes new connections to all\n healthy backend endpoints across all zones.\n - ZONAL_AFFINITY_STAY_WITHIN_ZONE: Zonal Affinity is\n enabled. The load balancer distributes new connections to all healthy\n backend endpoints in the local zone only. If there are no healthy\n backend endpoints in the local zone, the load balancer distributes\n new connections to all backend endpoints in the local zone.\n - ZONAL_AFFINITY_SPILL_CROSS_ZONE: Zonal Affinity is\n enabled. The load balancer distributes new connections to all healthy\n backend endpoints in the local zone only. If there aren't enough\n healthy backend endpoints in the local zone, the load balancer\n distributes new connections to all healthy backend endpoints across all\n zones.", + "enum": [ + "ZONAL_AFFINITY_DISABLED", + "ZONAL_AFFINITY_SPILL_CROSS_ZONE", + "ZONAL_AFFINITY_STAY_WITHIN_ZONE" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "spilloverRatio": { + "description": "The value of the field must be in [0, 1]. When the ratio of the count\nof healthy backend endpoints in a zone to the count of backend\nendpoints in that same zone is equal to or above this threshold, the\nload balancer distributes new connections to all healthy endpoints in\nthe local zone only. When the ratio of the count of healthy backend\nendpoints in a zone to the count of backend endpoints in that same\nzone is below this threshold, the load balancer distributes all new\nconnections to all healthy endpoints across all zones.", + "format": "float", + "type": "number" + } + }, + "type": "object" + }, "BackendServiceParams": { "description": "Additional Backend Service parameters.", "id": "BackendServiceParams", @@ -48023,9 +48512,15 @@ "MEMORY_OPTIMIZED_M3", "MEMORY_OPTIMIZED_M4", "MEMORY_OPTIMIZED_M4_6TB", + "MEMORY_OPTIMIZED_X4_1440_24T", "MEMORY_OPTIMIZED_X4_16TB", + "MEMORY_OPTIMIZED_X4_1920_32T", "MEMORY_OPTIMIZED_X4_24TB", "MEMORY_OPTIMIZED_X4_32TB", + "MEMORY_OPTIMIZED_X4_480_6T", + "MEMORY_OPTIMIZED_X4_480_8T", + "MEMORY_OPTIMIZED_X4_960_12T", + "MEMORY_OPTIMIZED_X4_960_16T", "STORAGE_OPTIMIZED_Z3", "TYPE_UNSPECIFIED" ], @@ -48057,9 +48552,15 @@ "", "", "", + "CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory.", "", + "CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory.", "", "", + "CUD bucket for X4 machine with 480 vCPUs and 6TB of memory.", + "CUD bucket for X4 machine with 480 vCPUs and 8TB of memory.", + "CUD bucket for X4 machine with 960 vCPUs and 12TB of memory.", + "CUD bucket for X4 machine with 960 vCPUs and 16TB of memory.", "", "Note for internal users: When adding a new enum Type for v1, make sure\nto also add it in the comment for the `optional Type type` definition.\nThis ensures that the public documentation displays the new enum Type." ], @@ -51994,6 +52495,24 @@ }, "type": "array" }, + "destNetworkContext": { + "description": "Network context of the traffic destination. Allowed values are:\n \n \n - UNSPECIFIED\n - INTERNET\n - NON_INTERNET", + "enum": [ + "INTERNET", + "INTRA_VPC", + "NON_INTERNET", + "UNSPECIFIED", + "VPC_NETWORKS" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "" + ], + "type": "string" + }, "destNetworkType": { "description": "Network type of the traffic destination. Allowed values are:\n \n \n - UNSPECIFIED\n - INTERNET\n - NON_INTERNET", "enum": [ @@ -52054,6 +52573,24 @@ }, "type": "array" }, + "srcNetworkContext": { + "description": "Network context of the traffic source. Allowed values are:\n \n \n - UNSPECIFIED\n - INTERNET\n - INTRA_VPC\n - NON_INTERNET\n - VPC_NETWORKS", + "enum": [ + "INTERNET", + "INTRA_VPC", + "NON_INTERNET", + "UNSPECIFIED", + "VPC_NETWORKS" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "" + ], + "type": "string" + }, "srcNetworkType": { "description": "Network type of the traffic source. Allowed values are:\n \n \n - UNSPECIFIED\n - INTERNET\n - INTRA_VPC\n - NON_INTERNET\n - VPC_NETWORKS", "enum": [ @@ -66130,6 +66667,10 @@ "description": "If true, indicates this is an OS license. Only one OS license can be\nattached to a disk or image at a time.", "type": "boolean" }, + "params": { + "$ref": "LicenseParams", + "description": "Input only. Additional params passed with the request, but not persisted\nas part of resource payload." + }, "removableFromDisk": { "description": "If true, this license can be removed from a disk's set of licenses, with no\nreplacement license needed.", "type": "boolean" @@ -66263,6 +66804,20 @@ }, "type": "object" }, + "LicenseParams": { + "description": "Additional license params.", + "id": "LicenseParams", + "properties": { + "resourceManagerTags": { + "additionalProperties": { + "type": "string" + }, + "description": "Input only. Resource manager tags to be bound to the license. Tag keys and values\nhave the same definition as resource\nmanager tags. Keys and values can be either in numeric format,\nsuch as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced\nformat such as `{org_id|project_id}/{tag_key_short_name}` and\n`{tag_value_short_name}`. The field is ignored (both PUT &\nPATCH) when empty.", + "type": "object" + } + }, + "type": "object" + }, "LicenseResourceCommitment": { "description": "Commitment for a particular license resource.", "id": "LicenseResourceCommitment", @@ -70630,6 +71185,18 @@ }, "type": "array" }, + "allowAddressCreation": { + "description": "Specifies whether address creation is allowed.", + "enum": [ + "ADDRESS_CREATION_ALLOWED", + "ADDRESS_CREATION_BLOCKED" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, "allowAliasIpRanges": { "description": "Specifies whether alias IP ranges (and secondary address ranges) are\nallowed.", "enum": [ @@ -70714,6 +71281,18 @@ ], "type": "string" }, + "allowFirewallPolicy": { + "description": "Specifies whether firewall policy can be attached to the network.", + "enum": [ + "FIREWALL_POLICY_ALLOWED", + "FIREWALL_POLICY_BLOCKED" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, "allowInterconnect": { "description": "Specifies whether Cloud Interconnect creation is allowed.", "enum": [ @@ -70762,6 +71341,18 @@ ], "type": "string" }, + "allowMultiNicInSameSubnetwork": { + "description": "Specifies whether multi-nic in the same subnetwork is allowed.", + "enum": [ + "MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED", + "MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, "allowMulticast": { "description": "Specifies whether multicast is allowed.", "enum": [ @@ -70870,6 +71461,30 @@ ], "type": "string" }, + "allowSubnetworkCreation": { + "description": "Specifies whether subnetwork creation is allowed.", + "enum": [ + "SUBNETWORK_CREATION_ALLOWED", + "SUBNETWORK_CREATION_BLOCKED" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "allowVpcFirewallRules": { + "description": "Specifies whether VPC firewall rules can be created under the network.", + "enum": [ + "VPC_FIREWALL_RULES_ALLOWED", + "VPC_FIREWALL_RULES_BLOCKED" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, "allowVpcPeering": { "description": "Specifies whether VPC peering is allowed.", "enum": [ @@ -70894,6 +71509,20 @@ ], "type": "string" }, + "firewallPolicyTypes": { + "items": { + "enum": [ + "RDMA_ROCE_POLICY", + "VPC_POLICY" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "type": "array" + }, "interfaceTypes": { "description": "If set, limits the interface types that the network supports. If\nempty, all interface types are supported.", "items": { @@ -70929,6 +71558,17 @@ ], "type": "string" }, + "predefinedNetworkInternalIpv6Range": { + "description": "Specifies a predefined internal IPv6 range for the network.", + "type": "string" + }, + "predefinedSubnetworkRanges": { + "description": "Predefined subnetwork ranges for the network.", + "items": { + "$ref": "NetworkProfileNetworkFeaturesPredefinedSubnetworkRange" + }, + "type": "array" + }, "subnetPurposes": { "description": "Specifies which subnetwork purposes are supported.", "items": { @@ -71022,6 +71662,20 @@ }, "type": "object" }, + "NetworkProfileNetworkFeaturesPredefinedSubnetworkRange": { + "id": "NetworkProfileNetworkFeaturesPredefinedSubnetworkRange", + "properties": { + "ipv6Range": { + "description": "The IPv6 range of the predefined subnetwork.", + "type": "string" + }, + "namePrefix": { + "description": "The naming prefix of the predefined subnetwork.", + "type": "string" + } + }, + "type": "object" + }, "NetworkProfileProfileType": { "id": "NetworkProfileProfileType", "properties": { @@ -71041,11 +71695,13 @@ "rdmaSubtype": { "enum": [ "FALCON", - "ROCE" + "ROCE", + "ROCE_METAL" ], "enumDescriptions": [ "RDMA over Falcon.", - "RDMA over Converged Ethernet (RoCE)." + "RDMA over Converged Ethernet (RoCE).", + "RDMA over Converged Ethernet (RoCE) for Bare Metal." ], "type": "string" }, @@ -79775,6 +80431,12 @@ "readOnly": true, "type": "integer" }, + "inUseHostCount": { + "description": "Output only. Number of hosts currently in use. If there is one or more Instances running\non the host, it is considered in use.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, "kind": { "default": "compute#reservationBlock", "description": "Output only. [Output Only] Type of the resource. Alwayscompute#reservationBlock for reservation blocks.", @@ -80290,6 +80952,12 @@ "readOnly": true, "type": "integer" }, + "inUseHostCount": { + "description": "Output only. Number of hosts currently in use. If there is one or more Instances running\non the host, it is considered in use.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, "kind": { "default": "compute#reservationSubBlock", "description": "Output only. [Output Only] Type of the resource. Alwayscompute#reservationSubBlock for reservation subBlocks.", @@ -87605,6 +88273,20 @@ }, "type": "array" }, + "postKeyRevocationActionType": { + "description": "PostKeyRevocationActionType of the instance.", + "enum": [ + "NOOP", + "POST_KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", + "SHUTDOWN" + ], + "enumDescriptions": [ + "Indicates user chose no operation.", + "Default value. This value is unused.", + "Indicates user chose to opt for VM shutdown on key revocation." + ], + "type": "string" + }, "scheduling": { "$ref": "Scheduling", "description": "Specifies the scheduling options for the instances that are created from\nthis machine image." @@ -89119,6 +89801,10 @@ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "type": "string" }, + "params": { + "$ref": "StoragePoolParams", + "description": "Input only. Additional params passed with the request, but not persisted\nas part of resource payload." + }, "performanceProvisioningType": { "description": "Provisioning type of the performance-related parameters of the pool,\nsuch as throughput and IOPS.", "enum": [ @@ -89820,6 +90506,20 @@ }, "type": "object" }, + "StoragePoolParams": { + "description": "Additional storage pool params.", + "id": "StoragePoolParams", + "properties": { + "resourceManagerTags": { + "additionalProperties": { + "type": "string" + }, + "description": "Input only. Resource manager tags to be bound to the storage pool. Tag keys and values\nhave the same definition as resource\nmanager tags. Keys and values can be either in numeric format,\nsuch as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced\nformat such as `{org_id|project_id}/{tag_key_short_name}` and\n`{tag_value_short_name}`. The field is ignored (both PUT &\nPATCH) when empty.", + "type": "object" + } + }, + "type": "object" + }, "StoragePoolResourceStatus": { "description": "[Output Only] Contains output only fields.", "id": "StoragePoolResourceStatus", diff --git a/src/apis/compute/alpha.ts b/src/apis/compute/alpha.ts index 41a953c24e3..c907213418f 100644 --- a/src/apis/compute/alpha.ts +++ b/src/apis/compute/alpha.ts @@ -6128,6 +6128,29 @@ export namespace compute_alpha { message?: string; } | null; } + /** + * Response message for RegionCompositeHealthChecks.GetHealth + */ + export interface Schema$CompositeHealthChecksGetHealthResponse { + /** + * Health sources and their corresponding health states. + */ + healthSources?: Schema$CompositeHealthChecksGetHealthResponseHealthSourceHealth[]; + /** + * Health state of the CompositeHealthCheck. + */ + healthState?: string | null; + } + export interface Schema$CompositeHealthChecksGetHealthResponseHealthSourceHealth { + /** + * Health state of the associated HealthSource resource. + */ + healthState?: string | null; + /** + * URL of the associated HealthSource resource. + */ + source?: string | null; + } export interface Schema$CompositeHealthChecksScopedList { /** * A list of CompositeHealthChecks contained in this scope. @@ -8474,6 +8497,10 @@ export namespace compute_alpha { * not settable as a field in the request body. */ region?: string | null; + /** + * Configuration and status of the progressive rollout of this resource. + */ + rolloutOperation?: Schema$FirewallPolicyRolloutOperation; /** * A list of rules that belong to this policy. * There must always be a default rule (rule with priority 2147483647 and @@ -8584,6 +8611,91 @@ export namespace compute_alpha { message?: string; } | null; } + /** + * Represents progressive rollout input parameters and current status. + */ + export interface Schema$FirewallPolicyRolloutOperation { + /** + * Input parameters to be used by the next not yet scheduled rollout. + */ + rolloutInput?: Schema$FirewallPolicyRolloutOperationRolloutInput; + /** + * [Output only] Current status of the rollout. + */ + rolloutStatus?: Schema$FirewallPolicyRolloutOperationRolloutStatus; + } + /** + * Represents progressive rollout input parameters. + */ + export interface Schema$FirewallPolicyRolloutOperationRolloutInput { + /** + * The name of the rollout plan. Ex. + * organizations//locations/global/rolloutPlans/. + */ + name?: string | null; + /** + * Predefined rollout plan. + */ + predefinedRolloutPlan?: string | null; + /** + * The UUID of the retry action. Only needed if this is a retry for an + * existing rollout. This can be used after the user canceled a rollout + * and want to retry it with no changes. + */ + retryUuid?: string | null; + } + /** + * Represents progressive rollout current status. + */ + export interface Schema$FirewallPolicyRolloutOperationRolloutStatus { + /** + * [Output only] The next rollout. + */ + nextRollout?: Schema$FirewallPolicyRolloutOperationRolloutStatusNextRollout; + /** + * [Output only] The ongoing rollout. + */ + ongoingRollouts?: Schema$FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata[]; + /** + * [Output only] The last previously executed rollout. + */ + previousRollout?: Schema$FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata; + } + export interface Schema$FirewallPolicyRolloutOperationRolloutStatusNextRollout { + /** + * Output only. [Output only] The id of the next rollout. + */ + rolloutId?: string | null; + /** + * The name of the rollout plan to be used by the next not yet started + * rollout. This field is auto populated based on RolloutInput when a + * new rollout is scheduled. This can be manually changed before the + * scheduled rollout starts. + * Ex. + * organizations//locations/global/rolloutPlans/ + */ + rolloutPlan?: string | null; + } + /** + * Represents the status of the progressive rollout instance, either + * completed or ongoing. + */ + export interface Schema$FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata { + /** + * Output only. [Output only] The name of the rollout + * organizations//locations/global/rollouts/ + */ + rollout?: string | null; + /** + * Output only. [Output only] The name of the rollout plan used by this rollout + * organizations//locations/global/rolloutPlans/ + */ + rolloutPlan?: string | null; + /** + * Output only. [Output only] The state of the rollout. + */ + state?: string | null; + } /** * Represents a rule that describes one or more match conditions along with * the action to be taken when traffic matches this condition (allow or deny). @@ -15365,6 +15477,11 @@ export namespace compute_alpha { * Output only. [Output only] Status of all-instances configuration on the group. */ allInstancesConfig?: Schema$InstanceGroupManagerStatusAllInstancesConfig; + /** + * Output only. [Output Only] The accelerator topology applied to this MIG. + * Currently only one accelerator topology is supported. + */ + appliedAcceleratorTopologies?: Schema$InstanceGroupManagerStatusAcceleratorTopology[]; /** * Output only. [Output Only] The URL of theAutoscaler * that targets this instance group manager. @@ -15374,6 +15491,12 @@ export namespace compute_alpha { * Output only. [Output Only] The status of bulk instance operation. */ bulkInstanceOperation?: Schema$InstanceGroupManagerStatusBulkInstanceOperation; + /** + * Output only. [Output Only] The list of instance statuses and the number of instances + * in this managed instance group that have the status. Currently only shown + * for TPU MIGs + */ + currentInstanceStatuses?: Schema$InstanceGroupManagerStatusInstanceStatusSummary; /** * Output only. [Output Only] A bit indicating whether the managed instance group is in a * stable state. A stable state means that: none of the instances in the @@ -15394,6 +15517,46 @@ export namespace compute_alpha { */ versionTarget?: Schema$InstanceGroupManagerStatusVersionTarget; } + export interface Schema$InstanceGroupManagerStatusAcceleratorTopology { + /** + * Output only. [Output Only] Topology in the format of: "16x16", "4x4x4", etc. + * The value is the same as configured in the WorkloadPolicy. + */ + acceleratorTopology?: string | null; + /** + * Output only. [Output Only] The state of the accelerator topology. + */ + state?: string | null; + /** + * Output only. [Output Only] The result of the latest accelerator topology state + * check. + */ + stateDetails?: Schema$InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails; + } + export interface Schema$InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails { + /** + * Output only. [Output Only] Encountered errors. + */ + error?: { + errors?: Array<{ + code?: string; + errorDetails?: Array<{ + errorInfo?: Schema$ErrorInfo; + help?: Schema$Help; + localizedMessage?: Schema$LocalizedMessage; + quotaInfo?: Schema$QuotaExceededInfo; + }>; + location?: string; + message?: string; + }>; + } | null; + /** + * Output only. [Output Only] Timestamp is shown only if there is an error. The field + * has // RFC3339 // + * text format. + */ + timestamp?: string | null; + } export interface Schema$InstanceGroupManagerStatusAllInstancesConfig { /** * Output only. [Output Only] Current all-instances configuration revision. @@ -15444,6 +15607,85 @@ export namespace compute_alpha { */ timestamp?: string | null; } + /** + * The list of instance statuses and the number of instances in this managed + * instance group that have the status. For more information about how to + * interpret each status check the instance lifecycle documentation. + * Currently only shown for TPU MIGs. + */ + export interface Schema$InstanceGroupManagerStatusInstanceStatusSummary { + /** + * Output only. [Output Only] The number of instances in the managed instance group + * that have DEPROVISIONING status. + */ + deprovisioning?: number | null; + /** + * Output only. [Output Only] The number of instances that have not been created yet or + * have been deleted. Includes only instances that would be shown in the + * listManagedInstances method and not all instances that have been + * deleted in the lifetime of the MIG. + * Does not include FlexStart instances that are waiting for the resources + * availability, they are considered as 'pending'. + */ + nonExistent?: number | null; + /** + * Output only. [Output Only] The number of instances in the managed instance group + * that have PENDING status, that is FlexStart instances that are waiting + * for resources. Instances that do not exist because of the other reasons + * are counted as 'non_existent'. + */ + pending?: number | null; + /** + * Output only. [Output Only] The number of instances in the managed instance group + * that have PENDING_STOP status. + */ + pendingStop?: number | null; + /** + * Output only. [Output Only] The number of instances in the managed instance group + * that have PROVISIONING status. + */ + provisioning?: number | null; + /** + * Output only. [Output Only] The number of instances in the managed instance group + * that have REPAIRING status. + */ + repairing?: number | null; + /** + * Output only. [Output Only] The number of instances in the managed instance group + * that have RUNNING status. + */ + running?: number | null; + /** + * Output only. [Output Only] The number of instances in the managed instance group + * that have STAGING status. + */ + staging?: number | null; + /** + * Output only. [Output Only] The number of instances in the managed instance group + * that have STOPPED status. + */ + stopped?: number | null; + /** + * Output only. [Output Only] The number of instances in the managed instance group + * that have STOPPING status. + */ + stopping?: number | null; + /** + * Output only. [Output Only] The number of instances in the managed instance group + * that have SUSPENDED status. + */ + suspended?: number | null; + /** + * Output only. [Output Only] The number of instances in the managed instance group + * that have SUSPENDING status. + */ + suspending?: number | null; + /** + * Output only. [Output Only] The number of instances in the managed instance group + * that have TERMINATED status. + */ + terminated?: number | null; + } export interface Schema$InstanceGroupManagerStatusStateful { /** * Output only. [Output Only] A bit indicating whether the managed instance group @@ -20036,9 +20278,11 @@ export namespace compute_alpha { /** * Input only. Resource manager tags to be bound to the license. Tag keys and values * have the same definition as resource - * manager tags. Keys must be in the format `tagKeys/{tag_key_id\}`, and - * values are in the format `tagValues/{tag_value_id\}`. The field is ignored - * (both PUT & PATCH) when empty. + * manager tags. Keys and values can be either in numeric format, + * such as `tagKeys/{tag_key_id\}` and `tagValues/456` or in namespaced + * format such as `{org_id|project_id\}/{tag_key_short_name\}` and + * `{tag_value_short_name\}`. The field is ignored (both PUT & + * PATCH) when empty. */ resourceManagerTags?: {[key: string]: string} | null; } @@ -20468,6 +20712,16 @@ export namespace compute_alpha { * included with the new machine image. */ includedDisks?: string[] | null; + /** + * Input only. Resource manager tags to be bound to the machine image. Tag keys and values + * have the same definition as resource + * manager tags. Keys and values can be either in numeric format, + * such as `tagKeys/{tag_key_id\}` and `tagValues/456` or in namespaced + * format such as `{org_id|project_id\}/{tag_key_short_name\}` and + * `{tag_value_short_name\}`. The field is ignored (both PUT & + * PATCH) when empty. + */ + resourceManagerTags?: {[key: string]: string} | null; } /** * Represents a Machine Type resource. @@ -21089,8 +21343,7 @@ export namespace compute_alpha { */ kind?: string | null; /** - * Output only. [Output Only] The name of this multi-MIG member generated by - * Google Compute Engine. + * Output only. [Output Only] Server-defined name for the multi-MIG member. */ name?: string | null; /** @@ -28655,6 +28908,11 @@ export namespace compute_alpha { * Output only. [Output Only] Server-defined URL for this resource with the resource id. */ selfLinkWithId?: string | null; + /** + * Specify share-settings to create a shared slot. Set to empty + * to inherit share settings from a parent resource. + */ + shareSettings?: Schema$ShareSettings; /** * Output only. [Output Only] State of the reservation slot. */ @@ -35617,9 +35875,11 @@ export namespace compute_alpha { /** * Input only. Resource manager tags to be bound to the storage pool. Tag keys and values * have the same definition as resource - * manager tags. Keys must be in the format `tagKeys/{tag_key_id\}`, and - * values are in the format `tagValues/{tag_value_id\}`. The field is ignored - * (both PUT & PATCH) when empty. + * manager tags. Keys and values can be either in numeric format, + * such as `tagKeys/{tag_key_id\}` and `tagValues/456` or in namespaced + * format such as `{org_id|project_id\}/{tag_key_short_name\}` and + * `{tag_value_short_name\}`. The field is ignored (both PUT & + * PATCH) when empty. */ resourceManagerTags?: {[key: string]: string} | null; } @@ -63509,6 +63769,7 @@ export namespace compute_alpha { * // "policySource": "my_policySource", * // "policyType": "my_policyType", * // "region": "my_region", + * // "rolloutOperation": {}, * // "ruleTupleCount": 0, * // "rules": [], * // "selfLink": "my_selfLink", @@ -64303,6 +64564,7 @@ export namespace compute_alpha { * // "policySource": "my_policySource", * // "policyType": "my_policyType", * // "region": "my_region", + * // "rolloutOperation": {}, * // "ruleTupleCount": 0, * // "rules": [], * // "selfLink": "my_selfLink", @@ -65084,6 +65346,7 @@ export namespace compute_alpha { * // "policySource": "my_policySource", * // "policyType": "my_policyType", * // "region": "my_region", + * // "rolloutOperation": {}, * // "ruleTupleCount": 0, * // "rules": [], * // "selfLink": "my_selfLink", @@ -145487,6 +145750,7 @@ export namespace compute_alpha { * // "policySource": "my_policySource", * // "policyType": "my_policyType", * // "region": "my_region", + * // "rolloutOperation": {}, * // "ruleTupleCount": 0, * // "rules": [], * // "selfLink": "my_selfLink", @@ -146293,6 +146557,7 @@ export namespace compute_alpha { * // "policySource": "my_policySource", * // "policyType": "my_policyType", * // "region": "my_region", + * // "rolloutOperation": {}, * // "ruleTupleCount": 0, * // "rules": [], * // "selfLink": "my_selfLink", @@ -146736,6 +147001,7 @@ export namespace compute_alpha { * // "policySource": "my_policySource", * // "policyType": "my_policyType", * // "region": "my_region", + * // "rolloutOperation": {}, * // "ruleTupleCount": 0, * // "rules": [], * // "selfLink": "my_selfLink", @@ -184915,6 +185181,164 @@ export namespace compute_alpha { } } + /** + * Gets the most recent health check results for this + * regional CompositeHealthCheck. + * @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: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ 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', + * 'https://www.googleapis.com/auth/compute.readonly', + * ], + * }); + * + * // 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.regionCompositeHealthChecks.getHealth({ + * // Name of the CompositeHealthCheck resource to get health for. + * compositeHealthCheck: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}', + * // Name of the project scoping 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])?))', + * // Name of the region scoping this request. + * region: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "healthSources": [], + * // "healthState": "my_healthState" + * // } + * } + * + * 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. + */ + getHealth( + params: Params$Resource$Regioncompositehealthchecks$Gethealth, + options: StreamMethodOptions + ): Promise>; + getHealth( + params?: Params$Resource$Regioncompositehealthchecks$Gethealth, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + getHealth( + params: Params$Resource$Regioncompositehealthchecks$Gethealth, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getHealth( + params: Params$Resource$Regioncompositehealthchecks$Gethealth, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getHealth( + params: Params$Resource$Regioncompositehealthchecks$Gethealth, + callback: BodyResponseCallback + ): void; + getHealth( + callback: BodyResponseCallback + ): void; + getHealth( + paramsOrCallback?: + | Params$Resource$Regioncompositehealthchecks$Gethealth + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Regioncompositehealthchecks$Gethealth; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Regioncompositehealthchecks$Gethealth; + 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}/regions/{region}/compositeHealthChecks/{compositeHealthCheck}/getHealth' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'region', 'compositeHealthCheck'], + pathParams: ['compositeHealthCheck', 'project', 'region'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + /** * Create a CompositeHealthCheck in the specified project in the given region * using the parameters that are included in the request. @@ -185886,6 +186310,20 @@ export namespace compute_alpha { */ region?: string; } + export interface Params$Resource$Regioncompositehealthchecks$Gethealth extends StandardParameters { + /** + * Name of the CompositeHealthCheck resource to get health for. + */ + compositeHealthCheck?: string; + /** + * Name of the project scoping this request. + */ + project?: string; + /** + * Name of the region scoping this request. + */ + region?: string; + } export interface Params$Resource$Regioncompositehealthchecks$Insert extends StandardParameters { /** * Project ID for this request. @@ -217112,6 +217550,7 @@ export namespace compute_alpha { * // "policySource": "my_policySource", * // "policyType": "my_policyType", * // "region": "my_region", + * // "rolloutOperation": {}, * // "ruleTupleCount": 0, * // "rules": [], * // "selfLink": "my_selfLink", @@ -217922,6 +218361,7 @@ export namespace compute_alpha { * // "policySource": "my_policySource", * // "policyType": "my_policyType", * // "region": "my_region", + * // "rolloutOperation": {}, * // "ruleTupleCount": 0, * // "rules": [], * // "selfLink": "my_selfLink", @@ -218370,6 +218810,7 @@ export namespace compute_alpha { * // "policySource": "my_policySource", * // "policyType": "my_policyType", * // "region": "my_region", + * // "rolloutOperation": {}, * // "ruleTupleCount": 0, * // "rules": [], * // "selfLink": "my_selfLink", diff --git a/src/apis/compute/beta.ts b/src/apis/compute/beta.ts index 01463d73e09..3e52c795704 100644 --- a/src/apis/compute/beta.ts +++ b/src/apis/compute/beta.ts @@ -193,6 +193,7 @@ export namespace compute_beta { regionInstances: Resource$Regioninstances; regionInstanceTemplates: Resource$Regioninstancetemplates; regionInstantSnapshots: Resource$Regioninstantsnapshots; + regionMultiMigMembers: Resource$Regionmultimigmembers; regionMultiMigs: Resource$Regionmultimigs; regionNetworkEndpointGroups: Resource$Regionnetworkendpointgroups; regionNetworkFirewallPolicies: Resource$Regionnetworkfirewallpolicies; @@ -368,6 +369,9 @@ export namespace compute_beta { this.regionInstantSnapshots = new Resource$Regioninstantsnapshots( this.context ); + this.regionMultiMigMembers = new Resource$Regionmultimigmembers( + this.context + ); this.regionMultiMigs = new Resource$Regionmultimigs(this.context); this.regionNetworkEndpointGroups = new Resource$Regionnetworkendpointgroups(this.context); @@ -17594,6 +17598,11 @@ export namespace compute_beta { * attached to a disk or image at a time. */ osLicense?: boolean | null; + /** + * Input only. Additional params passed with the request, but not persisted + * as part of resource payload. + */ + params?: Schema$LicenseParams; /** * If true, this license can be removed from a disk's set of licenses, with no * replacement license needed. @@ -17695,6 +17704,21 @@ export namespace compute_beta { */ selfLink?: string | null; } + /** + * Additional license params. + */ + export interface Schema$LicenseParams { + /** + * Input only. Resource manager tags to be bound to the license. Tag keys and values + * have the same definition as resource + * manager tags. Keys and values can be either in numeric format, + * such as `tagKeys/{tag_key_id\}` and `tagValues/456` or in namespaced + * format such as `{org_id|project_id\}/{tag_key_short_name\}` and + * `{tag_value_short_name\}`. The field is ignored (both PUT & + * PATCH) when empty. + */ + resourceManagerTags?: {[key: string]: string} | null; + } /** * Commitment for a particular license resource. */ @@ -18474,6 +18498,80 @@ export namespace compute_beta { selfLink?: string | null; status?: Schema$MultiMigStatus; } + /** + * Represents a Multi-MIG member resource. + */ + export interface Schema$MultiMigMember { + /** + * Output only. [Output Only] Creation timestamp of this multi-MIG member inRFC3339 text format. + */ + creationTimestamp?: string | null; + /** + * Output only. [Output only] The unique identifier for this resource type. The server + * generates this identifier. + */ + id?: string | null; + /** + * Output only. Type of the resource. Alwayscompute#multiMigMember for a list of multi-MIG members. + */ + kind?: string | null; + /** + * Output only. [Output Only] Server-defined name for the multi-MIG member. + */ + name?: string | null; + /** + * Output only. [Output Only] The URL of the region where the multi-MIG resides. + */ + region?: string | null; + /** + * Output only. [Output Only] Server-defined fully-qualified URL for this resource. + */ + selfLink?: string | null; + /** + * Output only. [Output Only] The status of this multi-MIG member + */ + status?: Schema$MultiMigMemberStatus; + } + export interface Schema$MultiMigMemberList { + /** + * Unique identifier for the resource; defined by the server. + */ + id?: string | null; + /** + * A list of multi-MIG member resources. + */ + items?: Schema$MultiMigMember[]; + /** + * Output only. Type of the resource. Alwayscompute#multiMigMember for a list of multi-MIG members. + */ + kind?: string | null; + /** + * This token allows you to get the next page of results for + * list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for + * the query parameter pageToken in the next list request. + * Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string | null; + /** + * Output only. [Output only] Server-defined URL for this resource. + */ + selfLink?: string | null; + /** + * Informational warning message. + */ + warning?: { + code?: string; + data?: Array<{key?: string; value?: string}>; + message?: string; + } | null; + } + export interface Schema$MultiMigMemberStatus { + /** + * [Output Only] URL of member instance group manager + */ + instanceGroupManager?: string | null; + } /** * Resource policies message for a multi-MIG. Specifies the workload policy * configuration of the multi-MIG. @@ -18530,6 +18628,11 @@ export namespace compute_beta { * Currently only one accelerator topology is supported. */ appliedAcceleratorTopologies?: Schema$MultiMigStatusAcceleratorTopology[]; + /** + * Output only. [Output Only] The number of instance group manager members in this + * multi-MIG. + */ + membersCount?: number | null; } export interface Schema$MultiMigStatusAcceleratorTopology { /** @@ -19751,6 +19854,10 @@ export namespace compute_beta { * Output only. [Output Only] Type of the resource. Alwayscompute#networkInterface for network interfaces. */ kind?: string | null; + /** + * Output only. [Output Only] MAC address assigned to this network interface. + */ + macAddress?: string | null; /** * [Output Only] The name of the network interface, which is generated by the * server. For a VM, the network interface uses the nicN naming @@ -20390,6 +20497,10 @@ export namespace compute_beta { * purposes are supported. */ addressPurposes?: string[] | null; + /** + * Specifies whether address creation is allowed. + */ + allowAddressCreation?: string | null; /** * Specifies whether alias IP ranges (and secondary address ranges) are * allowed. @@ -20444,6 +20555,10 @@ export namespace compute_beta { * Specifies whether multi-nic in the same network is allowed. */ allowMultiNicInSameNetwork?: string | null; + /** + * Specifies whether multi-nic in the same subnetwork is allowed. + */ + allowMultiNicInSameSubnetwork?: string | null; /** * Specifies whether NCC is allowed. */ @@ -20476,6 +20591,14 @@ export namespace compute_beta { * Specifies whether sub interfaces are allowed. */ allowSubInterfaces?: string | null; + /** + * Specifies whether subnetwork creation is allowed. + */ + allowSubnetworkCreation?: string | null; + /** + * Specifies whether VPC firewall rules can be created under the network. + */ + allowVpcFirewallRules?: string | null; /** * Specifies whether VPC peering is allowed. */ @@ -20494,6 +20617,14 @@ export namespace compute_beta { * Specifies which type of multicast is supported. */ multicast?: string | null; + /** + * Specifies a predefined internal IPv6 range for the network. + */ + predefinedNetworkInternalIpv6Range?: string | null; + /** + * Predefined subnetwork ranges for the network. + */ + predefinedSubnetworkRanges?: Schema$NetworkProfileNetworkFeaturesPredefinedSubnetworkRange[]; /** * Specifies which subnetwork purposes are supported. */ @@ -20515,6 +20646,16 @@ export namespace compute_beta { */ unicast?: string | null; } + export interface Schema$NetworkProfileNetworkFeaturesPredefinedSubnetworkRange { + /** + * The IPv6 range of the predefined subnetwork. + */ + ipv6Range?: string | null; + /** + * The naming prefix of the predefined subnetwork. + */ + namePrefix?: string | null; + } export interface Schema$NetworkProfileProfileType { networkType?: string | null; rdmaSubtype?: string | null; @@ -30716,6 +30857,11 @@ export namespace compute_beta { * the last character, which cannot be a dash. */ name?: string | null; + /** + * Input only. Additional params passed with the request, but not persisted + * as part of resource payload. + */ + params?: Schema$StoragePoolParams; /** * Provisioning type of the performance-related parameters of the pool, * such as throughput and IOPS. @@ -30964,6 +31110,21 @@ export namespace compute_beta { message?: string; } | null; } + /** + * Additional storage pool params. + */ + export interface Schema$StoragePoolParams { + /** + * Input only. Resource manager tags to be bound to the storage pool. Tag keys and values + * have the same definition as resource + * manager tags. Keys and values can be either in numeric format, + * such as `tagKeys/{tag_key_id\}` and `tagValues/456` or in namespaced + * format such as `{org_id|project_id\}/{tag_key_short_name\}` and + * `{tag_value_short_name\}`. The field is ignored (both PUT & + * PATCH) when empty. + */ + resourceManagerTags?: {[key: string]: string} | null; + } /** * [Output Only] Contains output only fields. */ @@ -34752,6 +34913,11 @@ export namespace compute_beta { * the Cloud VPN Overview. */ export interface Schema$VpnTunnel { + /** + * Capacity tier of the VPN tunnel. This is used for IPsec over Interconnect + * tunnels to indicate different bandwidth limits. + */ + capacityTier?: string | null; /** * User specified list of ciphers to use for the phase 1 and phase 2 of the * IKE protocol. @@ -96050,6 +96216,7 @@ export namespace compute_beta { * // "ipv6AccessType": "my_ipv6AccessType", * // "ipv6Address": "my_ipv6Address", * // "kind": "my_kind", + * // "macAddress": "my_macAddress", * // "name": "my_name", * // "network": "my_network", * // "networkAttachment": "my_networkAttachment", @@ -106035,6 +106202,7 @@ export namespace compute_beta { * // "ipv6AccessType": "my_ipv6AccessType", * // "ipv6Address": "my_ipv6Address", * // "kind": "my_kind", + * // "macAddress": "my_macAddress", * // "name": "my_name", * // "network": "my_network", * // "networkAttachment": "my_networkAttachment", @@ -122683,6 +122851,7 @@ export namespace compute_beta { * // "multiTenantOnly": false, * // "name": "my_name", * // "osLicense": false, + * // "params": {}, * // "removableFromDisk": false, * // "requiredCoattachedLicenses": [], * // "resourceRequirements": {}, @@ -123016,6 +123185,7 @@ export namespace compute_beta { * // "multiTenantOnly": false, * // "name": "my_name", * // "osLicense": false, + * // "params": {}, * // "removableFromDisk": false, * // "requiredCoattachedLicenses": [], * // "resourceRequirements": {}, @@ -123790,6 +123960,7 @@ export namespace compute_beta { * // "multiTenantOnly": false, * // "name": "my_name", * // "osLicense": false, + * // "params": {}, * // "removableFromDisk": false, * // "requiredCoattachedLicenses": [], * // "resourceRequirements": {}, @@ -195048,6 +195219,542 @@ export namespace compute_beta { requestBody?: Schema$TestPermissionsRequest; } + export class Resource$Regionmultimigmembers { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Retrieves information about the specified multi-MIG member. + * @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: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const compute = google.compute('beta'); + * + * 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', + * 'https://www.googleapis.com/auth/compute.readonly', + * ], + * }); + * + * // 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.regionMultiMigMembers.get({ + * // The name of the multi-MIG. + * // Name should conform to RFC1035 or be a resource ID. + * multiMig: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}', + * // The name of the multi-MIG member. + * // Name should conform to RFC1035 or be a resource ID. + * multiMigMember: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}', + * // 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])?))', + * // Name of the region for this request. Region name should conform to RFC1035. + * region: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "creationTimestamp": "my_creationTimestamp", + * // "id": "my_id", + * // "kind": "my_kind", + * // "name": "my_name", + * // "region": "my_region", + * // "selfLink": "my_selfLink", + * // "status": {} + * // } + * } + * + * 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. + */ + get( + params: Params$Resource$Regionmultimigmembers$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Regionmultimigmembers$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Regionmultimigmembers$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Regionmultimigmembers$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Regionmultimigmembers$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Regionmultimigmembers$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Regionmultimigmembers$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Regionmultimigmembers$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/beta/projects/{project}/regions/{region}/multiMigs/{multiMig}/multiMigMembers/{multiMigMember}' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'region', 'multiMig', 'multiMigMember'], + pathParams: ['multiMig', 'multiMigMember', 'project', 'region'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Retrieves a list of members of a specific multi-MIG. + * @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: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const compute = google.compute('beta'); + * + * 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', + * 'https://www.googleapis.com/auth/compute.readonly', + * ], + * }); + * + * // 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.regionMultiMigMembers.list({ + * // A filter expression that filters resources listed in the response. Most + * // Compute resources support two types of filter expressions: + * // expressions that support regular expressions and expressions that follow + * // API improvement proposal AIP-160. + * // These two types of filter expressions cannot be mixed in one request. + * // + * // If you want to use AIP-160, your expression must specify the field name, an + * // operator, and the value that you want to use for filtering. The value + * // must be a string, a number, or a boolean. The operator + * // must be either `=`, `!=`, `\>`, `<`, `<=`, `\>=` or `:`. + * // + * // For example, if you are filtering Compute Engine instances, you can + * // exclude instances named `example-instance` by specifying + * // `name != example-instance`. + * // + * // The `:*` comparison can be used to test whether a key has been defined. + * // For example, to find all objects with `owner` label use: + * // ``` + * // labels.owner:* + * // ``` + * // + * // You can also filter nested fields. For example, you could specify + * // `scheduling.automaticRestart = false` to include instances only + * // if they are not scheduled for automatic restarts. You can use filtering + * // on nested fields to filter based onresource labels. + * // + * // To filter on multiple expressions, provide each separate expression within + * // parentheses. For example: + * // ``` + * // (scheduling.automaticRestart = true) + * // (cpuPlatform = "Intel Skylake") + * // ``` + * // By default, each expression is an `AND` expression. However, you + * // can include `AND` and `OR` expressions explicitly. + * // For example: + * // ``` + * // (cpuPlatform = "Intel Skylake") OR + * // (cpuPlatform = "Intel Broadwell") AND + * // (scheduling.automaticRestart = true) + * // ``` + * // + * // If you want to use a regular expression, use the `eq` (equal) or `ne` + * // (not equal) operator against a single un-parenthesized expression with or + * // without quotes or against multiple parenthesized expressions. Examples: + * // + * // `fieldname eq unquoted literal` + * // `fieldname eq 'single quoted literal'` + * // `fieldname eq "double quoted literal"` + * // `(fieldname1 eq literal) (fieldname2 ne "literal")` + * // + * // The literal value is interpreted as a regular expression using GoogleRE2 library syntax. + * // The literal value must match the entire field. + * // + * // For example, to filter for instances that do not end with name "instance", + * // you would use `name ne .*instance`. + * // + * // You cannot combine constraints on multiple fields using regular + * // expressions. + * filter: 'placeholder-value', + * // The maximum number of results per page that should be returned. + * // If the number of available results is larger than `maxResults`, + * // Compute Engine returns a `nextPageToken` that can be used to get + * // the next page of results in subsequent list requests. Acceptable values are + * // `0` to `500`, inclusive. (Default: `500`) + * maxResults: 'placeholder-value', + * // The name of the multi-MIG. + * // Name should conform to RFC1035 or be a resource ID. + * multiMig: 'placeholder-value', + * // Sorts list results by a certain order. By default, results + * // are returned in alphanumerical order based on the resource name. + * // + * // You can also sort results in descending order based on the creation + * // timestamp using `orderBy="creationTimestamp desc"`. This sorts + * // results based on the `creationTimestamp` field in + * // reverse chronological order (newest result first). Use this to sort + * // resources like operations so that the newest operation is returned first. + * // + * // Currently, only sorting by `name` or + * // `creationTimestamp desc` is supported. + * orderBy: 'placeholder-value', + * // Specifies a page token to use. Set `pageToken` to the + * // `nextPageToken` returned by a previous list request to get + * // the next page of results. + * pageToken: 'placeholder-value', + * // Project ID for this request. + * project: 'placeholder-value', + * // Name of the region for this request. Region name should conform to RFC1035. + * region: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?', + * // Opt-in for partial success behavior which provides partial results in case + * // of failure. The default value is false. + * // + * // For example, when partial success behavior is enabled, aggregatedList for a + * // single zone scope either returns all resources in the zone or no resources, + * // with an error code. + * returnPartialSuccess: 'placeholder-value', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "id": "my_id", + * // "items": [], + * // "kind": "my_kind", + * // "nextPageToken": "my_nextPageToken", + * // "selfLink": "my_selfLink", + * // "warning": {} + * // } + * } + * + * 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. + */ + list( + params: Params$Resource$Regionmultimigmembers$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Regionmultimigmembers$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Regionmultimigmembers$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Regionmultimigmembers$List, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Regionmultimigmembers$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Regionmultimigmembers$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Regionmultimigmembers$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Regionmultimigmembers$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/beta/projects/{project}/regions/{region}/multiMigs/{multiMig}/multiMigMembers' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'region', 'multiMig'], + pathParams: ['multiMig', 'project', 'region'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Regionmultimigmembers$Get extends StandardParameters { + /** + * The name of the multi-MIG. + * Name should conform to RFC1035 or be a resource ID. + */ + multiMig?: string; + /** + * The name of the multi-MIG member. + * Name should conform to RFC1035 or be a resource ID. + */ + multiMigMember?: string; + /** + * Project ID for this request. + */ + project?: string; + /** + * Name of the region for this request. Region name should conform to RFC1035. + */ + region?: string; + } + export interface Params$Resource$Regionmultimigmembers$List extends StandardParameters { + /** + * A filter expression that filters resources listed in the response. Most + * Compute resources support two types of filter expressions: + * expressions that support regular expressions and expressions that follow + * API improvement proposal AIP-160. + * These two types of filter expressions cannot be mixed in one request. + * + * If you want to use AIP-160, your expression must specify the field name, an + * operator, and the value that you want to use for filtering. The value + * must be a string, a number, or a boolean. The operator + * must be either `=`, `!=`, `\>`, `<`, `<=`, `\>=` or `:`. + * + * For example, if you are filtering Compute Engine instances, you can + * exclude instances named `example-instance` by specifying + * `name != example-instance`. + * + * The `:*` comparison can be used to test whether a key has been defined. + * For example, to find all objects with `owner` label use: + * ``` + * labels.owner:* + * ``` + * + * You can also filter nested fields. For example, you could specify + * `scheduling.automaticRestart = false` to include instances only + * if they are not scheduled for automatic restarts. You can use filtering + * on nested fields to filter based onresource labels. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example: + * ``` + * (scheduling.automaticRestart = true) + * (cpuPlatform = "Intel Skylake") + * ``` + * By default, each expression is an `AND` expression. However, you + * can include `AND` and `OR` expressions explicitly. + * For example: + * ``` + * (cpuPlatform = "Intel Skylake") OR + * (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true) + * ``` + * + * If you want to use a regular expression, use the `eq` (equal) or `ne` + * (not equal) operator against a single un-parenthesized expression with or + * without quotes or against multiple parenthesized expressions. Examples: + * + * `fieldname eq unquoted literal` + * `fieldname eq 'single quoted literal'` + * `fieldname eq "double quoted literal"` + * `(fieldname1 eq literal) (fieldname2 ne "literal")` + * + * The literal value is interpreted as a regular expression using GoogleRE2 library syntax. + * The literal value must match the entire field. + * + * For example, to filter for instances that do not end with name "instance", + * you would use `name ne .*instance`. + * + * You cannot combine constraints on multiple fields using regular + * expressions. + */ + filter?: string; + /** + * The maximum number of results per page that should be returned. + * If the number of available results is larger than `maxResults`, + * Compute Engine returns a `nextPageToken` that can be used to get + * the next page of results in subsequent list requests. Acceptable values are + * `0` to `500`, inclusive. (Default: `500`) + */ + maxResults?: number; + /** + * The name of the multi-MIG. + * Name should conform to RFC1035 or be a resource ID. + */ + multiMig?: string; + /** + * Sorts list results by a certain order. By default, results + * are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation + * timestamp using `orderBy="creationTimestamp desc"`. This sorts + * results based on the `creationTimestamp` field in + * reverse chronological order (newest result first). Use this to sort + * resources like operations so that the newest operation is returned first. + * + * Currently, only sorting by `name` or + * `creationTimestamp desc` is supported. + */ + orderBy?: string; + /** + * Specifies a page token to use. Set `pageToken` to the + * `nextPageToken` returned by a previous list request to get + * the next page of results. + */ + pageToken?: string; + /** + * Project ID for this request. + */ + project?: string; + /** + * Name of the region for this request. Region name should conform to RFC1035. + */ + region?: string; + /** + * Opt-in for partial success behavior which provides partial results in case + * of failure. The default value is false. + * + * For example, when partial success behavior is enabled, aggregatedList for a + * single zone scope either returns all resources in the zone or no resources, + * with an error code. + */ + returnPartialSuccess?: boolean; + } + export class Resource$Regionmultimigs { context: APIRequestContext; constructor(context: APIRequestContext) { @@ -248567,6 +249274,7 @@ export namespace compute_beta { * // "labelFingerprint": "my_labelFingerprint", * // "labels": {}, * // "name": "my_name", + * // "params": {}, * // "performanceProvisioningType": "my_performanceProvisioningType", * // "poolProvisionedCapacityGb": "my_poolProvisionedCapacityGb", * // "poolProvisionedIops": "my_poolProvisionedIops", @@ -248895,6 +249603,7 @@ export namespace compute_beta { * // "labelFingerprint": "my_labelFingerprint", * // "labels": {}, * // "name": "my_name", + * // "params": {}, * // "performanceProvisioningType": "my_performanceProvisioningType", * // "poolProvisionedCapacityGb": "my_poolProvisionedCapacityGb", * // "poolProvisionedIops": "my_poolProvisionedIops", @@ -249914,6 +250623,7 @@ export namespace compute_beta { * // "labelFingerprint": "my_labelFingerprint", * // "labels": {}, * // "name": "my_name", + * // "params": {}, * // "performanceProvisioningType": "my_performanceProvisioningType", * // "poolProvisionedCapacityGb": "my_poolProvisionedCapacityGb", * // "poolProvisionedIops": "my_poolProvisionedIops", @@ -276224,6 +276934,7 @@ export namespace compute_beta { * * // Example response * // { + * // "capacityTier": "my_capacityTier", * // "cipherSuite": {}, * // "creationTimestamp": "my_creationTimestamp", * // "description": "my_description", @@ -276405,6 +277116,7 @@ export namespace compute_beta { * requestBody: { * // request body parameters * // { + * // "capacityTier": "my_capacityTier", * // "cipherSuite": {}, * // "creationTimestamp": "my_creationTimestamp", * // "description": "my_description", diff --git a/src/apis/compute/v1.ts b/src/apis/compute/v1.ts index 23afff53a16..6b995630f97 100644 --- a/src/apis/compute/v1.ts +++ b/src/apis/compute/v1.ts @@ -3060,6 +3060,13 @@ export namespace compute_v1 { * This field can only be specified when the load balancing scheme is set toINTERNAL, or when the load balancing scheme is set toEXTERNAL and haPolicy fastIpMove is enabled. */ network?: string | null; + /** + * Configures traffic steering properties of internal passthrough Network + * Load Balancers. + * + * networkPassThroughLbTrafficPolicy cannot be specified with haPolicy. + */ + networkPassThroughLbTrafficPolicy?: Schema$BackendServiceNetworkPassThroughLbTrafficPolicy; /** * Settings controlling the ejection of unhealthy backend endpoints from the * load balancing pool of each individual proxy instance that processes the @@ -3925,6 +3932,46 @@ export namespace compute_v1 { */ sampleRate?: number | null; } + export interface Schema$BackendServiceNetworkPassThroughLbTrafficPolicy { + /** + * When configured, new connections are load balanced across healthy backend + * endpoints in the local zone. + */ + zonalAffinity?: Schema$BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity; + } + export interface Schema$BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity { + /** + * This field indicates whether zonal affinity is enabled or not. The + * possible values are: + * + * - ZONAL_AFFINITY_DISABLED: Default Value. Zonal Affinity + * is disabled. The load balancer distributes new connections to all + * healthy backend endpoints across all zones. + * - ZONAL_AFFINITY_STAY_WITHIN_ZONE: Zonal Affinity is + * enabled. The load balancer distributes new connections to all healthy + * backend endpoints in the local zone only. If there are no healthy + * backend endpoints in the local zone, the load balancer distributes + * new connections to all backend endpoints in the local zone. + * - ZONAL_AFFINITY_SPILL_CROSS_ZONE: Zonal Affinity is + * enabled. The load balancer distributes new connections to all healthy + * backend endpoints in the local zone only. If there aren't enough + * healthy backend endpoints in the local zone, the load balancer + * distributes new connections to all healthy backend endpoints across all + * zones. + */ + spillover?: string | null; + /** + * The value of the field must be in [0, 1]. When the ratio of the count + * of healthy backend endpoints in a zone to the count of backend + * endpoints in that same zone is equal to or above this threshold, the + * load balancer distributes new connections to all healthy endpoints in + * the local zone only. When the ratio of the count of healthy backend + * endpoints in a zone to the count of backend endpoints in that same + * zone is below this threshold, the load balancer distributes all new + * connections to all healthy endpoints across all zones. + */ + spilloverRatio?: number | null; + } /** * Additional Backend Service parameters. */ @@ -7143,6 +7190,15 @@ export namespace compute_v1 { * Maximum number of destination CIDR IP ranges allowed is 5000. */ destIpRanges?: string[] | null; + /** + * Network context of the traffic destination. Allowed values are: + * + * + * - UNSPECIFIED + * - INTERNET + * - NON_INTERNET + */ + destNetworkContext?: string | null; /** * Network type of the traffic destination. Allowed values are: * @@ -7184,6 +7240,17 @@ export namespace compute_v1 { * Maximum number of source CIDR IP ranges allowed is 5000. */ srcIpRanges?: string[] | null; + /** + * Network context of the traffic source. Allowed values are: + * + * + * - UNSPECIFIED + * - INTERNET + * - INTRA_VPC + * - NON_INTERNET + * - VPC_NETWORKS + */ + srcNetworkContext?: string | null; /** * Networks of the traffic source. It can be either a full or partial url. */ @@ -15808,6 +15875,11 @@ export namespace compute_v1 { * attached to a disk or image at a time. */ osLicense?: boolean | null; + /** + * Input only. Additional params passed with the request, but not persisted + * as part of resource payload. + */ + params?: Schema$LicenseParams; /** * If true, this license can be removed from a disk's set of licenses, with no * replacement license needed. @@ -15909,6 +15981,21 @@ export namespace compute_v1 { */ selfLink?: string | null; } + /** + * Additional license params. + */ + export interface Schema$LicenseParams { + /** + * Input only. Resource manager tags to be bound to the license. Tag keys and values + * have the same definition as resource + * manager tags. Keys and values can be either in numeric format, + * such as `tagKeys/{tag_key_id\}` and `tagValues/456` or in namespaced + * format such as `{org_id|project_id\}/{tag_key_short_name\}` and + * `{tag_value_short_name\}`. The field is ignored (both PUT & + * PATCH) when empty. + */ + resourceManagerTags?: {[key: string]: string} | null; + } /** * Commitment for a particular license resource. */ @@ -18020,6 +18107,10 @@ export namespace compute_v1 { * purposes are supported. */ addressPurposes?: string[] | null; + /** + * Specifies whether address creation is allowed. + */ + allowAddressCreation?: string | null; /** * Specifies whether alias IP ranges (and secondary address ranges) are * allowed. @@ -18050,6 +18141,10 @@ export namespace compute_v1 { * interfaces connected to this VPC. */ allowExternalIpAccess?: string | null; + /** + * Specifies whether firewall policy can be attached to the network. + */ + allowFirewallPolicy?: string | null; /** * Specifies whether Cloud Interconnect creation is allowed. */ @@ -18070,6 +18165,10 @@ export namespace compute_v1 { * Specifies whether multi-nic in the same network is allowed. */ allowMultiNicInSameNetwork?: string | null; + /** + * Specifies whether multi-nic in the same subnetwork is allowed. + */ + allowMultiNicInSameSubnetwork?: string | null; /** * Specifies whether NCC is allowed. */ @@ -18102,6 +18201,14 @@ export namespace compute_v1 { * Specifies whether sub interfaces are allowed. */ allowSubInterfaces?: string | null; + /** + * Specifies whether subnetwork creation is allowed. + */ + allowSubnetworkCreation?: string | null; + /** + * Specifies whether VPC firewall rules can be created under the network. + */ + allowVpcFirewallRules?: string | null; /** * Specifies whether VPC peering is allowed. */ @@ -18110,6 +18217,7 @@ export namespace compute_v1 { * Specifies whether VPN creation is allowed. */ allowVpn?: string | null; + firewallPolicyTypes?: string[] | null; /** * If set, limits the interface types that the network supports. If * empty, all interface types are supported. @@ -18119,6 +18227,14 @@ export namespace compute_v1 { * Specifies which type of multicast is supported. */ multicast?: string | null; + /** + * Specifies a predefined internal IPv6 range for the network. + */ + predefinedNetworkInternalIpv6Range?: string | null; + /** + * Predefined subnetwork ranges for the network. + */ + predefinedSubnetworkRanges?: Schema$NetworkProfileNetworkFeaturesPredefinedSubnetworkRange[]; /** * Specifies which subnetwork purposes are supported. */ @@ -18140,6 +18256,16 @@ export namespace compute_v1 { */ unicast?: string | null; } + export interface Schema$NetworkProfileNetworkFeaturesPredefinedSubnetworkRange { + /** + * The IPv6 range of the predefined subnetwork. + */ + ipv6Range?: string | null; + /** + * The naming prefix of the predefined subnetwork. + */ + namePrefix?: string | null; + } export interface Schema$NetworkProfileProfileType { networkType?: string | null; rdmaSubtype?: string | null; @@ -22049,6 +22175,11 @@ export namespace compute_v1 { * reservation block. */ inUseCount?: number | null; + /** + * Output only. Number of hosts currently in use. If there is one or more Instances running + * on the host, it is considered in use. + */ + inUseHostCount?: number | null; /** * Output only. [Output Only] Type of the resource. Alwayscompute#reservationBlock for reservation blocks. */ @@ -22297,6 +22428,11 @@ export namespace compute_v1 { * reservation subBlock. */ inUseCount?: number | null; + /** + * Output only. Number of hosts currently in use. If there is one or more Instances running + * on the host, it is considered in use. + */ + inUseHostCount?: number | null; /** * Output only. [Output Only] Type of the resource. Alwayscompute#reservationSubBlock for reservation subBlocks. */ @@ -26655,6 +26791,10 @@ export namespace compute_v1 { * An array of network access configurations for this interface. */ networkInterfaces?: Schema$NetworkInterface[]; + /** + * PostKeyRevocationActionType of the instance. + */ + postKeyRevocationActionType?: string | null; /** * Specifies the scheduling options for the instances that are created from * this machine image. @@ -27293,6 +27433,11 @@ export namespace compute_v1 { * the last character, which cannot be a dash. */ name?: string | null; + /** + * Input only. Additional params passed with the request, but not persisted + * as part of resource payload. + */ + params?: Schema$StoragePoolParams; /** * Provisioning type of the performance-related parameters of the pool, * such as throughput and IOPS. @@ -27541,6 +27686,21 @@ export namespace compute_v1 { message?: string; } | null; } + /** + * Additional storage pool params. + */ + export interface Schema$StoragePoolParams { + /** + * Input only. Resource manager tags to be bound to the storage pool. Tag keys and values + * have the same definition as resource + * manager tags. Keys and values can be either in numeric format, + * such as `tagKeys/{tag_key_id\}` and `tagValues/456` or in namespaced + * format such as `{org_id|project_id\}/{tag_key_short_name\}` and + * `{tag_value_short_name\}`. The field is ignored (both PUT & + * PATCH) when empty. + */ + resourceManagerTags?: {[key: string]: string} | null; + } /** * [Output Only] Contains output only fields. */ @@ -36169,6 +36329,164 @@ export namespace compute_v1 { } } + /** + * Returns permissions that a caller has on the specified resource. + * @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: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const compute = google.compute('v1'); + * + * 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', + * 'https://www.googleapis.com/auth/compute.readonly', + * ], + * }); + * + * // 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.autoscalers.testIamPermissions({ + * // 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])?))', + * // Name or id of the resource for this request. + * resource: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}', + * // The name of the zone for this request. + * zone: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "permissions": [] + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "permissions": [] + * // } + * } + * + * 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. + */ + testIamPermissions( + params: Params$Resource$Autoscalers$Testiampermissions, + options: StreamMethodOptions + ): Promise>; + testIamPermissions( + params?: Params$Resource$Autoscalers$Testiampermissions, + options?: MethodOptions + ): Promise>; + testIamPermissions( + params: Params$Resource$Autoscalers$Testiampermissions, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Autoscalers$Testiampermissions, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Autoscalers$Testiampermissions, + callback: BodyResponseCallback + ): void; + testIamPermissions( + callback: BodyResponseCallback + ): void; + testIamPermissions( + paramsOrCallback?: + | Params$Resource$Autoscalers$Testiampermissions + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Autoscalers$Testiampermissions; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Autoscalers$Testiampermissions; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/autoscalers/{resource}/testIamPermissions' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Updates an autoscaler in the specified project using the data * included in the request. @@ -36713,6 +37031,25 @@ export namespace compute_v1 { */ requestBody?: Schema$Autoscaler; } + export interface Params$Resource$Autoscalers$Testiampermissions extends StandardParameters { + /** + * Project ID for this request. + */ + project?: string; + /** + * Name or id of the resource for this request. + */ + resource?: string; + /** + * The name of the zone for this request. + */ + zone?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$TestPermissionsRequest; + } export interface Params$Resource$Autoscalers$Update extends StandardParameters { /** * Name of the autoscaler to update. @@ -40251,6 +40588,7 @@ export namespace compute_v1 { * // "metadatas": {}, * // "name": "my_name", * // "network": "my_network", + * // "networkPassThroughLbTrafficPolicy": {}, * // "outlierDetection": {}, * // "params": {}, * // "port": 0, @@ -40910,6 +41248,7 @@ export namespace compute_v1 { * // "metadatas": {}, * // "name": "my_name", * // "network": "my_network", + * // "networkPassThroughLbTrafficPolicy": {}, * // "outlierDetection": {}, * // "params": {}, * // "port": 0, @@ -41626,6 +41965,7 @@ export namespace compute_v1 { * // "metadatas": {}, * // "name": "my_name", * // "network": "my_network", + * // "networkPassThroughLbTrafficPolicy": {}, * // "outlierDetection": {}, * // "params": {}, * // "port": 0, @@ -42566,6 +42906,7 @@ export namespace compute_v1 { * // "metadatas": {}, * // "name": "my_name", * // "network": "my_network", + * // "networkPassThroughLbTrafficPolicy": {}, * // "outlierDetection": {}, * // "params": {}, * // "port": 0, @@ -69965,6 +70306,162 @@ export namespace compute_v1 { } } + /** + * Returns permissions that a caller has on the specified resource. + * @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: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const compute = google.compute('v1'); + * + * 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', + * 'https://www.googleapis.com/auth/compute.readonly', + * ], + * }); + * + * // 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.healthChecks.testIamPermissions({ + * // 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])?))', + * // Name or id of the resource for this request. + * resource: '[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "permissions": [] + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "permissions": [] + * // } + * } + * + * 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. + */ + testIamPermissions( + params: Params$Resource$Healthchecks$Testiampermissions, + options: StreamMethodOptions + ): Promise>; + testIamPermissions( + params?: Params$Resource$Healthchecks$Testiampermissions, + options?: MethodOptions + ): Promise>; + testIamPermissions( + params: Params$Resource$Healthchecks$Testiampermissions, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Healthchecks$Testiampermissions, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Healthchecks$Testiampermissions, + callback: BodyResponseCallback + ): void; + testIamPermissions( + callback: BodyResponseCallback + ): void; + testIamPermissions( + paramsOrCallback?: + | Params$Resource$Healthchecks$Testiampermissions + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Healthchecks$Testiampermissions; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Healthchecks$Testiampermissions; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/v1/projects/{project}/global/healthChecks/{resource}/testIamPermissions' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Updates a HealthCheck resource in the specified project using the data * included in the request. @@ -70494,6 +70991,21 @@ export namespace compute_v1 { */ requestBody?: Schema$HealthCheck; } + export interface Params$Resource$Healthchecks$Testiampermissions extends StandardParameters { + /** + * Project ID for this request. + */ + project?: string; + /** + * Name or id of the resource for this request. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$TestPermissionsRequest; + } export interface Params$Resource$Healthchecks$Update extends StandardParameters { /** * Name of the HealthCheck resource to update. @@ -71510,6 +72022,162 @@ export namespace compute_v1 { } } + /** + * Returns permissions that a caller has on the specified resource. + * @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: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const compute = google.compute('v1'); + * + * 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', + * 'https://www.googleapis.com/auth/compute.readonly', + * ], + * }); + * + * // 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.httpHealthChecks.testIamPermissions({ + * // 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])?))', + * // Name or id of the resource for this request. + * resource: '[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "permissions": [] + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "permissions": [] + * // } + * } + * + * 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. + */ + testIamPermissions( + params: Params$Resource$Httphealthchecks$Testiampermissions, + options: StreamMethodOptions + ): Promise>; + testIamPermissions( + params?: Params$Resource$Httphealthchecks$Testiampermissions, + options?: MethodOptions + ): Promise>; + testIamPermissions( + params: Params$Resource$Httphealthchecks$Testiampermissions, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Httphealthchecks$Testiampermissions, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Httphealthchecks$Testiampermissions, + callback: BodyResponseCallback + ): void; + testIamPermissions( + callback: BodyResponseCallback + ): void; + testIamPermissions( + paramsOrCallback?: + | Params$Resource$Httphealthchecks$Testiampermissions + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Httphealthchecks$Testiampermissions; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Httphealthchecks$Testiampermissions; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/v1/projects/{project}/global/httpHealthChecks/{resource}/testIamPermissions' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Updates a HttpHealthCheck resource in the specified project using the data * included in the request. @@ -71777,140 +72445,155 @@ export namespace compute_v1 { */ requestBody?: Schema$HttpHealthCheck; } - export interface Params$Resource$Httphealthchecks$List extends StandardParameters { - /** - * A filter expression that filters resources listed in the response. Most - * Compute resources support two types of filter expressions: - * expressions that support regular expressions and expressions that follow - * API improvement proposal AIP-160. - * These two types of filter expressions cannot be mixed in one request. - * - * If you want to use AIP-160, your expression must specify the field name, an - * operator, and the value that you want to use for filtering. The value - * must be a string, a number, or a boolean. The operator - * must be either `=`, `!=`, `\>`, `<`, `<=`, `\>=` or `:`. - * - * For example, if you are filtering Compute Engine instances, you can - * exclude instances named `example-instance` by specifying - * `name != example-instance`. - * - * The `:*` comparison can be used to test whether a key has been defined. - * For example, to find all objects with `owner` label use: - * ``` - * labels.owner:* - * ``` - * - * You can also filter nested fields. For example, you could specify - * `scheduling.automaticRestart = false` to include instances only - * if they are not scheduled for automatic restarts. You can use filtering - * on nested fields to filter based onresource labels. - * - * To filter on multiple expressions, provide each separate expression within - * parentheses. For example: - * ``` - * (scheduling.automaticRestart = true) - * (cpuPlatform = "Intel Skylake") - * ``` - * By default, each expression is an `AND` expression. However, you - * can include `AND` and `OR` expressions explicitly. - * For example: - * ``` - * (cpuPlatform = "Intel Skylake") OR - * (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true) - * ``` - * - * If you want to use a regular expression, use the `eq` (equal) or `ne` - * (not equal) operator against a single un-parenthesized expression with or - * without quotes or against multiple parenthesized expressions. Examples: - * - * `fieldname eq unquoted literal` - * `fieldname eq 'single quoted literal'` - * `fieldname eq "double quoted literal"` - * `(fieldname1 eq literal) (fieldname2 ne "literal")` - * - * The literal value is interpreted as a regular expression using GoogleRE2 library syntax. - * The literal value must match the entire field. - * - * For example, to filter for instances that do not end with name "instance", - * you would use `name ne .*instance`. - * - * You cannot combine constraints on multiple fields using regular - * expressions. - */ - filter?: string; - /** - * The maximum number of results per page that should be returned. - * If the number of available results is larger than `maxResults`, - * Compute Engine returns a `nextPageToken` that can be used to get - * the next page of results in subsequent list requests. Acceptable values are - * `0` to `500`, inclusive. (Default: `500`) - */ - maxResults?: number; - /** - * Sorts list results by a certain order. By default, results - * are returned in alphanumerical order based on the resource name. - * - * You can also sort results in descending order based on the creation - * timestamp using `orderBy="creationTimestamp desc"`. This sorts - * results based on the `creationTimestamp` field in - * reverse chronological order (newest result first). Use this to sort - * resources like operations so that the newest operation is returned first. - * - * Currently, only sorting by `name` or - * `creationTimestamp desc` is supported. - */ - orderBy?: string; - /** - * Specifies a page token to use. Set `pageToken` to the - * `nextPageToken` returned by a previous list request to get - * the next page of results. - */ - pageToken?: string; - /** - * Project ID for this request. - */ - project?: string; - /** - * Opt-in for partial success behavior which provides partial results in case - * of failure. The default value is false. - * - * For example, when partial success behavior is enabled, aggregatedList for a - * single zone scope either returns all resources in the zone or no resources, - * with an error code. - */ - returnPartialSuccess?: boolean; - } - export interface Params$Resource$Httphealthchecks$Patch extends StandardParameters { - /** - * Name of the HttpHealthCheck resource to patch. - */ - httpHealthCheck?: string; + export interface Params$Resource$Httphealthchecks$List extends StandardParameters { + /** + * A filter expression that filters resources listed in the response. Most + * Compute resources support two types of filter expressions: + * expressions that support regular expressions and expressions that follow + * API improvement proposal AIP-160. + * These two types of filter expressions cannot be mixed in one request. + * + * If you want to use AIP-160, your expression must specify the field name, an + * operator, and the value that you want to use for filtering. The value + * must be a string, a number, or a boolean. The operator + * must be either `=`, `!=`, `\>`, `<`, `<=`, `\>=` or `:`. + * + * For example, if you are filtering Compute Engine instances, you can + * exclude instances named `example-instance` by specifying + * `name != example-instance`. + * + * The `:*` comparison can be used to test whether a key has been defined. + * For example, to find all objects with `owner` label use: + * ``` + * labels.owner:* + * ``` + * + * You can also filter nested fields. For example, you could specify + * `scheduling.automaticRestart = false` to include instances only + * if they are not scheduled for automatic restarts. You can use filtering + * on nested fields to filter based onresource labels. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example: + * ``` + * (scheduling.automaticRestart = true) + * (cpuPlatform = "Intel Skylake") + * ``` + * By default, each expression is an `AND` expression. However, you + * can include `AND` and `OR` expressions explicitly. + * For example: + * ``` + * (cpuPlatform = "Intel Skylake") OR + * (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true) + * ``` + * + * If you want to use a regular expression, use the `eq` (equal) or `ne` + * (not equal) operator against a single un-parenthesized expression with or + * without quotes or against multiple parenthesized expressions. Examples: + * + * `fieldname eq unquoted literal` + * `fieldname eq 'single quoted literal'` + * `fieldname eq "double quoted literal"` + * `(fieldname1 eq literal) (fieldname2 ne "literal")` + * + * The literal value is interpreted as a regular expression using GoogleRE2 library syntax. + * The literal value must match the entire field. + * + * For example, to filter for instances that do not end with name "instance", + * you would use `name ne .*instance`. + * + * You cannot combine constraints on multiple fields using regular + * expressions. + */ + filter?: string; + /** + * The maximum number of results per page that should be returned. + * If the number of available results is larger than `maxResults`, + * Compute Engine returns a `nextPageToken` that can be used to get + * the next page of results in subsequent list requests. Acceptable values are + * `0` to `500`, inclusive. (Default: `500`) + */ + maxResults?: number; + /** + * Sorts list results by a certain order. By default, results + * are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation + * timestamp using `orderBy="creationTimestamp desc"`. This sorts + * results based on the `creationTimestamp` field in + * reverse chronological order (newest result first). Use this to sort + * resources like operations so that the newest operation is returned first. + * + * Currently, only sorting by `name` or + * `creationTimestamp desc` is supported. + */ + orderBy?: string; + /** + * Specifies a page token to use. Set `pageToken` to the + * `nextPageToken` returned by a previous list request to get + * the next page of results. + */ + pageToken?: string; + /** + * Project ID for this request. + */ + project?: string; + /** + * Opt-in for partial success behavior which provides partial results in case + * of failure. The default value is false. + * + * For example, when partial success behavior is enabled, aggregatedList for a + * single zone scope either returns all resources in the zone or no resources, + * with an error code. + */ + returnPartialSuccess?: boolean; + } + export interface Params$Resource$Httphealthchecks$Patch extends StandardParameters { + /** + * Name of the HttpHealthCheck resource to patch. + */ + httpHealthCheck?: 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$HttpHealthCheck; + } + export interface Params$Resource$Httphealthchecks$Testiampermissions extends StandardParameters { /** * 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). + * Name or id of the resource for this request. */ - requestId?: string; + resource?: string; /** * Request body metadata */ - requestBody?: Schema$HttpHealthCheck; + requestBody?: Schema$TestPermissionsRequest; } export interface Params$Resource$Httphealthchecks$Update extends StandardParameters { /** @@ -72932,6 +73615,162 @@ export namespace compute_v1 { } } + /** + * Returns permissions that a caller has on the specified resource. + * @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: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const compute = google.compute('v1'); + * + * 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', + * 'https://www.googleapis.com/auth/compute.readonly', + * ], + * }); + * + * // 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.httpsHealthChecks.testIamPermissions({ + * // 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])?))', + * // Name or id of the resource for this request. + * resource: '[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "permissions": [] + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "permissions": [] + * // } + * } + * + * 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. + */ + testIamPermissions( + params: Params$Resource$Httpshealthchecks$Testiampermissions, + options: StreamMethodOptions + ): Promise>; + testIamPermissions( + params?: Params$Resource$Httpshealthchecks$Testiampermissions, + options?: MethodOptions + ): Promise>; + testIamPermissions( + params: Params$Resource$Httpshealthchecks$Testiampermissions, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Httpshealthchecks$Testiampermissions, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Httpshealthchecks$Testiampermissions, + callback: BodyResponseCallback + ): void; + testIamPermissions( + callback: BodyResponseCallback + ): void; + testIamPermissions( + paramsOrCallback?: + | Params$Resource$Httpshealthchecks$Testiampermissions + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Httpshealthchecks$Testiampermissions; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Httpshealthchecks$Testiampermissions; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/v1/projects/{project}/global/httpsHealthChecks/{resource}/testIamPermissions' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Updates a HttpsHealthCheck resource in the specified project using the data * included in the request. @@ -73334,6 +74173,21 @@ export namespace compute_v1 { */ requestBody?: Schema$HttpsHealthCheck; } + export interface Params$Resource$Httpshealthchecks$Testiampermissions extends StandardParameters { + /** + * Project ID for this request. + */ + project?: string; + /** + * Name or id of the resource for this request. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$TestPermissionsRequest; + } export interface Params$Resource$Httpshealthchecks$Update extends StandardParameters { /** * Name of the HttpsHealthCheck resource to update. @@ -111639,6 +112493,7 @@ export namespace compute_v1 { * // "multiTenantOnly": false, * // "name": "my_name", * // "osLicense": false, + * // "params": {}, * // "removableFromDisk": false, * // "requiredCoattachedLicenses": [], * // "resourceRequirements": {}, @@ -111972,6 +112827,7 @@ export namespace compute_v1 { * // "multiTenantOnly": false, * // "name": "my_name", * // "osLicense": false, + * // "params": {}, * // "removableFromDisk": false, * // "requiredCoattachedLicenses": [], * // "resourceRequirements": {}, @@ -112746,6 +113602,7 @@ export namespace compute_v1 { * // "multiTenantOnly": false, * // "name": "my_name", * // "osLicense": false, + * // "params": {}, * // "removableFromDisk": false, * // "requiredCoattachedLicenses": [], * // "resourceRequirements": {}, @@ -149888,6 +150745,164 @@ export namespace compute_v1 { } } + /** + * Returns permissions that a caller has on the specified resource. + * @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: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const compute = google.compute('v1'); + * + * 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', + * 'https://www.googleapis.com/auth/compute.readonly', + * ], + * }); + * + * // 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.regionAutoscalers.testIamPermissions({ + * // 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])?))', + * // The name of the region for this request. + * region: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?', + * // Name or id of the resource for this request. + * resource: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "permissions": [] + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "permissions": [] + * // } + * } + * + * 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. + */ + testIamPermissions( + params: Params$Resource$Regionautoscalers$Testiampermissions, + options: StreamMethodOptions + ): Promise>; + testIamPermissions( + params?: Params$Resource$Regionautoscalers$Testiampermissions, + options?: MethodOptions + ): Promise>; + testIamPermissions( + params: Params$Resource$Regionautoscalers$Testiampermissions, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Regionautoscalers$Testiampermissions, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Regionautoscalers$Testiampermissions, + callback: BodyResponseCallback + ): void; + testIamPermissions( + callback: BodyResponseCallback + ): void; + testIamPermissions( + paramsOrCallback?: + | Params$Resource$Regionautoscalers$Testiampermissions + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Regionautoscalers$Testiampermissions; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Regionautoscalers$Testiampermissions; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/v1/projects/{project}/regions/{region}/autoscalers/{resource}/testIamPermissions' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Updates an autoscaler in the specified project using * the data included in the request. @@ -150170,148 +151185,167 @@ export namespace compute_v1 { */ requestBody?: Schema$Autoscaler; } - export interface Params$Resource$Regionautoscalers$List extends StandardParameters { - /** - * A filter expression that filters resources listed in the response. Most - * Compute resources support two types of filter expressions: - * expressions that support regular expressions and expressions that follow - * API improvement proposal AIP-160. - * These two types of filter expressions cannot be mixed in one request. - * - * If you want to use AIP-160, your expression must specify the field name, an - * operator, and the value that you want to use for filtering. The value - * must be a string, a number, or a boolean. The operator - * must be either `=`, `!=`, `\>`, `<`, `<=`, `\>=` or `:`. - * - * For example, if you are filtering Compute Engine instances, you can - * exclude instances named `example-instance` by specifying - * `name != example-instance`. - * - * The `:*` comparison can be used to test whether a key has been defined. - * For example, to find all objects with `owner` label use: - * ``` - * labels.owner:* - * ``` - * - * You can also filter nested fields. For example, you could specify - * `scheduling.automaticRestart = false` to include instances only - * if they are not scheduled for automatic restarts. You can use filtering - * on nested fields to filter based onresource labels. - * - * To filter on multiple expressions, provide each separate expression within - * parentheses. For example: - * ``` - * (scheduling.automaticRestart = true) - * (cpuPlatform = "Intel Skylake") - * ``` - * By default, each expression is an `AND` expression. However, you - * can include `AND` and `OR` expressions explicitly. - * For example: - * ``` - * (cpuPlatform = "Intel Skylake") OR - * (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true) - * ``` - * - * If you want to use a regular expression, use the `eq` (equal) or `ne` - * (not equal) operator against a single un-parenthesized expression with or - * without quotes or against multiple parenthesized expressions. Examples: - * - * `fieldname eq unquoted literal` - * `fieldname eq 'single quoted literal'` - * `fieldname eq "double quoted literal"` - * `(fieldname1 eq literal) (fieldname2 ne "literal")` - * - * The literal value is interpreted as a regular expression using GoogleRE2 library syntax. - * The literal value must match the entire field. - * - * For example, to filter for instances that do not end with name "instance", - * you would use `name ne .*instance`. - * - * You cannot combine constraints on multiple fields using regular - * expressions. - */ - filter?: string; - /** - * The maximum number of results per page that should be returned. - * If the number of available results is larger than `maxResults`, - * Compute Engine returns a `nextPageToken` that can be used to get - * the next page of results in subsequent list requests. Acceptable values are - * `0` to `500`, inclusive. (Default: `500`) - */ - maxResults?: number; - /** - * Sorts list results by a certain order. By default, results - * are returned in alphanumerical order based on the resource name. - * - * You can also sort results in descending order based on the creation - * timestamp using `orderBy="creationTimestamp desc"`. This sorts - * results based on the `creationTimestamp` field in - * reverse chronological order (newest result first). Use this to sort - * resources like operations so that the newest operation is returned first. - * - * Currently, only sorting by `name` or - * `creationTimestamp desc` is supported. - */ - orderBy?: string; - /** - * Specifies a page token to use. Set `pageToken` to the - * `nextPageToken` returned by a previous list request to get - * the next page of results. - */ - pageToken?: string; - /** - * Project ID for this request. - */ - project?: string; - /** - * Name of the region scoping this request. - */ - region?: string; - /** - * Opt-in for partial success behavior which provides partial results in case - * of failure. The default value is false. - * - * For example, when partial success behavior is enabled, aggregatedList for a - * single zone scope either returns all resources in the zone or no resources, - * with an error code. - */ - returnPartialSuccess?: boolean; - } - export interface Params$Resource$Regionautoscalers$Patch extends StandardParameters { - /** - * Name of the autoscaler to patch. - */ - autoscaler?: string; + export interface Params$Resource$Regionautoscalers$List extends StandardParameters { + /** + * A filter expression that filters resources listed in the response. Most + * Compute resources support two types of filter expressions: + * expressions that support regular expressions and expressions that follow + * API improvement proposal AIP-160. + * These two types of filter expressions cannot be mixed in one request. + * + * If you want to use AIP-160, your expression must specify the field name, an + * operator, and the value that you want to use for filtering. The value + * must be a string, a number, or a boolean. The operator + * must be either `=`, `!=`, `\>`, `<`, `<=`, `\>=` or `:`. + * + * For example, if you are filtering Compute Engine instances, you can + * exclude instances named `example-instance` by specifying + * `name != example-instance`. + * + * The `:*` comparison can be used to test whether a key has been defined. + * For example, to find all objects with `owner` label use: + * ``` + * labels.owner:* + * ``` + * + * You can also filter nested fields. For example, you could specify + * `scheduling.automaticRestart = false` to include instances only + * if they are not scheduled for automatic restarts. You can use filtering + * on nested fields to filter based onresource labels. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example: + * ``` + * (scheduling.automaticRestart = true) + * (cpuPlatform = "Intel Skylake") + * ``` + * By default, each expression is an `AND` expression. However, you + * can include `AND` and `OR` expressions explicitly. + * For example: + * ``` + * (cpuPlatform = "Intel Skylake") OR + * (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true) + * ``` + * + * If you want to use a regular expression, use the `eq` (equal) or `ne` + * (not equal) operator against a single un-parenthesized expression with or + * without quotes or against multiple parenthesized expressions. Examples: + * + * `fieldname eq unquoted literal` + * `fieldname eq 'single quoted literal'` + * `fieldname eq "double quoted literal"` + * `(fieldname1 eq literal) (fieldname2 ne "literal")` + * + * The literal value is interpreted as a regular expression using GoogleRE2 library syntax. + * The literal value must match the entire field. + * + * For example, to filter for instances that do not end with name "instance", + * you would use `name ne .*instance`. + * + * You cannot combine constraints on multiple fields using regular + * expressions. + */ + filter?: string; + /** + * The maximum number of results per page that should be returned. + * If the number of available results is larger than `maxResults`, + * Compute Engine returns a `nextPageToken` that can be used to get + * the next page of results in subsequent list requests. Acceptable values are + * `0` to `500`, inclusive. (Default: `500`) + */ + maxResults?: number; + /** + * Sorts list results by a certain order. By default, results + * are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation + * timestamp using `orderBy="creationTimestamp desc"`. This sorts + * results based on the `creationTimestamp` field in + * reverse chronological order (newest result first). Use this to sort + * resources like operations so that the newest operation is returned first. + * + * Currently, only sorting by `name` or + * `creationTimestamp desc` is supported. + */ + orderBy?: string; + /** + * Specifies a page token to use. Set `pageToken` to the + * `nextPageToken` returned by a previous list request to get + * the next page of results. + */ + pageToken?: string; + /** + * Project ID for this request. + */ + project?: string; + /** + * Name of the region scoping this request. + */ + region?: string; + /** + * Opt-in for partial success behavior which provides partial results in case + * of failure. The default value is false. + * + * For example, when partial success behavior is enabled, aggregatedList for a + * single zone scope either returns all resources in the zone or no resources, + * with an error code. + */ + returnPartialSuccess?: boolean; + } + export interface Params$Resource$Regionautoscalers$Patch extends StandardParameters { + /** + * Name of the autoscaler to patch. + */ + autoscaler?: string; + /** + * Project ID for this request. + */ + project?: string; + /** + * Name of the region scoping this request. + */ + region?: 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$Autoscaler; + } + export interface Params$Resource$Regionautoscalers$Testiampermissions extends StandardParameters { /** * Project ID for this request. */ project?: string; /** - * Name of the region scoping this request. + * The name of the region for this request. */ region?: 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). + * Name or id of the resource for this request. */ - requestId?: string; + resource?: string; /** * Request body metadata */ - requestBody?: Schema$Autoscaler; + requestBody?: Schema$TestPermissionsRequest; } export interface Params$Resource$Regionautoscalers$Update extends StandardParameters { /** @@ -150619,6 +151653,7 @@ export namespace compute_v1 { * // "metadatas": {}, * // "name": "my_name", * // "network": "my_network", + * // "networkPassThroughLbTrafficPolicy": {}, * // "outlierDetection": {}, * // "params": {}, * // "port": 0, @@ -151140,6 +152175,7 @@ export namespace compute_v1 { * // "metadatas": {}, * // "name": "my_name", * // "network": "my_network", + * // "networkPassThroughLbTrafficPolicy": {}, * // "outlierDetection": {}, * // "params": {}, * // "port": 0, @@ -151866,6 +152902,7 @@ export namespace compute_v1 { * // "metadatas": {}, * // "name": "my_name", * // "network": "my_network", + * // "networkPassThroughLbTrafficPolicy": {}, * // "outlierDetection": {}, * // "params": {}, * // "port": 0, @@ -152622,6 +153659,7 @@ export namespace compute_v1 { * // "metadatas": {}, * // "name": "my_name", * // "network": "my_network", + * // "networkPassThroughLbTrafficPolicy": {}, * // "outlierDetection": {}, * // "params": {}, * // "port": 0, @@ -160146,6 +161184,164 @@ export namespace compute_v1 { } } + /** + * Returns permissions that a caller has on the specified resource. + * @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: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const compute = google.compute('v1'); + * + * 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', + * 'https://www.googleapis.com/auth/compute.readonly', + * ], + * }); + * + * // 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.regionHealthChecks.testIamPermissions({ + * // 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])?))', + * // The name of the region for this request. + * region: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?', + * // Name or id of the resource for this request. + * resource: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "permissions": [] + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "permissions": [] + * // } + * } + * + * 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. + */ + testIamPermissions( + params: Params$Resource$Regionhealthchecks$Testiampermissions, + options: StreamMethodOptions + ): Promise>; + testIamPermissions( + params?: Params$Resource$Regionhealthchecks$Testiampermissions, + options?: MethodOptions + ): Promise>; + testIamPermissions( + params: Params$Resource$Regionhealthchecks$Testiampermissions, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Regionhealthchecks$Testiampermissions, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Regionhealthchecks$Testiampermissions, + callback: BodyResponseCallback + ): void; + testIamPermissions( + callback: BodyResponseCallback + ): void; + testIamPermissions( + paramsOrCallback?: + | Params$Resource$Regionhealthchecks$Testiampermissions + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Regionhealthchecks$Testiampermissions; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Regionhealthchecks$Testiampermissions; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/v1/projects/{project}/regions/{region}/healthChecks/{resource}/testIamPermissions' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Updates a HealthCheck resource in the specified project using the data * included in the request. @@ -160578,6 +161774,25 @@ export namespace compute_v1 { */ requestBody?: Schema$HealthCheck; } + export interface Params$Resource$Regionhealthchecks$Testiampermissions extends StandardParameters { + /** + * Project ID for this request. + */ + project?: string; + /** + * The name of the region for this request. + */ + region?: string; + /** + * Name or id of the resource for this request. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$TestPermissionsRequest; + } export interface Params$Resource$Regionhealthchecks$Update extends StandardParameters { /** * Name of the HealthCheck resource to update. @@ -178327,6 +179542,165 @@ export namespace compute_v1 { return createAPIRequest(parameters); } } + + /** + * Returns permissions that a caller has on the specified resource. + * @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: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const compute = google.compute('v1'); + * + * 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', + * 'https://www.googleapis.com/auth/compute.readonly', + * ], + * }); + * + * // 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.regionNotificationEndpoints.testIamPermissions({ + * // 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])?))', + * // The name of the region for this request. + * region: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?', + * // Name or id of the resource for this request. + * resource: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "permissions": [] + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "permissions": [] + * // } + * } + * + * 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. + */ + testIamPermissions( + params: Params$Resource$Regionnotificationendpoints$Testiampermissions, + options: StreamMethodOptions + ): Promise>; + testIamPermissions( + params?: Params$Resource$Regionnotificationendpoints$Testiampermissions, + options?: MethodOptions + ): Promise>; + testIamPermissions( + params: Params$Resource$Regionnotificationendpoints$Testiampermissions, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Regionnotificationendpoints$Testiampermissions, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Regionnotificationendpoints$Testiampermissions, + callback: BodyResponseCallback + ): void; + testIamPermissions( + callback: BodyResponseCallback + ): void; + testIamPermissions( + paramsOrCallback?: + | Params$Resource$Regionnotificationendpoints$Testiampermissions + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Regionnotificationendpoints$Testiampermissions; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Regionnotificationendpoints$Testiampermissions; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/v1/projects/{project}/regions/{region}/notificationEndpoints/{resource}/testIamPermissions' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } } export interface Params$Resource$Regionnotificationendpoints$Delete extends StandardParameters { @@ -178512,6 +179886,25 @@ export namespace compute_v1 { */ returnPartialSuccess?: boolean; } + export interface Params$Resource$Regionnotificationendpoints$Testiampermissions extends StandardParameters { + /** + * Project ID for this request. + */ + project?: string; + /** + * The name of the region for this request. + */ + region?: string; + /** + * Name or id of the resource for this request. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$TestPermissionsRequest; + } export class Resource$Regionoperations { context: APIRequestContext; @@ -203323,6 +204716,162 @@ export namespace compute_v1 { return createAPIRequest(parameters); } } + + /** + * Returns permissions that a caller has on the specified resource. + * @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: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const compute = google.compute('v1'); + * + * 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', + * 'https://www.googleapis.com/auth/compute.readonly', + * ], + * }); + * + * // 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.routes.testIamPermissions({ + * // 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])?))', + * // Name or id of the resource for this request. + * resource: '[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "permissions": [] + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "permissions": [] + * // } + * } + * + * 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. + */ + testIamPermissions( + params: Params$Resource$Routes$Testiampermissions, + options: StreamMethodOptions + ): Promise>; + testIamPermissions( + params?: Params$Resource$Routes$Testiampermissions, + options?: MethodOptions + ): Promise>; + testIamPermissions( + params: Params$Resource$Routes$Testiampermissions, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Routes$Testiampermissions, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Routes$Testiampermissions, + callback: BodyResponseCallback + ): void; + testIamPermissions( + callback: BodyResponseCallback + ): void; + testIamPermissions( + paramsOrCallback?: + | Params$Resource$Routes$Testiampermissions + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Routes$Testiampermissions; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Routes$Testiampermissions; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/v1/projects/{project}/global/routes/{resource}/testIamPermissions' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } } export interface Params$Resource$Routes$Delete extends StandardParameters { @@ -203492,6 +205041,21 @@ export namespace compute_v1 { */ returnPartialSuccess?: boolean; } + export interface Params$Resource$Routes$Testiampermissions extends StandardParameters { + /** + * Project ID for this request. + */ + project?: string; + /** + * Name or id of the resource for this request. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$TestPermissionsRequest; + } export class Resource$Securitypolicies { context: APIRequestContext; @@ -214372,6 +215936,7 @@ export namespace compute_v1 { * // "labelFingerprint": "my_labelFingerprint", * // "labels": {}, * // "name": "my_name", + * // "params": {}, * // "performanceProvisioningType": "my_performanceProvisioningType", * // "poolProvisionedCapacityGb": "my_poolProvisionedCapacityGb", * // "poolProvisionedIops": "my_poolProvisionedIops", @@ -214700,6 +216265,7 @@ export namespace compute_v1 { * // "labelFingerprint": "my_labelFingerprint", * // "labels": {}, * // "name": "my_name", + * // "params": {}, * // "performanceProvisioningType": "my_performanceProvisioningType", * // "poolProvisionedCapacityGb": "my_poolProvisionedCapacityGb", * // "poolProvisionedIops": "my_poolProvisionedIops", @@ -215719,6 +217285,7 @@ export namespace compute_v1 { * // "labelFingerprint": "my_labelFingerprint", * // "labels": {}, * // "name": "my_name", + * // "params": {}, * // "performanceProvisioningType": "my_performanceProvisioningType", * // "poolProvisionedCapacityGb": "my_poolProvisionedCapacityGb", * // "poolProvisionedIops": "my_poolProvisionedIops", @@ -232528,6 +234095,162 @@ export namespace compute_v1 { return createAPIRequest(parameters); } } + + /** + * Returns permissions that a caller has on the specified resource. + * @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: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const compute = google.compute('v1'); + * + * 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', + * 'https://www.googleapis.com/auth/compute.readonly', + * ], + * }); + * + * // 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.targetSslProxies.testIamPermissions({ + * // 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])?))', + * // Name or id of the resource for this request. + * resource: '[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "permissions": [] + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "permissions": [] + * // } + * } + * + * 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. + */ + testIamPermissions( + params: Params$Resource$Targetsslproxies$Testiampermissions, + options: StreamMethodOptions + ): Promise>; + testIamPermissions( + params?: Params$Resource$Targetsslproxies$Testiampermissions, + options?: MethodOptions + ): Promise>; + testIamPermissions( + params: Params$Resource$Targetsslproxies$Testiampermissions, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Targetsslproxies$Testiampermissions, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Targetsslproxies$Testiampermissions, + callback: BodyResponseCallback + ): void; + testIamPermissions( + callback: BodyResponseCallback + ): void; + testIamPermissions( + paramsOrCallback?: + | Params$Resource$Targetsslproxies$Testiampermissions + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Targetsslproxies$Testiampermissions; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Targetsslproxies$Testiampermissions; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/v1/projects/{project}/global/targetSslProxies/{resource}/testIamPermissions' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } } export interface Params$Resource$Targetsslproxies$Delete extends StandardParameters { @@ -232751,7 +234474,102 @@ export namespace compute_v1 { */ requestId?: string; /** - * Name of the TargetSslProxy resource whose CertificateMap is + * Name of the TargetSslProxy resource whose CertificateMap is + * to be set. The name must be 1-63 characters long, and comply with RFC1035. + */ + targetSslProxy?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$TargetSslProxiesSetCertificateMapRequest; + } + export interface Params$Resource$Targetsslproxies$Setproxyheader extends StandardParameters { + /** + * 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; + /** + * Name of the TargetSslProxy resource whose ProxyHeader is to be set. + */ + targetSslProxy?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$TargetSslProxiesSetProxyHeaderRequest; + } + export interface Params$Resource$Targetsslproxies$Setsslcertificates extends StandardParameters { + /** + * 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; + /** + * Name of the TargetSslProxy resource whose SslCertificate resource + * is to be set. + */ + targetSslProxy?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$TargetSslProxiesSetSslCertificatesRequest; + } + export interface Params$Resource$Targetsslproxies$Setsslpolicy extends StandardParameters { + /** + * 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; + /** + * Name of the TargetSslProxy resource whose SSL policy is * to be set. The name must be 1-63 characters long, and comply with RFC1035. */ targetSslProxy?: string; @@ -232759,102 +234577,22 @@ export namespace compute_v1 { /** * Request body metadata */ - requestBody?: Schema$TargetSslProxiesSetCertificateMapRequest; - } - export interface Params$Resource$Targetsslproxies$Setproxyheader extends StandardParameters { - /** - * 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; - /** - * Name of the TargetSslProxy resource whose ProxyHeader is to be set. - */ - targetSslProxy?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$TargetSslProxiesSetProxyHeaderRequest; - } - export interface Params$Resource$Targetsslproxies$Setsslcertificates extends StandardParameters { - /** - * 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; - /** - * Name of the TargetSslProxy resource whose SslCertificate resource - * is to be set. - */ - targetSslProxy?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$TargetSslProxiesSetSslCertificatesRequest; + requestBody?: Schema$SslPolicyReference; } - export interface Params$Resource$Targetsslproxies$Setsslpolicy extends StandardParameters { + export interface Params$Resource$Targetsslproxies$Testiampermissions extends StandardParameters { /** * 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; - /** - * Name of the TargetSslProxy resource whose SSL policy is - * to be set. The name must be 1-63 characters long, and comply with RFC1035. + * Name or id of the resource for this request. */ - targetSslProxy?: string; + resource?: string; /** * Request body metadata */ - requestBody?: Schema$SslPolicyReference; + requestBody?: Schema$TestPermissionsRequest; } export class Resource$Targettcpproxies { @@ -234111,32 +235849,209 @@ export namespace compute_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await compute.targetTcpProxies.setProxyHeader({ + * const res = await compute.targetTcpProxies.setProxyHeader({ + * // 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', + * // Name of the TargetTcpProxy resource whose ProxyHeader is to be set. + * targetTcpProxy: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "proxyHeader": "my_proxyHeader" + * // } + * }, + * }); + * 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", + * // "instancesBulkInsertOperationMetadata": {}, + * // "kind": "my_kind", + * // "name": "my_name", + * // "operationGroupId": "my_operationGroupId", + * // "operationType": "my_operationType", + * // "progress": 0, + * // "region": "my_region", + * // "selfLink": "my_selfLink", + * // "setCommonInstanceMetadataOperationMetadata": {}, + * // "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. + */ + setProxyHeader( + params: Params$Resource$Targettcpproxies$Setproxyheader, + options: StreamMethodOptions + ): Promise>; + setProxyHeader( + params?: Params$Resource$Targettcpproxies$Setproxyheader, + options?: MethodOptions + ): Promise>; + setProxyHeader( + params: Params$Resource$Targettcpproxies$Setproxyheader, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setProxyHeader( + params: Params$Resource$Targettcpproxies$Setproxyheader, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setProxyHeader( + params: Params$Resource$Targettcpproxies$Setproxyheader, + callback: BodyResponseCallback + ): void; + setProxyHeader(callback: BodyResponseCallback): void; + setProxyHeader( + paramsOrCallback?: + | Params$Resource$Targettcpproxies$Setproxyheader + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Targettcpproxies$Setproxyheader; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Targettcpproxies$Setproxyheader; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/v1/projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'targetTcpProxy'], + pathParams: ['project', 'targetTcpProxy'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Returns permissions that a caller has on the specified resource. + * @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: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const compute = google.compute('v1'); + * + * 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', + * 'https://www.googleapis.com/auth/compute.readonly', + * ], + * }); + * + * // 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.targetTcpProxies.testIamPermissions({ * // 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', - * // Name of the TargetTcpProxy resource whose ProxyHeader is to be set. - * targetTcpProxy: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}', + * // Name or id of the resource for this request. + * resource: '[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}', * * // Request body metadata * requestBody: { * // request body parameters * // { - * // "proxyHeader": "my_proxyHeader" + * // "permissions": [] * // } * }, * }); @@ -234144,32 +236059,7 @@ export namespace compute_v1 { * * // 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", - * // "instancesBulkInsertOperationMetadata": {}, - * // "kind": "my_kind", - * // "name": "my_name", - * // "operationGroupId": "my_operationGroupId", - * // "operationType": "my_operationType", - * // "progress": 0, - * // "region": "my_region", - * // "selfLink": "my_selfLink", - * // "setCommonInstanceMetadataOperationMetadata": {}, - * // "startTime": "my_startTime", - * // "status": "my_status", - * // "statusMessage": "my_statusMessage", - * // "targetId": "my_targetId", - * // "targetLink": "my_targetLink", - * // "user": "my_user", - * // "warnings": [], - * // "zone": "my_zone" + * // "permissions": [] * // } * } * @@ -234185,53 +236075,57 @@ export namespace compute_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - setProxyHeader( - params: Params$Resource$Targettcpproxies$Setproxyheader, + testIamPermissions( + params: Params$Resource$Targettcpproxies$Testiampermissions, options: StreamMethodOptions ): Promise>; - setProxyHeader( - params?: Params$Resource$Targettcpproxies$Setproxyheader, + testIamPermissions( + params?: Params$Resource$Targettcpproxies$Testiampermissions, options?: MethodOptions - ): Promise>; - setProxyHeader( - params: Params$Resource$Targettcpproxies$Setproxyheader, + ): Promise>; + testIamPermissions( + params: Params$Resource$Targettcpproxies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - setProxyHeader( - params: Params$Resource$Targettcpproxies$Setproxyheader, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + testIamPermissions( + params: Params$Resource$Targettcpproxies$Testiampermissions, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - setProxyHeader( - params: Params$Resource$Targettcpproxies$Setproxyheader, - callback: BodyResponseCallback + testIamPermissions( + params: Params$Resource$Targettcpproxies$Testiampermissions, + callback: BodyResponseCallback ): void; - setProxyHeader(callback: BodyResponseCallback): void; - setProxyHeader( + testIamPermissions( + callback: BodyResponseCallback + ): void; + testIamPermissions( paramsOrCallback?: - | Params$Resource$Targettcpproxies$Setproxyheader - | BodyResponseCallback + | Params$Resource$Targettcpproxies$Testiampermissions + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Targettcpproxies$Setproxyheader; + {}) as Params$Resource$Targettcpproxies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Targettcpproxies$Setproxyheader; + params = {} as Params$Resource$Targettcpproxies$Testiampermissions; options = {}; } @@ -234246,7 +236140,7 @@ export namespace compute_v1 { { url: ( rootUrl + - '/compute/v1/projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader' + '/compute/v1/projects/{project}/global/targetTcpProxies/{resource}/testIamPermissions' ).replace(/([^:]\/)\/+/g, '$1'), method: 'POST', apiVersion: '', @@ -234254,17 +236148,17 @@ export namespace compute_v1 { options ), params, - requiredParams: ['project', 'targetTcpProxy'], - pathParams: ['project', 'targetTcpProxy'], + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } } @@ -234618,6 +236512,21 @@ export namespace compute_v1 { */ requestBody?: Schema$TargetTcpProxiesSetProxyHeaderRequest; } + export interface Params$Resource$Targettcpproxies$Testiampermissions extends StandardParameters { + /** + * Project ID for this request. + */ + project?: string; + /** + * Name or id of the resource for this request. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$TestPermissionsRequest; + } export class Resource$Targetvpngateways { context: APIRequestContext; @@ -237634,6 +239543,162 @@ export namespace compute_v1 { } } + /** + * Returns permissions that a caller has on the specified resource. + * @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: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const compute = google.compute('v1'); + * + * 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', + * 'https://www.googleapis.com/auth/compute.readonly', + * ], + * }); + * + * // 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.urlMaps.testIamPermissions({ + * // 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])?))', + * // Name or id of the resource for this request. + * resource: '[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "permissions": [] + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "permissions": [] + * // } + * } + * + * 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. + */ + testIamPermissions( + params: Params$Resource$Urlmaps$Testiampermissions, + options: StreamMethodOptions + ): Promise>; + testIamPermissions( + params?: Params$Resource$Urlmaps$Testiampermissions, + options?: MethodOptions + ): Promise>; + testIamPermissions( + params: Params$Resource$Urlmaps$Testiampermissions, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Urlmaps$Testiampermissions, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Urlmaps$Testiampermissions, + callback: BodyResponseCallback + ): void; + testIamPermissions( + callback: BodyResponseCallback + ): void; + testIamPermissions( + paramsOrCallback?: + | Params$Resource$Urlmaps$Testiampermissions + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Urlmaps$Testiampermissions; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Urlmaps$Testiampermissions; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/v1/projects/{project}/global/urlMaps/{resource}/testIamPermissions' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Updates the specified UrlMap resource with the data included in the * request. @@ -238344,6 +240409,21 @@ export namespace compute_v1 { */ requestBody?: Schema$UrlMap; } + export interface Params$Resource$Urlmaps$Testiampermissions extends StandardParameters { + /** + * Project ID for this request. + */ + project?: string; + /** + * Name or id of the resource for this request. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$TestPermissionsRequest; + } export interface Params$Resource$Urlmaps$Update extends StandardParameters { /** * Project ID for this request. From 961e3729e8dd9a81499a0681e70c519799e3f135 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 9 Jan 2026 01:38:12 +0000 Subject: [PATCH 10/26] fix(content): update the API #### content:v2.1 The following keys were changed: - schemas.ProductView.properties.clickPotentialRank.description --- discovery/content-v2.1.json | 4 ++-- src/apis/content/v2.1.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/discovery/content-v2.1.json b/discovery/content-v2.1.json index e621039ee38..5b826b4c5a8 100644 --- a/discovery/content-v2.1.json +++ b/discovery/content-v2.1.json @@ -4282,7 +4282,7 @@ } } }, - "revision": "20251209", + "revision": "20260106", "rootUrl": "https://shoppingcontent.googleapis.com/", "schemas": { "Account": { @@ -10989,7 +10989,7 @@ "type": "string" }, "clickPotentialRank": { - "description": "Rank of the product based on its click potential. A product with `click_potential_rank` 1 has the highest click potential among the merchant's products that fulfill the search query conditions.", + "description": "Normalized click potential of the product. Values range from 1 to 1000, where 1 is the highest click potential and 1000 is the theoretical lowest.", "format": "int64", "type": "string" }, diff --git a/src/apis/content/v2.1.ts b/src/apis/content/v2.1.ts index d3211066c4e..da333849113 100644 --- a/src/apis/content/v2.1.ts +++ b/src/apis/content/v2.1.ts @@ -5298,7 +5298,7 @@ export namespace content_v2_1 { */ clickPotential?: string | null; /** - * Rank of the product based on its click potential. A product with `click_potential_rank` 1 has the highest click potential among the merchant's products that fulfill the search query conditions. + * Normalized click potential of the product. Values range from 1 to 1000, where 1 is the highest click potential and 1000 is the theoretical lowest. */ clickPotentialRank?: string | null; /** From d08f8e6902863c44e8f868506c0d7787d583443c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 9 Jan 2026 01:38:12 +0000 Subject: [PATCH 11/26] feat(datacatalog): update the API #### datacatalog:v1beta1 The following keys were added: - schemas.GoogleCloudDatacatalogV1Entry.properties.spannerTableSpec.$ref - schemas.GoogleCloudDatacatalogV1Entry.properties.spannerTableSpec.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpec.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpec.id - schemas.GoogleCloudDatacatalogV1SpannerTableSpec.properties.foreignKeys.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpec.properties.foreignKeys.items.$ref - schemas.GoogleCloudDatacatalogV1SpannerTableSpec.properties.foreignKeys.readOnly - schemas.GoogleCloudDatacatalogV1SpannerTableSpec.properties.foreignKeys.type - schemas.GoogleCloudDatacatalogV1SpannerTableSpec.properties.primaryKey.$ref - schemas.GoogleCloudDatacatalogV1SpannerTableSpec.properties.primaryKey.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpec.properties.primaryKey.readOnly - schemas.GoogleCloudDatacatalogV1SpannerTableSpec.type - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.id - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.properties.columnMappings.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.properties.columnMappings.items.$ref - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.properties.columnMappings.readOnly - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.properties.columnMappings.type - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.properties.entry.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.properties.entry.readOnly - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.properties.entry.type - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.properties.name.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.properties.name.readOnly - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.properties.name.type - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.type - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping.id - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping.properties.column.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping.properties.column.readOnly - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping.properties.column.type - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping.properties.referenceColumn.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping.properties.referenceColumn.readOnly - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping.properties.referenceColumn.type - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping.type - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey.id - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey.properties.columns.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey.properties.columns.items.type - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey.properties.columns.readOnly - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey.properties.columns.type - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey.type #### datacatalog:v1 The following keys were added: - schemas.GoogleCloudDatacatalogV1Entry.properties.spannerTableSpec.$ref - schemas.GoogleCloudDatacatalogV1Entry.properties.spannerTableSpec.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpec.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpec.id - schemas.GoogleCloudDatacatalogV1SpannerTableSpec.properties.foreignKeys.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpec.properties.foreignKeys.items.$ref - schemas.GoogleCloudDatacatalogV1SpannerTableSpec.properties.foreignKeys.readOnly - schemas.GoogleCloudDatacatalogV1SpannerTableSpec.properties.foreignKeys.type - schemas.GoogleCloudDatacatalogV1SpannerTableSpec.properties.primaryKey.$ref - schemas.GoogleCloudDatacatalogV1SpannerTableSpec.properties.primaryKey.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpec.properties.primaryKey.readOnly - schemas.GoogleCloudDatacatalogV1SpannerTableSpec.type - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.id - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.properties.columnMappings.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.properties.columnMappings.items.$ref - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.properties.columnMappings.readOnly - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.properties.columnMappings.type - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.properties.entry.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.properties.entry.readOnly - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.properties.entry.type - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.properties.name.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.properties.name.readOnly - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.properties.name.type - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey.type - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping.id - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping.properties.column.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping.properties.column.readOnly - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping.properties.column.type - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping.properties.referenceColumn.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping.properties.referenceColumn.readOnly - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping.properties.referenceColumn.type - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping.type - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey.id - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey.properties.columns.description - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey.properties.columns.items.type - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey.properties.columns.readOnly - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey.properties.columns.type - schemas.GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey.type --- discovery/datacatalog-v1.json | 83 +++++++++++++++++++++++++++++- discovery/datacatalog-v1beta1.json | 83 +++++++++++++++++++++++++++++- src/apis/datacatalog/v1.ts | 62 ++++++++++++++++++++++ src/apis/datacatalog/v1beta1.ts | 56 ++++++++++++++++++++ 4 files changed, 282 insertions(+), 2 deletions(-) diff --git a/discovery/datacatalog-v1.json b/discovery/datacatalog-v1.json index d5b753197dd..5546cc33215 100644 --- a/discovery/datacatalog-v1.json +++ b/discovery/datacatalog-v1.json @@ -2344,7 +2344,7 @@ } } }, - "revision": "20251205", + "revision": "20251226", "rootUrl": "https://datacatalog.googleapis.com/", "schemas": { "Binding": { @@ -3143,6 +3143,10 @@ "$ref": "GoogleCloudDatacatalogV1SystemTimestamps", "description": "Timestamps from the underlying resource, not from the Data Catalog entry. Output only when the entry has a system listed in the `IntegratedSystem` enum. For entries with `user_specified_system`, this field is optional and defaults to an empty timestamp." }, + "spannerTableSpec": { + "$ref": "GoogleCloudDatacatalogV1SpannerTableSpec", + "description": "Specification of a Spanner table." + }, "sqlDatabaseSystemSpec": { "$ref": "GoogleCloudDatacatalogV1SqlDatabaseSystemSpec", "description": "Specification that applies to a relational database system. Only settable when `user_specified_system` is equal to `SQL_DATABASE`" @@ -4486,6 +4490,83 @@ }, "type": "object" }, + "GoogleCloudDatacatalogV1SpannerTableSpec": { + "description": "Specification of a Spanner table.", + "id": "GoogleCloudDatacatalogV1SpannerTableSpec", + "properties": { + "foreignKeys": { + "description": "Output only. The foreign keys of the table.", + "items": { + "$ref": "GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey" + }, + "readOnly": true, + "type": "array" + }, + "primaryKey": { + "$ref": "GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey", + "description": "Output only. The primary key of the table.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey": { + "description": "Specification of a Spanner foreign key.", + "id": "GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey", + "properties": { + "columnMappings": { + "description": "Output only. The ordered list of column mappings for this foreign key.", + "items": { + "$ref": "GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping" + }, + "readOnly": true, + "type": "array" + }, + "entry": { + "description": "Output only. The table name this foreign key referenced to. Format: `projects/{PROJECT_ID}/locations/{LOCATION}/entryGroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Output only. The constraint_name of the foreign key, for example, FK_CustomerOrder.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping": { + "description": "Column mapping for a Spanner foreign key.", + "id": "GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping", + "properties": { + "column": { + "description": "Output only. The column in the current table that is part of the foreign key.", + "readOnly": true, + "type": "string" + }, + "referenceColumn": { + "description": "Output only. The column in the referenced table that is part of the foreign key.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey": { + "description": "Specification of a Spanner primary key.", + "id": "GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey", + "properties": { + "columns": { + "description": "Output only. Column names of the primary key.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDatacatalogV1SqlDatabaseSystemSpec": { "description": "Specification that applies to entries that are part `SQL_DATABASE` system (user_specified_type)", "id": "GoogleCloudDatacatalogV1SqlDatabaseSystemSpec", diff --git a/discovery/datacatalog-v1beta1.json b/discovery/datacatalog-v1beta1.json index 8b382ce223a..8f5c5810f7e 100644 --- a/discovery/datacatalog-v1beta1.json +++ b/discovery/datacatalog-v1beta1.json @@ -1855,7 +1855,7 @@ } } }, - "revision": "20251205", + "revision": "20251226", "rootUrl": "https://datacatalog.googleapis.com/", "schemas": { "Binding": { @@ -2643,6 +2643,10 @@ "$ref": "GoogleCloudDatacatalogV1SystemTimestamps", "description": "Timestamps from the underlying resource, not from the Data Catalog entry. Output only when the entry has a system listed in the `IntegratedSystem` enum. For entries with `user_specified_system`, this field is optional and defaults to an empty timestamp." }, + "spannerTableSpec": { + "$ref": "GoogleCloudDatacatalogV1SpannerTableSpec", + "description": "Specification of a Spanner table." + }, "sqlDatabaseSystemSpec": { "$ref": "GoogleCloudDatacatalogV1SqlDatabaseSystemSpec", "description": "Specification that applies to a relational database system. Only settable when `user_specified_system` is equal to `SQL_DATABASE`" @@ -3296,6 +3300,83 @@ }, "type": "object" }, + "GoogleCloudDatacatalogV1SpannerTableSpec": { + "description": "Specification of a Spanner table.", + "id": "GoogleCloudDatacatalogV1SpannerTableSpec", + "properties": { + "foreignKeys": { + "description": "Output only. The foreign keys of the table.", + "items": { + "$ref": "GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey" + }, + "readOnly": true, + "type": "array" + }, + "primaryKey": { + "$ref": "GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey", + "description": "Output only. The primary key of the table.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey": { + "description": "Specification of a Spanner foreign key.", + "id": "GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey", + "properties": { + "columnMappings": { + "description": "Output only. The ordered list of column mappings for this foreign key.", + "items": { + "$ref": "GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping" + }, + "readOnly": true, + "type": "array" + }, + "entry": { + "description": "Output only. The table name this foreign key referenced to. Format: `projects/{PROJECT_ID}/locations/{LOCATION}/entryGroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Output only. The constraint_name of the foreign key, for example, FK_CustomerOrder.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping": { + "description": "Column mapping for a Spanner foreign key.", + "id": "GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping", + "properties": { + "column": { + "description": "Output only. The column in the current table that is part of the foreign key.", + "readOnly": true, + "type": "string" + }, + "referenceColumn": { + "description": "Output only. The column in the referenced table that is part of the foreign key.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey": { + "description": "Specification of a Spanner primary key.", + "id": "GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey", + "properties": { + "columns": { + "description": "Output only. Column names of the primary key.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDatacatalogV1SqlDatabaseSystemSpec": { "description": "Specification that applies to entries that are part `SQL_DATABASE` system (user_specified_type)", "id": "GoogleCloudDatacatalogV1SqlDatabaseSystemSpec", diff --git a/src/apis/datacatalog/v1.ts b/src/apis/datacatalog/v1.ts index 86dc2548e9b..ff9e55c6fd3 100644 --- a/src/apis/datacatalog/v1.ts +++ b/src/apis/datacatalog/v1.ts @@ -688,6 +688,10 @@ export namespace datacatalog_v1 { * Timestamps from the underlying resource, not from the Data Catalog entry. Output only when the entry has a system listed in the `IntegratedSystem` enum. For entries with `user_specified_system`, this field is optional and defaults to an empty timestamp. */ sourceSystemTimestamps?: Schema$GoogleCloudDatacatalogV1SystemTimestamps; + /** + * Specification of a Spanner table. + */ + spannerTableSpec?: Schema$GoogleCloudDatacatalogV1SpannerTableSpec; /** * Specification that applies to a relational database system. Only settable when `user_specified_system` is equal to `SQL_DATABASE` */ @@ -1566,6 +1570,58 @@ export namespace datacatalog_v1 { */ tagTemplateMigration?: string | null; } + /** + * Specification of a Spanner table. + */ + export interface Schema$GoogleCloudDatacatalogV1SpannerTableSpec { + /** + * Output only. The foreign keys of the table. + */ + foreignKeys?: Schema$GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey[]; + /** + * Output only. The primary key of the table. + */ + primaryKey?: Schema$GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey; + } + /** + * Specification of a Spanner foreign key. + */ + export interface Schema$GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey { + /** + * Output only. The ordered list of column mappings for this foreign key. + */ + columnMappings?: Schema$GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping[]; + /** + * Output only. The table name this foreign key referenced to. Format: `projects/{PROJECT_ID\}/locations/{LOCATION\}/entryGroups/{ENTRY_GROUP_ID\}/entries/{ENTRY_ID\}` + */ + entry?: string | null; + /** + * Output only. The constraint_name of the foreign key, for example, FK_CustomerOrder. + */ + name?: string | null; + } + /** + * Column mapping for a Spanner foreign key. + */ + export interface Schema$GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping { + /** + * Output only. The column in the current table that is part of the foreign key. + */ + column?: string | null; + /** + * Output only. The column in the referenced table that is part of the foreign key. + */ + referenceColumn?: string | null; + } + /** + * Specification of a Spanner primary key. + */ + export interface Schema$GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey { + /** + * Output only. Column names of the primary key. + */ + columns?: string[] | null; + } /** * Specification that applies to entries that are part `SQL_DATABASE` system (user_specified_type) */ @@ -2290,6 +2346,7 @@ export namespace datacatalog_v1 { * // "schema": {}, * // "serviceSpec": {}, * // "sourceSystemTimestamps": {}, + * // "spannerTableSpec": {}, * // "sqlDatabaseSystemSpec": {}, * // "type": "my_type", * // "usageSignal": {}, @@ -4677,6 +4734,7 @@ export namespace datacatalog_v1 { * // "schema": {}, * // "serviceSpec": {}, * // "sourceSystemTimestamps": {}, + * // "spannerTableSpec": {}, * // "sqlDatabaseSystemSpec": {}, * // "type": "my_type", * // "usageSignal": {}, @@ -4715,6 +4773,7 @@ export namespace datacatalog_v1 { * // "schema": {}, * // "serviceSpec": {}, * // "sourceSystemTimestamps": {}, + * // "spannerTableSpec": {}, * // "sqlDatabaseSystemSpec": {}, * // "type": "my_type", * // "usageSignal": {}, @@ -5022,6 +5081,7 @@ export namespace datacatalog_v1 { * // "schema": {}, * // "serviceSpec": {}, * // "sourceSystemTimestamps": {}, + * // "spannerTableSpec": {}, * // "sqlDatabaseSystemSpec": {}, * // "type": "my_type", * // "usageSignal": {}, @@ -5971,6 +6031,7 @@ export namespace datacatalog_v1 { * // "schema": {}, * // "serviceSpec": {}, * // "sourceSystemTimestamps": {}, + * // "spannerTableSpec": {}, * // "sqlDatabaseSystemSpec": {}, * // "type": "my_type", * // "usageSignal": {}, @@ -6009,6 +6070,7 @@ export namespace datacatalog_v1 { * // "schema": {}, * // "serviceSpec": {}, * // "sourceSystemTimestamps": {}, + * // "spannerTableSpec": {}, * // "sqlDatabaseSystemSpec": {}, * // "type": "my_type", * // "usageSignal": {}, diff --git a/src/apis/datacatalog/v1beta1.ts b/src/apis/datacatalog/v1beta1.ts index ae1a15a3fe9..bce94adcb1d 100644 --- a/src/apis/datacatalog/v1beta1.ts +++ b/src/apis/datacatalog/v1beta1.ts @@ -1392,6 +1392,10 @@ export namespace datacatalog_v1beta1 { * Timestamps from the underlying resource, not from the Data Catalog entry. Output only when the entry has a system listed in the `IntegratedSystem` enum. For entries with `user_specified_system`, this field is optional and defaults to an empty timestamp. */ sourceSystemTimestamps?: Schema$GoogleCloudDatacatalogV1SystemTimestamps; + /** + * Specification of a Spanner table. + */ + spannerTableSpec?: Schema$GoogleCloudDatacatalogV1SpannerTableSpec; /** * Specification that applies to a relational database system. Only settable when `user_specified_system` is equal to `SQL_DATABASE` */ @@ -1814,6 +1818,58 @@ export namespace datacatalog_v1beta1 { */ cloudBigtableInstanceSpec?: Schema$GoogleCloudDatacatalogV1CloudBigtableInstanceSpec; } + /** + * Specification of a Spanner table. + */ + export interface Schema$GoogleCloudDatacatalogV1SpannerTableSpec { + /** + * Output only. The foreign keys of the table. + */ + foreignKeys?: Schema$GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey[]; + /** + * Output only. The primary key of the table. + */ + primaryKey?: Schema$GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey; + } + /** + * Specification of a Spanner foreign key. + */ + export interface Schema$GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey { + /** + * Output only. The ordered list of column mappings for this foreign key. + */ + columnMappings?: Schema$GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping[]; + /** + * Output only. The table name this foreign key referenced to. Format: `projects/{PROJECT_ID\}/locations/{LOCATION\}/entryGroups/{ENTRY_GROUP_ID\}/entries/{ENTRY_ID\}` + */ + entry?: string | null; + /** + * Output only. The constraint_name of the foreign key, for example, FK_CustomerOrder. + */ + name?: string | null; + } + /** + * Column mapping for a Spanner foreign key. + */ + export interface Schema$GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping { + /** + * Output only. The column in the current table that is part of the foreign key. + */ + column?: string | null; + /** + * Output only. The column in the referenced table that is part of the foreign key. + */ + referenceColumn?: string | null; + } + /** + * Specification of a Spanner primary key. + */ + export interface Schema$GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey { + /** + * Output only. Column names of the primary key. + */ + columns?: string[] | null; + } /** * Specification that applies to entries that are part `SQL_DATABASE` system (user_specified_type) */ From 5fd382efc829a46a481770639721eb22027f1c37 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 9 Jan 2026 01:38:12 +0000 Subject: [PATCH 12/26] feat(datamanager): update the API #### datamanager:v1 The following keys were added: - schemas.Status.description - schemas.Status.id - schemas.Status.properties.code.description - schemas.Status.properties.code.format - schemas.Status.properties.code.type - schemas.Status.properties.details.description - schemas.Status.properties.details.items.additionalProperties.description - schemas.Status.properties.details.items.additionalProperties.type - schemas.Status.properties.details.items.type - schemas.Status.properties.details.type - schemas.Status.properties.message.description - schemas.Status.properties.message.type - schemas.Status.type --- discovery/datamanager-v1.json | 29 ++++++++++++++++++++++++++++- src/apis/datamanager/v1.ts | 17 +++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) diff --git a/discovery/datamanager-v1.json b/discovery/datamanager-v1.json index 8c8166829e2..483c2654d7e 100644 --- a/discovery/datamanager-v1.json +++ b/discovery/datamanager-v1.json @@ -193,7 +193,7 @@ } } }, - "revision": "20251115", + "revision": "20260102", "rootUrl": "https://datamanager.googleapis.com/", "schemas": { "AdIdentifiers": { @@ -1261,6 +1261,33 @@ }, "type": "object" }, + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "Status", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + }, "TermsOfService": { "description": "The terms of service that the user has accepted/rejected.", "id": "TermsOfService", diff --git a/src/apis/datamanager/v1.ts b/src/apis/datamanager/v1.ts index ff53ab2e925..097fdc337f8 100644 --- a/src/apis/datamanager/v1.ts +++ b/src/apis/datamanager/v1.ts @@ -830,6 +830,23 @@ export namespace datamanager_v1 { */ requestStatusPerDestination?: Schema$RequestStatusPerDestination[]; } + /** + * The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). + */ + export interface Schema$Status { + /** + * The status code, which should be an enum value of google.rpc.Code. + */ + code?: number | null; + /** + * A list of messages that carry the error details. There is a common set of message types for APIs to use. + */ + details?: Array<{[key: string]: any}> | null; + /** + * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + */ + message?: string | null; + } /** * The terms of service that the user has accepted/rejected. */ From 8e705b4db6f5a7002ea4a10c6adbaec471537004 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 9 Jan 2026 01:38:13 +0000 Subject: [PATCH 13/26] feat(datamigration): update the API #### datamigration:v1 The following keys were added: - schemas.MigrationJob.properties.originalMigrationName.description - schemas.MigrationJob.properties.originalMigrationName.type - schemas.MigrationJob.properties.postgresToSqlserverConfig.$ref - schemas.MigrationJob.properties.postgresToSqlserverConfig.description - schemas.MigrationJob.properties.purpose.description - schemas.MigrationJob.properties.purpose.enum - schemas.MigrationJob.properties.purpose.enumDescriptions - schemas.MigrationJob.properties.purpose.readOnly - schemas.MigrationJob.properties.purpose.type - schemas.PostgreSqlConnectionProfile.properties.forwardSshConnectivity.$ref - schemas.PostgreSqlConnectionProfile.properties.forwardSshConnectivity.description - schemas.PostgreSqlConnectionProfile.properties.privateConnectivity.$ref - schemas.PostgreSqlConnectionProfile.properties.privateConnectivity.description - schemas.PostgresSourceConfig.description - schemas.PostgresSourceConfig.id - schemas.PostgresSourceConfig.properties.skipFullDump.description - schemas.PostgresSourceConfig.properties.skipFullDump.type - schemas.PostgresSourceConfig.type - schemas.PostgresToSqlServerConfig.description - schemas.PostgresToSqlServerConfig.id - schemas.PostgresToSqlServerConfig.properties.postgresSourceConfig.$ref - schemas.PostgresToSqlServerConfig.properties.postgresSourceConfig.description - schemas.PostgresToSqlServerConfig.properties.sqlserverDestinationConfig.$ref - schemas.PostgresToSqlServerConfig.properties.sqlserverDestinationConfig.description - schemas.PostgresToSqlServerConfig.type - schemas.SqlServerDestinationConfig.description - schemas.SqlServerDestinationConfig.id - schemas.SqlServerDestinationConfig.properties.maxConcurrentConnections.description - schemas.SqlServerDestinationConfig.properties.maxConcurrentConnections.format - schemas.SqlServerDestinationConfig.properties.maxConcurrentConnections.type - schemas.SqlServerDestinationConfig.properties.transactionTimeout.description - schemas.SqlServerDestinationConfig.properties.transactionTimeout.format - schemas.SqlServerDestinationConfig.properties.transactionTimeout.type - schemas.SqlServerDestinationConfig.type The following keys were changed: - resources.projects.resources.locations.methods.fetchStaticIps.parameters.pageSize.description - resources.projects.resources.locations.methods.fetchStaticIps.parameters.pageToken.description - resources.projects.resources.locations.resources.connectionProfiles.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.connectionProfiles.methods.list.parameters.orderBy.description - resources.projects.resources.locations.resources.connectionProfiles.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.conversionWorkspaces.methods.create.parameters.requestId.description - resources.projects.resources.locations.resources.conversionWorkspaces.methods.delete.parameters.force.description - resources.projects.resources.locations.resources.conversionWorkspaces.methods.delete.parameters.requestId.description - resources.projects.resources.locations.resources.conversionWorkspaces.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.conversionWorkspaces.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.conversionWorkspaces.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.conversionWorkspaces.methods.patch.parameters.requestId.description - resources.projects.resources.locations.resources.conversionWorkspaces.resources.mappingRules.methods.create.parameters.requestId.description - resources.projects.resources.locations.resources.conversionWorkspaces.resources.mappingRules.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.conversionWorkspaces.resources.mappingRules.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.migrationJobs.methods.delete.parameters.force.description - resources.projects.resources.locations.resources.migrationJobs.methods.delete.parameters.requestId.description - resources.projects.resources.locations.resources.migrationJobs.methods.demoteDestination.parameters.name.description - resources.projects.resources.locations.resources.migrationJobs.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.migrationJobs.methods.list.parameters.orderBy.description - resources.projects.resources.locations.resources.migrationJobs.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.migrationJobs.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.migrationJobs.methods.patch.parameters.requestId.description - resources.projects.resources.locations.resources.migrationJobs.resources.objects.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.migrationJobs.resources.objects.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.privateConnections.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.privateConnections.methods.list.parameters.orderBy.description - resources.projects.resources.locations.resources.privateConnections.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.privateConnections.methods.list.parameters.pageToken.description - schemas.ApplyConversionWorkspaceRequest.properties.filter.description --- discovery/datamigration-v1.json | 136 ++++++++++++++++++------ src/apis/datamigration/v1.ts | 182 +++++++++++++++++++++----------- 2 files changed, 228 insertions(+), 90 deletions(-) diff --git a/discovery/datamigration-v1.json b/discovery/datamigration-v1.json index 891e0bdafda..701532c424a 100644 --- a/discovery/datamigration-v1.json +++ b/discovery/datamigration-v1.json @@ -126,13 +126,13 @@ "type": "string" }, "pageSize": { - "description": "Maximum number of IPs to return.", + "description": "Optional. Maximum number of IPs to return.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "A page token, received from a previous `FetchStaticIps` call.", + "description": "Optional. A page token, received from a previous `FetchStaticIps` call.", "location": "query", "type": "string" } @@ -370,12 +370,12 @@ ], "parameters": { "filter": { - "description": "A filter expression that filters connection profiles listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list connection profiles created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z**. You can also filter nested fields. For example, you could specify **mySql.username = %lt;my_username%gt;** to list all connection profiles configured to connect with a specific username.", + "description": "Optional. A filter expression that filters connection profiles listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list connection profiles created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z**. You can also filter nested fields. For example, you could specify **mySql.username = %lt;my_username%gt;** to list all connection profiles configured to connect with a specific username.", "location": "query", "type": "string" }, "orderBy": { - "description": "A comma-separated list of fields to order results according to.", + "description": "Optional. A comma-separated list of fields to order results according to.", "location": "query", "type": "string" }, @@ -386,7 +386,7 @@ "type": "integer" }, "pageToken": { - "description": "A page token, received from a previous `ListConnectionProfiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectionProfiles` must match the call that provided the page token.", + "description": "Optional. A page token, received from a previous `ListConnectionProfiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectionProfiles` must match the call that provided the page token.", "location": "query", "type": "string" }, @@ -621,7 +621,7 @@ "type": "string" }, "requestId": { - "description": "A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", + "description": "Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", "location": "query", "type": "string" } @@ -647,7 +647,7 @@ ], "parameters": { "force": { - "description": "Force delete the conversion workspace, even if there's a running migration that is using the workspace.", + "description": "Optional. Force delete the conversion workspace, even if there's a running migration that is using the workspace.", "location": "query", "type": "boolean" }, @@ -659,7 +659,7 @@ "type": "string" }, "requestId": { - "description": "A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", + "description": "Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", "location": "query", "type": "string" } @@ -855,18 +855,18 @@ ], "parameters": { "filter": { - "description": "A filter expression that filters conversion workspaces listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list conversion workspaces created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can also filter nested fields. For example, you could specify **source.version = \"12.c.1\"** to select all conversion workspaces with source database version equal to 12.c.1.", + "description": "Optional. A filter expression that filters conversion workspaces listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list conversion workspaces created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can also filter nested fields. For example, you could specify **source.version = \"12.c.1\"** to select all conversion workspaces with source database version equal to 12.c.1.", "location": "query", "type": "string" }, "pageSize": { - "description": "The maximum number of conversion workspaces to return. The service may return fewer than this value. If unspecified, at most 50 sets are returned.", + "description": "Optional. The maximum number of conversion workspaces to return. The service may return fewer than this value. If unspecified, at most 50 sets are returned.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "The nextPageToken value received in the previous call to conversionWorkspaces.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to conversionWorkspaces.list must match the call that provided the page token.", + "description": "Optional. The nextPageToken value received in the previous call to conversionWorkspaces.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to conversionWorkspaces.list must match the call that provided the page token.", "location": "query", "type": "string" }, @@ -903,7 +903,7 @@ "type": "string" }, "requestId": { - "description": "A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", + "description": "Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", "location": "query", "type": "string" }, @@ -1105,7 +1105,7 @@ "type": "string" }, "requestId": { - "description": "A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", + "description": "Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", "location": "query", "type": "string" } @@ -1214,13 +1214,13 @@ ], "parameters": { "pageSize": { - "description": "The maximum number of rules to return. The service may return fewer than this value.", + "description": "Optional. The maximum number of rules to return. The service may return fewer than this value.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "The nextPageToken value received in the previous call to mappingRules.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to mappingRules.list must match the call that provided the page token.", + "description": "Optional. The nextPageToken value received in the previous call to mappingRules.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to mappingRules.list must match the call that provided the page token.", "location": "query", "type": "string" }, @@ -1294,7 +1294,7 @@ ], "parameters": { "force": { - "description": "The destination CloudSQL connection profile is always deleted with the migration job. In case of force delete, the destination CloudSQL replica database is also deleted.", + "description": "Optional. The destination CloudSQL connection profile is always deleted with the migration job. In case of force delete, the destination CloudSQL replica database is also deleted.", "location": "query", "type": "boolean" }, @@ -1306,7 +1306,7 @@ "type": "string" }, "requestId": { - "description": "A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", + "description": "Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", "location": "query", "type": "string" } @@ -1329,7 +1329,7 @@ ], "parameters": { "name": { - "description": "Name of the migration job resource to demote its destination.", + "description": "Required. Name of the migration job resource to demote its destination.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/migrationJobs/[^/]+$", "required": true, @@ -1494,23 +1494,23 @@ ], "parameters": { "filter": { - "description": "A filter expression that filters migration jobs listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list migration jobs created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can also filter nested fields. For example, you could specify **reverseSshConnectivity.vmIp = \"1.2.3.4\"** to select all migration jobs connecting through the specific SSH tunnel bastion.", + "description": "Optional. A filter expression that filters migration jobs listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list migration jobs created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can also filter nested fields. For example, you could specify **reverseSshConnectivity.vmIp = \"1.2.3.4\"** to select all migration jobs connecting through the specific SSH tunnel bastion.", "location": "query", "type": "string" }, "orderBy": { - "description": "Sort the results based on the migration job name. Valid values are: \"name\", \"name asc\", and \"name desc\".", + "description": "Optional. Sort the results based on the migration job name. Valid values are: \"name\", \"name asc\", and \"name desc\".", "location": "query", "type": "string" }, "pageSize": { - "description": "The maximum number of migration jobs to return. The service may return fewer than this value. If unspecified, at most 50 migration jobs will be returned. The maximum value is 1000; values above 1000 are coerced to 1000.", + "description": "Optional. The maximum number of migration jobs to return. The service may return fewer than this value. If unspecified, at most 50 migration jobs will be returned. The maximum value is 1000; values above 1000 are coerced to 1000.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "The nextPageToken value received in the previous call to migrationJobs.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to migrationJobs.list must match the call that provided the page token.", + "description": "Optional. The nextPageToken value received in the previous call to migrationJobs.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to migrationJobs.list must match the call that provided the page token.", "location": "query", "type": "string" }, @@ -1547,7 +1547,7 @@ "type": "string" }, "requestId": { - "description": "A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", + "description": "Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", "location": "query", "type": "string" }, @@ -1863,13 +1863,13 @@ ], "parameters": { "pageSize": { - "description": "Maximum number of objects to return. Default is 50. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "description": "Optional. Maximum number of objects to return. Default is 50. The maximum value is 1000; values above 1000 will be coerced to 1000.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Page token received from a previous `ListMigrationJObObjectsRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMigrationJobObjectsRequest` must match the call that provided the page token.", + "description": "Optional. Page token received from a previous `ListMigrationJObObjectsRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMigrationJobObjectsRequest` must match the call that provided the page token.", "location": "query", "type": "string" }, @@ -2251,23 +2251,23 @@ ], "parameters": { "filter": { - "description": "A filter expression that filters private connections listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list private connections created this year by specifying **createTime %gt; 2021-01-01T00:00:00.000000000Z**.", + "description": "Optional. A filter expression that filters private connections listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list private connections created this year by specifying **createTime %gt; 2021-01-01T00:00:00.000000000Z**.", "location": "query", "type": "string" }, "orderBy": { - "description": "Order by fields for the result.", + "description": "Optional. Order by fields for the result.", "location": "query", "type": "string" }, "pageSize": { - "description": "Maximum number of private connections to return. If unspecified, at most 50 private connections that are returned. The maximum value is 1000; values above 1000 are coerced to 1000.", + "description": "Optional. Maximum number of private connections to return. If unspecified, at most 50 private connections that are returned. The maximum value is 1000; values above 1000 are coerced to 1000.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Page token received from a previous `ListPrivateConnections` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPrivateConnections` must match the call that provided the page token.", + "description": "Optional. Page token received from a previous `ListPrivateConnections` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPrivateConnections` must match the call that provided the page token.", "location": "query", "type": "string" }, @@ -2350,7 +2350,7 @@ } } }, - "revision": "20251203", + "revision": "20251222", "rootUrl": "https://datamigration.googleapis.com/", "schemas": { "AlloyDbConnectionProfile": { @@ -2435,7 +2435,7 @@ "type": "boolean" }, "filter": { - "description": "Filter which entities to apply. Leaving this field empty will apply all of the entities. Supports Google AIP 160 based filtering.", + "description": "Optional. Filter which entities to apply. Leaving this field empty will apply all of the entities. Supports Google AIP 160 based filtering.", "type": "string" } }, @@ -4970,6 +4970,10 @@ "$ref": "OracleToPostgresConfig", "description": "Configuration for heterogeneous **Oracle to Cloud SQL for PostgreSQL** and **Oracle to AlloyDB for PostgreSQL** migrations." }, + "originalMigrationName": { + "description": "Optional. A failback replication pointer to the resource name (URI) of the original migration job.", + "type": "string" + }, "performanceConfig": { "$ref": "PerformanceConfig", "description": "Optional. Data dump parallelism settings used by the migration." @@ -4997,6 +5001,25 @@ "readOnly": true, "type": "string" }, + "postgresToSqlserverConfig": { + "$ref": "PostgresToSqlServerConfig", + "description": "Configuration for heterogeneous failback migrations from **PostgreSQL to SQL Server**." + }, + "purpose": { + "description": "Output only. Migration job mode. Migration jobs can be standard forward jobs or failback migration jobs.", + "enum": [ + "PURPOSE_UNSPECIFIED", + "MIGRATE", + "FAILBACK" + ], + "enumDescriptions": [ + "Unknown purpose. Will be defaulted to MIGRATE.", + "Standard migration job.", + "Failback replication job." + ], + "readOnly": true, + "type": "string" + }, "reverseSshConnectivity": { "$ref": "ReverseSshConnectivity", "description": "The details needed to communicate to the source over Reverse SSH tunnel connectivity." @@ -5700,6 +5723,10 @@ "description": "Optional. The name of the specific database within the host.", "type": "string" }, + "forwardSshConnectivity": { + "$ref": "ForwardSshTunnelConnectivity", + "description": "Forward SSH tunnel connectivity." + }, "host": { "description": "Required. The IP or hostname of the source PostgreSQL database.", "type": "string" @@ -5733,6 +5760,10 @@ "format": "int32", "type": "integer" }, + "privateConnectivity": { + "$ref": "PrivateConnectivity", + "description": "Private connectivity." + }, "privateServiceConnectConnectivity": { "$ref": "PrivateServiceConnectConnectivity", "description": "Private service connect connectivity." @@ -5769,6 +5800,32 @@ }, "type": "object" }, + "PostgresSourceConfig": { + "description": "Configuration for Postgres as a source in a migration.", + "id": "PostgresSourceConfig", + "properties": { + "skipFullDump": { + "description": "Optional. Whether to skip full dump or not.", + "type": "boolean" + } + }, + "type": "object" + }, + "PostgresToSqlServerConfig": { + "description": "Configuration for heterogeneous failback migrations from **PostgreSQL to SQL Server**.", + "id": "PostgresToSqlServerConfig", + "properties": { + "postgresSourceConfig": { + "$ref": "PostgresSourceConfig", + "description": "Optional. Configuration for PostgreSQL source." + }, + "sqlserverDestinationConfig": { + "$ref": "SqlServerDestinationConfig", + "description": "Optional. Configuration for SQL Server destination." + } + }, + "type": "object" + }, "PrimaryInstanceSettings": { "description": "Settings for the cluster's primary instance", "id": "PrimaryInstanceSettings", @@ -6584,6 +6641,23 @@ }, "type": "object" }, + "SqlServerDestinationConfig": { + "description": "Configuration for SQL Server as a destination in a migration.", + "id": "SqlServerDestinationConfig", + "properties": { + "maxConcurrentConnections": { + "description": "Optional. Maximum number of connections Database Migration Service will open to the destination for data migration.", + "format": "int32", + "type": "integer" + }, + "transactionTimeout": { + "description": "Optional. Timeout for data migration transactions.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, "SqlServerEncryptionOptions": { "description": "Encryption settings for the SQL Server database.", "id": "SqlServerEncryptionOptions", diff --git a/src/apis/datamigration/v1.ts b/src/apis/datamigration/v1.ts index 8ede450e105..15c1bc9e3c8 100644 --- a/src/apis/datamigration/v1.ts +++ b/src/apis/datamigration/v1.ts @@ -183,7 +183,7 @@ export namespace datamigration_v1 { */ dryRun?: boolean | null; /** - * Filter which entities to apply. Leaving this field empty will apply all of the entities. Supports Google AIP 160 based filtering. + * Optional. Filter which entities to apply. Leaving this field empty will apply all of the entities. Supports Google AIP 160 based filtering. */ filter?: string | null; } @@ -1737,6 +1737,10 @@ export namespace datamigration_v1 { * Configuration for heterogeneous **Oracle to Cloud SQL for PostgreSQL** and **Oracle to AlloyDB for PostgreSQL** migrations. */ oracleToPostgresConfig?: Schema$OracleToPostgresConfig; + /** + * Optional. A failback replication pointer to the resource name (URI) of the original migration job. + */ + originalMigrationName?: string | null; /** * Optional. Data dump parallelism settings used by the migration. */ @@ -1745,6 +1749,14 @@ export namespace datamigration_v1 { * Output only. The current migration job phase. */ phase?: string | null; + /** + * Configuration for heterogeneous failback migrations from **PostgreSQL to SQL Server**. + */ + postgresToSqlserverConfig?: Schema$PostgresToSqlServerConfig; + /** + * Output only. Migration job mode. Migration jobs can be standard forward jobs or failback migration jobs. + */ + purpose?: string | null; /** * The details needed to communicate to the source over Reverse SSH tunnel connectivity. */ @@ -2194,6 +2206,10 @@ export namespace datamigration_v1 { * Optional. The name of the specific database within the host. */ database?: string | null; + /** + * Forward SSH tunnel connectivity. + */ + forwardSshConnectivity?: Schema$ForwardSshTunnelConnectivity; /** * Required. The IP or hostname of the source PostgreSQL database. */ @@ -2214,6 +2230,10 @@ export namespace datamigration_v1 { * Required. The network port of the source PostgreSQL database. */ port?: number | null; + /** + * Private connectivity. + */ + privateConnectivity?: Schema$PrivateConnectivity; /** * Private service connect connectivity. */ @@ -2231,6 +2251,28 @@ export namespace datamigration_v1 { */ username?: string | null; } + /** + * Configuration for Postgres as a source in a migration. + */ + export interface Schema$PostgresSourceConfig { + /** + * Optional. Whether to skip full dump or not. + */ + skipFullDump?: boolean | null; + } + /** + * Configuration for heterogeneous failback migrations from **PostgreSQL to SQL Server**. + */ + export interface Schema$PostgresToSqlServerConfig { + /** + * Optional. Configuration for PostgreSQL source. + */ + postgresSourceConfig?: Schema$PostgresSourceConfig; + /** + * Optional. Configuration for SQL Server destination. + */ + sqlserverDestinationConfig?: Schema$SqlServerDestinationConfig; + } /** * Settings for the cluster's primary instance */ @@ -2852,6 +2894,19 @@ export namespace datamigration_v1 { */ encryptionOptions?: Schema$SqlServerEncryptionOptions; } + /** + * Configuration for SQL Server as a destination in a migration. + */ + export interface Schema$SqlServerDestinationConfig { + /** + * Optional. Maximum number of connections Database Migration Service will open to the destination for data migration. + */ + maxConcurrentConnections?: number | null; + /** + * Optional. Timeout for data migration transactions. + */ + transactionTimeout?: string | null; + } /** * Encryption settings for the SQL Server database. */ @@ -3351,9 +3406,9 @@ export namespace datamigration_v1 { * const res = await datamigration.projects.locations.fetchStaticIps({ * // Required. The resource name for the location for which static IPs should be returned. Must be in the format `projects/x/locations/x`. * name: 'projects/my-project/locations/my-location', - * // Maximum number of IPs to return. + * // Optional. Maximum number of IPs to return. * pageSize: 'placeholder-value', - * // A page token, received from a previous `FetchStaticIps` call. + * // Optional. A page token, received from a previous `FetchStaticIps` call. * pageToken: 'placeholder-value', * }); * console.log(res.data); @@ -3760,11 +3815,11 @@ export namespace datamigration_v1 { */ name?: string; /** - * Maximum number of IPs to return. + * Optional. Maximum number of IPs to return. */ pageSize?: number; /** - * A page token, received from a previous `FetchStaticIps` call. + * Optional. A page token, received from a previous `FetchStaticIps` call. */ pageToken?: string; } @@ -4451,13 +4506,13 @@ export namespace datamigration_v1 { * * // Do the magic * const res = await datamigration.projects.locations.connectionProfiles.list({ - * // A filter expression that filters connection profiles listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \>, or <. For example, list connection profiles created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z**. You can also filter nested fields. For example, you could specify **mySql.username = %lt;my_username%gt;** to list all connection profiles configured to connect with a specific username. + * // Optional. A filter expression that filters connection profiles listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \>, or <. For example, list connection profiles created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z**. You can also filter nested fields. For example, you could specify **mySql.username = %lt;my_username%gt;** to list all connection profiles configured to connect with a specific username. * filter: 'placeholder-value', - * // A comma-separated list of fields to order results according to. + * // Optional. A comma-separated list of fields to order results according to. * orderBy: 'placeholder-value', * // The maximum number of connection profiles to return. The service may return fewer than this value. If unspecified, at most 50 connection profiles will be returned. The maximum value is 1000; values above 1000 are coerced to 1000. * pageSize: 'placeholder-value', - * // A page token, received from a previous `ListConnectionProfiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectionProfiles` must match the call that provided the page token. + * // Optional. A page token, received from a previous `ListConnectionProfiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectionProfiles` must match the call that provided the page token. * pageToken: 'placeholder-value', * // Required. The parent which owns this collection of connection profiles. * parent: 'projects/my-project/locations/my-location', @@ -5115,11 +5170,11 @@ export namespace datamigration_v1 { } export interface Params$Resource$Projects$Locations$Connectionprofiles$List extends StandardParameters { /** - * A filter expression that filters connection profiles listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \>, or <. For example, list connection profiles created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z**. You can also filter nested fields. For example, you could specify **mySql.username = %lt;my_username%gt;** to list all connection profiles configured to connect with a specific username. + * Optional. A filter expression that filters connection profiles listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \>, or <. For example, list connection profiles created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z**. You can also filter nested fields. For example, you could specify **mySql.username = %lt;my_username%gt;** to list all connection profiles configured to connect with a specific username. */ filter?: string; /** - * A comma-separated list of fields to order results according to. + * Optional. A comma-separated list of fields to order results according to. */ orderBy?: string; /** @@ -5127,7 +5182,7 @@ export namespace datamigration_v1 { */ pageSize?: number; /** - * A page token, received from a previous `ListConnectionProfiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectionProfiles` must match the call that provided the page token. + * Optional. A page token, received from a previous `ListConnectionProfiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectionProfiles` must match the call that provided the page token. */ pageToken?: string; /** @@ -5688,7 +5743,7 @@ export namespace datamigration_v1 { * conversionWorkspaceId: 'placeholder-value', * // Required. The parent which owns this collection of conversion workspaces. * parent: 'projects/my-project/locations/my-location', - * // A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. + * // Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. * requestId: 'placeholder-value', * * // Request body metadata @@ -5851,11 +5906,11 @@ export namespace datamigration_v1 { * // Do the magic * const res = * await datamigration.projects.locations.conversionWorkspaces.delete({ - * // Force delete the conversion workspace, even if there's a running migration that is using the workspace. + * // Optional. Force delete the conversion workspace, even if there's a running migration that is using the workspace. * force: 'placeholder-value', * // Required. Name of the conversion workspace resource to delete. * name: 'projects/my-project/locations/my-location/conversionWorkspaces/my-conversionWorkspace', - * // A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. + * // Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. * requestId: 'placeholder-value', * }); * console.log(res.data); @@ -6610,11 +6665,11 @@ export namespace datamigration_v1 { * * // Do the magic * const res = await datamigration.projects.locations.conversionWorkspaces.list({ - * // A filter expression that filters conversion workspaces listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \>, or <. For example, list conversion workspaces created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can also filter nested fields. For example, you could specify **source.version = "12.c.1"** to select all conversion workspaces with source database version equal to 12.c.1. + * // Optional. A filter expression that filters conversion workspaces listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \>, or <. For example, list conversion workspaces created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can also filter nested fields. For example, you could specify **source.version = "12.c.1"** to select all conversion workspaces with source database version equal to 12.c.1. * filter: 'placeholder-value', - * // The maximum number of conversion workspaces to return. The service may return fewer than this value. If unspecified, at most 50 sets are returned. + * // Optional. The maximum number of conversion workspaces to return. The service may return fewer than this value. If unspecified, at most 50 sets are returned. * pageSize: 'placeholder-value', - * // The nextPageToken value received in the previous call to conversionWorkspaces.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to conversionWorkspaces.list must match the call that provided the page token. + * // Optional. The nextPageToken value received in the previous call to conversionWorkspaces.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to conversionWorkspaces.list must match the call that provided the page token. * pageToken: 'placeholder-value', * // Required. The parent which owns this collection of conversion workspaces. * parent: 'projects/my-project/locations/my-location', @@ -6770,7 +6825,7 @@ export namespace datamigration_v1 { * { * // Full name of the workspace resource, in the form of: projects/{project\}/locations/{location\}/conversionWorkspaces/{conversion_workspace\}. * name: 'projects/my-project/locations/my-location/conversionWorkspaces/my-conversionWorkspace', - * // A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. + * // Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. * requestId: 'placeholder-value', * // Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource. * updateMask: 'placeholder-value', @@ -7707,7 +7762,7 @@ export namespace datamigration_v1 { */ parent?: string; /** - * A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. + * Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */ requestId?: string; @@ -7718,7 +7773,7 @@ export namespace datamigration_v1 { } export interface Params$Resource$Projects$Locations$Conversionworkspaces$Delete extends StandardParameters { /** - * Force delete the conversion workspace, even if there's a running migration that is using the workspace. + * Optional. Force delete the conversion workspace, even if there's a running migration that is using the workspace. */ force?: boolean; /** @@ -7726,7 +7781,7 @@ export namespace datamigration_v1 { */ name?: string; /** - * A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. + * Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */ requestId?: string; } @@ -7792,15 +7847,15 @@ export namespace datamigration_v1 { } export interface Params$Resource$Projects$Locations$Conversionworkspaces$List extends StandardParameters { /** - * A filter expression that filters conversion workspaces listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \>, or <. For example, list conversion workspaces created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can also filter nested fields. For example, you could specify **source.version = "12.c.1"** to select all conversion workspaces with source database version equal to 12.c.1. + * Optional. A filter expression that filters conversion workspaces listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \>, or <. For example, list conversion workspaces created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can also filter nested fields. For example, you could specify **source.version = "12.c.1"** to select all conversion workspaces with source database version equal to 12.c.1. */ filter?: string; /** - * The maximum number of conversion workspaces to return. The service may return fewer than this value. If unspecified, at most 50 sets are returned. + * Optional. The maximum number of conversion workspaces to return. The service may return fewer than this value. If unspecified, at most 50 sets are returned. */ pageSize?: number; /** - * The nextPageToken value received in the previous call to conversionWorkspaces.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to conversionWorkspaces.list must match the call that provided the page token. + * Optional. The nextPageToken value received in the previous call to conversionWorkspaces.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to conversionWorkspaces.list must match the call that provided the page token. */ pageToken?: string; /** @@ -7814,7 +7869,7 @@ export namespace datamigration_v1 { */ name?: string; /** - * A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. + * Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */ requestId?: string; /** @@ -7934,7 +7989,7 @@ export namespace datamigration_v1 { * // Required. The parent which owns this collection of mapping rules. * parent: * 'projects/my-project/locations/my-location/conversionWorkspaces/my-conversionWorkspace', - * // A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. + * // Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. * requestId: 'placeholder-value', * * // Request body metadata @@ -8573,9 +8628,9 @@ export namespace datamigration_v1 { * const res = * await datamigration.projects.locations.conversionWorkspaces.mappingRules.list( * { - * // The maximum number of rules to return. The service may return fewer than this value. + * // Optional. The maximum number of rules to return. The service may return fewer than this value. * pageSize: 'placeholder-value', - * // The nextPageToken value received in the previous call to mappingRules.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to mappingRules.list must match the call that provided the page token. + * // Optional. The nextPageToken value received in the previous call to mappingRules.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to mappingRules.list must match the call that provided the page token. * pageToken: 'placeholder-value', * // Required. Name of the conversion workspace resource whose mapping rules are listed in the form of: projects/{project\}/locations/{location\}/conversionWorkspaces/{conversion_workspace\}. * parent: @@ -8701,7 +8756,7 @@ export namespace datamigration_v1 { */ parent?: string; /** - * A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. + * Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */ requestId?: string; @@ -8739,11 +8794,11 @@ export namespace datamigration_v1 { } export interface Params$Resource$Projects$Locations$Conversionworkspaces$Mappingrules$List extends StandardParameters { /** - * The maximum number of rules to return. The service may return fewer than this value. + * Optional. The maximum number of rules to return. The service may return fewer than this value. */ pageSize?: number; /** - * The nextPageToken value received in the previous call to mappingRules.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to mappingRules.list must match the call that provided the page token. + * Optional. The nextPageToken value received in the previous call to mappingRules.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to mappingRules.list must match the call that provided the page token. */ pageToken?: string; /** @@ -8821,8 +8876,11 @@ export namespace datamigration_v1 { * // "name": "my_name", * // "objectsConfig": {}, * // "oracleToPostgresConfig": {}, + * // "originalMigrationName": "my_originalMigrationName", * // "performanceConfig": {}, * // "phase": "my_phase", + * // "postgresToSqlserverConfig": {}, + * // "purpose": "my_purpose", * // "reverseSshConnectivity": {}, * // "satisfiesPzi": false, * // "satisfiesPzs": false, @@ -8977,11 +9035,11 @@ export namespace datamigration_v1 { * * // Do the magic * const res = await datamigration.projects.locations.migrationJobs.delete({ - * // The destination CloudSQL connection profile is always deleted with the migration job. In case of force delete, the destination CloudSQL replica database is also deleted. + * // Optional. The destination CloudSQL connection profile is always deleted with the migration job. In case of force delete, the destination CloudSQL replica database is also deleted. * force: 'placeholder-value', * // Required. Name of the migration job resource to delete. * name: 'projects/my-project/locations/my-location/migrationJobs/my-migrationJob', - * // A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. + * // Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. * requestId: 'placeholder-value', * }); * console.log(res.data); @@ -9121,7 +9179,7 @@ export namespace datamigration_v1 { * // Do the magic * const res = * await datamigration.projects.locations.migrationJobs.demoteDestination({ - * // Name of the migration job resource to demote its destination. + * // Required. Name of the migration job resource to demote its destination. * name: 'projects/my-project/locations/my-location/migrationJobs/my-migrationJob', * * // Request body metadata @@ -9745,8 +9803,11 @@ export namespace datamigration_v1 { * // "name": "my_name", * // "objectsConfig": {}, * // "oracleToPostgresConfig": {}, + * // "originalMigrationName": "my_originalMigrationName", * // "performanceConfig": {}, * // "phase": "my_phase", + * // "postgresToSqlserverConfig": {}, + * // "purpose": "my_purpose", * // "reverseSshConnectivity": {}, * // "satisfiesPzi": false, * // "satisfiesPzs": false, @@ -10033,13 +10094,13 @@ export namespace datamigration_v1 { * * // Do the magic * const res = await datamigration.projects.locations.migrationJobs.list({ - * // A filter expression that filters migration jobs listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \>, or <. For example, list migration jobs created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can also filter nested fields. For example, you could specify **reverseSshConnectivity.vmIp = "1.2.3.4"** to select all migration jobs connecting through the specific SSH tunnel bastion. + * // Optional. A filter expression that filters migration jobs listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \>, or <. For example, list migration jobs created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can also filter nested fields. For example, you could specify **reverseSshConnectivity.vmIp = "1.2.3.4"** to select all migration jobs connecting through the specific SSH tunnel bastion. * filter: 'placeholder-value', - * // Sort the results based on the migration job name. Valid values are: "name", "name asc", and "name desc". + * // Optional. Sort the results based on the migration job name. Valid values are: "name", "name asc", and "name desc". * orderBy: 'placeholder-value', - * // The maximum number of migration jobs to return. The service may return fewer than this value. If unspecified, at most 50 migration jobs will be returned. The maximum value is 1000; values above 1000 are coerced to 1000. + * // Optional. The maximum number of migration jobs to return. The service may return fewer than this value. If unspecified, at most 50 migration jobs will be returned. The maximum value is 1000; values above 1000 are coerced to 1000. * pageSize: 'placeholder-value', - * // The nextPageToken value received in the previous call to migrationJobs.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to migrationJobs.list must match the call that provided the page token. + * // Optional. The nextPageToken value received in the previous call to migrationJobs.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to migrationJobs.list must match the call that provided the page token. * pageToken: 'placeholder-value', * // Required. The parent which owns this collection of migrationJobs. * parent: 'projects/my-project/locations/my-location', @@ -10187,7 +10248,7 @@ export namespace datamigration_v1 { * const res = await datamigration.projects.locations.migrationJobs.patch({ * // The name (URI) of this migration job resource, in the form of: projects/{project\}/locations/{location\}/migrationJobs/{migrationJob\}. * name: 'projects/my-project/locations/my-location/migrationJobs/my-migrationJob', - * // A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. + * // Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. * requestId: 'placeholder-value', * // Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource. * updateMask: 'placeholder-value', @@ -10213,8 +10274,11 @@ export namespace datamigration_v1 { * // "name": "my_name", * // "objectsConfig": {}, * // "oracleToPostgresConfig": {}, + * // "originalMigrationName": "my_originalMigrationName", * // "performanceConfig": {}, * // "phase": "my_phase", + * // "postgresToSqlserverConfig": {}, + * // "purpose": "my_purpose", * // "reverseSshConnectivity": {}, * // "satisfiesPzi": false, * // "satisfiesPzs": false, @@ -11553,7 +11617,7 @@ export namespace datamigration_v1 { } export interface Params$Resource$Projects$Locations$Migrationjobs$Delete extends StandardParameters { /** - * The destination CloudSQL connection profile is always deleted with the migration job. In case of force delete, the destination CloudSQL replica database is also deleted. + * Optional. The destination CloudSQL connection profile is always deleted with the migration job. In case of force delete, the destination CloudSQL replica database is also deleted. */ force?: boolean; /** @@ -11561,13 +11625,13 @@ export namespace datamigration_v1 { */ name?: string; /** - * A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. + * Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */ requestId?: string; } export interface Params$Resource$Projects$Locations$Migrationjobs$Demotedestination extends StandardParameters { /** - * Name of the migration job resource to demote its destination. + * Required. Name of the migration job resource to demote its destination. */ name?: string; @@ -11622,19 +11686,19 @@ export namespace datamigration_v1 { } export interface Params$Resource$Projects$Locations$Migrationjobs$List extends StandardParameters { /** - * A filter expression that filters migration jobs listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \>, or <. For example, list migration jobs created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can also filter nested fields. For example, you could specify **reverseSshConnectivity.vmIp = "1.2.3.4"** to select all migration jobs connecting through the specific SSH tunnel bastion. + * Optional. A filter expression that filters migration jobs listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \>, or <. For example, list migration jobs created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can also filter nested fields. For example, you could specify **reverseSshConnectivity.vmIp = "1.2.3.4"** to select all migration jobs connecting through the specific SSH tunnel bastion. */ filter?: string; /** - * Sort the results based on the migration job name. Valid values are: "name", "name asc", and "name desc". + * Optional. Sort the results based on the migration job name. Valid values are: "name", "name asc", and "name desc". */ orderBy?: string; /** - * The maximum number of migration jobs to return. The service may return fewer than this value. If unspecified, at most 50 migration jobs will be returned. The maximum value is 1000; values above 1000 are coerced to 1000. + * Optional. The maximum number of migration jobs to return. The service may return fewer than this value. If unspecified, at most 50 migration jobs will be returned. The maximum value is 1000; values above 1000 are coerced to 1000. */ pageSize?: number; /** - * The nextPageToken value received in the previous call to migrationJobs.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to migrationJobs.list must match the call that provided the page token. + * Optional. The nextPageToken value received in the previous call to migrationJobs.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to migrationJobs.list must match the call that provided the page token. */ pageToken?: string; /** @@ -11648,7 +11712,7 @@ export namespace datamigration_v1 { */ name?: string; /** - * A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. + * Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */ requestId?: string; /** @@ -12077,9 +12141,9 @@ export namespace datamigration_v1 { * // Do the magic * const res = await datamigration.projects.locations.migrationJobs.objects.list( * { - * // Maximum number of objects to return. Default is 50. The maximum value is 1000; values above 1000 will be coerced to 1000. + * // Optional. Maximum number of objects to return. Default is 50. The maximum value is 1000; values above 1000 will be coerced to 1000. * pageSize: 'placeholder-value', - * // Page token received from a previous `ListMigrationJObObjectsRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMigrationJobObjectsRequest` must match the call that provided the page token. + * // Optional. Page token received from a previous `ListMigrationJObObjectsRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMigrationJobObjectsRequest` must match the call that provided the page token. * pageToken: 'placeholder-value', * // Required. The parent migration job that owns the collection of objects. * parent: @@ -12681,11 +12745,11 @@ export namespace datamigration_v1 { } export interface Params$Resource$Projects$Locations$Migrationjobs$Objects$List extends StandardParameters { /** - * Maximum number of objects to return. Default is 50. The maximum value is 1000; values above 1000 will be coerced to 1000. + * Optional. Maximum number of objects to return. Default is 50. The maximum value is 1000; values above 1000 will be coerced to 1000. */ pageSize?: number; /** - * Page token received from a previous `ListMigrationJObObjectsRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMigrationJobObjectsRequest` must match the call that provided the page token. + * Optional. Page token received from a previous `ListMigrationJObObjectsRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMigrationJobObjectsRequest` must match the call that provided the page token. */ pageToken?: string; /** @@ -13981,13 +14045,13 @@ export namespace datamigration_v1 { * * // Do the magic * const res = await datamigration.projects.locations.privateConnections.list({ - * // A filter expression that filters private connections listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \>, or <. For example, list private connections created this year by specifying **createTime %gt; 2021-01-01T00:00:00.000000000Z**. + * // Optional. A filter expression that filters private connections listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \>, or <. For example, list private connections created this year by specifying **createTime %gt; 2021-01-01T00:00:00.000000000Z**. * filter: 'placeholder-value', - * // Order by fields for the result. + * // Optional. Order by fields for the result. * orderBy: 'placeholder-value', - * // Maximum number of private connections to return. If unspecified, at most 50 private connections that are returned. The maximum value is 1000; values above 1000 are coerced to 1000. + * // Optional. Maximum number of private connections to return. If unspecified, at most 50 private connections that are returned. The maximum value is 1000; values above 1000 are coerced to 1000. * pageSize: 'placeholder-value', - * // Page token received from a previous `ListPrivateConnections` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPrivateConnections` must match the call that provided the page token. + * // Optional. Page token received from a previous `ListPrivateConnections` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPrivateConnections` must match the call that provided the page token. * pageToken: 'placeholder-value', * // Required. The parent that owns the collection of private connections. * parent: 'projects/my-project/locations/my-location', @@ -14469,19 +14533,19 @@ export namespace datamigration_v1 { } export interface Params$Resource$Projects$Locations$Privateconnections$List extends StandardParameters { /** - * A filter expression that filters private connections listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \>, or <. For example, list private connections created this year by specifying **createTime %gt; 2021-01-01T00:00:00.000000000Z**. + * Optional. A filter expression that filters private connections listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \>, or <. For example, list private connections created this year by specifying **createTime %gt; 2021-01-01T00:00:00.000000000Z**. */ filter?: string; /** - * Order by fields for the result. + * Optional. Order by fields for the result. */ orderBy?: string; /** - * Maximum number of private connections to return. If unspecified, at most 50 private connections that are returned. The maximum value is 1000; values above 1000 are coerced to 1000. + * Optional. Maximum number of private connections to return. If unspecified, at most 50 private connections that are returned. The maximum value is 1000; values above 1000 are coerced to 1000. */ pageSize?: number; /** - * Page token received from a previous `ListPrivateConnections` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPrivateConnections` must match the call that provided the page token. + * Optional. Page token received from a previous `ListPrivateConnections` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPrivateConnections` must match the call that provided the page token. */ pageToken?: string; /** From 31c19aa5a85b4b7710bb864bf7b4114cdd9929ef Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 9 Jan 2026 01:38:13 +0000 Subject: [PATCH 14/26] fix(dataplex): update the API #### dataplex:v1 The following keys were changed: - resources.projects.resources.locations.resources.dataProducts.methods.create.description - resources.projects.resources.locations.resources.dataProducts.methods.create.parameters.dataProductId.description - resources.projects.resources.locations.resources.dataProducts.methods.create.parameters.parent.description - resources.projects.resources.locations.resources.dataProducts.methods.create.parameters.validateOnly.description - resources.projects.resources.locations.resources.dataProducts.methods.delete.description - resources.projects.resources.locations.resources.dataProducts.methods.delete.parameters.etag.description - resources.projects.resources.locations.resources.dataProducts.methods.delete.parameters.name.description - resources.projects.resources.locations.resources.dataProducts.methods.delete.parameters.validateOnly.description - resources.projects.resources.locations.resources.dataProducts.methods.get.description - resources.projects.resources.locations.resources.dataProducts.methods.get.parameters.name.description - resources.projects.resources.locations.resources.dataProducts.methods.list.description - resources.projects.resources.locations.resources.dataProducts.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.dataProducts.methods.list.parameters.orderBy.description - resources.projects.resources.locations.resources.dataProducts.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.dataProducts.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.dataProducts.methods.patch.description - resources.projects.resources.locations.resources.dataProducts.methods.patch.parameters.name.description - resources.projects.resources.locations.resources.dataProducts.methods.patch.parameters.validateOnly.description - resources.projects.resources.locations.resources.dataProducts.resources.dataAssets.methods.create.description - resources.projects.resources.locations.resources.dataProducts.resources.dataAssets.methods.create.parameters.dataAssetId.description - resources.projects.resources.locations.resources.dataProducts.resources.dataAssets.methods.create.parameters.parent.description - resources.projects.resources.locations.resources.dataProducts.resources.dataAssets.methods.create.parameters.validateOnly.description - resources.projects.resources.locations.resources.dataProducts.resources.dataAssets.methods.delete.description - resources.projects.resources.locations.resources.dataProducts.resources.dataAssets.methods.delete.parameters.etag.description - resources.projects.resources.locations.resources.dataProducts.resources.dataAssets.methods.delete.parameters.name.description - resources.projects.resources.locations.resources.dataProducts.resources.dataAssets.methods.delete.parameters.validateOnly.description - resources.projects.resources.locations.resources.dataProducts.resources.dataAssets.methods.get.description - resources.projects.resources.locations.resources.dataProducts.resources.dataAssets.methods.get.parameters.name.description - resources.projects.resources.locations.resources.dataProducts.resources.dataAssets.methods.list.description - resources.projects.resources.locations.resources.dataProducts.resources.dataAssets.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.dataProducts.resources.dataAssets.methods.list.parameters.orderBy.description - resources.projects.resources.locations.resources.dataProducts.resources.dataAssets.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.dataProducts.resources.dataAssets.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.dataProducts.resources.dataAssets.methods.patch.description - resources.projects.resources.locations.resources.dataProducts.resources.dataAssets.methods.patch.parameters.name.description - resources.projects.resources.locations.resources.dataProducts.resources.dataAssets.methods.patch.parameters.updateMask.description - resources.projects.resources.locations.resources.dataProducts.resources.dataAssets.methods.patch.parameters.validateOnly.description - schemas.GoogleCloudDataplexV1DataAsset.description - schemas.GoogleCloudDataplexV1DataAsset.properties.accessGroupConfigs.description - schemas.GoogleCloudDataplexV1DataAsset.properties.createTime.description - schemas.GoogleCloudDataplexV1DataAsset.properties.etag.description - schemas.GoogleCloudDataplexV1DataAsset.properties.labels.description - schemas.GoogleCloudDataplexV1DataAsset.properties.name.description - schemas.GoogleCloudDataplexV1DataAsset.properties.resource.description - schemas.GoogleCloudDataplexV1DataAsset.properties.uid.description - schemas.GoogleCloudDataplexV1DataAsset.properties.updateTime.description - schemas.GoogleCloudDataplexV1DataAssetAccessGroupConfig.description - schemas.GoogleCloudDataplexV1DataAssetAccessGroupConfig.properties.iamRoles.description - schemas.GoogleCloudDataplexV1DataProduct.description - schemas.GoogleCloudDataplexV1DataProduct.properties.accessGroups.description - schemas.GoogleCloudDataplexV1DataProduct.properties.assetCount.description - schemas.GoogleCloudDataplexV1DataProduct.properties.createTime.description - schemas.GoogleCloudDataplexV1DataProduct.properties.description.description - schemas.GoogleCloudDataplexV1DataProduct.properties.displayName.description - schemas.GoogleCloudDataplexV1DataProduct.properties.etag.description - schemas.GoogleCloudDataplexV1DataProduct.properties.icon.description - schemas.GoogleCloudDataplexV1DataProduct.properties.labels.description - schemas.GoogleCloudDataplexV1DataProduct.properties.name.description - schemas.GoogleCloudDataplexV1DataProduct.properties.ownerEmails.description - schemas.GoogleCloudDataplexV1DataProduct.properties.uid.description - schemas.GoogleCloudDataplexV1DataProduct.properties.updateTime.description - schemas.GoogleCloudDataplexV1DataProductAccessGroup.description - schemas.GoogleCloudDataplexV1DataProductAccessGroup.properties.id.description - schemas.GoogleCloudDataplexV1DataProductPrincipal.properties.googleGroup.description - schemas.GoogleCloudDataplexV1ListDataAssetsResponse.description - schemas.GoogleCloudDataplexV1ListDataAssetsResponse.properties.dataAssets.description - schemas.GoogleCloudDataplexV1ListDataProductsResponse.description - schemas.GoogleCloudDataplexV1ListDataProductsResponse.properties.dataProducts.description --- discovery/dataplex-v1.json | 138 +++++++++++++-------------- src/apis/dataplex/v1.ts | 190 ++++++++++++++++++------------------- 2 files changed, 164 insertions(+), 164 deletions(-) diff --git a/discovery/dataplex-v1.json b/discovery/dataplex-v1.json index 9e7969156ba..8e83e315649 100644 --- a/discovery/dataplex-v1.json +++ b/discovery/dataplex-v1.json @@ -1579,7 +1579,7 @@ "dataProducts": { "methods": { "create": { - "description": "Creates a Data Product.", + "description": "Creates a data product.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataProducts", "httpMethod": "POST", "id": "dataplex.projects.locations.dataProducts.create", @@ -1588,19 +1588,19 @@ ], "parameters": { "dataProductId": { - "description": "Optional. The ID of the Data Product to create.The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: (^a-z?$) If not provided, a system generated ID will be used.", + "description": "Optional. The ID of the data product to create.The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$ If not provided, a system generated ID will be used.", "location": "query", "type": "string" }, "parent": { - "description": "Required. The parent resource where this Data Product will be created. Format: projects/{project_id_or_number}/locations/{location_id}", + "description": "Required. The parent resource where this data product will be created. Format: projects/{project_id_or_number}/locations/{location_id}", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, "type": "string" }, "validateOnly": { - "description": "Optional. Validates the request without actually creating the Data Product. Default: false.", + "description": "Optional. Validates the request without actually creating the data product. Default: false.", "location": "query", "type": "boolean" } @@ -1617,7 +1617,7 @@ ] }, "delete": { - "description": "Deletes a Data Product. The deletion will fail if the Data Product is not empty (i.e. contains at least one Data Asset).", + "description": "Deletes a data product. The deletion will fail if the data product is not empty (i.e. contains at least one data asset).", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataProducts/{dataProductsId}", "httpMethod": "DELETE", "id": "dataplex.projects.locations.dataProducts.delete", @@ -1626,19 +1626,19 @@ ], "parameters": { "etag": { - "description": "Optional. The etag of the Data Product.If an etag is provided and does not match the current etag of the Data Product, then the deletion will be blocked and an ABORTED error will be returned.", + "description": "Optional. The etag of the data product.If an etag is provided and does not match the current etag of the data product, then the deletion will be blocked and an ABORTED error will be returned.", "location": "query", "type": "string" }, "name": { - "description": "Required. The name of the Data Product to delete. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}", + "description": "Required. The name of the data product to delete. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/dataProducts/[^/]+$", "required": true, "type": "string" }, "validateOnly": { - "description": "Optional. Validates the request without actually deleting the Data Product. Default: false.", + "description": "Optional. Validates the request without actually deleting the data product. Default: false.", "location": "query", "type": "boolean" } @@ -1652,7 +1652,7 @@ ] }, "get": { - "description": "Gets a Data Product.", + "description": "Gets a data product.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataProducts/{dataProductsId}", "httpMethod": "GET", "id": "dataplex.projects.locations.dataProducts.get", @@ -1661,7 +1661,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the Data Product to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}", + "description": "Required. The name of the data product to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/dataProducts/[^/]+$", "required": true, @@ -1708,7 +1708,7 @@ ] }, "list": { - "description": "Lists Data Products for a given project.", + "description": "Lists data products for a given project.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataProducts", "httpMethod": "GET", "id": "dataplex.projects.locations.dataProducts.list", @@ -1717,17 +1717,17 @@ ], "parameters": { "filter": { - "description": "Optional. Filter expression that filters Data Products listed in the response.Example of using this filter is: display_name=\"my-data-product\"", + "description": "Optional. Filter expression that filters data products listed in the response.Example of using this filter is: display_name=\"my-data-product\"", "location": "query", "type": "string" }, "orderBy": { - "description": "Optional. Order by expression that orders Data Products listed in the response.Supported Order by fields are: name or create_time.If not specified, the ordering is undefined.Ordering by create_time is not supported when listing resources across locations (i.e. when request contains /locations/-).", + "description": "Optional. Order by expression that orders data products listed in the response.Supported Order by fields are: name or create_time.If not specified, the ordering is undefined.Ordering by create_time is not supported when listing resources across locations (i.e. when request contains /locations/-).", "location": "query", "type": "string" }, "pageSize": { - "description": "Optional. The maximum number of Data Products to return. The service may return fewer than this value. If unspecified, at most 50 Data Products will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "description": "Optional. The maximum number of data products to return. The service may return fewer than this value. If unspecified, at most 50 data products will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", "format": "int32", "location": "query", "type": "integer" @@ -1738,7 +1738,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which has this collection of Data Products.Format: projects/{project_id_or_number}/locations/{location_id}.Supports listing across all locations with the wildcard - (hyphen) character. Example: projects/{project_id_or_number}/locations/-", + "description": "Required. The parent, which has this collection of data products.Format: projects/{project_id_or_number}/locations/{location_id}.Supports listing across all locations with the wildcard - (hyphen) character. Example: projects/{project_id_or_number}/locations/-", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -1754,7 +1754,7 @@ ] }, "patch": { - "description": "Updates a Data Product.", + "description": "Updates a data product.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataProducts/{dataProductsId}", "httpMethod": "PATCH", "id": "dataplex.projects.locations.dataProducts.patch", @@ -1763,7 +1763,7 @@ ], "parameters": { "name": { - "description": "Identifier. Resource name of the Data Product. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}.", + "description": "Identifier. Resource name of the data product. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/dataProducts/[^/]+$", "required": true, @@ -1776,7 +1776,7 @@ "type": "string" }, "validateOnly": { - "description": "Optional. Validates the request without actually updating the Data Product. Default: false.", + "description": "Optional. Validates the request without actually updating the data product. Default: false.", "location": "query", "type": "boolean" } @@ -1853,7 +1853,7 @@ "dataAssets": { "methods": { "create": { - "description": "Creates a Data Asset.", + "description": "Creates a data asset.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataProducts/{dataProductsId}/dataAssets", "httpMethod": "POST", "id": "dataplex.projects.locations.dataProducts.dataAssets.create", @@ -1862,19 +1862,19 @@ ], "parameters": { "dataAssetId": { - "description": "Optional. The ID of the Data Asset to create.The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: (^a-z?$) If not provided, a system generated ID will be used.", + "description": "Optional. The ID of the data asset to create.The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$ If not provided, a system generated ID will be used.", "location": "query", "type": "string" }, "parent": { - "description": "Required. The parent resource where this Data Asset will be created. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}", + "description": "Required. The parent resource where this data asset will be created. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/dataProducts/[^/]+$", "required": true, "type": "string" }, "validateOnly": { - "description": "Optional. Validates the request without actually creating the Data Asset. Defaults to false.", + "description": "Optional. Validates the request without actually creating the data asset. Defaults to false.", "location": "query", "type": "boolean" } @@ -1891,7 +1891,7 @@ ] }, "delete": { - "description": "Deletes a Data Asset.", + "description": "Deletes a data asset.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataProducts/{dataProductsId}/dataAssets/{dataAssetsId}", "httpMethod": "DELETE", "id": "dataplex.projects.locations.dataProducts.dataAssets.delete", @@ -1900,19 +1900,19 @@ ], "parameters": { "etag": { - "description": "Optional. The etag of the Data Asset. If this is provided, it must match the server's etag. If the etag is provided and does not match the server-computed etag, the request must fail with a ABORTED error code.", + "description": "Optional. The etag of the data asset. If this is provided, it must match the server's etag. If the etag is provided and does not match the server-computed etag, the request must fail with a ABORTED error code.", "location": "query", "type": "string" }, "name": { - "description": "Required. The name of the Data Asset to delete. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id}", + "description": "Required. The name of the data asset to delete. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id}", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/dataProducts/[^/]+/dataAssets/[^/]+$", "required": true, "type": "string" }, "validateOnly": { - "description": "Optional. Validates the request without actually deleting the Data Asset. Defaults to false.", + "description": "Optional. Validates the request without actually deleting the data asset. Defaults to false.", "location": "query", "type": "boolean" } @@ -1926,7 +1926,7 @@ ] }, "get": { - "description": "Gets a Data Asset.", + "description": "Gets a data asset.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataProducts/{dataProductsId}/dataAssets/{dataAssetsId}", "httpMethod": "GET", "id": "dataplex.projects.locations.dataProducts.dataAssets.get", @@ -1935,7 +1935,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the Data Asset to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id}", + "description": "Required. The name of the data asset to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id}", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/dataProducts/[^/]+/dataAssets/[^/]+$", "required": true, @@ -1951,7 +1951,7 @@ ] }, "list": { - "description": "Lists Data Assets for a given Data Product.", + "description": "Lists data assets for a given data product.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataProducts/{dataProductsId}/dataAssets", "httpMethod": "GET", "id": "dataplex.projects.locations.dataProducts.dataAssets.list", @@ -1960,17 +1960,17 @@ ], "parameters": { "filter": { - "description": "Optional. Filter expression that filters DataAssets listed in the response.", + "description": "Optional. Filter expression that filters data assets listed in the response.", "location": "query", "type": "string" }, "orderBy": { - "description": "Optional. Order by expression that orders DataAssets listed in the response.Supported Order by fields are: name or create_time.If not specified, the ordering is undefined.", + "description": "Optional. Order by expression that orders data assets listed in the response.Supported order_by fields are: name or create_time.If not specified, the ordering is undefined.", "location": "query", "type": "string" }, "pageSize": { - "description": "Optional. The maximum number of Data Assets to return. The service may return fewer than this value. If unspecified, at most 50 Data Assets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "description": "Optional. The maximum number of data assets to return. The service may return fewer than this value. If unspecified, at most 50 data assets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", "format": "int32", "location": "query", "type": "integer" @@ -1981,7 +1981,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which has this collection of Data Assets. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}", + "description": "Required. The parent, which has this collection of data assets. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/dataProducts/[^/]+$", "required": true, @@ -1997,7 +1997,7 @@ ] }, "patch": { - "description": "Updates a Data Asset.", + "description": "Updates a data asset.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataProducts/{dataProductsId}/dataAssets/{dataAssetsId}", "httpMethod": "PATCH", "id": "dataplex.projects.locations.dataProducts.dataAssets.patch", @@ -2006,20 +2006,20 @@ ], "parameters": { "name": { - "description": "Identifier. Resource name of the Data Asset. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id}", + "description": "Identifier. Resource name of the data asset. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id}", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/dataProducts/[^/]+/dataAssets/[^/]+$", "required": true, "type": "string" }, "updateMask": { - "description": "Optional. The list of fields to update. If this is empty or not set, then all fields that are populated (have a non-empty value) in data_asset above will be updated.", + "description": "Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated.", "format": "google-fieldmask", "location": "query", "type": "string" }, "validateOnly": { - "description": "Optional. Validates the request without actually updating the Data Asset. Defaults to false.", + "description": "Optional. Validates the request without actually updating the data asset. Defaults to false.", "location": "query", "type": "boolean" } @@ -7601,7 +7601,7 @@ } } }, - "revision": "20251203", + "revision": "20251223", "rootUrl": "https://dataplex.googleapis.com/", "schemas": { "Empty": { @@ -8628,48 +8628,48 @@ "type": "object" }, "GoogleCloudDataplexV1DataAsset": { - "description": "Represents a Data Asset resource that can be packaged and shared via a Data Product.", + "description": "Represents a data asset resource that can be packaged and shared via a data product.", "id": "GoogleCloudDataplexV1DataAsset", "properties": { "accessGroupConfigs": { "additionalProperties": { "$ref": "GoogleCloudDataplexV1DataAssetAccessGroupConfig" }, - "description": "Optional. Access groups configurations for this Data Asset. The key is DataProduct.AccessGroup.id and the value is AccessGroupConfig. Example: key: \"analyst\" value: { AccessGroupConfig : { iam_roles : \"roles/bigquery.dataViewer\" } } Currently, at most one IAM role is allowed per access group. For providing multiple predefined IAM roles, wrap them in a custom IAM role as per https://cloud.google.com/iam/docs/creating-custom-roles.", + "description": "Optional. Access groups configurations for this data asset.The key is DataProduct.AccessGroup.id and the value is AccessGroupConfig.Example: { \"analyst\": { \"iamRoles\": [\"roles/bigquery.dataViewer\"] } } Currently, at most one IAM role is allowed per access group. For providing multiple predefined IAM roles, wrap them in a custom IAM role as per https://cloud.google.com/iam/docs/creating-custom-roles.", "type": "object" }, "createTime": { - "description": "Output only. The time at which the Data Asset was created.", + "description": "Output only. The time at which the data asset was created.", "format": "google-datetime", "readOnly": true, "type": "string" }, "etag": { - "description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", + "description": "Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", "type": "string" }, "labels": { "additionalProperties": { "type": "string" }, - "description": "Optional. User-defined labels for the Data Asset.", + "description": "Optional. User-defined labels for the data asset.Example: { \"environment\": \"production\", \"billing\": \"marketing-department\" } ", "type": "object" }, "name": { - "description": "Identifier. Resource name of the Data Asset. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id}", + "description": "Identifier. Resource name of the data asset. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id}", "type": "string" }, "resource": { - "description": "Required. Immutable. Full resource name of the cloud resource represented by the Data Asset. This must follow https://cloud.google.com/iam/docs/full-resource-names. Example: //bigquery.googleapis.com/projects/my_project_123/datasets/dataset_456/tables/table_789 Only BigQuery tables and datasets are currently supported. Data Asset creator must have getIamPolicy and setIamPolicy permissions on the resource. Data Asset creator must also have resource specific get permission, for instance, bigquery.tables.get for BigQuery tables.", + "description": "Required. Immutable. Full resource name of the cloud resource represented by the data asset. This must follow https://cloud.google.com/iam/docs/full-resource-names. Example: //bigquery.googleapis.com/projects/my_project_123/datasets/dataset_456/tables/table_789 Only BigQuery tables and datasets are currently supported. Data asset creator must have getIamPolicy and setIamPolicy permissions on the resource. Data asset creator must also have resource specific get permission, for instance, bigquery.tables.get for BigQuery tables.", "type": "string" }, "uid": { - "description": "Output only. System generated globally unique ID for the Data Asset. This ID will be different if the Data Asset is deleted and re-created with the same name.", + "description": "Output only. System generated globally unique ID for the data asset. This ID will be different if the data asset is deleted and re-created with the same name.", "readOnly": true, "type": "string" }, "updateTime": { - "description": "Output only. The time at which the Data Asset was last updated.", + "description": "Output only. The time at which the data asset was last updated.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -8678,11 +8678,11 @@ "type": "object" }, "GoogleCloudDataplexV1DataAssetAccessGroupConfig": { - "description": "Configuration for access group inherited from the parent Data Product.", + "description": "Configuration for access group inherited from the parent data product.", "id": "GoogleCloudDataplexV1DataAssetAccessGroupConfig", "properties": { "iamRoles": { - "description": "Optional. IAM roles granted on the resource to this access group. Role name follows https://cloud.google.com/iam/docs/reference/rest/v1/roles. Example: \"roles/bigquery.dataViewer\" ", + "description": "Optional. IAM roles granted on the resource to this access group. Role name follows https://cloud.google.com/iam/docs/reference/rest/v1/roles.Example: [ \"roles/bigquery.dataViewer\" ]", "items": { "type": "string" }, @@ -9160,42 +9160,42 @@ "type": "object" }, "GoogleCloudDataplexV1DataProduct": { - "description": "A Data Product is a curated collection of Data Assets, packaged to address specific use cases. It's a way to manage and share data in a more organized, product-like manner.", + "description": "A data product is a curated collection of data assets, packaged to address specific use cases. It's a way to manage and share data in a more organized, product-like manner.", "id": "GoogleCloudDataplexV1DataProduct", "properties": { "accessGroups": { "additionalProperties": { "$ref": "GoogleCloudDataplexV1DataProductAccessGroup" }, - "description": "Optional. Data Product access groups by access group id as key. If Data Product is used only for packaging Data Assets, then access groups may be empty. However, if a Data Product is used for sharing Data Assets, then at least one access group must be specified.", + "description": "Optional. Data product access groups by access group id as key. If data product is used only for packaging data assets, then access groups may be empty. However, if a data product is used for sharing data assets, then at least one access group must be specified.Example: { \"analyst\": { \"id\": \"analyst\", \"displayName\": \"Analyst\", \"description\": \"Access group for analysts\", \"principal\": { \"googleGroup\": \"analysts@example.com\" } } } ", "type": "object" }, "assetCount": { - "description": "Output only. Number of Data Assets associated with this Data Product.", + "description": "Output only. Number of data assets associated with this data product.", "format": "int32", "readOnly": true, "type": "integer" }, "createTime": { - "description": "Output only. The time at which the Data Product was created.", + "description": "Output only. The time at which the data product was created.", "format": "google-datetime", "readOnly": true, "type": "string" }, "description": { - "description": "Optional. Description of the Data Product.", + "description": "Optional. Description of the data product.", "type": "string" }, "displayName": { - "description": "Required. User-friendly display name of the Data Product.", + "description": "Required. User-friendly display name of the data product.", "type": "string" }, "etag": { - "description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", + "description": "Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", "type": "string" }, "icon": { - "description": "Optional. Base64 encoded image representing the Data Product. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the content of the fields are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire.", + "description": "Optional. Base64 encoded image representing the data product. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the content of the fields are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire.", "format": "byte", "type": "string" }, @@ -9203,27 +9203,27 @@ "additionalProperties": { "type": "string" }, - "description": "Optional. User-defined labels for the Data Product.", + "description": "Optional. User-defined labels for the data product.Example: { \"environment\": \"production\", \"billing\": \"marketing-department\" } ", "type": "object" }, "name": { - "description": "Identifier. Resource name of the Data Product. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}.", + "description": "Identifier. Resource name of the data product. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}.", "type": "string" }, "ownerEmails": { - "description": "Required. Emails of the Data Product owners.", + "description": "Required. Emails of the data product owners.", "items": { "type": "string" }, "type": "array" }, "uid": { - "description": "Output only. System generated unique ID for the Data Product. This ID will be different if the Data Product is deleted and re-created with the same name.", + "description": "Output only. System generated unique ID for the data product. This ID will be different if the data product is deleted and re-created with the same name.", "readOnly": true, "type": "string" }, "updateTime": { - "description": "Output only. The time at which the Data Product was last updated.", + "description": "Output only. The time at which the data product was last updated.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -9232,7 +9232,7 @@ "type": "object" }, "GoogleCloudDataplexV1DataProductAccessGroup": { - "description": "Custom user defined access groups at the Data Product level. These are used for granting different levels of access (IAM roles) on the individual Data Product's Data Assets.", + "description": "Custom user defined access groups at the data product level. These are used for granting different levels of access (IAM roles) on the individual data product's data assets.", "id": "GoogleCloudDataplexV1DataProductAccessGroup", "properties": { "description": { @@ -9244,7 +9244,7 @@ "type": "string" }, "id": { - "description": "Required. Unique identifier of the access group within the Data Product. User defined. Eg. \"analyst\", \"developer\", etc.", + "description": "Required. Unique identifier of the access group within the data product. User defined. Eg. \"analyst\", \"developer\", etc.", "type": "string" }, "principal": { @@ -9259,7 +9259,7 @@ "id": "GoogleCloudDataplexV1DataProductPrincipal", "properties": { "googleGroup": { - "description": "Email of the Google Group, as per https://cloud.google.com/iam/docs/principals-overview#google-group.", + "description": "Optional. Email of the Google Group, as per https://cloud.google.com/iam/docs/principals-overview#google-group.", "type": "string" } }, @@ -12635,11 +12635,11 @@ "type": "object" }, "GoogleCloudDataplexV1ListDataAssetsResponse": { - "description": "Response message for listing Data Assets.", + "description": "Response message for listing data assets.", "id": "GoogleCloudDataplexV1ListDataAssetsResponse", "properties": { "dataAssets": { - "description": "The Data Assets for the requested filter criteria.", + "description": "The data assets for the requested filter criteria.", "items": { "$ref": "GoogleCloudDataplexV1DataAsset" }, @@ -12703,11 +12703,11 @@ "type": "object" }, "GoogleCloudDataplexV1ListDataProductsResponse": { - "description": "Response message for listing Data Products.", + "description": "Response message for listing data products.", "id": "GoogleCloudDataplexV1ListDataProductsResponse", "properties": { "dataProducts": { - "description": "The Data Products for the requested filter criteria.", + "description": "The data products for the requested filter criteria.", "items": { "$ref": "GoogleCloudDataplexV1DataProduct" }, diff --git a/src/apis/dataplex/v1.ts b/src/apis/dataplex/v1.ts index 15548e34e79..db090cef58a 100644 --- a/src/apis/dataplex/v1.ts +++ b/src/apis/dataplex/v1.ts @@ -827,50 +827,50 @@ export namespace dataplex_v1 { readers?: string[] | null; } /** - * Represents a Data Asset resource that can be packaged and shared via a Data Product. + * Represents a data asset resource that can be packaged and shared via a data product. */ export interface Schema$GoogleCloudDataplexV1DataAsset { /** - * Optional. Access groups configurations for this Data Asset. The key is DataProduct.AccessGroup.id and the value is AccessGroupConfig. Example: key: "analyst" value: { AccessGroupConfig : { iam_roles : "roles/bigquery.dataViewer" \} \} Currently, at most one IAM role is allowed per access group. For providing multiple predefined IAM roles, wrap them in a custom IAM role as per https://cloud.google.com/iam/docs/creating-custom-roles. + * Optional. Access groups configurations for this data asset.The key is DataProduct.AccessGroup.id and the value is AccessGroupConfig.Example: { "analyst": { "iamRoles": ["roles/bigquery.dataViewer"] \} \} Currently, at most one IAM role is allowed per access group. For providing multiple predefined IAM roles, wrap them in a custom IAM role as per https://cloud.google.com/iam/docs/creating-custom-roles. */ accessGroupConfigs?: { [key: string]: Schema$GoogleCloudDataplexV1DataAssetAccessGroupConfig; } | null; /** - * Output only. The time at which the Data Asset was created. + * Output only. The time at which the data asset was created. */ createTime?: string | null; /** - * This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. + * Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. */ etag?: string | null; /** - * Optional. User-defined labels for the Data Asset. + * Optional. User-defined labels for the data asset.Example: { "environment": "production", "billing": "marketing-department" \} */ labels?: {[key: string]: string} | null; /** - * Identifier. Resource name of the Data Asset. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\}/dataAssets/{data_asset_id\} + * Identifier. Resource name of the data asset. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\}/dataAssets/{data_asset_id\} */ name?: string | null; /** - * Required. Immutable. Full resource name of the cloud resource represented by the Data Asset. This must follow https://cloud.google.com/iam/docs/full-resource-names. Example: //bigquery.googleapis.com/projects/my_project_123/datasets/dataset_456/tables/table_789 Only BigQuery tables and datasets are currently supported. Data Asset creator must have getIamPolicy and setIamPolicy permissions on the resource. Data Asset creator must also have resource specific get permission, for instance, bigquery.tables.get for BigQuery tables. + * Required. Immutable. Full resource name of the cloud resource represented by the data asset. This must follow https://cloud.google.com/iam/docs/full-resource-names. Example: //bigquery.googleapis.com/projects/my_project_123/datasets/dataset_456/tables/table_789 Only BigQuery tables and datasets are currently supported. Data asset creator must have getIamPolicy and setIamPolicy permissions on the resource. Data asset creator must also have resource specific get permission, for instance, bigquery.tables.get for BigQuery tables. */ resource?: string | null; /** - * Output only. System generated globally unique ID for the Data Asset. This ID will be different if the Data Asset is deleted and re-created with the same name. + * Output only. System generated globally unique ID for the data asset. This ID will be different if the data asset is deleted and re-created with the same name. */ uid?: string | null; /** - * Output only. The time at which the Data Asset was last updated. + * Output only. The time at which the data asset was last updated. */ updateTime?: string | null; } /** - * Configuration for access group inherited from the parent Data Product. + * Configuration for access group inherited from the parent data product. */ export interface Schema$GoogleCloudDataplexV1DataAssetAccessGroupConfig { /** - * Optional. IAM roles granted on the resource to this access group. Role name follows https://cloud.google.com/iam/docs/reference/rest/v1/roles. Example: "roles/bigquery.dataViewer" + * Optional. IAM roles granted on the resource to this access group. Role name follows https://cloud.google.com/iam/docs/reference/rest/v1/roles.Example: [ "roles/bigquery.dataViewer" ] */ iamRoles?: string[] | null; } @@ -1228,62 +1228,62 @@ export namespace dataplex_v1 { catalogPublishingEnabled?: boolean | null; } /** - * A Data Product is a curated collection of Data Assets, packaged to address specific use cases. It's a way to manage and share data in a more organized, product-like manner. + * A data product is a curated collection of data assets, packaged to address specific use cases. It's a way to manage and share data in a more organized, product-like manner. */ export interface Schema$GoogleCloudDataplexV1DataProduct { /** - * Optional. Data Product access groups by access group id as key. If Data Product is used only for packaging Data Assets, then access groups may be empty. However, if a Data Product is used for sharing Data Assets, then at least one access group must be specified. + * Optional. Data product access groups by access group id as key. If data product is used only for packaging data assets, then access groups may be empty. However, if a data product is used for sharing data assets, then at least one access group must be specified.Example: { "analyst": { "id": "analyst", "displayName": "Analyst", "description": "Access group for analysts", "principal": { "googleGroup": "analysts@example.com" \} \} \} */ accessGroups?: { [key: string]: Schema$GoogleCloudDataplexV1DataProductAccessGroup; } | null; /** - * Output only. Number of Data Assets associated with this Data Product. + * Output only. Number of data assets associated with this data product. */ assetCount?: number | null; /** - * Output only. The time at which the Data Product was created. + * Output only. The time at which the data product was created. */ createTime?: string | null; /** - * Optional. Description of the Data Product. + * Optional. Description of the data product. */ description?: string | null; /** - * Required. User-friendly display name of the Data Product. + * Required. User-friendly display name of the data product. */ displayName?: string | null; /** - * This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. + * Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. */ etag?: string | null; /** - * Optional. Base64 encoded image representing the Data Product. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the content of the fields are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire. + * Optional. Base64 encoded image representing the data product. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the content of the fields are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire. */ icon?: string | null; /** - * Optional. User-defined labels for the Data Product. + * Optional. User-defined labels for the data product.Example: { "environment": "production", "billing": "marketing-department" \} */ labels?: {[key: string]: string} | null; /** - * Identifier. Resource name of the Data Product. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\}. + * Identifier. Resource name of the data product. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\}. */ name?: string | null; /** - * Required. Emails of the Data Product owners. + * Required. Emails of the data product owners. */ ownerEmails?: string[] | null; /** - * Output only. System generated unique ID for the Data Product. This ID will be different if the Data Product is deleted and re-created with the same name. + * Output only. System generated unique ID for the data product. This ID will be different if the data product is deleted and re-created with the same name. */ uid?: string | null; /** - * Output only. The time at which the Data Product was last updated. + * Output only. The time at which the data product was last updated. */ updateTime?: string | null; } /** - * Custom user defined access groups at the Data Product level. These are used for granting different levels of access (IAM roles) on the individual Data Product's Data Assets. + * Custom user defined access groups at the data product level. These are used for granting different levels of access (IAM roles) on the individual data product's data assets. */ export interface Schema$GoogleCloudDataplexV1DataProductAccessGroup { /** @@ -1295,7 +1295,7 @@ export namespace dataplex_v1 { */ displayName?: string | null; /** - * Required. Unique identifier of the access group within the Data Product. User defined. Eg. "analyst", "developer", etc. + * Required. Unique identifier of the access group within the data product. User defined. Eg. "analyst", "developer", etc. */ id?: string | null; /** @@ -1308,7 +1308,7 @@ export namespace dataplex_v1 { */ export interface Schema$GoogleCloudDataplexV1DataProductPrincipal { /** - * Email of the Google Group, as per https://cloud.google.com/iam/docs/principals-overview#google-group. + * Optional. Email of the Google Group, as per https://cloud.google.com/iam/docs/principals-overview#google-group. */ googleGroup?: string | null; } @@ -3565,11 +3565,11 @@ export namespace dataplex_v1 { nextPageToken?: string | null; } /** - * Response message for listing Data Assets. + * Response message for listing data assets. */ export interface Schema$GoogleCloudDataplexV1ListDataAssetsResponse { /** - * The Data Assets for the requested filter criteria. + * The data assets for the requested filter criteria. */ dataAssets?: Schema$GoogleCloudDataplexV1DataAsset[]; /** @@ -3612,11 +3612,11 @@ export namespace dataplex_v1 { unreachableLocations?: string[] | null; } /** - * Response message for listing Data Products. + * Response message for listing data products. */ export interface Schema$GoogleCloudDataplexV1ListDataProductsResponse { /** - * The Data Products for the requested filter criteria. + * The data products for the requested filter criteria. */ dataProducts?: Schema$GoogleCloudDataplexV1DataProduct[]; /** @@ -11146,7 +11146,7 @@ export namespace dataplex_v1 { } /** - * Creates a Data Product. + * Creates a data product. * @example * ```js * // Before running the sample: @@ -11176,11 +11176,11 @@ export namespace dataplex_v1 { * * // Do the magic * const res = await dataplex.projects.locations.dataProducts.create({ - * // Optional. The ID of the Data Product to create.The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: (^a-z?$) If not provided, a system generated ID will be used. + * // Optional. The ID of the data product to create.The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: ^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$ If not provided, a system generated ID will be used. * dataProductId: 'placeholder-value', - * // Required. The parent resource where this Data Product will be created. Format: projects/{project_id_or_number\}/locations/{location_id\} + * // Required. The parent resource where this data product will be created. Format: projects/{project_id_or_number\}/locations/{location_id\} * parent: 'projects/my-project/locations/my-location', - * // Optional. Validates the request without actually creating the Data Product. Default: false. + * // Optional. Validates the request without actually creating the data product. Default: false. * validateOnly: 'placeholder-value', * * // Request body metadata @@ -11314,7 +11314,7 @@ export namespace dataplex_v1 { } /** - * Deletes a Data Product. The deletion will fail if the Data Product is not empty (i.e. contains at least one Data Asset). + * Deletes a data product. The deletion will fail if the data product is not empty (i.e. contains at least one data asset). * @example * ```js * // Before running the sample: @@ -11344,11 +11344,11 @@ export namespace dataplex_v1 { * * // Do the magic * const res = await dataplex.projects.locations.dataProducts.delete({ - * // Optional. The etag of the Data Product.If an etag is provided and does not match the current etag of the Data Product, then the deletion will be blocked and an ABORTED error will be returned. + * // Optional. The etag of the data product.If an etag is provided and does not match the current etag of the data product, then the deletion will be blocked and an ABORTED error will be returned. * etag: 'placeholder-value', - * // Required. The name of the Data Product to delete. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\} + * // Required. The name of the data product to delete. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\} * name: 'projects/my-project/locations/my-location/dataProducts/my-dataProduct', - * // Optional. Validates the request without actually deleting the Data Product. Default: false. + * // Optional. Validates the request without actually deleting the data product. Default: false. * validateOnly: 'placeholder-value', * }); * console.log(res.data); @@ -11460,7 +11460,7 @@ export namespace dataplex_v1 { } /** - * Gets a Data Product. + * Gets a data product. * @example * ```js * // Before running the sample: @@ -11490,7 +11490,7 @@ export namespace dataplex_v1 { * * // Do the magic * const res = await dataplex.projects.locations.dataProducts.get({ - * // Required. The name of the Data Product to retrieve. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\} + * // Required. The name of the data product to retrieve. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\} * name: 'projects/my-project/locations/my-location/dataProducts/my-dataProduct', * }); * console.log(res.data); @@ -11761,7 +11761,7 @@ export namespace dataplex_v1 { } /** - * Lists Data Products for a given project. + * Lists data products for a given project. * @example * ```js * // Before running the sample: @@ -11791,15 +11791,15 @@ export namespace dataplex_v1 { * * // Do the magic * const res = await dataplex.projects.locations.dataProducts.list({ - * // Optional. Filter expression that filters Data Products listed in the response.Example of using this filter is: display_name="my-data-product" + * // Optional. Filter expression that filters data products listed in the response.Example of using this filter is: display_name="my-data-product" * filter: 'placeholder-value', - * // Optional. Order by expression that orders Data Products listed in the response.Supported Order by fields are: name or create_time.If not specified, the ordering is undefined.Ordering by create_time is not supported when listing resources across locations (i.e. when request contains /locations/-). + * // Optional. Order by expression that orders data products listed in the response.Supported Order by fields are: name or create_time.If not specified, the ordering is undefined.Ordering by create_time is not supported when listing resources across locations (i.e. when request contains /locations/-). * orderBy: 'placeholder-value', - * // Optional. The maximum number of Data Products to return. The service may return fewer than this value. If unspecified, at most 50 Data Products will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * // Optional. The maximum number of data products to return. The service may return fewer than this value. If unspecified, at most 50 data products will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. * pageSize: 'placeholder-value', * // Optional. A page token, received from a previous ListDataProducts call. Provide this to retrieve the subsequent page.When paginating, all other parameters provided to ListDataProducts must match the call that provided the page token. * pageToken: 'placeholder-value', - * // Required. The parent, which has this collection of Data Products.Format: projects/{project_id_or_number\}/locations/{location_id\}.Supports listing across all locations with the wildcard - (hyphen) character. Example: projects/{project_id_or_number\}/locations/- + * // Required. The parent, which has this collection of data products.Format: projects/{project_id_or_number\}/locations/{location_id\}.Supports listing across all locations with the wildcard - (hyphen) character. Example: projects/{project_id_or_number\}/locations/- * parent: 'projects/my-project/locations/my-location', * }); * console.log(res.data); @@ -11918,7 +11918,7 @@ export namespace dataplex_v1 { } /** - * Updates a Data Product. + * Updates a data product. * @example * ```js * // Before running the sample: @@ -11948,11 +11948,11 @@ export namespace dataplex_v1 { * * // Do the magic * const res = await dataplex.projects.locations.dataProducts.patch({ - * // Identifier. Resource name of the Data Product. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\}. + * // Identifier. Resource name of the data product. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\}. * name: 'projects/my-project/locations/my-location/dataProducts/my-dataProduct', * // Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated. * updateMask: 'placeholder-value', - * // Optional. Validates the request without actually updating the Data Product. Default: false. + * // Optional. Validates the request without actually updating the data product. Default: false. * validateOnly: 'placeholder-value', * * // Request body metadata @@ -12397,15 +12397,15 @@ export namespace dataplex_v1 { export interface Params$Resource$Projects$Locations$Dataproducts$Create extends StandardParameters { /** - * Optional. The ID of the Data Product to create.The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: (^a-z?$) If not provided, a system generated ID will be used. + * Optional. The ID of the data product to create.The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: ^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$ If not provided, a system generated ID will be used. */ dataProductId?: string; /** - * Required. The parent resource where this Data Product will be created. Format: projects/{project_id_or_number\}/locations/{location_id\} + * Required. The parent resource where this data product will be created. Format: projects/{project_id_or_number\}/locations/{location_id\} */ parent?: string; /** - * Optional. Validates the request without actually creating the Data Product. Default: false. + * Optional. Validates the request without actually creating the data product. Default: false. */ validateOnly?: boolean; @@ -12416,21 +12416,21 @@ export namespace dataplex_v1 { } export interface Params$Resource$Projects$Locations$Dataproducts$Delete extends StandardParameters { /** - * Optional. The etag of the Data Product.If an etag is provided and does not match the current etag of the Data Product, then the deletion will be blocked and an ABORTED error will be returned. + * Optional. The etag of the data product.If an etag is provided and does not match the current etag of the data product, then the deletion will be blocked and an ABORTED error will be returned. */ etag?: string; /** - * Required. The name of the Data Product to delete. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\} + * Required. The name of the data product to delete. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\} */ name?: string; /** - * Optional. Validates the request without actually deleting the Data Product. Default: false. + * Optional. Validates the request without actually deleting the data product. Default: false. */ validateOnly?: boolean; } export interface Params$Resource$Projects$Locations$Dataproducts$Get extends StandardParameters { /** - * Required. The name of the Data Product to retrieve. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\} + * Required. The name of the data product to retrieve. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\} */ name?: string; } @@ -12446,15 +12446,15 @@ export namespace dataplex_v1 { } export interface Params$Resource$Projects$Locations$Dataproducts$List extends StandardParameters { /** - * Optional. Filter expression that filters Data Products listed in the response.Example of using this filter is: display_name="my-data-product" + * Optional. Filter expression that filters data products listed in the response.Example of using this filter is: display_name="my-data-product" */ filter?: string; /** - * Optional. Order by expression that orders Data Products listed in the response.Supported Order by fields are: name or create_time.If not specified, the ordering is undefined.Ordering by create_time is not supported when listing resources across locations (i.e. when request contains /locations/-). + * Optional. Order by expression that orders data products listed in the response.Supported Order by fields are: name or create_time.If not specified, the ordering is undefined.Ordering by create_time is not supported when listing resources across locations (i.e. when request contains /locations/-). */ orderBy?: string; /** - * Optional. The maximum number of Data Products to return. The service may return fewer than this value. If unspecified, at most 50 Data Products will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * Optional. The maximum number of data products to return. The service may return fewer than this value. If unspecified, at most 50 data products will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */ pageSize?: number; /** @@ -12462,13 +12462,13 @@ export namespace dataplex_v1 { */ pageToken?: string; /** - * Required. The parent, which has this collection of Data Products.Format: projects/{project_id_or_number\}/locations/{location_id\}.Supports listing across all locations with the wildcard - (hyphen) character. Example: projects/{project_id_or_number\}/locations/- + * Required. The parent, which has this collection of data products.Format: projects/{project_id_or_number\}/locations/{location_id\}.Supports listing across all locations with the wildcard - (hyphen) character. Example: projects/{project_id_or_number\}/locations/- */ parent?: string; } export interface Params$Resource$Projects$Locations$Dataproducts$Patch extends StandardParameters { /** - * Identifier. Resource name of the Data Product. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\}. + * Identifier. Resource name of the data product. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\}. */ name?: string; /** @@ -12476,7 +12476,7 @@ export namespace dataplex_v1 { */ updateMask?: string; /** - * Optional. Validates the request without actually updating the Data Product. Default: false. + * Optional. Validates the request without actually updating the data product. Default: false. */ validateOnly?: boolean; @@ -12515,7 +12515,7 @@ export namespace dataplex_v1 { } /** - * Creates a Data Asset. + * Creates a data asset. * @example * ```js * // Before running the sample: @@ -12545,12 +12545,12 @@ export namespace dataplex_v1 { * * // Do the magic * const res = await dataplex.projects.locations.dataProducts.dataAssets.create({ - * // Optional. The ID of the Data Asset to create.The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: (^a-z?$) If not provided, a system generated ID will be used. + * // Optional. The ID of the data asset to create.The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: ^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$ If not provided, a system generated ID will be used. * dataAssetId: 'placeholder-value', - * // Required. The parent resource where this Data Asset will be created. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\} + * // Required. The parent resource where this data asset will be created. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\} * parent: * 'projects/my-project/locations/my-location/dataProducts/my-dataProduct', - * // Optional. Validates the request without actually creating the Data Asset. Defaults to false. + * // Optional. Validates the request without actually creating the data asset. Defaults to false. * validateOnly: 'placeholder-value', * * // Request body metadata @@ -12681,7 +12681,7 @@ export namespace dataplex_v1 { } /** - * Deletes a Data Asset. + * Deletes a data asset. * @example * ```js * // Before running the sample: @@ -12711,11 +12711,11 @@ export namespace dataplex_v1 { * * // Do the magic * const res = await dataplex.projects.locations.dataProducts.dataAssets.delete({ - * // Optional. The etag of the Data Asset. If this is provided, it must match the server's etag. If the etag is provided and does not match the server-computed etag, the request must fail with a ABORTED error code. + * // Optional. The etag of the data asset. If this is provided, it must match the server's etag. If the etag is provided and does not match the server-computed etag, the request must fail with a ABORTED error code. * etag: 'placeholder-value', - * // Required. The name of the Data Asset to delete. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\}/dataAssets/{data_asset_id\} + * // Required. The name of the data asset to delete. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\}/dataAssets/{data_asset_id\} * name: 'projects/my-project/locations/my-location/dataProducts/my-dataProduct/dataAssets/my-dataAsset', - * // Optional. Validates the request without actually deleting the Data Asset. Defaults to false. + * // Optional. Validates the request without actually deleting the data asset. Defaults to false. * validateOnly: 'placeholder-value', * }); * console.log(res.data); @@ -12828,7 +12828,7 @@ export namespace dataplex_v1 { } /** - * Gets a Data Asset. + * Gets a data asset. * @example * ```js * // Before running the sample: @@ -12858,7 +12858,7 @@ export namespace dataplex_v1 { * * // Do the magic * const res = await dataplex.projects.locations.dataProducts.dataAssets.get({ - * // Required. The name of the Data Asset to retrieve. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\}/dataAssets/{data_asset_id\} + * // Required. The name of the data asset to retrieve. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\}/dataAssets/{data_asset_id\} * name: 'projects/my-project/locations/my-location/dataProducts/my-dataProduct/dataAssets/my-dataAsset', * }); * console.log(res.data); @@ -12976,7 +12976,7 @@ export namespace dataplex_v1 { } /** - * Lists Data Assets for a given Data Product. + * Lists data assets for a given data product. * @example * ```js * // Before running the sample: @@ -13006,15 +13006,15 @@ export namespace dataplex_v1 { * * // Do the magic * const res = await dataplex.projects.locations.dataProducts.dataAssets.list({ - * // Optional. Filter expression that filters DataAssets listed in the response. + * // Optional. Filter expression that filters data assets listed in the response. * filter: 'placeholder-value', - * // Optional. Order by expression that orders DataAssets listed in the response.Supported Order by fields are: name or create_time.If not specified, the ordering is undefined. + * // Optional. Order by expression that orders data assets listed in the response.Supported order_by fields are: name or create_time.If not specified, the ordering is undefined. * orderBy: 'placeholder-value', - * // Optional. The maximum number of Data Assets to return. The service may return fewer than this value. If unspecified, at most 50 Data Assets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * // Optional. The maximum number of data assets to return. The service may return fewer than this value. If unspecified, at most 50 data assets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. * pageSize: 'placeholder-value', * // Optional. A page token, received from a previous ListDataAssets call. Provide this to retrieve the subsequent page.When paginating, all other parameters provided to ListDataAssets must match the call that provided the page token. * pageToken: 'placeholder-value', - * // Required. The parent, which has this collection of Data Assets. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\} + * // Required. The parent, which has this collection of data assets. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\} * parent: * 'projects/my-project/locations/my-location/dataProducts/my-dataProduct', * }); @@ -13134,7 +13134,7 @@ export namespace dataplex_v1 { } /** - * Updates a Data Asset. + * Updates a data asset. * @example * ```js * // Before running the sample: @@ -13164,11 +13164,11 @@ export namespace dataplex_v1 { * * // Do the magic * const res = await dataplex.projects.locations.dataProducts.dataAssets.patch({ - * // Identifier. Resource name of the Data Asset. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\}/dataAssets/{data_asset_id\} + * // Identifier. Resource name of the data asset. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\}/dataAssets/{data_asset_id\} * name: 'projects/my-project/locations/my-location/dataProducts/my-dataProduct/dataAssets/my-dataAsset', - * // Optional. The list of fields to update. If this is empty or not set, then all fields that are populated (have a non-empty value) in data_asset above will be updated. + * // Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated. * updateMask: 'placeholder-value', - * // Optional. Validates the request without actually updating the Data Asset. Defaults to false. + * // Optional. Validates the request without actually updating the data asset. Defaults to false. * validateOnly: 'placeholder-value', * * // Request body metadata @@ -13298,15 +13298,15 @@ export namespace dataplex_v1 { export interface Params$Resource$Projects$Locations$Dataproducts$Dataassets$Create extends StandardParameters { /** - * Optional. The ID of the Data Asset to create.The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: (^a-z?$) If not provided, a system generated ID will be used. + * Optional. The ID of the data asset to create.The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: ^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$ If not provided, a system generated ID will be used. */ dataAssetId?: string; /** - * Required. The parent resource where this Data Asset will be created. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\} + * Required. The parent resource where this data asset will be created. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\} */ parent?: string; /** - * Optional. Validates the request without actually creating the Data Asset. Defaults to false. + * Optional. Validates the request without actually creating the data asset. Defaults to false. */ validateOnly?: boolean; @@ -13317,35 +13317,35 @@ export namespace dataplex_v1 { } export interface Params$Resource$Projects$Locations$Dataproducts$Dataassets$Delete extends StandardParameters { /** - * Optional. The etag of the Data Asset. If this is provided, it must match the server's etag. If the etag is provided and does not match the server-computed etag, the request must fail with a ABORTED error code. + * Optional. The etag of the data asset. If this is provided, it must match the server's etag. If the etag is provided and does not match the server-computed etag, the request must fail with a ABORTED error code. */ etag?: string; /** - * Required. The name of the Data Asset to delete. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\}/dataAssets/{data_asset_id\} + * Required. The name of the data asset to delete. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\}/dataAssets/{data_asset_id\} */ name?: string; /** - * Optional. Validates the request without actually deleting the Data Asset. Defaults to false. + * Optional. Validates the request without actually deleting the data asset. Defaults to false. */ validateOnly?: boolean; } export interface Params$Resource$Projects$Locations$Dataproducts$Dataassets$Get extends StandardParameters { /** - * Required. The name of the Data Asset to retrieve. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\}/dataAssets/{data_asset_id\} + * Required. The name of the data asset to retrieve. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\}/dataAssets/{data_asset_id\} */ name?: string; } export interface Params$Resource$Projects$Locations$Dataproducts$Dataassets$List extends StandardParameters { /** - * Optional. Filter expression that filters DataAssets listed in the response. + * Optional. Filter expression that filters data assets listed in the response. */ filter?: string; /** - * Optional. Order by expression that orders DataAssets listed in the response.Supported Order by fields are: name or create_time.If not specified, the ordering is undefined. + * Optional. Order by expression that orders data assets listed in the response.Supported order_by fields are: name or create_time.If not specified, the ordering is undefined. */ orderBy?: string; /** - * Optional. The maximum number of Data Assets to return. The service may return fewer than this value. If unspecified, at most 50 Data Assets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * Optional. The maximum number of data assets to return. The service may return fewer than this value. If unspecified, at most 50 data assets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */ pageSize?: number; /** @@ -13353,21 +13353,21 @@ export namespace dataplex_v1 { */ pageToken?: string; /** - * Required. The parent, which has this collection of Data Assets. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\} + * Required. The parent, which has this collection of data assets. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\} */ parent?: string; } export interface Params$Resource$Projects$Locations$Dataproducts$Dataassets$Patch extends StandardParameters { /** - * Identifier. Resource name of the Data Asset. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\}/dataAssets/{data_asset_id\} + * Identifier. Resource name of the data asset. Format: projects/{project_id_or_number\}/locations/{location_id\}/dataProducts/{data_product_id\}/dataAssets/{data_asset_id\} */ name?: string; /** - * Optional. The list of fields to update. If this is empty or not set, then all fields that are populated (have a non-empty value) in data_asset above will be updated. + * Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated. */ updateMask?: string; /** - * Optional. Validates the request without actually updating the Data Asset. Defaults to false. + * Optional. Validates the request without actually updating the data asset. Defaults to false. */ validateOnly?: boolean; From 3f34d556576463fbff3bf89e57326a74c4658536 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 9 Jan 2026 01:38:13 +0000 Subject: [PATCH 15/26] feat(dataportability): update the API #### dataportability:v1beta The following keys were added: - auth.oauth2.scopes.https://www.googleapis.com/auth/dataportability.nest.camera_event.description - auth.oauth2.scopes.https://www.googleapis.com/auth/dataportability.nest.camera_feature.description - auth.oauth2.scopes.https://www.googleapis.com/auth/dataportability.nest.camera_video.description - auth.oauth2.scopes.https://www.googleapis.com/auth/dataportability.nest.store.description - auth.oauth2.scopes.https://www.googleapis.com/auth/dataportability.nest.user.description The following keys were changed: - resources.accessType.methods.check.scopes - resources.archiveJobs.methods.cancel.scopes - resources.archiveJobs.methods.getPortabilityArchiveState.scopes - resources.archiveJobs.methods.retry.scopes - resources.authorization.methods.reset.scopes - resources.portabilityArchive.methods.initiate.scopes #### dataportability:v1 The following keys were added: - auth.oauth2.scopes.https://www.googleapis.com/auth/dataportability.nest.camera_event.description - auth.oauth2.scopes.https://www.googleapis.com/auth/dataportability.nest.camera_feature.description - auth.oauth2.scopes.https://www.googleapis.com/auth/dataportability.nest.camera_video.description - auth.oauth2.scopes.https://www.googleapis.com/auth/dataportability.nest.store.description - auth.oauth2.scopes.https://www.googleapis.com/auth/dataportability.nest.user.description The following keys were changed: - resources.accessType.methods.check.scopes - resources.archiveJobs.methods.cancel.scopes - resources.archiveJobs.methods.getPortabilityArchiveState.scopes - resources.archiveJobs.methods.retry.scopes - resources.authorization.methods.reset.scopes - resources.portabilityArchive.methods.initiate.scopes --- discovery/dataportability-v1.json | 47 ++++++++++++++++++++++++++- discovery/dataportability-v1beta.json | 47 ++++++++++++++++++++++++++- src/apis/dataportability/v1.ts | 30 +++++++++++++++++ src/apis/dataportability/v1beta.ts | 30 +++++++++++++++++ 4 files changed, 152 insertions(+), 2 deletions(-) diff --git a/discovery/dataportability-v1.json b/discovery/dataportability-v1.json index 12cc61d0903..b6ecad7c98b 100644 --- a/discovery/dataportability-v1.json +++ b/discovery/dataportability-v1.json @@ -89,6 +89,21 @@ "https://www.googleapis.com/auth/dataportability.mymaps.maps": { "description": "Move a copy of the maps you created in My Maps" }, + "https://www.googleapis.com/auth/dataportability.nest.camera_event": { + "description": "Copy Nest camera event data" + }, + "https://www.googleapis.com/auth/dataportability.nest.camera_feature": { + "description": "Copy Nest camera feature data" + }, + "https://www.googleapis.com/auth/dataportability.nest.camera_video": { + "description": "Copy Nest camera footage" + }, + "https://www.googleapis.com/auth/dataportability.nest.store": { + "description": "Copy your Nest Store and Nest Renew billing and payment information" + }, + "https://www.googleapis.com/auth/dataportability.nest.user": { + "description": "Copy your Nest user information" + }, "https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations": { "description": "Move a copy of your food purchase and reservation activity" }, @@ -349,6 +364,11 @@ "https://www.googleapis.com/auth/dataportability.myactivity.shopping", "https://www.googleapis.com/auth/dataportability.myactivity.youtube", "https://www.googleapis.com/auth/dataportability.mymaps.maps", + "https://www.googleapis.com/auth/dataportability.nest.camera_event", + "https://www.googleapis.com/auth/dataportability.nest.camera_feature", + "https://www.googleapis.com/auth/dataportability.nest.camera_video", + "https://www.googleapis.com/auth/dataportability.nest.store", + "https://www.googleapis.com/auth/dataportability.nest.user", "https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations", "https://www.googleapis.com/auth/dataportability.play.devices", "https://www.googleapis.com/auth/dataportability.play.grouping", @@ -447,6 +467,11 @@ "https://www.googleapis.com/auth/dataportability.myactivity.shopping", "https://www.googleapis.com/auth/dataportability.myactivity.youtube", "https://www.googleapis.com/auth/dataportability.mymaps.maps", + "https://www.googleapis.com/auth/dataportability.nest.camera_event", + "https://www.googleapis.com/auth/dataportability.nest.camera_feature", + "https://www.googleapis.com/auth/dataportability.nest.camera_video", + "https://www.googleapis.com/auth/dataportability.nest.store", + "https://www.googleapis.com/auth/dataportability.nest.user", "https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations", "https://www.googleapis.com/auth/dataportability.play.devices", "https://www.googleapis.com/auth/dataportability.play.grouping", @@ -538,6 +563,11 @@ "https://www.googleapis.com/auth/dataportability.myactivity.shopping", "https://www.googleapis.com/auth/dataportability.myactivity.youtube", "https://www.googleapis.com/auth/dataportability.mymaps.maps", + "https://www.googleapis.com/auth/dataportability.nest.camera_event", + "https://www.googleapis.com/auth/dataportability.nest.camera_feature", + "https://www.googleapis.com/auth/dataportability.nest.camera_video", + "https://www.googleapis.com/auth/dataportability.nest.store", + "https://www.googleapis.com/auth/dataportability.nest.user", "https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations", "https://www.googleapis.com/auth/dataportability.play.devices", "https://www.googleapis.com/auth/dataportability.play.grouping", @@ -632,6 +662,11 @@ "https://www.googleapis.com/auth/dataportability.myactivity.shopping", "https://www.googleapis.com/auth/dataportability.myactivity.youtube", "https://www.googleapis.com/auth/dataportability.mymaps.maps", + "https://www.googleapis.com/auth/dataportability.nest.camera_event", + "https://www.googleapis.com/auth/dataportability.nest.camera_feature", + "https://www.googleapis.com/auth/dataportability.nest.camera_video", + "https://www.googleapis.com/auth/dataportability.nest.store", + "https://www.googleapis.com/auth/dataportability.nest.user", "https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations", "https://www.googleapis.com/auth/dataportability.play.devices", "https://www.googleapis.com/auth/dataportability.play.grouping", @@ -720,6 +755,11 @@ "https://www.googleapis.com/auth/dataportability.myactivity.shopping", "https://www.googleapis.com/auth/dataportability.myactivity.youtube", "https://www.googleapis.com/auth/dataportability.mymaps.maps", + "https://www.googleapis.com/auth/dataportability.nest.camera_event", + "https://www.googleapis.com/auth/dataportability.nest.camera_feature", + "https://www.googleapis.com/auth/dataportability.nest.camera_video", + "https://www.googleapis.com/auth/dataportability.nest.store", + "https://www.googleapis.com/auth/dataportability.nest.user", "https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations", "https://www.googleapis.com/auth/dataportability.play.devices", "https://www.googleapis.com/auth/dataportability.play.grouping", @@ -808,6 +848,11 @@ "https://www.googleapis.com/auth/dataportability.myactivity.shopping", "https://www.googleapis.com/auth/dataportability.myactivity.youtube", "https://www.googleapis.com/auth/dataportability.mymaps.maps", + "https://www.googleapis.com/auth/dataportability.nest.camera_event", + "https://www.googleapis.com/auth/dataportability.nest.camera_feature", + "https://www.googleapis.com/auth/dataportability.nest.camera_video", + "https://www.googleapis.com/auth/dataportability.nest.store", + "https://www.googleapis.com/auth/dataportability.nest.user", "https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations", "https://www.googleapis.com/auth/dataportability.play.devices", "https://www.googleapis.com/auth/dataportability.play.grouping", @@ -851,7 +896,7 @@ } } }, - "revision": "20251123", + "revision": "20260105", "rootUrl": "https://dataportability.googleapis.com/", "schemas": { "CancelPortabilityArchiveRequest": { diff --git a/discovery/dataportability-v1beta.json b/discovery/dataportability-v1beta.json index aaf3193a458..1777477fd6f 100644 --- a/discovery/dataportability-v1beta.json +++ b/discovery/dataportability-v1beta.json @@ -89,6 +89,21 @@ "https://www.googleapis.com/auth/dataportability.mymaps.maps": { "description": "Move a copy of the maps you created in My Maps" }, + "https://www.googleapis.com/auth/dataportability.nest.camera_event": { + "description": "Copy Nest camera event data" + }, + "https://www.googleapis.com/auth/dataportability.nest.camera_feature": { + "description": "Copy Nest camera feature data" + }, + "https://www.googleapis.com/auth/dataportability.nest.camera_video": { + "description": "Copy Nest camera footage" + }, + "https://www.googleapis.com/auth/dataportability.nest.store": { + "description": "Copy your Nest Store and Nest Renew billing and payment information" + }, + "https://www.googleapis.com/auth/dataportability.nest.user": { + "description": "Copy your Nest user information" + }, "https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations": { "description": "Move a copy of your food purchase and reservation activity" }, @@ -349,6 +364,11 @@ "https://www.googleapis.com/auth/dataportability.myactivity.shopping", "https://www.googleapis.com/auth/dataportability.myactivity.youtube", "https://www.googleapis.com/auth/dataportability.mymaps.maps", + "https://www.googleapis.com/auth/dataportability.nest.camera_event", + "https://www.googleapis.com/auth/dataportability.nest.camera_feature", + "https://www.googleapis.com/auth/dataportability.nest.camera_video", + "https://www.googleapis.com/auth/dataportability.nest.store", + "https://www.googleapis.com/auth/dataportability.nest.user", "https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations", "https://www.googleapis.com/auth/dataportability.play.devices", "https://www.googleapis.com/auth/dataportability.play.grouping", @@ -447,6 +467,11 @@ "https://www.googleapis.com/auth/dataportability.myactivity.shopping", "https://www.googleapis.com/auth/dataportability.myactivity.youtube", "https://www.googleapis.com/auth/dataportability.mymaps.maps", + "https://www.googleapis.com/auth/dataportability.nest.camera_event", + "https://www.googleapis.com/auth/dataportability.nest.camera_feature", + "https://www.googleapis.com/auth/dataportability.nest.camera_video", + "https://www.googleapis.com/auth/dataportability.nest.store", + "https://www.googleapis.com/auth/dataportability.nest.user", "https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations", "https://www.googleapis.com/auth/dataportability.play.devices", "https://www.googleapis.com/auth/dataportability.play.grouping", @@ -538,6 +563,11 @@ "https://www.googleapis.com/auth/dataportability.myactivity.shopping", "https://www.googleapis.com/auth/dataportability.myactivity.youtube", "https://www.googleapis.com/auth/dataportability.mymaps.maps", + "https://www.googleapis.com/auth/dataportability.nest.camera_event", + "https://www.googleapis.com/auth/dataportability.nest.camera_feature", + "https://www.googleapis.com/auth/dataportability.nest.camera_video", + "https://www.googleapis.com/auth/dataportability.nest.store", + "https://www.googleapis.com/auth/dataportability.nest.user", "https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations", "https://www.googleapis.com/auth/dataportability.play.devices", "https://www.googleapis.com/auth/dataportability.play.grouping", @@ -632,6 +662,11 @@ "https://www.googleapis.com/auth/dataportability.myactivity.shopping", "https://www.googleapis.com/auth/dataportability.myactivity.youtube", "https://www.googleapis.com/auth/dataportability.mymaps.maps", + "https://www.googleapis.com/auth/dataportability.nest.camera_event", + "https://www.googleapis.com/auth/dataportability.nest.camera_feature", + "https://www.googleapis.com/auth/dataportability.nest.camera_video", + "https://www.googleapis.com/auth/dataportability.nest.store", + "https://www.googleapis.com/auth/dataportability.nest.user", "https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations", "https://www.googleapis.com/auth/dataportability.play.devices", "https://www.googleapis.com/auth/dataportability.play.grouping", @@ -720,6 +755,11 @@ "https://www.googleapis.com/auth/dataportability.myactivity.shopping", "https://www.googleapis.com/auth/dataportability.myactivity.youtube", "https://www.googleapis.com/auth/dataportability.mymaps.maps", + "https://www.googleapis.com/auth/dataportability.nest.camera_event", + "https://www.googleapis.com/auth/dataportability.nest.camera_feature", + "https://www.googleapis.com/auth/dataportability.nest.camera_video", + "https://www.googleapis.com/auth/dataportability.nest.store", + "https://www.googleapis.com/auth/dataportability.nest.user", "https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations", "https://www.googleapis.com/auth/dataportability.play.devices", "https://www.googleapis.com/auth/dataportability.play.grouping", @@ -808,6 +848,11 @@ "https://www.googleapis.com/auth/dataportability.myactivity.shopping", "https://www.googleapis.com/auth/dataportability.myactivity.youtube", "https://www.googleapis.com/auth/dataportability.mymaps.maps", + "https://www.googleapis.com/auth/dataportability.nest.camera_event", + "https://www.googleapis.com/auth/dataportability.nest.camera_feature", + "https://www.googleapis.com/auth/dataportability.nest.camera_video", + "https://www.googleapis.com/auth/dataportability.nest.store", + "https://www.googleapis.com/auth/dataportability.nest.user", "https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations", "https://www.googleapis.com/auth/dataportability.play.devices", "https://www.googleapis.com/auth/dataportability.play.grouping", @@ -851,7 +896,7 @@ } } }, - "revision": "20251123", + "revision": "20260105", "rootUrl": "https://dataportability.googleapis.com/", "schemas": { "CancelPortabilityArchiveRequest": { diff --git a/src/apis/dataportability/v1.ts b/src/apis/dataportability/v1.ts index e0ad05cc94e..0adaf389f6f 100644 --- a/src/apis/dataportability/v1.ts +++ b/src/apis/dataportability/v1.ts @@ -290,6 +290,11 @@ export namespace dataportability_v1 { * 'https://www.googleapis.com/auth/dataportability.myactivity.shopping', * 'https://www.googleapis.com/auth/dataportability.myactivity.youtube', * 'https://www.googleapis.com/auth/dataportability.mymaps.maps', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_event', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_feature', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_video', + * 'https://www.googleapis.com/auth/dataportability.nest.store', + * 'https://www.googleapis.com/auth/dataportability.nest.user', * 'https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations', * 'https://www.googleapis.com/auth/dataportability.play.devices', * 'https://www.googleapis.com/auth/dataportability.play.grouping', @@ -515,6 +520,11 @@ export namespace dataportability_v1 { * 'https://www.googleapis.com/auth/dataportability.myactivity.shopping', * 'https://www.googleapis.com/auth/dataportability.myactivity.youtube', * 'https://www.googleapis.com/auth/dataportability.mymaps.maps', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_event', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_feature', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_video', + * 'https://www.googleapis.com/auth/dataportability.nest.store', + * 'https://www.googleapis.com/auth/dataportability.nest.user', * 'https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations', * 'https://www.googleapis.com/auth/dataportability.play.devices', * 'https://www.googleapis.com/auth/dataportability.play.grouping', @@ -732,6 +742,11 @@ export namespace dataportability_v1 { * 'https://www.googleapis.com/auth/dataportability.myactivity.shopping', * 'https://www.googleapis.com/auth/dataportability.myactivity.youtube', * 'https://www.googleapis.com/auth/dataportability.mymaps.maps', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_event', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_feature', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_video', + * 'https://www.googleapis.com/auth/dataportability.nest.store', + * 'https://www.googleapis.com/auth/dataportability.nest.user', * 'https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations', * 'https://www.googleapis.com/auth/dataportability.play.devices', * 'https://www.googleapis.com/auth/dataportability.play.grouping', @@ -943,6 +958,11 @@ export namespace dataportability_v1 { * 'https://www.googleapis.com/auth/dataportability.myactivity.shopping', * 'https://www.googleapis.com/auth/dataportability.myactivity.youtube', * 'https://www.googleapis.com/auth/dataportability.mymaps.maps', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_event', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_feature', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_video', + * 'https://www.googleapis.com/auth/dataportability.nest.store', + * 'https://www.googleapis.com/auth/dataportability.nest.user', * 'https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations', * 'https://www.googleapis.com/auth/dataportability.play.devices', * 'https://www.googleapis.com/auth/dataportability.play.grouping', @@ -1194,6 +1214,11 @@ export namespace dataportability_v1 { * 'https://www.googleapis.com/auth/dataportability.myactivity.shopping', * 'https://www.googleapis.com/auth/dataportability.myactivity.youtube', * 'https://www.googleapis.com/auth/dataportability.mymaps.maps', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_event', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_feature', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_video', + * 'https://www.googleapis.com/auth/dataportability.nest.store', + * 'https://www.googleapis.com/auth/dataportability.nest.user', * 'https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations', * 'https://www.googleapis.com/auth/dataportability.play.devices', * 'https://www.googleapis.com/auth/dataportability.play.grouping', @@ -1415,6 +1440,11 @@ export namespace dataportability_v1 { * 'https://www.googleapis.com/auth/dataportability.myactivity.shopping', * 'https://www.googleapis.com/auth/dataportability.myactivity.youtube', * 'https://www.googleapis.com/auth/dataportability.mymaps.maps', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_event', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_feature', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_video', + * 'https://www.googleapis.com/auth/dataportability.nest.store', + * 'https://www.googleapis.com/auth/dataportability.nest.user', * 'https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations', * 'https://www.googleapis.com/auth/dataportability.play.devices', * 'https://www.googleapis.com/auth/dataportability.play.grouping', diff --git a/src/apis/dataportability/v1beta.ts b/src/apis/dataportability/v1beta.ts index e7dfd1acb8b..1ed3ba9d250 100644 --- a/src/apis/dataportability/v1beta.ts +++ b/src/apis/dataportability/v1beta.ts @@ -290,6 +290,11 @@ export namespace dataportability_v1beta { * 'https://www.googleapis.com/auth/dataportability.myactivity.shopping', * 'https://www.googleapis.com/auth/dataportability.myactivity.youtube', * 'https://www.googleapis.com/auth/dataportability.mymaps.maps', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_event', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_feature', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_video', + * 'https://www.googleapis.com/auth/dataportability.nest.store', + * 'https://www.googleapis.com/auth/dataportability.nest.user', * 'https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations', * 'https://www.googleapis.com/auth/dataportability.play.devices', * 'https://www.googleapis.com/auth/dataportability.play.grouping', @@ -515,6 +520,11 @@ export namespace dataportability_v1beta { * 'https://www.googleapis.com/auth/dataportability.myactivity.shopping', * 'https://www.googleapis.com/auth/dataportability.myactivity.youtube', * 'https://www.googleapis.com/auth/dataportability.mymaps.maps', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_event', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_feature', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_video', + * 'https://www.googleapis.com/auth/dataportability.nest.store', + * 'https://www.googleapis.com/auth/dataportability.nest.user', * 'https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations', * 'https://www.googleapis.com/auth/dataportability.play.devices', * 'https://www.googleapis.com/auth/dataportability.play.grouping', @@ -735,6 +745,11 @@ export namespace dataportability_v1beta { * 'https://www.googleapis.com/auth/dataportability.myactivity.shopping', * 'https://www.googleapis.com/auth/dataportability.myactivity.youtube', * 'https://www.googleapis.com/auth/dataportability.mymaps.maps', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_event', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_feature', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_video', + * 'https://www.googleapis.com/auth/dataportability.nest.store', + * 'https://www.googleapis.com/auth/dataportability.nest.user', * 'https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations', * 'https://www.googleapis.com/auth/dataportability.play.devices', * 'https://www.googleapis.com/auth/dataportability.play.grouping', @@ -946,6 +961,11 @@ export namespace dataportability_v1beta { * 'https://www.googleapis.com/auth/dataportability.myactivity.shopping', * 'https://www.googleapis.com/auth/dataportability.myactivity.youtube', * 'https://www.googleapis.com/auth/dataportability.mymaps.maps', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_event', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_feature', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_video', + * 'https://www.googleapis.com/auth/dataportability.nest.store', + * 'https://www.googleapis.com/auth/dataportability.nest.user', * 'https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations', * 'https://www.googleapis.com/auth/dataportability.play.devices', * 'https://www.googleapis.com/auth/dataportability.play.grouping', @@ -1200,6 +1220,11 @@ export namespace dataportability_v1beta { * 'https://www.googleapis.com/auth/dataportability.myactivity.shopping', * 'https://www.googleapis.com/auth/dataportability.myactivity.youtube', * 'https://www.googleapis.com/auth/dataportability.mymaps.maps', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_event', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_feature', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_video', + * 'https://www.googleapis.com/auth/dataportability.nest.store', + * 'https://www.googleapis.com/auth/dataportability.nest.user', * 'https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations', * 'https://www.googleapis.com/auth/dataportability.play.devices', * 'https://www.googleapis.com/auth/dataportability.play.grouping', @@ -1421,6 +1446,11 @@ export namespace dataportability_v1beta { * 'https://www.googleapis.com/auth/dataportability.myactivity.shopping', * 'https://www.googleapis.com/auth/dataportability.myactivity.youtube', * 'https://www.googleapis.com/auth/dataportability.mymaps.maps', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_event', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_feature', + * 'https://www.googleapis.com/auth/dataportability.nest.camera_video', + * 'https://www.googleapis.com/auth/dataportability.nest.store', + * 'https://www.googleapis.com/auth/dataportability.nest.user', * 'https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations', * 'https://www.googleapis.com/auth/dataportability.play.devices', * 'https://www.googleapis.com/auth/dataportability.play.grouping', From 15c6f7e248be8e4a75a6671d12feb8e4bfd26ce8 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 9 Jan 2026 01:38:13 +0000 Subject: [PATCH 16/26] feat(discoveryengine): update the API #### discoveryengine:v1alpha The following keys were added: - schemas.GoogleCloudDiscoveryengineV1Assistant.properties.defaultWebGroundingToggleOff.description - schemas.GoogleCloudDiscoveryengineV1Assistant.properties.defaultWebGroundingToggleOff.type - schemas.GoogleCloudDiscoveryengineV1alphaAssistant.properties.defaultWebGroundingToggleOff.description - schemas.GoogleCloudDiscoveryengineV1alphaAssistant.properties.defaultWebGroundingToggleOff.type - schemas.GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2.properties.pkceVerificationEnabled.description - schemas.GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2.properties.pkceVerificationEnabled.type #### discoveryengine:v1beta The following keys were added: - schemas.GoogleCloudDiscoveryengineV1Assistant.properties.defaultWebGroundingToggleOff.description - schemas.GoogleCloudDiscoveryengineV1Assistant.properties.defaultWebGroundingToggleOff.type - schemas.GoogleCloudDiscoveryengineV1betaAssistant.properties.defaultWebGroundingToggleOff.description - schemas.GoogleCloudDiscoveryengineV1betaAssistant.properties.defaultWebGroundingToggleOff.type #### discoveryengine:v1 The following keys were added: - schemas.GoogleCloudDiscoveryengineV1Assistant.properties.defaultWebGroundingToggleOff.description - schemas.GoogleCloudDiscoveryengineV1Assistant.properties.defaultWebGroundingToggleOff.type --- discovery/discoveryengine-v1.json | 6 +++++- discovery/discoveryengine-v1alpha.json | 14 +++++++++++++- discovery/discoveryengine-v1beta.json | 10 +++++++++- src/apis/discoveryengine/v1.ts | 9 +++++++++ src/apis/discoveryengine/v1alpha.ts | 17 +++++++++++++++++ src/apis/discoveryengine/v1beta.ts | 13 +++++++++++++ 6 files changed, 66 insertions(+), 3 deletions(-) diff --git a/discovery/discoveryengine-v1.json b/discovery/discoveryengine-v1.json index 4d01879267c..b6f27cdd98f 100644 --- a/discovery/discoveryengine-v1.json +++ b/discovery/discoveryengine-v1.json @@ -8801,7 +8801,7 @@ } } }, - "revision": "20251221", + "revision": "20260107", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiDistribution": { @@ -11026,6 +11026,10 @@ "$ref": "GoogleCloudDiscoveryengineV1AssistantCustomerPolicy", "description": "Optional. Customer policy for the assistant." }, + "defaultWebGroundingToggleOff": { + "description": "Optional. This field controls the default web grounding toggle for end users if `web_grounding_type` is set to `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`. By default, this field is set to false. If `web_grounding_type` is `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web grounding enabled by default on UI. If true, grounding toggle will be disabled by default on UI. End users can still enable web grounding in the UI if web grounding is enabled.", + "type": "boolean" + }, "description": { "description": "Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant.", "type": "string" diff --git a/discovery/discoveryengine-v1alpha.json b/discovery/discoveryengine-v1alpha.json index dfa56bc3f8b..2a3dec3520d 100644 --- a/discovery/discoveryengine-v1alpha.json +++ b/discovery/discoveryengine-v1alpha.json @@ -12111,7 +12111,7 @@ } } }, - "revision": "20251221", + "revision": "20260107", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiDistribution": { @@ -12694,6 +12694,10 @@ "$ref": "GoogleCloudDiscoveryengineV1AssistantCustomerPolicy", "description": "Optional. Customer policy for the assistant." }, + "defaultWebGroundingToggleOff": { + "description": "Optional. This field controls the default web grounding toggle for end users if `web_grounding_type` is set to `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`. By default, this field is set to false. If `web_grounding_type` is `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web grounding enabled by default on UI. If true, grounding toggle will be disabled by default on UI. End users can still enable web grounding in the UI if web grounding is enabled.", + "type": "boolean" + }, "description": { "description": "Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant.", "type": "string" @@ -18865,6 +18869,10 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy", "description": "Optional. Customer policy for the assistant." }, + "defaultWebGroundingToggleOff": { + "description": "Optional. This field controls the default web grounding toggle for end users if `web_grounding_type` is set to `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`. By default, this field is set to false. If `web_grounding_type` is `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web grounding enabled by default on UI. If true, grounding toggle will be disabled by default on UI. End users can still enable web grounding in the UI if web grounding is enabled.", + "type": "boolean" + }, "description": { "description": "Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant.", "type": "string" @@ -19330,6 +19338,10 @@ "description": "Required. The OAuth2 client secret. Encrypted at rest.", "type": "string" }, + "pkceVerificationEnabled": { + "description": "Optional. Whether to enable PKCE verification. https://datatracker.ietf.org/doc/html/rfc7636#section-3.1/", + "type": "boolean" + }, "scopes": { "description": "Required. The scopes to request. Example: `https://www.googleapis.com/auth/calendar.events`", "items": { diff --git a/discovery/discoveryengine-v1beta.json b/discovery/discoveryengine-v1beta.json index b9a74c7fb1d..6b6d76125ec 100644 --- a/discovery/discoveryengine-v1beta.json +++ b/discovery/discoveryengine-v1beta.json @@ -9106,7 +9106,7 @@ } } }, - "revision": "20251217", + "revision": "20260107", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiDistribution": { @@ -9689,6 +9689,10 @@ "$ref": "GoogleCloudDiscoveryengineV1AssistantCustomerPolicy", "description": "Optional. Customer policy for the assistant." }, + "defaultWebGroundingToggleOff": { + "description": "Optional. This field controls the default web grounding toggle for end users if `web_grounding_type` is set to `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`. By default, this field is set to false. If `web_grounding_type` is `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web grounding enabled by default on UI. If true, grounding toggle will be disabled by default on UI. End users can still enable web grounding in the UI if web grounding is enabled.", + "type": "boolean" + }, "description": { "description": "Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant.", "type": "string" @@ -22184,6 +22188,10 @@ "$ref": "GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy", "description": "Optional. Customer policy for the assistant." }, + "defaultWebGroundingToggleOff": { + "description": "Optional. This field controls the default web grounding toggle for end users if `web_grounding_type` is set to `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`. By default, this field is set to false. If `web_grounding_type` is `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web grounding enabled by default on UI. If true, grounding toggle will be disabled by default on UI. End users can still enable web grounding in the UI if web grounding is enabled.", + "type": "boolean" + }, "description": { "description": "Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant.", "type": "string" diff --git a/src/apis/discoveryengine/v1.ts b/src/apis/discoveryengine/v1.ts index 25b1a8a8428..5e0d2618d4a 100644 --- a/src/apis/discoveryengine/v1.ts +++ b/src/apis/discoveryengine/v1.ts @@ -6201,6 +6201,10 @@ export namespace discoveryengine_v1 { * Optional. Customer policy for the assistant. */ customerPolicy?: Schema$GoogleCloudDiscoveryengineV1AssistantCustomerPolicy; + /** + * Optional. This field controls the default web grounding toggle for end users if `web_grounding_type` is set to `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`. By default, this field is set to false. If `web_grounding_type` is `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web grounding enabled by default on UI. If true, grounding toggle will be disabled by default on UI. End users can still enable web grounding in the UI if web grounding is enabled. + */ + defaultWebGroundingToggleOff?: boolean | null; /** * Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant. */ @@ -35037,6 +35041,7 @@ export namespace discoveryengine_v1 { * // request body parameters * // { * // "customerPolicy": {}, + * // "defaultWebGroundingToggleOff": false, * // "description": "my_description", * // "displayName": "my_displayName", * // "enabledTools": {}, @@ -35052,6 +35057,7 @@ export namespace discoveryengine_v1 { * // Example response * // { * // "customerPolicy": {}, + * // "defaultWebGroundingToggleOff": false, * // "description": "my_description", * // "displayName": "my_displayName", * // "enabledTools": {}, @@ -35355,6 +35361,7 @@ export namespace discoveryengine_v1 { * // Example response * // { * // "customerPolicy": {}, + * // "defaultWebGroundingToggleOff": false, * // "description": "my_description", * // "displayName": "my_displayName", * // "enabledTools": {}, @@ -35677,6 +35684,7 @@ export namespace discoveryengine_v1 { * // request body parameters * // { * // "customerPolicy": {}, + * // "defaultWebGroundingToggleOff": false, * // "description": "my_description", * // "displayName": "my_displayName", * // "enabledTools": {}, @@ -35692,6 +35700,7 @@ export namespace discoveryengine_v1 { * // Example response * // { * // "customerPolicy": {}, + * // "defaultWebGroundingToggleOff": false, * // "description": "my_description", * // "displayName": "my_displayName", * // "enabledTools": {}, diff --git a/src/apis/discoveryengine/v1alpha.ts b/src/apis/discoveryengine/v1alpha.ts index 59df4e4a0ff..97f59a26590 100644 --- a/src/apis/discoveryengine/v1alpha.ts +++ b/src/apis/discoveryengine/v1alpha.ts @@ -2157,6 +2157,10 @@ export namespace discoveryengine_v1alpha { * Optional. Customer policy for the assistant. */ customerPolicy?: Schema$GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy; + /** + * Optional. This field controls the default web grounding toggle for end users if `web_grounding_type` is set to `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`. By default, this field is set to false. If `web_grounding_type` is `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web grounding enabled by default on UI. If true, grounding toggle will be disabled by default on UI. End users can still enable web grounding in the UI if web grounding is enabled. + */ + defaultWebGroundingToggleOff?: boolean | null; /** * Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant. */ @@ -2524,6 +2528,10 @@ export namespace discoveryengine_v1alpha { * Required. The OAuth2 client secret. Encrypted at rest. */ clientSecret?: string | null; + /** + * Optional. Whether to enable PKCE verification. https://datatracker.ietf.org/doc/html/rfc7636#section-3.1/ + */ + pkceVerificationEnabled?: boolean | null; /** * Required. The scopes to request. Example: `https://www.googleapis.com/auth/calendar.events` */ @@ -10937,6 +10945,10 @@ export namespace discoveryengine_v1alpha { * Optional. Customer policy for the assistant. */ customerPolicy?: Schema$GoogleCloudDiscoveryengineV1AssistantCustomerPolicy; + /** + * Optional. This field controls the default web grounding toggle for end users if `web_grounding_type` is set to `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`. By default, this field is set to false. If `web_grounding_type` is `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web grounding enabled by default on UI. If true, grounding toggle will be disabled by default on UI. End users can still enable web grounding in the UI if web grounding is enabled. + */ + defaultWebGroundingToggleOff?: boolean | null; /** * Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant. */ @@ -43627,6 +43639,7 @@ export namespace discoveryengine_v1alpha { * // request body parameters * // { * // "customerPolicy": {}, + * // "defaultWebGroundingToggleOff": false, * // "description": "my_description", * // "disableLocationContext": false, * // "displayName": "my_displayName", @@ -43643,6 +43656,7 @@ export namespace discoveryengine_v1alpha { * // Example response * // { * // "customerPolicy": {}, + * // "defaultWebGroundingToggleOff": false, * // "description": "my_description", * // "disableLocationContext": false, * // "displayName": "my_displayName", @@ -43947,6 +43961,7 @@ export namespace discoveryengine_v1alpha { * // Example response * // { * // "customerPolicy": {}, + * // "defaultWebGroundingToggleOff": false, * // "description": "my_description", * // "disableLocationContext": false, * // "displayName": "my_displayName", @@ -44443,6 +44458,7 @@ export namespace discoveryengine_v1alpha { * // request body parameters * // { * // "customerPolicy": {}, + * // "defaultWebGroundingToggleOff": false, * // "description": "my_description", * // "disableLocationContext": false, * // "displayName": "my_displayName", @@ -44459,6 +44475,7 @@ export namespace discoveryengine_v1alpha { * // Example response * // { * // "customerPolicy": {}, + * // "defaultWebGroundingToggleOff": false, * // "description": "my_description", * // "disableLocationContext": false, * // "displayName": "my_displayName", diff --git a/src/apis/discoveryengine/v1beta.ts b/src/apis/discoveryengine/v1beta.ts index ebf4f38f820..db058da55c2 100644 --- a/src/apis/discoveryengine/v1beta.ts +++ b/src/apis/discoveryengine/v1beta.ts @@ -5090,6 +5090,10 @@ export namespace discoveryengine_v1beta { * Optional. Customer policy for the assistant. */ customerPolicy?: Schema$GoogleCloudDiscoveryengineV1AssistantCustomerPolicy; + /** + * Optional. This field controls the default web grounding toggle for end users if `web_grounding_type` is set to `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`. By default, this field is set to false. If `web_grounding_type` is `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web grounding enabled by default on UI. If true, grounding toggle will be disabled by default on UI. End users can still enable web grounding in the UI if web grounding is enabled. + */ + defaultWebGroundingToggleOff?: boolean | null; /** * Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant. */ @@ -6531,6 +6535,10 @@ export namespace discoveryengine_v1beta { * Optional. Customer policy for the assistant. */ customerPolicy?: Schema$GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy; + /** + * Optional. This field controls the default web grounding toggle for end users if `web_grounding_type` is set to `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`. By default, this field is set to false. If `web_grounding_type` is `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web grounding enabled by default on UI. If true, grounding toggle will be disabled by default on UI. End users can still enable web grounding in the UI if web grounding is enabled. + */ + defaultWebGroundingToggleOff?: boolean | null; /** * Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant. */ @@ -34658,6 +34666,7 @@ export namespace discoveryengine_v1beta { * // request body parameters * // { * // "customerPolicy": {}, + * // "defaultWebGroundingToggleOff": false, * // "description": "my_description", * // "displayName": "my_displayName", * // "enabledTools": {}, @@ -34673,6 +34682,7 @@ export namespace discoveryengine_v1beta { * // Example response * // { * // "customerPolicy": {}, + * // "defaultWebGroundingToggleOff": false, * // "description": "my_description", * // "displayName": "my_displayName", * // "enabledTools": {}, @@ -34976,6 +34986,7 @@ export namespace discoveryengine_v1beta { * // Example response * // { * // "customerPolicy": {}, + * // "defaultWebGroundingToggleOff": false, * // "description": "my_description", * // "displayName": "my_displayName", * // "enabledTools": {}, @@ -35298,6 +35309,7 @@ export namespace discoveryengine_v1beta { * // request body parameters * // { * // "customerPolicy": {}, + * // "defaultWebGroundingToggleOff": false, * // "description": "my_description", * // "displayName": "my_displayName", * // "enabledTools": {}, @@ -35313,6 +35325,7 @@ export namespace discoveryengine_v1beta { * // Example response * // { * // "customerPolicy": {}, + * // "defaultWebGroundingToggleOff": false, * // "description": "my_description", * // "displayName": "my_displayName", * // "enabledTools": {}, From 4527c1ce9890c805510241a31755c7526180fda6 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 9 Jan 2026 01:38:13 +0000 Subject: [PATCH 17/26] fix(displayvideo): update the API #### displayvideo:v4 The following keys were changed: - schemas.InventorySource.description - schemas.RateDetails.properties.inventorySourceRateType.enum - schemas.RateDetails.properties.inventorySourceRateType.enumDescriptions --- discovery/displayvideo-v4.json | 6 ++++-- src/apis/displayvideo/v4.ts | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/discovery/displayvideo-v4.json b/discovery/displayvideo-v4.json index 391b3941e7b..8f2d0a4c459 100644 --- a/discovery/displayvideo-v4.json +++ b/discovery/displayvideo-v4.json @@ -9925,7 +9925,7 @@ } } }, - "revision": "20251118", + "revision": "20260107", "rootUrl": "https://displayvideo.googleapis.com/", "schemas": { "ActiveViewVideoViewabilityMetricConfig": { @@ -19425,7 +19425,7 @@ "type": "object" }, "InventorySource": { - "description": "An inventory source.", + "description": "An inventory source. Next ID: 22", "id": "InventorySource", "properties": { "commitment": { @@ -22563,6 +22563,7 @@ "INVENTORY_SOURCE_RATE_TYPE_CPM_FIXED", "INVENTORY_SOURCE_RATE_TYPE_CPM_FLOOR", "INVENTORY_SOURCE_RATE_TYPE_CPD", + "INVENTORY_SOURCE_RATE_TYPE_CPH", "INVENTORY_SOURCE_RATE_TYPE_FLAT" ], "enumDescriptions": [ @@ -22570,6 +22571,7 @@ "The rate type is CPM (Fixed).", "The rate type is CPM (Floor).", "The rate type is Cost per Day.", + "The rate type is Cost per Hour.", "The rate type is Flat." ], "type": "string" diff --git a/src/apis/displayvideo/v4.ts b/src/apis/displayvideo/v4.ts index b8762c704a2..4545261369d 100644 --- a/src/apis/displayvideo/v4.ts +++ b/src/apis/displayvideo/v4.ts @@ -4268,7 +4268,7 @@ export namespace displayvideo_v4 { integrationCode?: string | null; } /** - * An inventory source. + * An inventory source. Next ID: 22 */ export interface Schema$InventorySource { /** From d979dfb5a5f4fe15b28980014adf38643110263b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 9 Jan 2026 01:38:13 +0000 Subject: [PATCH 18/26] feat(docs): update the API #### docs:v1 The following keys were added: - schemas.AddDocumentTabRequest.description - schemas.AddDocumentTabRequest.id - schemas.AddDocumentTabRequest.properties.tabProperties.$ref - schemas.AddDocumentTabRequest.properties.tabProperties.description - schemas.AddDocumentTabRequest.type - schemas.AddDocumentTabResponse.description - schemas.AddDocumentTabResponse.id - schemas.AddDocumentTabResponse.properties.tabProperties.$ref - schemas.AddDocumentTabResponse.properties.tabProperties.description - schemas.AddDocumentTabResponse.type - schemas.DeleteTabRequest.description - schemas.DeleteTabRequest.id - schemas.DeleteTabRequest.properties.tabId.description - schemas.DeleteTabRequest.properties.tabId.type - schemas.DeleteTabRequest.type - schemas.Request.properties.addDocumentTab.$ref - schemas.Request.properties.addDocumentTab.description - schemas.Request.properties.deleteTab.$ref - schemas.Request.properties.deleteTab.description - schemas.Request.properties.updateDocumentTabProperties.$ref - schemas.Request.properties.updateDocumentTabProperties.description - schemas.Response.properties.addDocumentTab.$ref - schemas.Response.properties.addDocumentTab.description - schemas.UpdateDocumentTabPropertiesRequest.description - schemas.UpdateDocumentTabPropertiesRequest.id - schemas.UpdateDocumentTabPropertiesRequest.properties.fields.description - schemas.UpdateDocumentTabPropertiesRequest.properties.fields.format - schemas.UpdateDocumentTabPropertiesRequest.properties.fields.type - schemas.UpdateDocumentTabPropertiesRequest.properties.tabProperties.$ref - schemas.UpdateDocumentTabPropertiesRequest.properties.tabProperties.description - schemas.UpdateDocumentTabPropertiesRequest.type The following keys were changed: - schemas.TabProperties.properties.tabId.description --- discovery/docs-v1.json | 69 ++++++++++++++++++++++++++++++++++++++++-- src/apis/docs/v1.ts | 58 ++++++++++++++++++++++++++++++++++- 2 files changed, 124 insertions(+), 3 deletions(-) diff --git a/discovery/docs-v1.json b/discovery/docs-v1.json index fa3eee3d7b0..0732999abe5 100644 --- a/discovery/docs-v1.json +++ b/discovery/docs-v1.json @@ -221,9 +221,31 @@ } } }, - "revision": "20251215", + "revision": "20251222", "rootUrl": "https://docs.googleapis.com/", "schemas": { + "AddDocumentTabRequest": { + "description": "Adds a document tab. When a tab is added at a given index, all subsequent tabs' indexes are incremented.", + "id": "AddDocumentTabRequest", + "properties": { + "tabProperties": { + "$ref": "TabProperties", + "description": "The properties of the tab to add. All properties are optional." + } + }, + "type": "object" + }, + "AddDocumentTabResponse": { + "description": "The result of adding a document tab.", + "id": "AddDocumentTabResponse", + "properties": { + "tabProperties": { + "$ref": "TabProperties", + "description": "The properties of the newly added tab." + } + }, + "type": "object" + }, "AutoText": { "description": "A ParagraphElement representing a spot in the text that's dynamically replaced with content that can change over time, like a page number.", "id": "AutoText", @@ -894,6 +916,17 @@ }, "type": "object" }, + "DeleteTabRequest": { + "description": "Deletes a tab. If the tab has child tabs, they are deleted as well.", + "id": "DeleteTabRequest", + "properties": { + "tabId": { + "description": "The ID of the tab to delete.", + "type": "string" + } + }, + "type": "object" + }, "DeleteTableColumnRequest": { "description": "Deletes a column from a table.", "id": "DeleteTableColumnRequest", @@ -3217,6 +3250,10 @@ "description": "A single update to apply to a document.", "id": "Request", "properties": { + "addDocumentTab": { + "$ref": "AddDocumentTabRequest", + "description": "Adds a document tab." + }, "createFooter": { "$ref": "CreateFooterRequest", "description": "Creates a footer." @@ -3261,6 +3298,10 @@ "$ref": "DeletePositionedObjectRequest", "description": "Deletes a positioned object from the document." }, + "deleteTab": { + "$ref": "DeleteTabRequest", + "description": "Deletes a document tab." + }, "deleteTableColumn": { "$ref": "DeleteTableColumnRequest", "description": "Deletes a column from a table." @@ -3333,6 +3374,10 @@ "$ref": "UpdateDocumentStyleRequest", "description": "Updates the style of the document." }, + "updateDocumentTabProperties": { + "$ref": "UpdateDocumentTabPropertiesRequest", + "description": "Updates the properties of a document tab." + }, "updateParagraphStyle": { "$ref": "UpdateParagraphStyleRequest", "description": "Updates the paragraph style at the specified range." @@ -3364,6 +3409,10 @@ "description": "A single response from an update.", "id": "Response", "properties": { + "addDocumentTab": { + "$ref": "AddDocumentTabResponse", + "description": "The result of adding a document tab." + }, "createFooter": { "$ref": "CreateFooterResponse", "description": "The result of creating a footer." @@ -3980,7 +4029,7 @@ "type": "string" }, "tabId": { - "description": "Output only. The ID of the tab. This field can't be changed.", + "description": "The immutable ID of the tab.", "type": "string" }, "title": { @@ -4648,6 +4697,22 @@ }, "type": "object" }, + "UpdateDocumentTabPropertiesRequest": { + "description": "Update the properties of a document tab.", + "id": "UpdateDocumentTabPropertiesRequest", + "properties": { + "fields": { + "description": "The fields that should be updated. At least one field must be specified. The root `tab_properties` is implied and should not be specified. A single `\"*\"` can be used as short-hand for listing every field.", + "format": "google-fieldmask", + "type": "string" + }, + "tabProperties": { + "$ref": "TabProperties", + "description": "The tab properties to update." + } + }, + "type": "object" + }, "UpdateParagraphStyleRequest": { "description": "Update the styling of all paragraphs that overlap with the given range.", "id": "UpdateParagraphStyleRequest", diff --git a/src/apis/docs/v1.ts b/src/apis/docs/v1.ts index 5fac05792d5..abfa4c77e0b 100644 --- a/src/apis/docs/v1.ts +++ b/src/apis/docs/v1.ts @@ -124,6 +124,24 @@ export namespace docs_v1 { } } + /** + * Adds a document tab. When a tab is added at a given index, all subsequent tabs' indexes are incremented. + */ + export interface Schema$AddDocumentTabRequest { + /** + * The properties of the tab to add. All properties are optional. + */ + tabProperties?: Schema$TabProperties; + } + /** + * The result of adding a document tab. + */ + export interface Schema$AddDocumentTabResponse { + /** + * The properties of the newly added tab. + */ + tabProperties?: Schema$TabProperties; + } /** * A ParagraphElement representing a spot in the text that's dynamically replaced with content that can change over time, like a page number. */ @@ -621,6 +639,15 @@ export namespace docs_v1 { */ tableCellLocation?: Schema$TableCellLocation; } + /** + * Deletes a tab. If the tab has child tabs, they are deleted as well. + */ + export interface Schema$DeleteTabRequest { + /** + * The ID of the tab to delete. + */ + tabId?: string | null; + } /** * A magnitude in a single direction in the specified units. */ @@ -2373,6 +2400,10 @@ export namespace docs_v1 { * A single update to apply to a document. */ export interface Schema$Request { + /** + * Adds a document tab. + */ + addDocumentTab?: Schema$AddDocumentTabRequest; /** * Creates a footer. */ @@ -2417,6 +2448,10 @@ export namespace docs_v1 { * Deletes a positioned object from the document. */ deletePositionedObject?: Schema$DeletePositionedObjectRequest; + /** + * Deletes a document tab. + */ + deleteTab?: Schema$DeleteTabRequest; /** * Deletes a column from a table. */ @@ -2489,6 +2524,10 @@ export namespace docs_v1 { * Updates the style of the document. */ updateDocumentStyle?: Schema$UpdateDocumentStyleRequest; + /** + * Updates the properties of a document tab. + */ + updateDocumentTabProperties?: Schema$UpdateDocumentTabPropertiesRequest; /** * Updates the paragraph style at the specified range. */ @@ -2518,6 +2557,10 @@ export namespace docs_v1 { * A single response from an update. */ export interface Schema$Response { + /** + * The result of adding a document tab. + */ + addDocumentTab?: Schema$AddDocumentTabResponse; /** * The result of creating a footer. */ @@ -3341,7 +3384,7 @@ export namespace docs_v1 { */ parentTabId?: string | null; /** - * Output only. The ID of the tab. This field can't be changed. + * The immutable ID of the tab. */ tabId?: string | null; /** @@ -3522,6 +3565,19 @@ export namespace docs_v1 { */ tabId?: string | null; } + /** + * Update the properties of a document tab. + */ + export interface Schema$UpdateDocumentTabPropertiesRequest { + /** + * The fields that should be updated. At least one field must be specified. The root `tab_properties` is implied and should not be specified. A single `"*"` can be used as short-hand for listing every field. + */ + fields?: string | null; + /** + * The tab properties to update. + */ + tabProperties?: Schema$TabProperties; + } /** * Update the styling of all paragraphs that overlap with the given range. */ From d8858f4b4f3fa267a2048cb27a4bd94c95b5098f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 9 Jan 2026 01:38:13 +0000 Subject: [PATCH 19/26] feat(documentai): update the API #### documentai:v1 The following keys were added: - schemas.GoogleCloudDocumentaiV1DocumentEntitiesRevision.properties.provenance.$ref - schemas.GoogleCloudDocumentaiV1DocumentEntitiesRevision.properties.provenance.description --- discovery/documentai-v1.json | 6 +++++- src/apis/documentai/v1.ts | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/discovery/documentai-v1.json b/discovery/documentai-v1.json index df2a9540754..0dde0e280f7 100644 --- a/discovery/documentai-v1.json +++ b/discovery/documentai-v1.json @@ -1394,7 +1394,7 @@ } } }, - "revision": "20251209", + "revision": "20260104", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "CloudAiDocumentaiLabHifiaToolsValidationValidatorInput": { @@ -4074,6 +4074,10 @@ "$ref": "GoogleCloudDocumentaiV1DocumentEntityValidationOutput", "description": "The entity validation output for this revision." }, + "provenance": { + "$ref": "GoogleCloudDocumentaiV1DocumentProvenance", + "description": "Optional. The history of this revision." + }, "revisionId": { "description": "The revision id.", "type": "string" diff --git a/src/apis/documentai/v1.ts b/src/apis/documentai/v1.ts index 753341e393f..edd7a01f5a3 100644 --- a/src/apis/documentai/v1.ts +++ b/src/apis/documentai/v1.ts @@ -2923,6 +2923,10 @@ export namespace documentai_v1 { * The entity validation output for this revision. */ entityValidationOutput?: Schema$GoogleCloudDocumentaiV1DocumentEntityValidationOutput; + /** + * Optional. The history of this revision. + */ + provenance?: Schema$GoogleCloudDocumentaiV1DocumentProvenance; /** * The revision id. */ From 08cf364b4e66c787ca8b38d54db96679ccbf911f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 9 Jan 2026 01:38:13 +0000 Subject: [PATCH 20/26] fix(merchantapi): update the API #### merchantapi:reports_v1 The following keys were changed: - schemas.ProductView.properties.clickPotentialRank.description #### merchantapi:reports_v1beta The following keys were changed: - schemas.ProductView.properties.clickPotentialRank.description --- discovery/merchantapi-reports_v1.json | 4 ++-- discovery/merchantapi-reports_v1beta.json | 4 ++-- src/apis/merchantapi/reports_v1.ts | 2 +- src/apis/merchantapi/reports_v1beta.ts | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/discovery/merchantapi-reports_v1.json b/discovery/merchantapi-reports_v1.json index 6853a831126..0d18402a539 100644 --- a/discovery/merchantapi-reports_v1.json +++ b/discovery/merchantapi-reports_v1.json @@ -142,7 +142,7 @@ } } }, - "revision": "20250808", + "revision": "20260106", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "BestSellersBrandView": { @@ -1367,7 +1367,7 @@ "type": "string" }, "clickPotentialRank": { - "description": "Rank of the product based on its click potential. A product with `click_potential_rank` 1 has the highest click potential among the merchant's products that fulfill the search query conditions.", + "description": "Normalized click potential of the product. Values range from 1 to 1000, where 1 is the highest click potential and 1000 is the theoretical lowest.", "format": "int64", "type": "string" }, diff --git a/discovery/merchantapi-reports_v1beta.json b/discovery/merchantapi-reports_v1beta.json index 030b71a26eb..292ba403186 100644 --- a/discovery/merchantapi-reports_v1beta.json +++ b/discovery/merchantapi-reports_v1beta.json @@ -142,7 +142,7 @@ } } }, - "revision": "20250808", + "revision": "20260106", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "BestSellersBrandView": { @@ -1367,7 +1367,7 @@ "type": "string" }, "clickPotentialRank": { - "description": "Rank of the product based on its click potential. A product with `click_potential_rank` 1 has the highest click potential among the merchant's products that fulfill the search query conditions.", + "description": "Normalized click potential of the product. Values range from 1 to 1000, where 1 is the highest click potential and 1000 is the theoretical lowest.", "format": "int64", "type": "string" }, diff --git a/src/apis/merchantapi/reports_v1.ts b/src/apis/merchantapi/reports_v1.ts index 8135365681b..aa0bf5f4d0e 100644 --- a/src/apis/merchantapi/reports_v1.ts +++ b/src/apis/merchantapi/reports_v1.ts @@ -870,7 +870,7 @@ export namespace merchantapi_reports_v1 { */ clickPotential?: string | null; /** - * Rank of the product based on its click potential. A product with `click_potential_rank` 1 has the highest click potential among the merchant's products that fulfill the search query conditions. + * Normalized click potential of the product. Values range from 1 to 1000, where 1 is the highest click potential and 1000 is the theoretical lowest. */ clickPotentialRank?: string | null; /** diff --git a/src/apis/merchantapi/reports_v1beta.ts b/src/apis/merchantapi/reports_v1beta.ts index 891e1ac8c4d..a9daedb970f 100644 --- a/src/apis/merchantapi/reports_v1beta.ts +++ b/src/apis/merchantapi/reports_v1beta.ts @@ -870,7 +870,7 @@ export namespace merchantapi_reports_v1beta { */ clickPotential?: string | null; /** - * Rank of the product based on its click potential. A product with `click_potential_rank` 1 has the highest click potential among the merchant's products that fulfill the search query conditions. + * Normalized click potential of the product. Values range from 1 to 1000, where 1 is the highest click potential and 1000 is the theoretical lowest. */ clickPotentialRank?: string | null; /** From 9db521ecb0a784bf0cb2650e4a5dc70bda8fa8e3 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 9 Jan 2026 01:38:13 +0000 Subject: [PATCH 21/26] feat(ml): update the API #### ml:v1 The following keys were added: - resources.projects.resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.projects.resources.operations.methods.list.parameters.returnPartialSuccess.location - resources.projects.resources.operations.methods.list.parameters.returnPartialSuccess.type - schemas.GoogleLongrunning__ListOperationsResponse.properties.unreachable.description - schemas.GoogleLongrunning__ListOperationsResponse.properties.unreachable.items.type - schemas.GoogleLongrunning__ListOperationsResponse.properties.unreachable.type --- discovery/ml-v1.json | 14 +++++++++++++- src/apis/ml/v1.ts | 13 ++++++++++++- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/discovery/ml-v1.json b/discovery/ml-v1.json index f4504e3f207..e53f81938eb 100644 --- a/discovery/ml-v1.json +++ b/discovery/ml-v1.json @@ -1471,6 +1471,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -1486,7 +1491,7 @@ } } }, - "revision": "20250823", + "revision": "20251213", "rootUrl": "https://ml.googleapis.com/", "schemas": { "GoogleApi__HttpBody": { @@ -3811,6 +3816,13 @@ "$ref": "GoogleLongrunning__Operation" }, "type": "array" + }, + "unreachable": { + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" diff --git a/src/apis/ml/v1.ts b/src/apis/ml/v1.ts index ddeedd35525..df88c7d4d7e 100644 --- a/src/apis/ml/v1.ts +++ b/src/apis/ml/v1.ts @@ -1635,6 +1635,10 @@ export namespace ml_v1 { * A list of operations that matches the specified filter in the request. */ operations?: Schema$GoogleLongrunning__Operation[]; + /** + * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations. + */ + unreachable?: string[] | null; } /** * This resource represents a long-running operation that is the result of a network API call. @@ -9112,13 +9116,16 @@ export namespace ml_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -9257,5 +9264,9 @@ export namespace ml_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } } From 048f9fbe524320835ff3d2be29bbd1d045badd1c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 9 Jan 2026 01:38:13 +0000 Subject: [PATCH 22/26] fix(places): update the API #### places:v1 The following keys were changed: - schemas.GoogleMapsPlacesV1ContextualContent.properties.photos.description - schemas.GoogleMapsPlacesV1ContextualContent.properties.reviews.description --- discovery/places-v1.json | 6 +++--- src/apis/places/v1.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/discovery/places-v1.json b/discovery/places-v1.json index 026a74514fb..afe142d2026 100644 --- a/discovery/places-v1.json +++ b/discovery/places-v1.json @@ -280,7 +280,7 @@ } } }, - "revision": "20251021", + "revision": "20260104", "rootUrl": "https://places.googleapis.com/", "schemas": { "GoogleGeoTypeViewport": { @@ -698,14 +698,14 @@ "type": "array" }, "photos": { - "description": "Information (including references) about photos of this place, contexual to the place query.", + "description": "Information (including references) about photos of this place, contextual to the place query.", "items": { "$ref": "GoogleMapsPlacesV1Photo" }, "type": "array" }, "reviews": { - "description": "List of reviews about this place, contexual to the place query.", + "description": "List of reviews about this place, contextual to the place query.", "items": { "$ref": "GoogleMapsPlacesV1Review" }, diff --git a/src/apis/places/v1.ts b/src/apis/places/v1.ts index 160003bffa5..a7d6b434a9a 100644 --- a/src/apis/places/v1.ts +++ b/src/apis/places/v1.ts @@ -438,11 +438,11 @@ export namespace places_v1 { */ justifications?: Schema$GoogleMapsPlacesV1ContextualContentJustification[]; /** - * Information (including references) about photos of this place, contexual to the place query. + * Information (including references) about photos of this place, contextual to the place query. */ photos?: Schema$GoogleMapsPlacesV1Photo[]; /** - * List of reviews about this place, contexual to the place query. + * List of reviews about this place, contextual to the place query. */ reviews?: Schema$GoogleMapsPlacesV1Review[]; } From a942487952c6b8188a60c4e2103f6afe52b7be2d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 9 Jan 2026 01:38:14 +0000 Subject: [PATCH 23/26] feat(securitycenter): update the API #### securitycenter:v1beta1 The following keys were added: - schemas.ArtifactGuardPolicies.description - schemas.ArtifactGuardPolicies.id - schemas.ArtifactGuardPolicies.properties.failingPolicies.description - schemas.ArtifactGuardPolicies.properties.failingPolicies.items.$ref - schemas.ArtifactGuardPolicies.properties.failingPolicies.type - schemas.ArtifactGuardPolicies.properties.resourceId.description - schemas.ArtifactGuardPolicies.properties.resourceId.type - schemas.ArtifactGuardPolicies.type - schemas.ArtifactGuardPolicy.description - schemas.ArtifactGuardPolicy.id - schemas.ArtifactGuardPolicy.properties.failureReason.description - schemas.ArtifactGuardPolicy.properties.failureReason.type - schemas.ArtifactGuardPolicy.properties.policyId.description - schemas.ArtifactGuardPolicy.properties.policyId.type - schemas.ArtifactGuardPolicy.properties.type.description - schemas.ArtifactGuardPolicy.properties.type.enum - schemas.ArtifactGuardPolicy.properties.type.enumDescriptions - schemas.ArtifactGuardPolicy.properties.type.type - schemas.ArtifactGuardPolicy.type - schemas.File.properties.fileLoadState.description - schemas.File.properties.fileLoadState.enum - schemas.File.properties.fileLoadState.enumDescriptions - schemas.File.properties.fileLoadState.type - schemas.Finding.properties.artifactGuardPolicies.$ref - schemas.Finding.properties.artifactGuardPolicies.description - schemas.Finding.properties.secret.$ref - schemas.Finding.properties.secret.description - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicies.description - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicies.id - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicies.properties.failingPolicies.description - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicies.properties.failingPolicies.items.$ref - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicies.properties.failingPolicies.type - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicies.properties.resourceId.description - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicies.properties.resourceId.type - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicies.type - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.description - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.id - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.properties.failureReason.description - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.properties.failureReason.type - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.properties.policyId.description - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.properties.policyId.type - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.properties.type.description - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.properties.type.enum - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.properties.type.enumDescriptions - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.properties.type.type - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.type - schemas.GoogleCloudSecuritycenterV2File.properties.fileLoadState.description - schemas.GoogleCloudSecuritycenterV2File.properties.fileLoadState.enum - schemas.GoogleCloudSecuritycenterV2File.properties.fileLoadState.enumDescriptions - schemas.GoogleCloudSecuritycenterV2File.properties.fileLoadState.type - schemas.GoogleCloudSecuritycenterV2Finding.properties.artifactGuardPolicies.$ref - schemas.GoogleCloudSecuritycenterV2Finding.properties.artifactGuardPolicies.description - schemas.GoogleCloudSecuritycenterV2Finding.properties.secret.$ref - schemas.GoogleCloudSecuritycenterV2Finding.properties.secret.description - schemas.GoogleCloudSecuritycenterV2Secret.description - schemas.GoogleCloudSecuritycenterV2Secret.id - schemas.GoogleCloudSecuritycenterV2Secret.properties.environmentVariable.$ref - schemas.GoogleCloudSecuritycenterV2Secret.properties.environmentVariable.description - schemas.GoogleCloudSecuritycenterV2Secret.properties.filePath.$ref - schemas.GoogleCloudSecuritycenterV2Secret.properties.filePath.description - schemas.GoogleCloudSecuritycenterV2Secret.properties.status.$ref - schemas.GoogleCloudSecuritycenterV2Secret.properties.status.description - schemas.GoogleCloudSecuritycenterV2Secret.properties.type.description - schemas.GoogleCloudSecuritycenterV2Secret.properties.type.type - schemas.GoogleCloudSecuritycenterV2Secret.type - schemas.GoogleCloudSecuritycenterV2SecretEnvironmentVariable.description - schemas.GoogleCloudSecuritycenterV2SecretEnvironmentVariable.id - schemas.GoogleCloudSecuritycenterV2SecretEnvironmentVariable.properties.key.description - schemas.GoogleCloudSecuritycenterV2SecretEnvironmentVariable.properties.key.type - schemas.GoogleCloudSecuritycenterV2SecretEnvironmentVariable.type - schemas.GoogleCloudSecuritycenterV2SecretFilePath.description - schemas.GoogleCloudSecuritycenterV2SecretFilePath.id - schemas.GoogleCloudSecuritycenterV2SecretFilePath.properties.path.description - schemas.GoogleCloudSecuritycenterV2SecretFilePath.properties.path.type - schemas.GoogleCloudSecuritycenterV2SecretFilePath.type - schemas.GoogleCloudSecuritycenterV2SecretStatus.description - schemas.GoogleCloudSecuritycenterV2SecretStatus.id - schemas.GoogleCloudSecuritycenterV2SecretStatus.properties.lastUpdatedTime.description - schemas.GoogleCloudSecuritycenterV2SecretStatus.properties.lastUpdatedTime.format - schemas.GoogleCloudSecuritycenterV2SecretStatus.properties.lastUpdatedTime.type - schemas.GoogleCloudSecuritycenterV2SecretStatus.properties.validity.description - schemas.GoogleCloudSecuritycenterV2SecretStatus.properties.validity.enum - schemas.GoogleCloudSecuritycenterV2SecretStatus.properties.validity.enumDescriptions - schemas.GoogleCloudSecuritycenterV2SecretStatus.properties.validity.type - schemas.GoogleCloudSecuritycenterV2SecretStatus.type - schemas.Secret.description - schemas.Secret.id - schemas.Secret.properties.environmentVariable.$ref - schemas.Secret.properties.environmentVariable.description - schemas.Secret.properties.filePath.$ref - schemas.Secret.properties.filePath.description - schemas.Secret.properties.status.$ref - schemas.Secret.properties.status.description - schemas.Secret.properties.type.description - schemas.Secret.properties.type.type - schemas.Secret.type - schemas.SecretEnvironmentVariable.description - schemas.SecretEnvironmentVariable.id - schemas.SecretEnvironmentVariable.properties.key.description - schemas.SecretEnvironmentVariable.properties.key.type - schemas.SecretEnvironmentVariable.type - schemas.SecretFilePath.description - schemas.SecretFilePath.id - schemas.SecretFilePath.properties.path.description - schemas.SecretFilePath.properties.path.type - schemas.SecretFilePath.type - schemas.SecretStatus.description - schemas.SecretStatus.id - schemas.SecretStatus.properties.lastUpdatedTime.description - schemas.SecretStatus.properties.lastUpdatedTime.format - schemas.SecretStatus.properties.lastUpdatedTime.type - schemas.SecretStatus.properties.validity.description - schemas.SecretStatus.properties.validity.enum - schemas.SecretStatus.properties.validity.enumDescriptions - schemas.SecretStatus.properties.validity.type - schemas.SecretStatus.type #### securitycenter:v1beta2 The following keys were added: - schemas.ArtifactGuardPolicies.description - schemas.ArtifactGuardPolicies.id - schemas.ArtifactGuardPolicies.properties.failingPolicies.description - schemas.ArtifactGuardPolicies.properties.failingPolicies.items.$ref - schemas.ArtifactGuardPolicies.properties.failingPolicies.type - schemas.ArtifactGuardPolicies.properties.resourceId.description - schemas.ArtifactGuardPolicies.properties.resourceId.type - schemas.ArtifactGuardPolicies.type - schemas.ArtifactGuardPolicy.description - schemas.ArtifactGuardPolicy.id - schemas.ArtifactGuardPolicy.properties.failureReason.description - schemas.ArtifactGuardPolicy.properties.failureReason.type - schemas.ArtifactGuardPolicy.properties.policyId.description - schemas.ArtifactGuardPolicy.properties.policyId.type - schemas.ArtifactGuardPolicy.properties.type.description - schemas.ArtifactGuardPolicy.properties.type.enum - schemas.ArtifactGuardPolicy.properties.type.enumDescriptions - schemas.ArtifactGuardPolicy.properties.type.type - schemas.ArtifactGuardPolicy.type - schemas.File.properties.fileLoadState.description - schemas.File.properties.fileLoadState.enum - schemas.File.properties.fileLoadState.enumDescriptions - schemas.File.properties.fileLoadState.type - schemas.Finding.properties.artifactGuardPolicies.$ref - schemas.Finding.properties.artifactGuardPolicies.description - schemas.Finding.properties.secret.$ref - schemas.Finding.properties.secret.description - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicies.description - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicies.id - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicies.properties.failingPolicies.description - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicies.properties.failingPolicies.items.$ref - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicies.properties.failingPolicies.type - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicies.properties.resourceId.description - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicies.properties.resourceId.type - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicies.type - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.description - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.id - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.properties.failureReason.description - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.properties.failureReason.type - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.properties.policyId.description - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.properties.policyId.type - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.properties.type.description - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.properties.type.enum - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.properties.type.enumDescriptions - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.properties.type.type - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.type - schemas.GoogleCloudSecuritycenterV2File.properties.fileLoadState.description - schemas.GoogleCloudSecuritycenterV2File.properties.fileLoadState.enum - schemas.GoogleCloudSecuritycenterV2File.properties.fileLoadState.enumDescriptions - schemas.GoogleCloudSecuritycenterV2File.properties.fileLoadState.type - schemas.GoogleCloudSecuritycenterV2Finding.properties.artifactGuardPolicies.$ref - schemas.GoogleCloudSecuritycenterV2Finding.properties.artifactGuardPolicies.description - schemas.GoogleCloudSecuritycenterV2Finding.properties.secret.$ref - schemas.GoogleCloudSecuritycenterV2Finding.properties.secret.description - schemas.GoogleCloudSecuritycenterV2Secret.description - schemas.GoogleCloudSecuritycenterV2Secret.id - schemas.GoogleCloudSecuritycenterV2Secret.properties.environmentVariable.$ref - schemas.GoogleCloudSecuritycenterV2Secret.properties.environmentVariable.description - schemas.GoogleCloudSecuritycenterV2Secret.properties.filePath.$ref - schemas.GoogleCloudSecuritycenterV2Secret.properties.filePath.description - schemas.GoogleCloudSecuritycenterV2Secret.properties.status.$ref - schemas.GoogleCloudSecuritycenterV2Secret.properties.status.description - schemas.GoogleCloudSecuritycenterV2Secret.properties.type.description - schemas.GoogleCloudSecuritycenterV2Secret.properties.type.type - schemas.GoogleCloudSecuritycenterV2Secret.type - schemas.GoogleCloudSecuritycenterV2SecretEnvironmentVariable.description - schemas.GoogleCloudSecuritycenterV2SecretEnvironmentVariable.id - schemas.GoogleCloudSecuritycenterV2SecretEnvironmentVariable.properties.key.description - schemas.GoogleCloudSecuritycenterV2SecretEnvironmentVariable.properties.key.type - schemas.GoogleCloudSecuritycenterV2SecretEnvironmentVariable.type - schemas.GoogleCloudSecuritycenterV2SecretFilePath.description - schemas.GoogleCloudSecuritycenterV2SecretFilePath.id - schemas.GoogleCloudSecuritycenterV2SecretFilePath.properties.path.description - schemas.GoogleCloudSecuritycenterV2SecretFilePath.properties.path.type - schemas.GoogleCloudSecuritycenterV2SecretFilePath.type - schemas.GoogleCloudSecuritycenterV2SecretStatus.description - schemas.GoogleCloudSecuritycenterV2SecretStatus.id - schemas.GoogleCloudSecuritycenterV2SecretStatus.properties.lastUpdatedTime.description - schemas.GoogleCloudSecuritycenterV2SecretStatus.properties.lastUpdatedTime.format - schemas.GoogleCloudSecuritycenterV2SecretStatus.properties.lastUpdatedTime.type - schemas.GoogleCloudSecuritycenterV2SecretStatus.properties.validity.description - schemas.GoogleCloudSecuritycenterV2SecretStatus.properties.validity.enum - schemas.GoogleCloudSecuritycenterV2SecretStatus.properties.validity.enumDescriptions - schemas.GoogleCloudSecuritycenterV2SecretStatus.properties.validity.type - schemas.GoogleCloudSecuritycenterV2SecretStatus.type - schemas.Secret.description - schemas.Secret.id - schemas.Secret.properties.environmentVariable.$ref - schemas.Secret.properties.environmentVariable.description - schemas.Secret.properties.filePath.$ref - schemas.Secret.properties.filePath.description - schemas.Secret.properties.status.$ref - schemas.Secret.properties.status.description - schemas.Secret.properties.type.description - schemas.Secret.properties.type.type - schemas.Secret.type - schemas.SecretEnvironmentVariable.description - schemas.SecretEnvironmentVariable.id - schemas.SecretEnvironmentVariable.properties.key.description - schemas.SecretEnvironmentVariable.properties.key.type - schemas.SecretEnvironmentVariable.type - schemas.SecretFilePath.description - schemas.SecretFilePath.id - schemas.SecretFilePath.properties.path.description - schemas.SecretFilePath.properties.path.type - schemas.SecretFilePath.type - schemas.SecretStatus.description - schemas.SecretStatus.id - schemas.SecretStatus.properties.lastUpdatedTime.description - schemas.SecretStatus.properties.lastUpdatedTime.format - schemas.SecretStatus.properties.lastUpdatedTime.type - schemas.SecretStatus.properties.validity.description - schemas.SecretStatus.properties.validity.enum - schemas.SecretStatus.properties.validity.enumDescriptions - schemas.SecretStatus.properties.validity.type - schemas.SecretStatus.type #### securitycenter:v1 The following keys were added: - schemas.ArtifactGuardPolicies.description - schemas.ArtifactGuardPolicies.id - schemas.ArtifactGuardPolicies.properties.failingPolicies.description - schemas.ArtifactGuardPolicies.properties.failingPolicies.items.$ref - schemas.ArtifactGuardPolicies.properties.failingPolicies.type - schemas.ArtifactGuardPolicies.properties.resourceId.description - schemas.ArtifactGuardPolicies.properties.resourceId.type - schemas.ArtifactGuardPolicies.type - schemas.ArtifactGuardPolicy.description - schemas.ArtifactGuardPolicy.id - schemas.ArtifactGuardPolicy.properties.failureReason.description - schemas.ArtifactGuardPolicy.properties.failureReason.type - schemas.ArtifactGuardPolicy.properties.policyId.description - schemas.ArtifactGuardPolicy.properties.policyId.type - schemas.ArtifactGuardPolicy.properties.type.description - schemas.ArtifactGuardPolicy.properties.type.enum - schemas.ArtifactGuardPolicy.properties.type.enumDescriptions - schemas.ArtifactGuardPolicy.properties.type.type - schemas.ArtifactGuardPolicy.type - schemas.File.properties.fileLoadState.description - schemas.File.properties.fileLoadState.enum - schemas.File.properties.fileLoadState.enumDescriptions - schemas.File.properties.fileLoadState.type - schemas.Finding.properties.artifactGuardPolicies.$ref - schemas.Finding.properties.artifactGuardPolicies.description - schemas.Finding.properties.secret.$ref - schemas.Finding.properties.secret.description - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicies.description - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicies.id - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicies.properties.failingPolicies.description - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicies.properties.failingPolicies.items.$ref - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicies.properties.failingPolicies.type - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicies.properties.resourceId.description - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicies.properties.resourceId.type - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicies.type - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.description - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.id - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.properties.failureReason.description - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.properties.failureReason.type - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.properties.policyId.description - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.properties.policyId.type - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.properties.type.description - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.properties.type.enum - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.properties.type.enumDescriptions - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.properties.type.type - schemas.GoogleCloudSecuritycenterV2ArtifactGuardPolicy.type - schemas.GoogleCloudSecuritycenterV2File.properties.fileLoadState.description - schemas.GoogleCloudSecuritycenterV2File.properties.fileLoadState.enum - schemas.GoogleCloudSecuritycenterV2File.properties.fileLoadState.enumDescriptions - schemas.GoogleCloudSecuritycenterV2File.properties.fileLoadState.type - schemas.GoogleCloudSecuritycenterV2Finding.properties.artifactGuardPolicies.$ref - schemas.GoogleCloudSecuritycenterV2Finding.properties.artifactGuardPolicies.description - schemas.GoogleCloudSecuritycenterV2Finding.properties.secret.$ref - schemas.GoogleCloudSecuritycenterV2Finding.properties.secret.description - schemas.GoogleCloudSecuritycenterV2Secret.description - schemas.GoogleCloudSecuritycenterV2Secret.id - schemas.GoogleCloudSecuritycenterV2Secret.properties.environmentVariable.$ref - schemas.GoogleCloudSecuritycenterV2Secret.properties.environmentVariable.description - schemas.GoogleCloudSecuritycenterV2Secret.properties.filePath.$ref - schemas.GoogleCloudSecuritycenterV2Secret.properties.filePath.description - schemas.GoogleCloudSecuritycenterV2Secret.properties.status.$ref - schemas.GoogleCloudSecuritycenterV2Secret.properties.status.description - schemas.GoogleCloudSecuritycenterV2Secret.properties.type.description - schemas.GoogleCloudSecuritycenterV2Secret.properties.type.type - schemas.GoogleCloudSecuritycenterV2Secret.type - schemas.GoogleCloudSecuritycenterV2SecretEnvironmentVariable.description - schemas.GoogleCloudSecuritycenterV2SecretEnvironmentVariable.id - schemas.GoogleCloudSecuritycenterV2SecretEnvironmentVariable.properties.key.description - schemas.GoogleCloudSecuritycenterV2SecretEnvironmentVariable.properties.key.type - schemas.GoogleCloudSecuritycenterV2SecretEnvironmentVariable.type - schemas.GoogleCloudSecuritycenterV2SecretFilePath.description - schemas.GoogleCloudSecuritycenterV2SecretFilePath.id - schemas.GoogleCloudSecuritycenterV2SecretFilePath.properties.path.description - schemas.GoogleCloudSecuritycenterV2SecretFilePath.properties.path.type - schemas.GoogleCloudSecuritycenterV2SecretFilePath.type - schemas.GoogleCloudSecuritycenterV2SecretStatus.description - schemas.GoogleCloudSecuritycenterV2SecretStatus.id - schemas.GoogleCloudSecuritycenterV2SecretStatus.properties.lastUpdatedTime.description - schemas.GoogleCloudSecuritycenterV2SecretStatus.properties.lastUpdatedTime.format - schemas.GoogleCloudSecuritycenterV2SecretStatus.properties.lastUpdatedTime.type - schemas.GoogleCloudSecuritycenterV2SecretStatus.properties.validity.description - schemas.GoogleCloudSecuritycenterV2SecretStatus.properties.validity.enum - schemas.GoogleCloudSecuritycenterV2SecretStatus.properties.validity.enumDescriptions - schemas.GoogleCloudSecuritycenterV2SecretStatus.properties.validity.type - schemas.GoogleCloudSecuritycenterV2SecretStatus.type - schemas.Secret.description - schemas.Secret.id - schemas.Secret.properties.environmentVariable.$ref - schemas.Secret.properties.environmentVariable.description - schemas.Secret.properties.filePath.$ref - schemas.Secret.properties.filePath.description - schemas.Secret.properties.status.$ref - schemas.Secret.properties.status.description - schemas.Secret.properties.type.description - schemas.Secret.properties.type.type - schemas.Secret.type - schemas.SecretEnvironmentVariable.description - schemas.SecretEnvironmentVariable.id - schemas.SecretEnvironmentVariable.properties.key.description - schemas.SecretEnvironmentVariable.properties.key.type - schemas.SecretEnvironmentVariable.type - schemas.SecretFilePath.description - schemas.SecretFilePath.id - schemas.SecretFilePath.properties.path.description - schemas.SecretFilePath.properties.path.type - schemas.SecretFilePath.type - schemas.SecretStatus.description - schemas.SecretStatus.id - schemas.SecretStatus.properties.lastUpdatedTime.description - schemas.SecretStatus.properties.lastUpdatedTime.format - schemas.SecretStatus.properties.lastUpdatedTime.type - schemas.SecretStatus.properties.validity.description - schemas.SecretStatus.properties.validity.enum - schemas.SecretStatus.properties.validity.enumDescriptions - schemas.SecretStatus.properties.validity.type - schemas.SecretStatus.type --- discovery/securitycenter-v1.json | 286 +++++++++++++++++++++++++- discovery/securitycenter-v1beta1.json | 286 +++++++++++++++++++++++++- discovery/securitycenter-v1beta2.json | 286 +++++++++++++++++++++++++- src/apis/securitycenter/v1.ts | 216 +++++++++++++++++++ src/apis/securitycenter/v1beta1.ts | 188 +++++++++++++++++ src/apis/securitycenter/v1beta2.ts | 188 +++++++++++++++++ 6 files changed, 1447 insertions(+), 3 deletions(-) diff --git a/discovery/securitycenter-v1.json b/discovery/securitycenter-v1.json index 7590ad818b3..b66b46dbe52 100644 --- a/discovery/securitycenter-v1.json +++ b/discovery/securitycenter-v1.json @@ -5944,7 +5944,7 @@ } } }, - "revision": "20251202", + "revision": "20260105", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -6142,6 +6142,51 @@ }, "type": "object" }, + "ArtifactGuardPolicies": { + "description": "Represents the result of evaluating artifact guard policies.", + "id": "ArtifactGuardPolicies", + "properties": { + "failingPolicies": { + "description": "A list of failing policies.", + "items": { + "$ref": "ArtifactGuardPolicy" + }, + "type": "array" + }, + "resourceId": { + "description": "The ID of the resource that has policies configured for it.", + "type": "string" + } + }, + "type": "object" + }, + "ArtifactGuardPolicy": { + "description": "Represents an artifact guard policy.", + "id": "ArtifactGuardPolicy", + "properties": { + "failureReason": { + "description": "The reason for the policy failure, for example, \"severity=HIGH AND max_vuln_count=2\".", + "type": "string" + }, + "policyId": { + "description": "The ID of the failing policy, for example, \"organizations/3392779/locations/global/policies/prod-policy\".", + "type": "string" + }, + "type": { + "description": "The type of the policy evaluation.", + "enum": [ + "ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", + "VULNERABILITY" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Vulnerability type." + ], + "type": "string" + } + }, + "type": "object" + }, "Asset": { "description": "Security Command Center representation of a Google Cloud resource. The Asset is a Security Command Center resource that captures information about a single Google Cloud resource. All modifications to an Asset are only within the context of Security Command Center and don't affect the referenced Google Cloud resource.", "id": "Asset", @@ -7888,6 +7933,20 @@ "$ref": "DiskPath", "description": "Path of the file in terms of underlying disk/partition identifiers." }, + "fileLoadState": { + "description": "The load state of the file.", + "enum": [ + "FILE_LOAD_STATE_UNSPECIFIED", + "LOADED_BY_PROCESS", + "NOT_LOADED_BY_PROCESS" + ], + "enumDescriptions": [ + "The file state is unspecified.", + "The file is being used by an active process at the time of scanning.", + "The file is not being used by any active process at the time of scanning." + ], + "type": "string" + }, "hashedSize": { "description": "The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.", "format": "int64", @@ -7967,6 +8026,10 @@ "$ref": "Application", "description": "Represents an application associated with the finding." }, + "artifactGuardPolicies": { + "$ref": "ArtifactGuardPolicies", + "description": "ArtifactGuardPolicies associated with the finding." + }, "attackExposure": { "$ref": "AttackExposure", "description": "The results of an attack path simulation relevant to this finding." @@ -8259,6 +8322,10 @@ "description": "For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.", "type": "string" }, + "secret": { + "$ref": "Secret", + "description": "Secret associated with the finding." + }, "securityMarks": { "$ref": "SecurityMarks", "description": "Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.", @@ -9675,6 +9742,51 @@ }, "type": "object" }, + "GoogleCloudSecuritycenterV2ArtifactGuardPolicies": { + "description": "Represents the result of evaluating artifact guard policies.", + "id": "GoogleCloudSecuritycenterV2ArtifactGuardPolicies", + "properties": { + "failingPolicies": { + "description": "A list of failing policies.", + "items": { + "$ref": "GoogleCloudSecuritycenterV2ArtifactGuardPolicy" + }, + "type": "array" + }, + "resourceId": { + "description": "The ID of the resource that has policies configured for it.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2ArtifactGuardPolicy": { + "description": "Represents an artifact guard policy.", + "id": "GoogleCloudSecuritycenterV2ArtifactGuardPolicy", + "properties": { + "failureReason": { + "description": "The reason for the policy failure, for example, \"severity=HIGH AND max_vuln_count=2\".", + "type": "string" + }, + "policyId": { + "description": "The ID of the failing policy, for example, \"organizations/3392779/locations/global/policies/prod-policy\".", + "type": "string" + }, + "type": { + "description": "The type of the policy evaluation.", + "enum": [ + "ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", + "VULNERABILITY" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Vulnerability type." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudSecuritycenterV2Attack": { "description": "Information about DDoS attack volume and classification.", "id": "GoogleCloudSecuritycenterV2Attack", @@ -10974,6 +11086,20 @@ "$ref": "GoogleCloudSecuritycenterV2DiskPath", "description": "Path of the file in terms of underlying disk/partition identifiers." }, + "fileLoadState": { + "description": "The load state of the file.", + "enum": [ + "FILE_LOAD_STATE_UNSPECIFIED", + "LOADED_BY_PROCESS", + "NOT_LOADED_BY_PROCESS" + ], + "enumDescriptions": [ + "The file state is unspecified.", + "The file is being used by an active process at the time of scanning.", + "The file is not being used by any active process at the time of scanning." + ], + "type": "string" + }, "hashedSize": { "description": "The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.", "format": "int64", @@ -11053,6 +11179,10 @@ "$ref": "GoogleCloudSecuritycenterV2Application", "description": "Represents an application associated with the finding." }, + "artifactGuardPolicies": { + "$ref": "GoogleCloudSecuritycenterV2ArtifactGuardPolicies", + "description": "ArtifactGuardPolicies associated with the finding." + }, "attackExposure": { "$ref": "GoogleCloudSecuritycenterV2AttackExposure", "description": "The results of an attack path simulation relevant to this finding." @@ -11352,6 +11482,10 @@ "description": "Immutable. For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string.", "type": "string" }, + "secret": { + "$ref": "GoogleCloudSecuritycenterV2Secret", + "description": "Secret associated with the finding." + }, "securityMarks": { "$ref": "GoogleCloudSecuritycenterV2SecurityMarks", "description": "Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.", @@ -13844,6 +13978,81 @@ }, "type": "object" }, + "GoogleCloudSecuritycenterV2Secret": { + "description": "Details about a secret or credential associated with the finding.", + "id": "GoogleCloudSecuritycenterV2Secret", + "properties": { + "environmentVariable": { + "$ref": "GoogleCloudSecuritycenterV2SecretEnvironmentVariable", + "description": "The environment variable containing the secret." + }, + "filePath": { + "$ref": "GoogleCloudSecuritycenterV2SecretFilePath", + "description": "The file containing the secret." + }, + "status": { + "$ref": "GoogleCloudSecuritycenterV2SecretStatus", + "description": "The status of the secret." + }, + "type": { + "description": "The type of secret, for example, GCP_API_KEY.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2SecretEnvironmentVariable": { + "description": "Environment variable containing the secret.", + "id": "GoogleCloudSecuritycenterV2SecretEnvironmentVariable", + "properties": { + "key": { + "description": "Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2SecretFilePath": { + "description": "File path containing the secret.", + "id": "GoogleCloudSecuritycenterV2SecretFilePath", + "properties": { + "path": { + "description": "Path to the file.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2SecretStatus": { + "description": "The status of the secret.", + "id": "GoogleCloudSecuritycenterV2SecretStatus", + "properties": { + "lastUpdatedTime": { + "description": "Time that the secret was found.", + "format": "google-datetime", + "type": "string" + }, + "validity": { + "description": "The validity of the secret.", + "enum": [ + "SECRET_VALIDITY_UNSPECIFIED", + "SECRET_VALIDITY_UNSUPPORTED", + "SECRET_VALIDITY_FAILED", + "SECRET_VALIDITY_INVALID", + "SECRET_VALIDITY_VALID" + ], + "enumDescriptions": [ + "Default value; no validation was attempted.", + "There is no mechanism to validate the secret.", + "Validation is supported but the validation failed.", + "The secret is confirmed to be invalid.", + "The secret is confirmed to be valid." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudSecuritycenterV2SecurityBulletin": { "description": "SecurityBulletin are notifications of vulnerabilities of Google products.", "id": "GoogleCloudSecuritycenterV2SecurityBulletin", @@ -16487,6 +16696,81 @@ "properties": {}, "type": "object" }, + "Secret": { + "description": "Details about a secret or credential associated with the finding.", + "id": "Secret", + "properties": { + "environmentVariable": { + "$ref": "SecretEnvironmentVariable", + "description": "The environment variable containing the secret." + }, + "filePath": { + "$ref": "SecretFilePath", + "description": "The file containing the secret." + }, + "status": { + "$ref": "SecretStatus", + "description": "The status of the secret." + }, + "type": { + "description": "The type of secret, for example, GCP_API_KEY.", + "type": "string" + } + }, + "type": "object" + }, + "SecretEnvironmentVariable": { + "description": "Environment variable containing the secret.", + "id": "SecretEnvironmentVariable", + "properties": { + "key": { + "description": "Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content.", + "type": "string" + } + }, + "type": "object" + }, + "SecretFilePath": { + "description": "File path containing the secret.", + "id": "SecretFilePath", + "properties": { + "path": { + "description": "Path to the file.", + "type": "string" + } + }, + "type": "object" + }, + "SecretStatus": { + "description": "The status of the secret.", + "id": "SecretStatus", + "properties": { + "lastUpdatedTime": { + "description": "Time that the secret was found.", + "format": "google-datetime", + "type": "string" + }, + "validity": { + "description": "The validity of the secret.", + "enum": [ + "SECRET_VALIDITY_UNSPECIFIED", + "SECRET_VALIDITY_UNSUPPORTED", + "SECRET_VALIDITY_FAILED", + "SECRET_VALIDITY_INVALID", + "SECRET_VALIDITY_VALID" + ], + "enumDescriptions": [ + "Default value; no validation was attempted.", + "There is no mechanism to validate the secret.", + "Validation is supported but the validation failed.", + "The secret is confirmed to be invalid.", + "The secret is confirmed to be valid." + ], + "type": "string" + } + }, + "type": "object" + }, "SecurityBulletin": { "description": "SecurityBulletin are notifications of vulnerabilities of Google products.", "id": "SecurityBulletin", diff --git a/discovery/securitycenter-v1beta1.json b/discovery/securitycenter-v1beta1.json index 6e73f41471f..110e433342f 100644 --- a/discovery/securitycenter-v1beta1.json +++ b/discovery/securitycenter-v1beta1.json @@ -919,7 +919,7 @@ } } }, - "revision": "20251202", + "revision": "20260105", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -1117,6 +1117,51 @@ }, "type": "object" }, + "ArtifactGuardPolicies": { + "description": "Represents the result of evaluating artifact guard policies.", + "id": "ArtifactGuardPolicies", + "properties": { + "failingPolicies": { + "description": "A list of failing policies.", + "items": { + "$ref": "ArtifactGuardPolicy" + }, + "type": "array" + }, + "resourceId": { + "description": "The ID of the resource that has policies configured for it.", + "type": "string" + } + }, + "type": "object" + }, + "ArtifactGuardPolicy": { + "description": "Represents an artifact guard policy.", + "id": "ArtifactGuardPolicy", + "properties": { + "failureReason": { + "description": "The reason for the policy failure, for example, \"severity=HIGH AND max_vuln_count=2\".", + "type": "string" + }, + "policyId": { + "description": "The ID of the failing policy, for example, \"organizations/3392779/locations/global/policies/prod-policy\".", + "type": "string" + }, + "type": { + "description": "The type of the policy evaluation.", + "enum": [ + "ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", + "VULNERABILITY" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Vulnerability type." + ], + "type": "string" + } + }, + "type": "object" + }, "Asset": { "description": "Security Command Center representation of a Google Cloud resource. The Asset is a Security Command Center resource that captures information about a single Google Cloud resource. All modifications to an Asset are only within the context of Security Command Center and don't affect the referenced Google Cloud resource.", "id": "Asset", @@ -2477,6 +2522,20 @@ "$ref": "DiskPath", "description": "Path of the file in terms of underlying disk/partition identifiers." }, + "fileLoadState": { + "description": "The load state of the file.", + "enum": [ + "FILE_LOAD_STATE_UNSPECIFIED", + "LOADED_BY_PROCESS", + "NOT_LOADED_BY_PROCESS" + ], + "enumDescriptions": [ + "The file state is unspecified.", + "The file is being used by an active process at the time of scanning.", + "The file is not being used by any active process at the time of scanning." + ], + "type": "string" + }, "hashedSize": { "description": "The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.", "format": "int64", @@ -2556,6 +2615,10 @@ "$ref": "Application", "description": "Represents an application associated with the finding." }, + "artifactGuardPolicies": { + "$ref": "ArtifactGuardPolicies", + "description": "ArtifactGuardPolicies associated with the finding." + }, "attackExposure": { "$ref": "AttackExposure", "description": "The results of an attack path simulation relevant to this finding." @@ -2848,6 +2911,10 @@ "description": "For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.", "type": "string" }, + "secret": { + "$ref": "Secret", + "description": "Secret associated with the finding." + }, "securityMarks": { "$ref": "SecurityMarks", "description": "Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.", @@ -4345,6 +4412,51 @@ }, "type": "object" }, + "GoogleCloudSecuritycenterV2ArtifactGuardPolicies": { + "description": "Represents the result of evaluating artifact guard policies.", + "id": "GoogleCloudSecuritycenterV2ArtifactGuardPolicies", + "properties": { + "failingPolicies": { + "description": "A list of failing policies.", + "items": { + "$ref": "GoogleCloudSecuritycenterV2ArtifactGuardPolicy" + }, + "type": "array" + }, + "resourceId": { + "description": "The ID of the resource that has policies configured for it.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2ArtifactGuardPolicy": { + "description": "Represents an artifact guard policy.", + "id": "GoogleCloudSecuritycenterV2ArtifactGuardPolicy", + "properties": { + "failureReason": { + "description": "The reason for the policy failure, for example, \"severity=HIGH AND max_vuln_count=2\".", + "type": "string" + }, + "policyId": { + "description": "The ID of the failing policy, for example, \"organizations/3392779/locations/global/policies/prod-policy\".", + "type": "string" + }, + "type": { + "description": "The type of the policy evaluation.", + "enum": [ + "ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", + "VULNERABILITY" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Vulnerability type." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudSecuritycenterV2Attack": { "description": "Information about DDoS attack volume and classification.", "id": "GoogleCloudSecuritycenterV2Attack", @@ -5644,6 +5756,20 @@ "$ref": "GoogleCloudSecuritycenterV2DiskPath", "description": "Path of the file in terms of underlying disk/partition identifiers." }, + "fileLoadState": { + "description": "The load state of the file.", + "enum": [ + "FILE_LOAD_STATE_UNSPECIFIED", + "LOADED_BY_PROCESS", + "NOT_LOADED_BY_PROCESS" + ], + "enumDescriptions": [ + "The file state is unspecified.", + "The file is being used by an active process at the time of scanning.", + "The file is not being used by any active process at the time of scanning." + ], + "type": "string" + }, "hashedSize": { "description": "The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.", "format": "int64", @@ -5723,6 +5849,10 @@ "$ref": "GoogleCloudSecuritycenterV2Application", "description": "Represents an application associated with the finding." }, + "artifactGuardPolicies": { + "$ref": "GoogleCloudSecuritycenterV2ArtifactGuardPolicies", + "description": "ArtifactGuardPolicies associated with the finding." + }, "attackExposure": { "$ref": "GoogleCloudSecuritycenterV2AttackExposure", "description": "The results of an attack path simulation relevant to this finding." @@ -6022,6 +6152,10 @@ "description": "Immutable. For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string.", "type": "string" }, + "secret": { + "$ref": "GoogleCloudSecuritycenterV2Secret", + "description": "Secret associated with the finding." + }, "securityMarks": { "$ref": "GoogleCloudSecuritycenterV2SecurityMarks", "description": "Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.", @@ -8514,6 +8648,81 @@ }, "type": "object" }, + "GoogleCloudSecuritycenterV2Secret": { + "description": "Details about a secret or credential associated with the finding.", + "id": "GoogleCloudSecuritycenterV2Secret", + "properties": { + "environmentVariable": { + "$ref": "GoogleCloudSecuritycenterV2SecretEnvironmentVariable", + "description": "The environment variable containing the secret." + }, + "filePath": { + "$ref": "GoogleCloudSecuritycenterV2SecretFilePath", + "description": "The file containing the secret." + }, + "status": { + "$ref": "GoogleCloudSecuritycenterV2SecretStatus", + "description": "The status of the secret." + }, + "type": { + "description": "The type of secret, for example, GCP_API_KEY.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2SecretEnvironmentVariable": { + "description": "Environment variable containing the secret.", + "id": "GoogleCloudSecuritycenterV2SecretEnvironmentVariable", + "properties": { + "key": { + "description": "Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2SecretFilePath": { + "description": "File path containing the secret.", + "id": "GoogleCloudSecuritycenterV2SecretFilePath", + "properties": { + "path": { + "description": "Path to the file.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2SecretStatus": { + "description": "The status of the secret.", + "id": "GoogleCloudSecuritycenterV2SecretStatus", + "properties": { + "lastUpdatedTime": { + "description": "Time that the secret was found.", + "format": "google-datetime", + "type": "string" + }, + "validity": { + "description": "The validity of the secret.", + "enum": [ + "SECRET_VALIDITY_UNSPECIFIED", + "SECRET_VALIDITY_UNSUPPORTED", + "SECRET_VALIDITY_FAILED", + "SECRET_VALIDITY_INVALID", + "SECRET_VALIDITY_VALID" + ], + "enumDescriptions": [ + "Default value; no validation was attempted.", + "There is no mechanism to validate the secret.", + "Validation is supported but the validation failed.", + "The secret is confirmed to be invalid.", + "The secret is confirmed to be valid." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudSecuritycenterV2SecurityBulletin": { "description": "SecurityBulletin are notifications of vulnerabilities of Google products.", "id": "GoogleCloudSecuritycenterV2SecurityBulletin", @@ -10711,6 +10920,81 @@ "properties": {}, "type": "object" }, + "Secret": { + "description": "Details about a secret or credential associated with the finding.", + "id": "Secret", + "properties": { + "environmentVariable": { + "$ref": "SecretEnvironmentVariable", + "description": "The environment variable containing the secret." + }, + "filePath": { + "$ref": "SecretFilePath", + "description": "The file containing the secret." + }, + "status": { + "$ref": "SecretStatus", + "description": "The status of the secret." + }, + "type": { + "description": "The type of secret, for example, GCP_API_KEY.", + "type": "string" + } + }, + "type": "object" + }, + "SecretEnvironmentVariable": { + "description": "Environment variable containing the secret.", + "id": "SecretEnvironmentVariable", + "properties": { + "key": { + "description": "Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content.", + "type": "string" + } + }, + "type": "object" + }, + "SecretFilePath": { + "description": "File path containing the secret.", + "id": "SecretFilePath", + "properties": { + "path": { + "description": "Path to the file.", + "type": "string" + } + }, + "type": "object" + }, + "SecretStatus": { + "description": "The status of the secret.", + "id": "SecretStatus", + "properties": { + "lastUpdatedTime": { + "description": "Time that the secret was found.", + "format": "google-datetime", + "type": "string" + }, + "validity": { + "description": "The validity of the secret.", + "enum": [ + "SECRET_VALIDITY_UNSPECIFIED", + "SECRET_VALIDITY_UNSUPPORTED", + "SECRET_VALIDITY_FAILED", + "SECRET_VALIDITY_INVALID", + "SECRET_VALIDITY_VALID" + ], + "enumDescriptions": [ + "Default value; no validation was attempted.", + "There is no mechanism to validate the secret.", + "Validation is supported but the validation failed.", + "The secret is confirmed to be invalid.", + "The secret is confirmed to be valid." + ], + "type": "string" + } + }, + "type": "object" + }, "SecurityBulletin": { "description": "SecurityBulletin are notifications of vulnerabilities of Google products.", "id": "SecurityBulletin", diff --git a/discovery/securitycenter-v1beta2.json b/discovery/securitycenter-v1beta2.json index ae666998f90..419fd1714bf 100644 --- a/discovery/securitycenter-v1beta2.json +++ b/discovery/securitycenter-v1beta2.json @@ -2003,7 +2003,7 @@ } } }, - "revision": "20251202", + "revision": "20260105", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -2201,6 +2201,51 @@ }, "type": "object" }, + "ArtifactGuardPolicies": { + "description": "Represents the result of evaluating artifact guard policies.", + "id": "ArtifactGuardPolicies", + "properties": { + "failingPolicies": { + "description": "A list of failing policies.", + "items": { + "$ref": "ArtifactGuardPolicy" + }, + "type": "array" + }, + "resourceId": { + "description": "The ID of the resource that has policies configured for it.", + "type": "string" + } + }, + "type": "object" + }, + "ArtifactGuardPolicy": { + "description": "Represents an artifact guard policy.", + "id": "ArtifactGuardPolicy", + "properties": { + "failureReason": { + "description": "The reason for the policy failure, for example, \"severity=HIGH AND max_vuln_count=2\".", + "type": "string" + }, + "policyId": { + "description": "The ID of the failing policy, for example, \"organizations/3392779/locations/global/policies/prod-policy\".", + "type": "string" + }, + "type": { + "description": "The type of the policy evaluation.", + "enum": [ + "ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", + "VULNERABILITY" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Vulnerability type." + ], + "type": "string" + } + }, + "type": "object" + }, "Attack": { "description": "Information about DDoS attack volume and classification.", "id": "Attack", @@ -3568,6 +3613,20 @@ "$ref": "DiskPath", "description": "Path of the file in terms of underlying disk/partition identifiers." }, + "fileLoadState": { + "description": "The load state of the file.", + "enum": [ + "FILE_LOAD_STATE_UNSPECIFIED", + "LOADED_BY_PROCESS", + "NOT_LOADED_BY_PROCESS" + ], + "enumDescriptions": [ + "The file state is unspecified.", + "The file is being used by an active process at the time of scanning.", + "The file is not being used by any active process at the time of scanning." + ], + "type": "string" + }, "hashedSize": { "description": "The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.", "format": "int64", @@ -3647,6 +3706,10 @@ "$ref": "Application", "description": "Represents an application associated with the finding." }, + "artifactGuardPolicies": { + "$ref": "ArtifactGuardPolicies", + "description": "ArtifactGuardPolicies associated with the finding." + }, "attackExposure": { "$ref": "AttackExposure", "description": "The results of an attack path simulation relevant to this finding." @@ -3939,6 +4002,10 @@ "description": "For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.", "type": "string" }, + "secret": { + "$ref": "Secret", + "description": "Secret associated with the finding." + }, "securityMarks": { "$ref": "SecurityMarks", "description": "Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.", @@ -5332,6 +5399,51 @@ }, "type": "object" }, + "GoogleCloudSecuritycenterV2ArtifactGuardPolicies": { + "description": "Represents the result of evaluating artifact guard policies.", + "id": "GoogleCloudSecuritycenterV2ArtifactGuardPolicies", + "properties": { + "failingPolicies": { + "description": "A list of failing policies.", + "items": { + "$ref": "GoogleCloudSecuritycenterV2ArtifactGuardPolicy" + }, + "type": "array" + }, + "resourceId": { + "description": "The ID of the resource that has policies configured for it.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2ArtifactGuardPolicy": { + "description": "Represents an artifact guard policy.", + "id": "GoogleCloudSecuritycenterV2ArtifactGuardPolicy", + "properties": { + "failureReason": { + "description": "The reason for the policy failure, for example, \"severity=HIGH AND max_vuln_count=2\".", + "type": "string" + }, + "policyId": { + "description": "The ID of the failing policy, for example, \"organizations/3392779/locations/global/policies/prod-policy\".", + "type": "string" + }, + "type": { + "description": "The type of the policy evaluation.", + "enum": [ + "ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", + "VULNERABILITY" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Vulnerability type." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudSecuritycenterV2Attack": { "description": "Information about DDoS attack volume and classification.", "id": "GoogleCloudSecuritycenterV2Attack", @@ -6631,6 +6743,20 @@ "$ref": "GoogleCloudSecuritycenterV2DiskPath", "description": "Path of the file in terms of underlying disk/partition identifiers." }, + "fileLoadState": { + "description": "The load state of the file.", + "enum": [ + "FILE_LOAD_STATE_UNSPECIFIED", + "LOADED_BY_PROCESS", + "NOT_LOADED_BY_PROCESS" + ], + "enumDescriptions": [ + "The file state is unspecified.", + "The file is being used by an active process at the time of scanning.", + "The file is not being used by any active process at the time of scanning." + ], + "type": "string" + }, "hashedSize": { "description": "The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.", "format": "int64", @@ -6710,6 +6836,10 @@ "$ref": "GoogleCloudSecuritycenterV2Application", "description": "Represents an application associated with the finding." }, + "artifactGuardPolicies": { + "$ref": "GoogleCloudSecuritycenterV2ArtifactGuardPolicies", + "description": "ArtifactGuardPolicies associated with the finding." + }, "attackExposure": { "$ref": "GoogleCloudSecuritycenterV2AttackExposure", "description": "The results of an attack path simulation relevant to this finding." @@ -7009,6 +7139,10 @@ "description": "Immutable. For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string.", "type": "string" }, + "secret": { + "$ref": "GoogleCloudSecuritycenterV2Secret", + "description": "Secret associated with the finding." + }, "securityMarks": { "$ref": "GoogleCloudSecuritycenterV2SecurityMarks", "description": "Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.", @@ -9501,6 +9635,81 @@ }, "type": "object" }, + "GoogleCloudSecuritycenterV2Secret": { + "description": "Details about a secret or credential associated with the finding.", + "id": "GoogleCloudSecuritycenterV2Secret", + "properties": { + "environmentVariable": { + "$ref": "GoogleCloudSecuritycenterV2SecretEnvironmentVariable", + "description": "The environment variable containing the secret." + }, + "filePath": { + "$ref": "GoogleCloudSecuritycenterV2SecretFilePath", + "description": "The file containing the secret." + }, + "status": { + "$ref": "GoogleCloudSecuritycenterV2SecretStatus", + "description": "The status of the secret." + }, + "type": { + "description": "The type of secret, for example, GCP_API_KEY.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2SecretEnvironmentVariable": { + "description": "Environment variable containing the secret.", + "id": "GoogleCloudSecuritycenterV2SecretEnvironmentVariable", + "properties": { + "key": { + "description": "Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2SecretFilePath": { + "description": "File path containing the secret.", + "id": "GoogleCloudSecuritycenterV2SecretFilePath", + "properties": { + "path": { + "description": "Path to the file.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2SecretStatus": { + "description": "The status of the secret.", + "id": "GoogleCloudSecuritycenterV2SecretStatus", + "properties": { + "lastUpdatedTime": { + "description": "Time that the secret was found.", + "format": "google-datetime", + "type": "string" + }, + "validity": { + "description": "The validity of the secret.", + "enum": [ + "SECRET_VALIDITY_UNSPECIFIED", + "SECRET_VALIDITY_UNSUPPORTED", + "SECRET_VALIDITY_FAILED", + "SECRET_VALIDITY_INVALID", + "SECRET_VALIDITY_VALID" + ], + "enumDescriptions": [ + "Default value; no validation was attempted.", + "There is no mechanism to validate the secret.", + "Validation is supported but the validation failed.", + "The secret is confirmed to be invalid.", + "The secret is confirmed to be valid." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudSecuritycenterV2SecurityBulletin": { "description": "SecurityBulletin are notifications of vulnerabilities of Google products.", "id": "GoogleCloudSecuritycenterV2SecurityBulletin", @@ -11391,6 +11600,81 @@ }, "type": "object" }, + "Secret": { + "description": "Details about a secret or credential associated with the finding.", + "id": "Secret", + "properties": { + "environmentVariable": { + "$ref": "SecretEnvironmentVariable", + "description": "The environment variable containing the secret." + }, + "filePath": { + "$ref": "SecretFilePath", + "description": "The file containing the secret." + }, + "status": { + "$ref": "SecretStatus", + "description": "The status of the secret." + }, + "type": { + "description": "The type of secret, for example, GCP_API_KEY.", + "type": "string" + } + }, + "type": "object" + }, + "SecretEnvironmentVariable": { + "description": "Environment variable containing the secret.", + "id": "SecretEnvironmentVariable", + "properties": { + "key": { + "description": "Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content.", + "type": "string" + } + }, + "type": "object" + }, + "SecretFilePath": { + "description": "File path containing the secret.", + "id": "SecretFilePath", + "properties": { + "path": { + "description": "Path to the file.", + "type": "string" + } + }, + "type": "object" + }, + "SecretStatus": { + "description": "The status of the secret.", + "id": "SecretStatus", + "properties": { + "lastUpdatedTime": { + "description": "Time that the secret was found.", + "format": "google-datetime", + "type": "string" + }, + "validity": { + "description": "The validity of the secret.", + "enum": [ + "SECRET_VALIDITY_UNSPECIFIED", + "SECRET_VALIDITY_UNSUPPORTED", + "SECRET_VALIDITY_FAILED", + "SECRET_VALIDITY_INVALID", + "SECRET_VALIDITY_VALID" + ], + "enumDescriptions": [ + "Default value; no validation was attempted.", + "There is no mechanism to validate the secret.", + "Validation is supported but the validation failed.", + "The secret is confirmed to be invalid.", + "The secret is confirmed to be valid." + ], + "type": "string" + } + }, + "type": "object" + }, "SecurityBulletin": { "description": "SecurityBulletin are notifications of vulnerabilities of Google products.", "id": "SecurityBulletin", diff --git a/src/apis/securitycenter/v1.ts b/src/apis/securitycenter/v1.ts index 76a0cb63d3e..6c3050c7b70 100644 --- a/src/apis/securitycenter/v1.ts +++ b/src/apis/securitycenter/v1.ts @@ -287,6 +287,36 @@ export namespace securitycenter_v1 { */ fullUri?: string | null; } + /** + * Represents the result of evaluating artifact guard policies. + */ + export interface Schema$ArtifactGuardPolicies { + /** + * A list of failing policies. + */ + failingPolicies?: Schema$ArtifactGuardPolicy[]; + /** + * The ID of the resource that has policies configured for it. + */ + resourceId?: string | null; + } + /** + * Represents an artifact guard policy. + */ + export interface Schema$ArtifactGuardPolicy { + /** + * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". + */ + failureReason?: string | null; + /** + * The ID of the failing policy, for example, "organizations/3392779/locations/global/policies/prod-policy". + */ + policyId?: string | null; + /** + * The type of the policy evaluation. + */ + type?: string | null; + } /** * Security Command Center representation of a Google Cloud resource. The Asset is a Security Command Center resource that captures information about a single Google Cloud resource. All modifications to an Asset are only within the context of Security Command Center and don't affect the referenced Google Cloud resource. */ @@ -1460,6 +1490,10 @@ export namespace securitycenter_v1 { * Path of the file in terms of underlying disk/partition identifiers. */ diskPath?: Schema$DiskPath; + /** + * The load state of the file. + */ + fileLoadState?: string | null; /** * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file. */ @@ -1514,6 +1548,10 @@ export namespace securitycenter_v1 { * Represents an application associated with the finding. */ application?: Schema$Application; + /** + * ArtifactGuardPolicies associated with the finding. + */ + artifactGuardPolicies?: Schema$ArtifactGuardPolicies; /** * The results of an attack path simulation relevant to this finding. */ @@ -1716,6 +1754,10 @@ export namespace securitycenter_v1 { * For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time. */ resourceName?: string | null; + /** + * Secret associated with the finding. + */ + secret?: Schema$Secret; /** * Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding. */ @@ -2661,6 +2703,36 @@ export namespace securitycenter_v1 { */ fullUri?: string | null; } + /** + * Represents the result of evaluating artifact guard policies. + */ + export interface Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicies { + /** + * A list of failing policies. + */ + failingPolicies?: Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicy[]; + /** + * The ID of the resource that has policies configured for it. + */ + resourceId?: string | null; + } + /** + * Represents an artifact guard policy. + */ + export interface Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicy { + /** + * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". + */ + failureReason?: string | null; + /** + * The ID of the failing policy, for example, "organizations/3392779/locations/global/policies/prod-policy". + */ + policyId?: string | null; + /** + * The type of the policy evaluation. + */ + type?: string | null; + } /** * Information about DDoS attack volume and classification. */ @@ -3561,6 +3633,10 @@ export namespace securitycenter_v1 { * Path of the file in terms of underlying disk/partition identifiers. */ diskPath?: Schema$GoogleCloudSecuritycenterV2DiskPath; + /** + * The load state of the file. + */ + fileLoadState?: string | null; /** * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file. */ @@ -3615,6 +3691,10 @@ export namespace securitycenter_v1 { * Represents an application associated with the finding. */ application?: Schema$GoogleCloudSecuritycenterV2Application; + /** + * ArtifactGuardPolicies associated with the finding. + */ + artifactGuardPolicies?: Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicies; /** * The results of an attack path simulation relevant to this finding. */ @@ -3823,6 +3903,10 @@ export namespace securitycenter_v1 { * Immutable. For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. */ resourceName?: string | null; + /** + * Secret associated with the finding. + */ + secret?: Schema$GoogleCloudSecuritycenterV2Secret; /** * Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding. */ @@ -5061,6 +5145,58 @@ export namespace securitycenter_v1 { */ ns?: string | null; } + /** + * Details about a secret or credential associated with the finding. + */ + export interface Schema$GoogleCloudSecuritycenterV2Secret { + /** + * The environment variable containing the secret. + */ + environmentVariable?: Schema$GoogleCloudSecuritycenterV2SecretEnvironmentVariable; + /** + * The file containing the secret. + */ + filePath?: Schema$GoogleCloudSecuritycenterV2SecretFilePath; + /** + * The status of the secret. + */ + status?: Schema$GoogleCloudSecuritycenterV2SecretStatus; + /** + * The type of secret, for example, GCP_API_KEY. + */ + type?: string | null; + } + /** + * Environment variable containing the secret. + */ + export interface Schema$GoogleCloudSecuritycenterV2SecretEnvironmentVariable { + /** + * Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content. + */ + key?: string | null; + } + /** + * File path containing the secret. + */ + export interface Schema$GoogleCloudSecuritycenterV2SecretFilePath { + /** + * Path to the file. + */ + path?: string | null; + } + /** + * The status of the secret. + */ + export interface Schema$GoogleCloudSecuritycenterV2SecretStatus { + /** + * Time that the secret was found. + */ + lastUpdatedTime?: string | null; + /** + * The validity of the secret. + */ + validity?: string | null; + } /** * SecurityBulletin are notifications of vulnerabilities of Google products. */ @@ -6500,6 +6636,58 @@ export namespace securitycenter_v1 { * Request message for running asset discovery for an organization. */ export interface Schema$RunAssetDiscoveryRequest {} + /** + * Details about a secret or credential associated with the finding. + */ + export interface Schema$Secret { + /** + * The environment variable containing the secret. + */ + environmentVariable?: Schema$SecretEnvironmentVariable; + /** + * The file containing the secret. + */ + filePath?: Schema$SecretFilePath; + /** + * The status of the secret. + */ + status?: Schema$SecretStatus; + /** + * The type of secret, for example, GCP_API_KEY. + */ + type?: string | null; + } + /** + * Environment variable containing the secret. + */ + export interface Schema$SecretEnvironmentVariable { + /** + * Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content. + */ + key?: string | null; + } + /** + * File path containing the secret. + */ + export interface Schema$SecretFilePath { + /** + * Path to the file. + */ + path?: string | null; + } + /** + * The status of the secret. + */ + export interface Schema$SecretStatus { + /** + * Time that the secret was found. + */ + lastUpdatedTime?: string | null; + /** + * The validity of the secret. + */ + validity?: string | null; + } /** * SecurityBulletin are notifications of vulnerabilities of Google products. */ @@ -14403,6 +14591,7 @@ export namespace securitycenter_v1 { * // "affectedResources": {}, * // "aiModel": {}, * // "application": {}, + * // "artifactGuardPolicies": {}, * // "attackExposure": {}, * // "backupDisasterRecovery": {}, * // "canonicalName": "my_canonicalName", @@ -14453,6 +14642,7 @@ export namespace securitycenter_v1 { * // "parentDisplayName": "my_parentDisplayName", * // "processes": [], * // "resourceName": "my_resourceName", + * // "secret": {}, * // "securityMarks": {}, * // "securityPosture": {}, * // "severity": "my_severity", @@ -14472,6 +14662,7 @@ export namespace securitycenter_v1 { * // "affectedResources": {}, * // "aiModel": {}, * // "application": {}, + * // "artifactGuardPolicies": {}, * // "attackExposure": {}, * // "backupDisasterRecovery": {}, * // "canonicalName": "my_canonicalName", @@ -14522,6 +14713,7 @@ export namespace securitycenter_v1 { * // "parentDisplayName": "my_parentDisplayName", * // "processes": [], * // "resourceName": "my_resourceName", + * // "secret": {}, * // "securityMarks": {}, * // "securityPosture": {}, * // "severity": "my_severity", @@ -14676,6 +14868,7 @@ export namespace securitycenter_v1 { * // "affectedResources": {}, * // "aiModel": {}, * // "application": {}, + * // "artifactGuardPolicies": {}, * // "attackExposure": {}, * // "backupDisasterRecovery": {}, * // "canonicalName": "my_canonicalName", @@ -14726,6 +14919,7 @@ export namespace securitycenter_v1 { * // "parentDisplayName": "my_parentDisplayName", * // "processes": [], * // "resourceName": "my_resourceName", + * // "secret": {}, * // "securityMarks": {}, * // "securityPosture": {}, * // "severity": "my_severity", @@ -14884,6 +15078,7 @@ export namespace securitycenter_v1 { * // "affectedResources": {}, * // "aiModel": {}, * // "application": {}, + * // "artifactGuardPolicies": {}, * // "attackExposure": {}, * // "backupDisasterRecovery": {}, * // "canonicalName": "my_canonicalName", @@ -14934,6 +15129,7 @@ export namespace securitycenter_v1 { * // "parentDisplayName": "my_parentDisplayName", * // "processes": [], * // "resourceName": "my_resourceName", + * // "secret": {}, * // "securityMarks": {}, * // "securityPosture": {}, * // "severity": "my_severity", @@ -26843,6 +27039,7 @@ export namespace securitycenter_v1 { * // "affectedResources": {}, * // "aiModel": {}, * // "application": {}, + * // "artifactGuardPolicies": {}, * // "attackExposure": {}, * // "backupDisasterRecovery": {}, * // "canonicalName": "my_canonicalName", @@ -26893,6 +27090,7 @@ export namespace securitycenter_v1 { * // "parentDisplayName": "my_parentDisplayName", * // "processes": [], * // "resourceName": "my_resourceName", + * // "secret": {}, * // "securityMarks": {}, * // "securityPosture": {}, * // "severity": "my_severity", @@ -26912,6 +27110,7 @@ export namespace securitycenter_v1 { * // "affectedResources": {}, * // "aiModel": {}, * // "application": {}, + * // "artifactGuardPolicies": {}, * // "attackExposure": {}, * // "backupDisasterRecovery": {}, * // "canonicalName": "my_canonicalName", @@ -26962,6 +27161,7 @@ export namespace securitycenter_v1 { * // "parentDisplayName": "my_parentDisplayName", * // "processes": [], * // "resourceName": "my_resourceName", + * // "secret": {}, * // "securityMarks": {}, * // "securityPosture": {}, * // "severity": "my_severity", @@ -27426,6 +27626,7 @@ export namespace securitycenter_v1 { * // "affectedResources": {}, * // "aiModel": {}, * // "application": {}, + * // "artifactGuardPolicies": {}, * // "attackExposure": {}, * // "backupDisasterRecovery": {}, * // "canonicalName": "my_canonicalName", @@ -27476,6 +27677,7 @@ export namespace securitycenter_v1 { * // "parentDisplayName": "my_parentDisplayName", * // "processes": [], * // "resourceName": "my_resourceName", + * // "secret": {}, * // "securityMarks": {}, * // "securityPosture": {}, * // "severity": "my_severity", @@ -27495,6 +27697,7 @@ export namespace securitycenter_v1 { * // "affectedResources": {}, * // "aiModel": {}, * // "application": {}, + * // "artifactGuardPolicies": {}, * // "attackExposure": {}, * // "backupDisasterRecovery": {}, * // "canonicalName": "my_canonicalName", @@ -27545,6 +27748,7 @@ export namespace securitycenter_v1 { * // "parentDisplayName": "my_parentDisplayName", * // "processes": [], * // "resourceName": "my_resourceName", + * // "secret": {}, * // "securityMarks": {}, * // "securityPosture": {}, * // "severity": "my_severity", @@ -27699,6 +27903,7 @@ export namespace securitycenter_v1 { * // "affectedResources": {}, * // "aiModel": {}, * // "application": {}, + * // "artifactGuardPolicies": {}, * // "attackExposure": {}, * // "backupDisasterRecovery": {}, * // "canonicalName": "my_canonicalName", @@ -27749,6 +27954,7 @@ export namespace securitycenter_v1 { * // "parentDisplayName": "my_parentDisplayName", * // "processes": [], * // "resourceName": "my_resourceName", + * // "secret": {}, * // "securityMarks": {}, * // "securityPosture": {}, * // "severity": "my_severity", @@ -27907,6 +28113,7 @@ export namespace securitycenter_v1 { * // "affectedResources": {}, * // "aiModel": {}, * // "application": {}, + * // "artifactGuardPolicies": {}, * // "attackExposure": {}, * // "backupDisasterRecovery": {}, * // "canonicalName": "my_canonicalName", @@ -27957,6 +28164,7 @@ export namespace securitycenter_v1 { * // "parentDisplayName": "my_parentDisplayName", * // "processes": [], * // "resourceName": "my_resourceName", + * // "secret": {}, * // "securityMarks": {}, * // "securityPosture": {}, * // "severity": "my_severity", @@ -36083,6 +36291,7 @@ export namespace securitycenter_v1 { * // "affectedResources": {}, * // "aiModel": {}, * // "application": {}, + * // "artifactGuardPolicies": {}, * // "attackExposure": {}, * // "backupDisasterRecovery": {}, * // "canonicalName": "my_canonicalName", @@ -36133,6 +36342,7 @@ export namespace securitycenter_v1 { * // "parentDisplayName": "my_parentDisplayName", * // "processes": [], * // "resourceName": "my_resourceName", + * // "secret": {}, * // "securityMarks": {}, * // "securityPosture": {}, * // "severity": "my_severity", @@ -36152,6 +36362,7 @@ export namespace securitycenter_v1 { * // "affectedResources": {}, * // "aiModel": {}, * // "application": {}, + * // "artifactGuardPolicies": {}, * // "attackExposure": {}, * // "backupDisasterRecovery": {}, * // "canonicalName": "my_canonicalName", @@ -36202,6 +36413,7 @@ export namespace securitycenter_v1 { * // "parentDisplayName": "my_parentDisplayName", * // "processes": [], * // "resourceName": "my_resourceName", + * // "secret": {}, * // "securityMarks": {}, * // "securityPosture": {}, * // "severity": "my_severity", @@ -36356,6 +36568,7 @@ export namespace securitycenter_v1 { * // "affectedResources": {}, * // "aiModel": {}, * // "application": {}, + * // "artifactGuardPolicies": {}, * // "attackExposure": {}, * // "backupDisasterRecovery": {}, * // "canonicalName": "my_canonicalName", @@ -36406,6 +36619,7 @@ export namespace securitycenter_v1 { * // "parentDisplayName": "my_parentDisplayName", * // "processes": [], * // "resourceName": "my_resourceName", + * // "secret": {}, * // "securityMarks": {}, * // "securityPosture": {}, * // "severity": "my_severity", @@ -36564,6 +36778,7 @@ export namespace securitycenter_v1 { * // "affectedResources": {}, * // "aiModel": {}, * // "application": {}, + * // "artifactGuardPolicies": {}, * // "attackExposure": {}, * // "backupDisasterRecovery": {}, * // "canonicalName": "my_canonicalName", @@ -36614,6 +36829,7 @@ export namespace securitycenter_v1 { * // "parentDisplayName": "my_parentDisplayName", * // "processes": [], * // "resourceName": "my_resourceName", + * // "secret": {}, * // "securityMarks": {}, * // "securityPosture": {}, * // "severity": "my_severity", diff --git a/src/apis/securitycenter/v1beta1.ts b/src/apis/securitycenter/v1beta1.ts index 88a8825e438..26d8430afbe 100644 --- a/src/apis/securitycenter/v1beta1.ts +++ b/src/apis/securitycenter/v1beta1.ts @@ -283,6 +283,36 @@ export namespace securitycenter_v1beta1 { */ fullUri?: string | null; } + /** + * Represents the result of evaluating artifact guard policies. + */ + export interface Schema$ArtifactGuardPolicies { + /** + * A list of failing policies. + */ + failingPolicies?: Schema$ArtifactGuardPolicy[]; + /** + * The ID of the resource that has policies configured for it. + */ + resourceId?: string | null; + } + /** + * Represents an artifact guard policy. + */ + export interface Schema$ArtifactGuardPolicy { + /** + * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". + */ + failureReason?: string | null; + /** + * The ID of the failing policy, for example, "organizations/3392779/locations/global/policies/prod-policy". + */ + policyId?: string | null; + /** + * The type of the policy evaluation. + */ + type?: string | null; + } /** * Security Command Center representation of a Google Cloud resource. The Asset is a Security Command Center resource that captures information about a single Google Cloud resource. All modifications to an Asset are only within the context of Security Command Center and don't affect the referenced Google Cloud resource. */ @@ -1208,6 +1238,10 @@ export namespace securitycenter_v1beta1 { * Path of the file in terms of underlying disk/partition identifiers. */ diskPath?: Schema$DiskPath; + /** + * The load state of the file. + */ + fileLoadState?: string | null; /** * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file. */ @@ -1262,6 +1296,10 @@ export namespace securitycenter_v1beta1 { * Represents an application associated with the finding. */ application?: Schema$Application; + /** + * ArtifactGuardPolicies associated with the finding. + */ + artifactGuardPolicies?: Schema$ArtifactGuardPolicies; /** * The results of an attack path simulation relevant to this finding. */ @@ -1464,6 +1502,10 @@ export namespace securitycenter_v1beta1 { * For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time. */ resourceName?: string | null; + /** + * Secret associated with the finding. + */ + secret?: Schema$Secret; /** * Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding. */ @@ -2467,6 +2509,36 @@ export namespace securitycenter_v1beta1 { */ fullUri?: string | null; } + /** + * Represents the result of evaluating artifact guard policies. + */ + export interface Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicies { + /** + * A list of failing policies. + */ + failingPolicies?: Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicy[]; + /** + * The ID of the resource that has policies configured for it. + */ + resourceId?: string | null; + } + /** + * Represents an artifact guard policy. + */ + export interface Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicy { + /** + * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". + */ + failureReason?: string | null; + /** + * The ID of the failing policy, for example, "organizations/3392779/locations/global/policies/prod-policy". + */ + policyId?: string | null; + /** + * The type of the policy evaluation. + */ + type?: string | null; + } /** * Information about DDoS attack volume and classification. */ @@ -3367,6 +3439,10 @@ export namespace securitycenter_v1beta1 { * Path of the file in terms of underlying disk/partition identifiers. */ diskPath?: Schema$GoogleCloudSecuritycenterV2DiskPath; + /** + * The load state of the file. + */ + fileLoadState?: string | null; /** * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file. */ @@ -3421,6 +3497,10 @@ export namespace securitycenter_v1beta1 { * Represents an application associated with the finding. */ application?: Schema$GoogleCloudSecuritycenterV2Application; + /** + * ArtifactGuardPolicies associated with the finding. + */ + artifactGuardPolicies?: Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicies; /** * The results of an attack path simulation relevant to this finding. */ @@ -3629,6 +3709,10 @@ export namespace securitycenter_v1beta1 { * Immutable. For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. */ resourceName?: string | null; + /** + * Secret associated with the finding. + */ + secret?: Schema$GoogleCloudSecuritycenterV2Secret; /** * Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding. */ @@ -4867,6 +4951,58 @@ export namespace securitycenter_v1beta1 { */ ns?: string | null; } + /** + * Details about a secret or credential associated with the finding. + */ + export interface Schema$GoogleCloudSecuritycenterV2Secret { + /** + * The environment variable containing the secret. + */ + environmentVariable?: Schema$GoogleCloudSecuritycenterV2SecretEnvironmentVariable; + /** + * The file containing the secret. + */ + filePath?: Schema$GoogleCloudSecuritycenterV2SecretFilePath; + /** + * The status of the secret. + */ + status?: Schema$GoogleCloudSecuritycenterV2SecretStatus; + /** + * The type of secret, for example, GCP_API_KEY. + */ + type?: string | null; + } + /** + * Environment variable containing the secret. + */ + export interface Schema$GoogleCloudSecuritycenterV2SecretEnvironmentVariable { + /** + * Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content. + */ + key?: string | null; + } + /** + * File path containing the secret. + */ + export interface Schema$GoogleCloudSecuritycenterV2SecretFilePath { + /** + * Path to the file. + */ + path?: string | null; + } + /** + * The status of the secret. + */ + export interface Schema$GoogleCloudSecuritycenterV2SecretStatus { + /** + * Time that the secret was found. + */ + lastUpdatedTime?: string | null; + /** + * The validity of the secret. + */ + validity?: string | null; + } /** * SecurityBulletin are notifications of vulnerabilities of Google products. */ @@ -5971,6 +6107,58 @@ export namespace securitycenter_v1beta1 { * Request message for running asset discovery for an organization. */ export interface Schema$RunAssetDiscoveryRequest {} + /** + * Details about a secret or credential associated with the finding. + */ + export interface Schema$Secret { + /** + * The environment variable containing the secret. + */ + environmentVariable?: Schema$SecretEnvironmentVariable; + /** + * The file containing the secret. + */ + filePath?: Schema$SecretFilePath; + /** + * The status of the secret. + */ + status?: Schema$SecretStatus; + /** + * The type of secret, for example, GCP_API_KEY. + */ + type?: string | null; + } + /** + * Environment variable containing the secret. + */ + export interface Schema$SecretEnvironmentVariable { + /** + * Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content. + */ + key?: string | null; + } + /** + * File path containing the secret. + */ + export interface Schema$SecretFilePath { + /** + * Path to the file. + */ + path?: string | null; + } + /** + * The status of the secret. + */ + export interface Schema$SecretStatus { + /** + * Time that the secret was found. + */ + lastUpdatedTime?: string | null; + /** + * The validity of the secret. + */ + validity?: string | null; + } /** * SecurityBulletin are notifications of vulnerabilities of Google products. */ diff --git a/src/apis/securitycenter/v1beta2.ts b/src/apis/securitycenter/v1beta2.ts index 04e90b63aaf..968f9058da7 100644 --- a/src/apis/securitycenter/v1beta2.ts +++ b/src/apis/securitycenter/v1beta2.ts @@ -287,6 +287,36 @@ export namespace securitycenter_v1beta2 { */ fullUri?: string | null; } + /** + * Represents the result of evaluating artifact guard policies. + */ + export interface Schema$ArtifactGuardPolicies { + /** + * A list of failing policies. + */ + failingPolicies?: Schema$ArtifactGuardPolicy[]; + /** + * The ID of the resource that has policies configured for it. + */ + resourceId?: string | null; + } + /** + * Represents an artifact guard policy. + */ + export interface Schema$ArtifactGuardPolicy { + /** + * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". + */ + failureReason?: string | null; + /** + * The ID of the failing policy, for example, "organizations/3392779/locations/global/policies/prod-policy". + */ + policyId?: string | null; + /** + * The type of the policy evaluation. + */ + type?: string | null; + } /** * Information about DDoS attack volume and classification. */ @@ -1195,6 +1225,10 @@ export namespace securitycenter_v1beta2 { * Path of the file in terms of underlying disk/partition identifiers. */ diskPath?: Schema$DiskPath; + /** + * The load state of the file. + */ + fileLoadState?: string | null; /** * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file. */ @@ -1249,6 +1283,10 @@ export namespace securitycenter_v1beta2 { * Represents an application associated with the finding. */ application?: Schema$Application; + /** + * ArtifactGuardPolicies associated with the finding. + */ + artifactGuardPolicies?: Schema$ArtifactGuardPolicies; /** * The results of an attack path simulation relevant to this finding. */ @@ -1451,6 +1489,10 @@ export namespace securitycenter_v1beta2 { * For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time. */ resourceName?: string | null; + /** + * Secret associated with the finding. + */ + secret?: Schema$Secret; /** * Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding. */ @@ -2378,6 +2420,36 @@ export namespace securitycenter_v1beta2 { */ fullUri?: string | null; } + /** + * Represents the result of evaluating artifact guard policies. + */ + export interface Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicies { + /** + * A list of failing policies. + */ + failingPolicies?: Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicy[]; + /** + * The ID of the resource that has policies configured for it. + */ + resourceId?: string | null; + } + /** + * Represents an artifact guard policy. + */ + export interface Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicy { + /** + * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". + */ + failureReason?: string | null; + /** + * The ID of the failing policy, for example, "organizations/3392779/locations/global/policies/prod-policy". + */ + policyId?: string | null; + /** + * The type of the policy evaluation. + */ + type?: string | null; + } /** * Information about DDoS attack volume and classification. */ @@ -3278,6 +3350,10 @@ export namespace securitycenter_v1beta2 { * Path of the file in terms of underlying disk/partition identifiers. */ diskPath?: Schema$GoogleCloudSecuritycenterV2DiskPath; + /** + * The load state of the file. + */ + fileLoadState?: string | null; /** * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file. */ @@ -3332,6 +3408,10 @@ export namespace securitycenter_v1beta2 { * Represents an application associated with the finding. */ application?: Schema$GoogleCloudSecuritycenterV2Application; + /** + * ArtifactGuardPolicies associated with the finding. + */ + artifactGuardPolicies?: Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicies; /** * The results of an attack path simulation relevant to this finding. */ @@ -3540,6 +3620,10 @@ export namespace securitycenter_v1beta2 { * Immutable. For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. */ resourceName?: string | null; + /** + * Secret associated with the finding. + */ + secret?: Schema$GoogleCloudSecuritycenterV2Secret; /** * Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding. */ @@ -4778,6 +4862,58 @@ export namespace securitycenter_v1beta2 { */ ns?: string | null; } + /** + * Details about a secret or credential associated with the finding. + */ + export interface Schema$GoogleCloudSecuritycenterV2Secret { + /** + * The environment variable containing the secret. + */ + environmentVariable?: Schema$GoogleCloudSecuritycenterV2SecretEnvironmentVariable; + /** + * The file containing the secret. + */ + filePath?: Schema$GoogleCloudSecuritycenterV2SecretFilePath; + /** + * The status of the secret. + */ + status?: Schema$GoogleCloudSecuritycenterV2SecretStatus; + /** + * The type of secret, for example, GCP_API_KEY. + */ + type?: string | null; + } + /** + * Environment variable containing the secret. + */ + export interface Schema$GoogleCloudSecuritycenterV2SecretEnvironmentVariable { + /** + * Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content. + */ + key?: string | null; + } + /** + * File path containing the secret. + */ + export interface Schema$GoogleCloudSecuritycenterV2SecretFilePath { + /** + * Path to the file. + */ + path?: string | null; + } + /** + * The status of the secret. + */ + export interface Schema$GoogleCloudSecuritycenterV2SecretStatus { + /** + * Time that the secret was found. + */ + lastUpdatedTime?: string | null; + /** + * The validity of the secret. + */ + validity?: string | null; + } /** * SecurityBulletin are notifications of vulnerabilities of Google products. */ @@ -5650,6 +5786,58 @@ export namespace securitycenter_v1beta2 { */ ns?: string | null; } + /** + * Details about a secret or credential associated with the finding. + */ + export interface Schema$Secret { + /** + * The environment variable containing the secret. + */ + environmentVariable?: Schema$SecretEnvironmentVariable; + /** + * The file containing the secret. + */ + filePath?: Schema$SecretFilePath; + /** + * The status of the secret. + */ + status?: Schema$SecretStatus; + /** + * The type of secret, for example, GCP_API_KEY. + */ + type?: string | null; + } + /** + * Environment variable containing the secret. + */ + export interface Schema$SecretEnvironmentVariable { + /** + * Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content. + */ + key?: string | null; + } + /** + * File path containing the secret. + */ + export interface Schema$SecretFilePath { + /** + * Path to the file. + */ + path?: string | null; + } + /** + * The status of the secret. + */ + export interface Schema$SecretStatus { + /** + * Time that the secret was found. + */ + lastUpdatedTime?: string | null; + /** + * The validity of the secret. + */ + validity?: string | null; + } /** * SecurityBulletin are notifications of vulnerabilities of Google products. */ From 96f97365d881ef32e2d79982f7bfede38ad9c620 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 9 Jan 2026 01:38:14 +0000 Subject: [PATCH 24/26] fix(youtube): update the API #### youtube:v3 The following keys were changed: - resources.youtube.resources.v3.resources.videos.methods.batchGetStats.parameters.id.description --- discovery/youtube-v3.json | 4 ++-- src/apis/youtube/v3.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/discovery/youtube-v3.json b/discovery/youtube-v3.json index eb35dbd4d14..e2949f7c9b1 100644 --- a/discovery/youtube-v3.json +++ b/discovery/youtube-v3.json @@ -4177,7 +4177,7 @@ "parameterOrder": [], "parameters": { "id": { - "description": "Required. Return videos with the given ids.", + "description": "Required. Return videos with the given ids. The number of IDs specified cannot exceed 50.", "location": "query", "repeated": true, "type": "string" @@ -4206,7 +4206,7 @@ } } }, - "revision": "20251217", + "revision": "20260105", "rootUrl": "https://youtube.googleapis.com/", "schemas": { "AbuseReport": { diff --git a/src/apis/youtube/v3.ts b/src/apis/youtube/v3.ts index 57529dbdadf..ee07862531b 100644 --- a/src/apis/youtube/v3.ts +++ b/src/apis/youtube/v3.ts @@ -19699,7 +19699,7 @@ export namespace youtube_v3 { * * // Do the magic * const res = await youtube.youtube.v3.videos.batchGetStats({ - * // Required. Return videos with the given ids. + * // Required. Return videos with the given ids. The number of IDs specified cannot exceed 50. * id: 'placeholder-value', * // Optional. **Note:** This parameter is intended exclusively for YouTube content partners. The `onBehalfOfContentOwner` parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. * onBehalfOfContentOwner: 'placeholder-value', @@ -19818,7 +19818,7 @@ export namespace youtube_v3 { export interface Params$Resource$Youtube$V3$Videos$Batchgetstats extends StandardParameters { /** - * Required. Return videos with the given ids. + * Required. Return videos with the given ids. The number of IDs specified cannot exceed 50. */ id?: string[]; /** From f38108faa60b49753e3b3435073bb72eec0a72ca Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 9 Jan 2026 01:38:14 +0000 Subject: [PATCH 25/26] feat: regenerate index files --- discovery/androidmanagement-v1.json | 6 +++--- discovery/contactcenterinsights-v1.json | 8 +++++++- discovery/datastore-v1.json | 22 +--------------------- discovery/datastore-v1beta1.json | 22 +--------------------- discovery/datastore-v1beta3.json | 22 +--------------------- discovery/firestore-v1.json | 22 +--------------------- discovery/firestore-v1beta1.json | 22 +--------------------- discovery/firestore-v1beta2.json | 22 +--------------------- discovery/index.json | 15 +++++++++++++++ discovery/verifiedaccess-v2.json | 14 +++++++++----- src/apis/index.ts | 3 +++ src/index.ts | 1 + 12 files changed, 44 insertions(+), 135 deletions(-) diff --git a/discovery/androidmanagement-v1.json b/discovery/androidmanagement-v1.json index 1824843a11a..ea08c5840e7 100644 --- a/discovery/androidmanagement-v1.json +++ b/discovery/androidmanagement-v1.json @@ -1265,7 +1265,7 @@ } } }, - "revision": "20251120", + "revision": "20260105", "rootUrl": "https://androidmanagement.googleapis.com/", "schemas": { "AdbShellCommandEvent": { @@ -2461,8 +2461,8 @@ ], "enumDescriptions": [ "No value is set", - "Backup service is enabled", - "Backup service is disabled" + "Backup service is disabled", + "Backup service is enabled" ], "type": "string" } diff --git a/discovery/contactcenterinsights-v1.json b/discovery/contactcenterinsights-v1.json index 55051a5f0b0..e90ce449f50 100644 --- a/discovery/contactcenterinsights-v1.json +++ b/discovery/contactcenterinsights-v1.json @@ -5453,7 +5453,7 @@ } } }, - "revision": "20251219", + "revision": "20260107", "rootUrl": "https://contactcenterinsights.googleapis.com/", "schemas": { "GoogleCloudContactcenterinsightsV1Analysis": { @@ -7844,6 +7844,7 @@ "EXPORT_V14", "EXPORT_V15", "EXPORT_V16", + "EXPORT_V17", "EXPORT_VERSION_LATEST_AVAILABLE" ], "enumDescriptions": [ @@ -7864,6 +7865,7 @@ "Export schema version 14.", "Export schema version 15.", "Export schema version 16.", + "Export schema version 17.", "Export schema version latest available." ], "type": "string" @@ -12553,6 +12555,7 @@ "EXPORT_V14", "EXPORT_V15", "EXPORT_V16", + "EXPORT_V17", "EXPORT_VERSION_LATEST_AVAILABLE" ], "enumDescriptions": [ @@ -12573,6 +12576,7 @@ "Export schema version 14.", "Export schema version 15.", "Export schema version 16.", + "Export schema version 17.", "Export schema version latest available." ], "type": "string" @@ -16309,6 +16313,7 @@ "EXPORT_V14", "EXPORT_V15", "EXPORT_V16", + "EXPORT_V17", "EXPORT_VERSION_LATEST_AVAILABLE" ], "enumDescriptions": [ @@ -16329,6 +16334,7 @@ "Export schema version 14.", "Export schema version 15.", "Export schema version 16.", + "Export schema version 17.", "Export schema version latest available." ], "type": "string" diff --git a/discovery/datastore-v1.json b/discovery/datastore-v1.json index dad8d6a33d8..f1939fd5a3d 100644 --- a/discovery/datastore-v1.json +++ b/discovery/datastore-v1.json @@ -228,16 +228,6 @@ "endpointUrl": "https://datastore.us-west4.rep.googleapis.com/", "location": "us-west4" }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://datastore.us-east7.rep.googleapis.com/", - "location": "us-east7" - }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://datastore.us-west8.rep.googleapis.com/", - "location": "us-west8" - }, { "description": "Regional Endpoint", "endpointUrl": "https://batch-datastore.africa-south1.rep.googleapis.com/", @@ -448,16 +438,6 @@ "endpointUrl": "https://batch-datastore.us-west4.rep.googleapis.com/", "location": "us-west4" }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://batch-datastore.us-east7.rep.googleapis.com/", - "location": "us-east7" - }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://batch-datastore.us-west8.rep.googleapis.com/", - "location": "us-west8" - }, { "description": "Regional Endpoint", "endpointUrl": "https://datastore.eu.rep.googleapis.com/", @@ -1121,7 +1101,7 @@ } } }, - "revision": "20251203", + "revision": "20260105", "rootUrl": "https://datastore.googleapis.com/", "schemas": { "Aggregation": { diff --git a/discovery/datastore-v1beta1.json b/discovery/datastore-v1beta1.json index ea299fcaf90..cc3d0d5de04 100644 --- a/discovery/datastore-v1beta1.json +++ b/discovery/datastore-v1beta1.json @@ -228,16 +228,6 @@ "endpointUrl": "https://datastore.us-west4.rep.googleapis.com/", "location": "us-west4" }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://datastore.us-east7.rep.googleapis.com/", - "location": "us-east7" - }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://datastore.us-west8.rep.googleapis.com/", - "location": "us-west8" - }, { "description": "Regional Endpoint", "endpointUrl": "https://batch-datastore.africa-south1.rep.googleapis.com/", @@ -448,16 +438,6 @@ "endpointUrl": "https://batch-datastore.us-west4.rep.googleapis.com/", "location": "us-west4" }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://batch-datastore.us-east7.rep.googleapis.com/", - "location": "us-east7" - }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://batch-datastore.us-west8.rep.googleapis.com/", - "location": "us-west8" - }, { "description": "Regional Endpoint", "endpointUrl": "https://datastore.eu.rep.googleapis.com/", @@ -630,7 +610,7 @@ } } }, - "revision": "20251014", + "revision": "20260105", "rootUrl": "https://datastore.googleapis.com/", "schemas": { "GoogleDatastoreAdminV1CommonMetadata": { diff --git a/discovery/datastore-v1beta3.json b/discovery/datastore-v1beta3.json index ef144921280..e0a763cba6a 100644 --- a/discovery/datastore-v1beta3.json +++ b/discovery/datastore-v1beta3.json @@ -228,16 +228,6 @@ "endpointUrl": "https://datastore.us-west4.rep.googleapis.com/", "location": "us-west4" }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://datastore.us-east7.rep.googleapis.com/", - "location": "us-east7" - }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://datastore.us-west8.rep.googleapis.com/", - "location": "us-west8" - }, { "description": "Regional Endpoint", "endpointUrl": "https://batch-datastore.africa-south1.rep.googleapis.com/", @@ -448,16 +438,6 @@ "endpointUrl": "https://batch-datastore.us-west4.rep.googleapis.com/", "location": "us-west4" }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://batch-datastore.us-east7.rep.googleapis.com/", - "location": "us-east7" - }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://batch-datastore.us-west8.rep.googleapis.com/", - "location": "us-west8" - }, { "description": "Regional Endpoint", "endpointUrl": "https://datastore.eu.rep.googleapis.com/", @@ -798,7 +778,7 @@ } } }, - "revision": "20251014", + "revision": "20260105", "rootUrl": "https://datastore.googleapis.com/", "schemas": { "Aggregation": { diff --git a/discovery/firestore-v1.json b/discovery/firestore-v1.json index 994b5786de9..18b24539b0e 100644 --- a/discovery/firestore-v1.json +++ b/discovery/firestore-v1.json @@ -229,16 +229,6 @@ "endpointUrl": "https://firestore.us-west4.rep.googleapis.com/", "location": "us-west4" }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://firestore.us-east7.rep.googleapis.com/", - "location": "us-east7" - }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://firestore.us-west8.rep.googleapis.com/", - "location": "us-west8" - }, { "description": "Regional Endpoint", "endpointUrl": "https://batch-firestore.africa-south1.rep.googleapis.com/", @@ -449,16 +439,6 @@ "endpointUrl": "https://batch-firestore.us-west4.rep.googleapis.com/", "location": "us-west4" }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://batch-firestore.us-east7.rep.googleapis.com/", - "location": "us-east7" - }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://batch-firestore.us-west8.rep.googleapis.com/", - "location": "us-west8" - }, { "description": "Regional Endpoint", "endpointUrl": "https://firestore.eu.rep.googleapis.com/", @@ -2445,7 +2425,7 @@ } } }, - "revision": "20251216", + "revision": "20260105", "rootUrl": "https://firestore.googleapis.com/", "schemas": { "Aggregation": { diff --git a/discovery/firestore-v1beta1.json b/discovery/firestore-v1beta1.json index c83368d1241..57a3bd456e8 100644 --- a/discovery/firestore-v1beta1.json +++ b/discovery/firestore-v1beta1.json @@ -229,16 +229,6 @@ "endpointUrl": "https://firestore.us-west4.rep.googleapis.com/", "location": "us-west4" }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://firestore.us-east7.rep.googleapis.com/", - "location": "us-east7" - }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://firestore.us-west8.rep.googleapis.com/", - "location": "us-west8" - }, { "description": "Regional Endpoint", "endpointUrl": "https://batch-firestore.africa-south1.rep.googleapis.com/", @@ -449,16 +439,6 @@ "endpointUrl": "https://batch-firestore.us-west4.rep.googleapis.com/", "location": "us-west4" }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://batch-firestore.us-east7.rep.googleapis.com/", - "location": "us-east7" - }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://batch-firestore.us-west8.rep.googleapis.com/", - "location": "us-west8" - }, { "description": "Regional Endpoint", "endpointUrl": "https://firestore.eu.rep.googleapis.com/", @@ -1441,7 +1421,7 @@ } } }, - "revision": "20251216", + "revision": "20260105", "rootUrl": "https://firestore.googleapis.com/", "schemas": { "Aggregation": { diff --git a/discovery/firestore-v1beta2.json b/discovery/firestore-v1beta2.json index 872f31efbf9..33a38b441be 100644 --- a/discovery/firestore-v1beta2.json +++ b/discovery/firestore-v1beta2.json @@ -229,16 +229,6 @@ "endpointUrl": "https://firestore.us-west4.rep.googleapis.com/", "location": "us-west4" }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://firestore.us-east7.rep.googleapis.com/", - "location": "us-east7" - }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://firestore.us-west8.rep.googleapis.com/", - "location": "us-west8" - }, { "description": "Regional Endpoint", "endpointUrl": "https://batch-firestore.africa-south1.rep.googleapis.com/", @@ -449,16 +439,6 @@ "endpointUrl": "https://batch-firestore.us-west4.rep.googleapis.com/", "location": "us-west4" }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://batch-firestore.us-east7.rep.googleapis.com/", - "location": "us-east7" - }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://batch-firestore.us-west8.rep.googleapis.com/", - "location": "us-west8" - }, { "description": "Regional Endpoint", "endpointUrl": "https://firestore.eu.rep.googleapis.com/", @@ -877,7 +857,7 @@ } } }, - "revision": "20251014", + "revision": "20260105", "rootUrl": "https://firestore.googleapis.com/", "schemas": { "Empty": { diff --git a/discovery/index.json b/discovery/index.json index ff480adf341..ca941f1a98e 100644 --- a/discovery/index.json +++ b/discovery/index.json @@ -675,6 +675,21 @@ "title": "App Hub API", "version": "v1" }, + { + "description": "Lets your Google Workspace Marketplace applications integrate with Google's installtion and licensing services.", + "discoveryRestUrl": "https://appsmarket.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://developers.google.com/workspace/marketplace", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "id": "appsmarket:v2", + "kind": "discovery#directoryItem", + "name": "appsmarket", + "preferred": true, + "title": "Google Workspace Marketplace API", + "version": "v2" + }, { "description": "", "discoveryRestUrl": "https://area120tables.googleapis.com/$discovery/rest?version=v1alpha1", diff --git a/discovery/verifiedaccess-v2.json b/discovery/verifiedaccess-v2.json index fc18e39f030..cf34caac9b9 100644 --- a/discovery/verifiedaccess-v2.json +++ b/discovery/verifiedaccess-v2.json @@ -146,7 +146,7 @@ } } }, - "revision": "20250318", + "revision": "20251230", "rootUrl": "https://verifiedaccess.googleapis.com/", "schemas": { "Antivirus": { @@ -565,7 +565,8 @@ "CHROME_OS_DEVELOPER_MODE", "CHROME_BROWSER_HW_KEY", "CHROME_BROWSER_OS_KEY", - "CHROME_BROWSER_NO_KEY" + "CHROME_BROWSER_NO_KEY", + "CHROME_OS_NO_KEY" ], "enumDescriptions": [ "UNSPECIFIED.", @@ -573,7 +574,8 @@ "ChromeOS device in developer mode.", "Chrome Browser with the key stored in the device hardware.", "Chrome Browser with the key stored at OS level.", - "Chrome Browser without an attestation key." + "Chrome Browser without an attestation key.", + "ChromeOS device without a signing key (e.g., Flex without TPM). Applies to both device and user contexts on ChromeOS." ], "readOnly": true, "type": "string" @@ -591,7 +593,8 @@ "CHROME_OS_DEVELOPER_MODE", "CHROME_BROWSER_HW_KEY", "CHROME_BROWSER_OS_KEY", - "CHROME_BROWSER_NO_KEY" + "CHROME_BROWSER_NO_KEY", + "CHROME_OS_NO_KEY" ], "enumDescriptions": [ "UNSPECIFIED.", @@ -599,7 +602,8 @@ "ChromeOS device in developer mode.", "Chrome Browser with the key stored in the device hardware.", "Chrome Browser with the key stored at OS level.", - "Chrome Browser without an attestation key." + "Chrome Browser without an attestation key.", + "ChromeOS device without a signing key (e.g., Flex without TPM). Applies to both device and user contexts on ChromeOS." ], "readOnly": true, "type": "string" diff --git a/src/apis/index.ts b/src/apis/index.ts index c795830486e..147b5857187 100644 --- a/src/apis/index.ts +++ b/src/apis/index.ts @@ -102,6 +102,7 @@ import {VERSIONS as apimVersions, apim} from './apim'; import {VERSIONS as appengineVersions, appengine} from './appengine'; import {VERSIONS as apphubVersions, apphub} from './apphub'; import {VERSIONS as appsactivityVersions, appsactivity} from './appsactivity'; +import {VERSIONS as appsmarketVersions, appsmarket} from './appsmarket'; import { VERSIONS as area120tablesVersions, area120tables, @@ -811,6 +812,7 @@ export const APIS: APIList = { appengine: appengineVersions, apphub: apphubVersions, appsactivity: appsactivityVersions, + appsmarket: appsmarketVersions, area120tables: area120tablesVersions, areainsights: areainsightsVersions, artifactregistry: artifactregistryVersions, @@ -1132,6 +1134,7 @@ export class GeneratedAPIs { appengine = appengine; apphub = apphub; appsactivity = appsactivity; + appsmarket = appsmarket; area120tables = area120tables; areainsights = areainsights; artifactregistry = artifactregistry; diff --git a/src/index.ts b/src/index.ts index e2a59922bfe..56c7c761be3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -76,6 +76,7 @@ export {appengine_v1beta} from './apis/appengine/v1beta'; export {apphub_v1} from './apis/apphub/v1'; export {apphub_v1alpha} from './apis/apphub/v1alpha'; export {appsactivity_v1} from './apis/appsactivity/v1'; +export {appsmarket_v2} from './apis/appsmarket/v2'; export {area120tables_v1alpha1} from './apis/area120tables/v1alpha1'; export {areainsights_v1} from './apis/areainsights/v1'; export {artifactregistry_v1} from './apis/artifactregistry/v1'; From 7237b3c2ebc70fbc79c62ed7d8a48d67104ffa5c Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Fri, 9 Jan 2026 01:41:41 +0000 Subject: [PATCH 26/26] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- release-please-config.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/release-please-config.json b/release-please-config.json index c51e0c1f7c5..fb05245d100 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -319,6 +319,7 @@ "src/apis/apigateway": {}, "src/apis/cloudcommerceprocurement": {}, "src/apis/datamanager": {}, - "src/apis/chromewebstore": {} + "src/apis/chromewebstore": {}, + "src/apis/appsmarket": {} } } \ No newline at end of file