From d192845c1cec3cae63da093398fb2622b33adb45 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Wed, 7 Jan 2026 01:38:27 +0000 Subject: [PATCH 01/11] 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 018b80be03a02523a54ff398f99f6c50f56aa157 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Wed, 7 Jan 2026 01:38:27 +0000 Subject: [PATCH 02/11] 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 e4fa514131ae2ae678f50aba12f81f6abb29d32a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Wed, 7 Jan 2026 01:38:27 +0000 Subject: [PATCH 03/11] 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 b98c7c5f709c037813c92ef6dab9568018e0aef5 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Wed, 7 Jan 2026 01:38:27 +0000 Subject: [PATCH 04/11] 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 ef8cc26a71e7e921a07b86a25b0defb2d69fc899 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Wed, 7 Jan 2026 01:38:27 +0000 Subject: [PATCH 05/11] 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 03de4744c56a613ba829cab8328d23e499514ad8 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Wed, 7 Jan 2026 01:38:27 +0000 Subject: [PATCH 06/11] 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 0627fa64a74bc4cc25def9a4751a5e0e807e638b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Wed, 7 Jan 2026 01:38:27 +0000 Subject: [PATCH 07/11] 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 7d21249d663ea534035e1c970cb6acfc5e252627 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Wed, 7 Jan 2026 01:38:27 +0000 Subject: [PATCH 08/11] 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 a35e144d0570c463808a3d3f3144c36bd63d870a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Wed, 7 Jan 2026 01:38:27 +0000 Subject: [PATCH 09/11] 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 3e5c4addb50600361061f412827fdc2b3181ef03 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Wed, 7 Jan 2026 01:38:27 +0000 Subject: [PATCH 10/11] feat: regenerate index files --- discovery/androidmanagement-v1.json | 6 +++--- discovery/index.json | 15 +++++++++++++++ discovery/verifiedaccess-v2.json | 14 +++++++++----- src/apis/index.ts | 3 +++ src/index.ts | 1 + 5 files changed, 31 insertions(+), 8 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/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 187e0ae4a2f1db28a4b77d60882f6f40a84b5953 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 7 Jan 2026 01:41:49 +0000 Subject: [PATCH 11/11] =?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